diff --git a/README.md b/README.md index 34a2458..f29a098 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@
diff --git a/challenges/camel-case/solutions/typescript-camelcase/README.md b/challenges/camel-case/solutions/typescript-camelcase/README.md index 7560697..2cc3827 100644 --- a/challenges/camel-case/solutions/typescript-camelcase/README.md +++ b/challenges/camel-case/solutions/typescript-camelcase/README.md @@ -1,4 +1,5 @@ # typescript-camelcase - camel-case Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/fibonacci-suite/solutions/typescript-recursive/README.md b/challenges/fibonacci-suite/solutions/typescript-recursive/README.md index cecdf28..bdf4f07 100644 --- a/challenges/fibonacci-suite/solutions/typescript-recursive/README.md +++ b/challenges/fibonacci-suite/solutions/typescript-recursive/README.md @@ -1,4 +1,5 @@ # typescript-recursive - fibonacci-suite Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/find-outlier-number/solutions/typescript-outlier/README.md b/challenges/find-outlier-number/solutions/typescript-outlier/README.md index 1397d02..69eb0cb 100644 --- a/challenges/find-outlier-number/solutions/typescript-outlier/README.md +++ b/challenges/find-outlier-number/solutions/typescript-outlier/README.md @@ -1,4 +1,5 @@ # typescript-outlier - find-outlier-number Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/hello-world/solutions/javascript-hello/README.md b/challenges/hello-world/solutions/javascript-hello/README.md index 4899167..cff9f02 100644 --- a/challenges/hello-world/solutions/javascript-hello/README.md +++ b/challenges/hello-world/solutions/javascript-hello/README.md @@ -1,4 +1,5 @@ # javascript-hello - hello-world Programming language : JavaScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/hello-world/solutions/python-hello/README.md b/challenges/hello-world/solutions/python-hello/README.md index 0f2537f..cb385f0 100644 --- a/challenges/hello-world/solutions/python-hello/README.md +++ b/challenges/hello-world/solutions/python-hello/README.md @@ -1,4 +1,5 @@ # python-hello - hello-world Programming language : Python + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/hello-world/solutions/typescript-hello/README.md b/challenges/hello-world/solutions/typescript-hello/README.md index 07963ad..396813e 100644 --- a/challenges/hello-world/solutions/typescript-hello/README.md +++ b/challenges/hello-world/solutions/typescript-hello/README.md @@ -1,4 +1,5 @@ # typescript-hello - hello-world Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/inventory-update/solutions/javascript-inventory/README.md b/challenges/inventory-update/solutions/javascript-inventory/README.md index 61a577f..180ec4a 100644 --- a/challenges/inventory-update/solutions/javascript-inventory/README.md +++ b/challenges/inventory-update/solutions/javascript-inventory/README.md @@ -1,4 +1,5 @@ # javascript-inventory - inventory-update Programming language : JavaScript + Created by [@Divlo](https://github.com/Divlo) at 8 July 2020. diff --git a/challenges/is-palindrome/solutions/typescript-palindrome/README.md b/challenges/is-palindrome/solutions/typescript-palindrome/README.md index b88e8b9..7924e8f 100644 --- a/challenges/is-palindrome/solutions/typescript-palindrome/README.md +++ b/challenges/is-palindrome/solutions/typescript-palindrome/README.md @@ -1,4 +1,5 @@ # typescript-palindrome - is-palindrome Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/is-prime-number/solutions/python-prime/README.md b/challenges/is-prime-number/solutions/python-prime/README.md index b5cf8b1..337ea1d 100644 --- a/challenges/is-prime-number/solutions/python-prime/README.md +++ b/challenges/is-prime-number/solutions/python-prime/README.md @@ -1,4 +1,5 @@ # python-prime - is-prime-number Programming language : Python + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/maskify-card-number/solutions/typescript-maskify/README.md b/challenges/maskify-card-number/solutions/typescript-maskify/README.md index 00ea052..5a046a8 100644 --- a/challenges/maskify-card-number/solutions/typescript-maskify/README.md +++ b/challenges/maskify-card-number/solutions/typescript-maskify/README.md @@ -1,4 +1,5 @@ # typescript-maskify - maskify-card-number Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/challenges/pairwise/solutions/javascript-pairwise/README.md b/challenges/pairwise/solutions/javascript-pairwise/README.md index f8159a3..57f96fa 100644 --- a/challenges/pairwise/solutions/javascript-pairwise/README.md +++ b/challenges/pairwise/solutions/javascript-pairwise/README.md @@ -1,4 +1,5 @@ # javascript-pairwise - pairwise Programming language : JavaScript + Created by [@Divlo](https://github.com/Divlo) at 8 July 2020. diff --git a/challenges/sort-array-alphabet/solutions/typescript-easy-sort/README.md b/challenges/sort-array-alphabet/solutions/typescript-easy-sort/README.md index 31af4e5..cad7522 100644 --- a/challenges/sort-array-alphabet/solutions/typescript-easy-sort/README.md +++ b/challenges/sort-array-alphabet/solutions/typescript-easy-sort/README.md @@ -1,4 +1,5 @@ # typescript-easy-sort - sort-array-alphabet Programming language : TypeScript + Created by [@Divlo](https://github.com/Divlo) at 7 July 2020. diff --git a/challenges/sort-array-number/solutions/javascript-easy-sort/README.md b/challenges/sort-array-number/solutions/javascript-easy-sort/README.md index 3426bd3..605f906 100644 --- a/challenges/sort-array-number/solutions/javascript-easy-sort/README.md +++ b/challenges/sort-array-number/solutions/javascript-easy-sort/README.md @@ -1,4 +1,5 @@ # javascript-easy-sort - sort-array-number Programming language : JavaScript + Created by [@Divlo](https://github.com/Divlo) at 7 July 2020. diff --git a/challenges/sort-array-number/solutions/javascript-sort/README.md b/challenges/sort-array-number/solutions/javascript-sort/README.md index ab4118c..9f96126 100644 --- a/challenges/sort-array-number/solutions/javascript-sort/README.md +++ b/challenges/sort-array-number/solutions/javascript-sort/README.md @@ -1,4 +1,5 @@ # javascript-sort - sort-array-number Programming language : JavaScript + Created by [@Divlo](https://github.com/Divlo) at 5 July 2020. diff --git a/package-lock.json b/package-lock.json index f2538cc..32ee006 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,15 +20,15 @@ "dev": true }, "@types/date-and-time": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@types/date-and-time/-/date-and-time-0.6.0.tgz", - "integrity": "sha512-gCNLSTK8SnHqNQo1MIy4fwhsufZU5zFXsJzmTdjvRsp6Xpb28G2ODFNSoZNSsf2kB9J0hPSzHCEaQqYusIwUqQ==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@types/date-and-time/-/date-and-time-0.13.0.tgz", + "integrity": "sha512-kHEncapIgrqaY8r2tyb19EvdKyhNjwheLl5cYTorsWJtURoI+oGm5ehW8CLAaq4dvu8x9z56FcXqAT4Mm5Nvzw==", "dev": true }, "@types/inquirer": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-6.5.0.tgz", - "integrity": "sha512-rjaYQ9b9y/VFGOpqBEXRavc3jh0a+e6evAbI31tMda8VlPaSy0AZJfXsvmIe3wklc7W6C3zCSfleuMXR7NOyXw==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-7.3.1.tgz", + "integrity": "sha512-osD38QVIfcdgsPCT0V3lD7eH0OFurX71Jft18bZrsVQWVRt6TuxRzlr0GJLrxoHZR2V5ph7/qP8se/dcnI7o0g==", "dev": true, "requires": { "@types/through": "*", @@ -36,9 +36,9 @@ } }, "@types/node": { - "version": "14.0.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.14.tgz", - "integrity": "sha512-syUgf67ZQpaJj01/tRTknkMNoBBLWJOBODF0Zm4NrXmiSuxjymFrxnTu1QVYRubhVkRcZLYZG8STTwJRdVm/WQ==", + "version": "14.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.1.tgz", + "integrity": "sha512-aYNbO+FZ/3KGeQCEkNhHFRIzBOUgc7QvcVNKXbfnhDkSfwUv91JsQQa10rDgKSTSLkXZ1UIyPe4FJJNVgw1xWQ==", "dev": true }, "@types/node-emoji": { @@ -69,9 +69,9 @@ "dev": true }, "ajv": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", - "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "version": "6.12.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", + "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -112,9 +112,9 @@ "dev": true }, "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true }, "balanced-match": { @@ -221,9 +221,9 @@ "dev": true }, "date-and-time": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.13.1.tgz", - "integrity": "sha512-/Uge9DJAT+s+oAcDxtBhyR8+sKjUnZbYmyhbmWjTHNtX7B7oWD8YyYdeXcBRbwSj6hVvj+IQegJam7m7czhbFw==", + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.14.1.tgz", + "integrity": "sha512-M4RggEH5OF2ZuCOxgOU67R6Z9ohjKbxGvAQz48vj53wLmL0bAgumkBvycR32f30pK+Og9pIR+RFDyChbaE4oLA==", "dev": true }, "decamelize": { @@ -353,9 +353,9 @@ "dev": true }, "inquirer": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.0.tgz", - "integrity": "sha512-K+LZp6L/6eE5swqIcVXrxl21aGDU4S50gKH0/d96OMQnSBCyGyZl/oZhbkVmdp5sBoINHd4xZvFSARh2dk6DWA==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", @@ -364,7 +364,7 @@ "cli-width": "^3.0.0", "external-editor": "^3.0.3", "figures": "^3.0.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "mute-stream": "0.0.8", "run-async": "^2.4.0", "rxjs": "^6.6.0", @@ -395,9 +395,9 @@ } }, "lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "lodash.toarray": { @@ -461,9 +461,9 @@ } }, "onetime": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", - "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, "requires": { "mimic-fn": "^2.1.0" @@ -578,9 +578,9 @@ "dev": true }, "rxjs": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.0.tgz", - "integrity": "sha512-3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg==", + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz", + "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==", "dev": true, "requires": { "tslib": "^1.9.0" @@ -611,46 +611,14 @@ "dev": true }, "slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, "requires": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - } + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" } }, "source-map": { @@ -699,55 +667,15 @@ } }, "table": { - "version": "5.4.6", - "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", - "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/table/-/table-6.0.3.tgz", + "integrity": "sha512-8321ZMcf1B9HvVX/btKv8mMZahCjn2aYrDlpqHaBFCfnox64edeH9kEid0vTLTRR8gWR2A20aDgeuTTea4sVtw==", "dev": true, "requires": { - "ajv": "^6.10.2", - "lodash": "^4.17.14", - "slice-ansi": "^2.1.0", - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } + "ajv": "^6.12.4", + "lodash": "^4.17.20", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0" } }, "through": { @@ -766,9 +694,9 @@ } }, "ts-node": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz", - "integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.0.0.tgz", + "integrity": "sha512-/TqB4SnererCDR/vb4S/QvSZvzQMJN8daAslg7MeaiHvD8rDZsSfXmNeNumyZZzMned72Xoq/isQljYSt8Ynfg==", "dev": true, "requires": { "arg": "^4.1.0", @@ -791,15 +719,15 @@ "dev": true }, "typescript": { - "version": "3.9.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.6.tgz", - "integrity": "sha512-Pspx3oKAPJtjNwE92YS05HQoY7z2SFyOpHo9MqJor3BXAGNaPUs83CuVp9VISFkSjyRfiTpmKuAYGJB7S7hOxw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", + "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", "dev": true }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", "dev": true, "requires": { "punycode": "^2.1.0" diff --git a/package.json b/package.json index 9e87351..2a9a48f 100644 --- a/package.json +++ b/package.json @@ -7,22 +7,22 @@ "test": "ts-node ./scripts/test.ts" }, "devDependencies": { - "@types/date-and-time": "^0.6.0", - "@types/inquirer": "^6.5.0", - "@types/node": "^14.0.14", + "@types/date-and-time": "^0.13.0", + "@types/inquirer": "^7.3.1", + "@types/node": "^14.10.1", "@types/node-emoji": "^1.8.1", "@types/table": "^5.0.0", "@types/validate-npm-package-name": "^3.0.0", "chalk": "^4.1.0", - "date-and-time": "^0.13.1", - "inquirer": "^7.3.0", + "date-and-time": "^0.14.1", + "inquirer": "^7.3.3", "make-dir": "^3.1.0", "node-emoji": "^1.10.0", "pretty-ms": "^7.0.0", "replace-in-file": "^6.1.0", - "table": "^5.4.6", - "ts-node": "^8.10.2", - "typescript": "^3.9.6", + "table": "^6.0.3", + "ts-node": "^9.0.0", + "typescript": "^4.0.2", "validate-npm-package-name": "^3.0.0" } } diff --git a/scripts/create-solution.ts b/scripts/create-solution.ts index 8705fc3..c302ec3 100644 --- a/scripts/create-solution.ts +++ b/scripts/create-solution.ts @@ -100,7 +100,7 @@ import copyDirPromise from './utils/copyDirPromise' await replaceInFile({ files: [readmePath], from: /{{ solutionInfo }}/g, - to: 'Programming language : ' + programmingLanguage.name + '\n' + createdByString + to: 'Programming language : ' + programmingLanguage.name + '\n\n' + createdByString }) console.log(` diff --git a/tsconfig.json b/tsconfig.json index 9d577a3..a010709 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ - "target": "es2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ + "target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ // "lib": [], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */