diff --git a/.czrc b/.czrc new file mode 100644 index 0000000..08cc060 --- /dev/null +++ b/.czrc @@ -0,0 +1,3 @@ +{ + "path": "cz-conventional-changelog" +} diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg deleted file mode 100755 index 5c18e4b..0000000 --- a/.husky/prepare-commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -exec < /dev/tty && node_modules/.bin/cz --hook || true diff --git a/assets/python.png b/assets/python.png deleted file mode 100644 index be1ed8d..0000000 Binary files a/assets/python.png and /dev/null differ diff --git a/assets/royal-institute.jpg b/assets/royal-institute.jpg deleted file mode 100644 index 4ccb8aa..0000000 Binary files a/assets/royal-institute.jpg and /dev/null differ diff --git a/challenges/euler/package.json b/challenges/euler/package.json index eb97710..b8815a8 100644 --- a/challenges/euler/package.json +++ b/challenges/euler/package.json @@ -15,6 +15,7 @@ "chalk": "^4.1.2", "cheerio": "^1.0.0-rc.10", "execution-time": "^1.4.1", + "inquirer": "^8.2.0", "ms": "^2.1.3", "regenerator-runtime": "^0.13.9", "ts-node": "^10.4.0", diff --git a/challenges/euler/pnpm-lock.yaml b/challenges/euler/pnpm-lock.yaml index a78bc21..a77b2f4 100644 --- a/challenges/euler/pnpm-lock.yaml +++ b/challenges/euler/pnpm-lock.yaml @@ -8,6 +8,7 @@ specifiers: chalk: ^4.1.2 cheerio: ^1.0.0-rc.10 execution-time: ^1.4.1 + inquirer: ^8.2.0 ms: ^2.1.3 regenerator-runtime: ^0.13.9 ts-node: ^10.4.0 @@ -21,6 +22,7 @@ devDependencies: chalk: 4.1.2 cheerio: 1.0.0-rc.10 execution-time: 1.4.1 + inquirer: 8.2.0 ms: 2.1.3 regenerator-runtime: 0.13.9 ts-node: 10.4.0_626351e049b80b142acb2ce48a7f5656 @@ -300,6 +302,24 @@ packages: hasBin: true dev: true + /ansi-escapes/4.3.2: + resolution: + { + integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + } + engines: { node: '>=8' } + dependencies: + type-fest: 0.21.3 + dev: true + + /ansi-regex/5.0.1: + resolution: + { + integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + } + engines: { node: '>=8' } + dev: true + /ansi-styles/4.3.0: resolution: { @@ -328,10 +348,38 @@ packages: - debug dev: true + /base64-js/1.5.1: + resolution: + { + integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + } + dev: true + + /bl/4.1.0: + resolution: + { + integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + } + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.0 + dev: true + /boolbase/1.0.0: resolution: { integrity: sha1-aN/1++YMUes3cl6p4+0xDcwed24= } dev: true + /buffer/5.7.1: + resolution: + { + integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + } + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + dev: true + /chalk/4.1.2: resolution: { @@ -343,6 +391,13 @@ packages: supports-color: 7.2.0 dev: true + /chardet/0.7.0: + resolution: + { + integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + } + dev: true + /cheerio-select/1.5.0: resolution: { @@ -372,6 +427,37 @@ packages: tslib: 2.3.1 dev: true + /cli-cursor/3.1.0: + resolution: + { + integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + } + engines: { node: '>=8' } + dependencies: + restore-cursor: 3.1.0 + dev: true + + /cli-spinners/2.6.1: + resolution: + { + integrity: sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== + } + engines: { node: '>=6' } + dev: true + + /cli-width/3.0.0: + resolution: + { + integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + } + engines: { node: '>= 10' } + dev: true + + /clone/1.0.4: + resolution: { integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4= } + engines: { node: '>=0.8' } + dev: true + /color-convert/2.0.1: resolution: { @@ -417,6 +503,12 @@ packages: engines: { node: '>= 6' } dev: true + /defaults/1.0.3: + resolution: { integrity: sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= } + dependencies: + clone: 1.0.4 + dev: true + /diff/4.0.2: resolution: { @@ -464,6 +556,13 @@ packages: domhandler: 4.3.0 dev: true + /emoji-regex/8.0.0: + resolution: + { + integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + } + dev: true + /entities/2.2.0: resolution: { @@ -471,6 +570,11 @@ packages: } dev: true + /escape-string-regexp/1.0.5: + resolution: { integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= } + engines: { node: '>=0.8.0' } + dev: true + /execution-time/1.4.1: resolution: { @@ -480,6 +584,28 @@ packages: pretty-hrtime: 1.0.3 dev: true + /external-editor/3.1.0: + resolution: + { + integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + } + engines: { node: '>=4' } + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + dev: true + + /figures/3.2.0: + resolution: + { + integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + } + engines: { node: '>=8' } + dependencies: + escape-string-regexp: 1.0.5 + dev: true + /follow-redirects/1.14.6: resolution: { @@ -513,6 +639,95 @@ packages: entities: 2.2.0 dev: true + /iconv-lite/0.4.24: + resolution: + { + integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + } + engines: { node: '>=0.10.0' } + dependencies: + safer-buffer: 2.1.2 + dev: true + + /ieee754/1.2.1: + resolution: + { + integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + } + dev: true + + /inherits/2.0.4: + resolution: + { + integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + } + dev: true + + /inquirer/8.2.0: + resolution: + { + integrity: sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ== + } + engines: { node: '>=8.0.0' } + dependencies: + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-width: 3.0.0 + external-editor: 3.1.0 + figures: 3.2.0 + lodash: 4.17.21 + mute-stream: 0.0.8 + ora: 5.4.1 + run-async: 2.4.1 + rxjs: 7.5.4 + string-width: 4.2.3 + strip-ansi: 6.0.1 + through: 2.3.8 + dev: true + + /is-fullwidth-code-point/3.0.0: + resolution: + { + integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + } + engines: { node: '>=8' } + dev: true + + /is-interactive/1.0.0: + resolution: + { + integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + } + engines: { node: '>=8' } + dev: true + + /is-unicode-supported/0.1.0: + resolution: + { + integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + } + engines: { node: '>=10' } + dev: true + + /lodash/4.17.21: + resolution: + { + integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + } + dev: true + + /log-symbols/4.1.0: + resolution: + { + integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + } + engines: { node: '>=10' } + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + dev: true + /make-error/1.3.6: resolution: { @@ -520,6 +735,14 @@ packages: } dev: true + /mimic-fn/2.1.0: + resolution: + { + integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + } + engines: { node: '>=6' } + dev: true + /ms/2.1.3: resolution: { @@ -527,6 +750,13 @@ packages: } dev: true + /mute-stream/0.0.8: + resolution: + { + integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + } + dev: true + /nth-check/2.0.1: resolution: { @@ -536,6 +766,39 @@ packages: boolbase: 1.0.0 dev: true + /onetime/5.1.2: + resolution: + { + integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + } + engines: { node: '>=6' } + dependencies: + mimic-fn: 2.1.0 + dev: true + + /ora/5.4.1: + resolution: + { + integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + } + engines: { node: '>=10' } + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.6.1 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + dev: true + + /os-tmpdir/1.0.2: + resolution: { integrity: sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= } + engines: { node: '>=0.10.0' } + dev: true + /parse5-htmlparser2-tree-adapter/6.0.1: resolution: { @@ -557,6 +820,18 @@ packages: engines: { node: '>= 0.8' } dev: true + /readable-stream/3.6.0: + resolution: + { + integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + } + engines: { node: '>= 6' } + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + dev: true + /regenerator-runtime/0.13.9: resolution: { @@ -564,6 +839,86 @@ packages: } dev: true + /restore-cursor/3.1.0: + resolution: + { + integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + } + engines: { node: '>=8' } + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + dev: true + + /run-async/2.4.1: + resolution: + { + integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + } + engines: { node: '>=0.12.0' } + dev: true + + /rxjs/7.5.4: + resolution: + { + integrity: sha512-h5M3Hk78r6wAheJF0a5YahB1yRQKCsZ4MsGdZ5O9ETbVtjPcScGfrMmoOq7EBsCRzd4BDkvDJ7ogP8Sz5tTFiQ== + } + dependencies: + tslib: 2.3.1 + dev: true + + /safe-buffer/5.2.1: + resolution: + { + integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + } + dev: true + + /safer-buffer/2.1.2: + resolution: + { + integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + } + dev: true + + /signal-exit/3.0.7: + resolution: + { + integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + } + dev: true + + /string-width/4.2.3: + resolution: + { + integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + } + engines: { node: '>=8' } + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + dev: true + + /string_decoder/1.3.0: + resolution: + { + integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + } + dependencies: + safe-buffer: 5.2.1 + dev: true + + /strip-ansi/6.0.1: + resolution: + { + integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + } + engines: { node: '>=8' } + dependencies: + ansi-regex: 5.0.1 + dev: true + /supports-color/7.2.0: resolution: { @@ -574,6 +929,20 @@ packages: has-flag: 4.0.0 dev: true + /through/2.3.8: + resolution: { integrity: sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= } + dev: true + + /tmp/0.0.33: + resolution: + { + integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + } + engines: { node: '>=0.6.0' } + dependencies: + os-tmpdir: 1.0.2 + dev: true + /ts-node/10.4.0_626351e049b80b142acb2ce48a7f5656: resolution: { @@ -615,6 +984,14 @@ packages: } dev: true + /type-fest/0.21.3: + resolution: + { + integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + } + engines: { node: '>=10' } + dev: true + /typescript/4.4.4: resolution: { @@ -624,6 +1001,16 @@ packages: hasBin: true dev: true + /util-deprecate/1.0.2: + resolution: { integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= } + dev: true + + /wcwidth/1.0.1: + resolution: { integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= } + dependencies: + defaults: 1.0.3 + dev: true + /yn/3.1.1: resolution: { diff --git a/languages/c++/CMakeLists.txt b/languages/c++/CMakeLists.txt index 2cd6726..e8c9a04 100644 --- a/languages/c++/CMakeLists.txt +++ b/languages/c++/CMakeLists.txt @@ -12,3 +12,4 @@ add_executable(karatsuba code/karatsuba.cc) add_executable(dice code/dice.cc) add_executable(binomialExpansion code/binomialExpansion.cc) add_executable(squareForm code/squareForm.cc) +add_executable(nthRoot code/nthRoot.cc) diff --git a/languages/c++/code/nthRoot.cc b/languages/c++/code/nthRoot.cc new file mode 100644 index 0000000..674cdee --- /dev/null +++ b/languages/c++/code/nthRoot.cc @@ -0,0 +1,40 @@ +#include +#include +#include + +double nthRoot(double n, double x) { + double lastX; + double y = 1; // initial guess + + while (y != lastX) { + // f(y) = yⁿ - x + // f'(y) = nyⁿ⁻¹ + double f = std::pow(y, n) - x; + double fprime = n * std::pow(y, n - 1); + + lastX = y; + y -= f / fprime; + } + + return y; +} + +int promptForInteger(std::string letter) { + std::cout << "Please input a value for " + letter + ": "; + + int input; + std::cin >> input; + + return input; +} + + +int main() { + std::cout << "ⁿ√x\n"; + int n = promptForInteger("n"); + int x = promptForInteger("x"); + + // Make sure that cout prints to the highest precision possible + std::cout.precision(std::numeric_limits::max_digits10); + std::cout << nthRoot(n, x); +} diff --git a/languages/c++/code/squareForm.cc b/languages/c++/code/squareForm.cc index 6a39081..25fbc75 100644 --- a/languages/c++/code/squareForm.cc +++ b/languages/c++/code/squareForm.cc @@ -14,7 +14,6 @@ double power(double base, double exponent) { int greatestCommonDivisor(int a, int b) { int currentA = abs(a); int currentB = abs(b); - bool divisorFound = false; while (currentA != currentB) { if (currentA > currentB) { @@ -97,7 +96,7 @@ int promptForInteger(std::string letter) { } int main() { - std::cout << "ax² + b^x + c^x -> a(x + p) + q\n"; + std::cout << "ax² + bx + c -> a(x + p)² + q\n"; int a = promptForInteger("a"); int b = promptForInteger("b"); diff --git a/languages/python/calculators/nth root.py b/languages/python/calculators/nth root.py new file mode 100644 index 0000000..eb8791c --- /dev/null +++ b/languages/python/calculators/nth root.py @@ -0,0 +1,16 @@ +def nthRoot(n: int, x: int): + lastX = None + y = 1 # initial guess + + while y != lastX: + # f(y) = yⁿ - x + # f'(y) = nyⁿ⁻¹ + f = (y ** n) - x + fprime = n * (y ** (n - 1)) + + lastX = y + y -= f / fprime + + return y + +print(nthRoot(5, 6 ** 6)) diff --git a/languages/python/calculators/readme.md b/languages/python/calculators/readme.md deleted file mode 100644 index 1f7b393..0000000 --- a/languages/python/calculators/readme.md +++ /dev/null @@ -1,43 +0,0 @@ -
- -### Babylonian Square Root - - - -#### LaTeX - -``` -x_0 \approx \sqrt{S} \\ -x_{n + 1} = \frac{x_n + \frac{S}{x_n}}{2} \\ -\sqrt{S} = \displaystyle \lim_{n \to \infty}x_n -``` - -### Karatsuba Algorithm - -[Wikipedia](https://en.wikipedia.org/wiki/Karatsuba_algorithm) - -[An amazing video on the topic](https://youtu.be/cCKOl5li6YM) - -``` -function karatsuba (num1, num2) - if (num1 < 10) or (num2 < 10) - return num1 × num2 /* fall back to traditional multiplication */ - - /* Calculates the size of the numbers. */ - m = min (size_base10(num1), size_base10(num2)) - m2 = floor (m / 2) - /* m2 = ceil (m / 2) will also work */ - - /* Split the digit sequences in the middle. */ - high1, low1 = split_at (num1, m2) - high2, low2 = split_at (num2, m2) - - /* 3 recursive calls made to numbers approximately half the size. */ - z0 = karatsuba (low1, low2) - z1 = karatsuba (low1 + high1, low2 + high2) - z2 = karatsuba (high1, high2) - - return (z2 × 10 ^ (m2 × 2)) + ((z1 - z2 - z0) × 10 ^ m2) + z0 -``` - -
diff --git a/languages/python/chunkArray.py b/languages/python/chunkArray.py new file mode 100644 index 0000000..a90204d --- /dev/null +++ b/languages/python/chunkArray.py @@ -0,0 +1,11 @@ +def chunkArray(array, chunkCount): + chunks = [] + + for i in reversed(range(1, chunkCount + 1)): + splitPoint = len(array) // i + chunks.append(array[:splitPoint]) + array = array[splitPoint:] + + return chunks + +print(chunkArray([1,2,3,4,5,6], 3)) diff --git a/languages/python/readme.md b/languages/python/readme.md deleted file mode 100644 index e1b38bf..0000000 --- a/languages/python/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -
- -

python

-
- -### Data Science - -- [Fake Jobs Scraper](data-science/Fake%20Jobs.py) -- [Country Population vs Active Facebook Users in the Country](data-science/Facebook.py) -- [Estimated Revenue for the top Twitch channels](data-science/Twitch%20Revenue.py) -- [ngrams](data-science/ngrams) - - [Comparison](data-science/ngrams/comparison/Comparison.py) - - [Popularity](data-science/ngrams/popularity/Popularity.py) - -### Calculators - -- [Binomial Distribution](calculators/Binomial%20Distribution.py) -- [Binomial Expansion](calculators/Binomial%20Expansion.py) -- [Karatsuba Algorithm](calculators/Karatsuba%20Algorithm.py) -- [Pearson's Product-Moment Correlation Coefficient](calculators/PMCC.py) -- [Babylonian Square Root](calculators/Babylonian%20%Sqaure%20Root.py) -- [Spearman's Rank Correlation Coefficient](calculators/SRCC.py) -- [Trigometric Functions](calculators/Trigometric%20Functions.py) -- [Pascal's Triangle](calculators/Pascal's%20Triangle.py) - -### Other - -- [2 Stars List](gd-two-star-list) -- [Pong (made with Pygame)](pong) -- [pythonchallenge.com](pythonchallenge.com) diff --git a/package.json b/package.json index 9ae848d..d1153d6 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,14 @@ { "name": "the-honk", - "config": { - "commitizen": { - "path": "@commitlint/cz-commitlint" - } - }, "scripts": { "prepare": "husky install" }, "devDependencies": { - "@commitlint/cli": "^16.0.1", - "@commitlint/config-conventional": "^16.0.0", - "@commitlint/cz-commitlint": "^16.0.0", "@types/node": "^17.0.6", "commitizen": "^4.2.4", + "cz-conventional-changelog": "^3.3.0", "husky": "^7.0.4", - "inquirer": "^8.2.0", "prettier": "^2.5.1", "pretty-quick": "^3.1.3" - }, - "peerDependencies": { - "@types/node": "^17.0.6", - "inquirer": "^8.2.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 171e698..65f9a23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,24 +1,18 @@ lockfileVersion: 5.3 specifiers: - '@commitlint/cli': ^16.0.1 - '@commitlint/config-conventional': ^16.0.0 - '@commitlint/cz-commitlint': ^16.0.0 '@types/node': ^17.0.6 commitizen: ^4.2.4 + cz-conventional-changelog: ^3.3.0 husky: ^7.0.4 - inquirer: ^8.2.0 prettier: ^2.5.1 pretty-quick: ^3.1.3 devDependencies: - '@commitlint/cli': 16.0.1_@types+node@17.0.6 - '@commitlint/config-conventional': 16.0.0 - '@commitlint/cz-commitlint': 16.0.0_f5a1df63f13403881edc0aa69eed88c7 '@types/node': 17.0.6 commitizen: 4.2.4_@types+node@17.0.6 + cz-conventional-changelog: 3.3.0_@types+node@17.0.6 husky: 7.0.4 - inquirer: 8.2.0 prettier: 2.5.1 pretty-quick: 3.1.3_prettier@2.5.1 @@ -32,6 +26,7 @@ packages: dependencies: '@babel/highlight': 7.16.7 dev: true + optional: true /@babel/helper-validator-identifier/7.16.7: resolution: @@ -40,6 +35,7 @@ packages: } engines: { node: '>=6.9.0' } dev: true + optional: true /@babel/highlight/7.16.7: resolution: @@ -52,39 +48,7 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 dev: true - - /@commitlint/cli/16.0.1_@types+node@17.0.6: - resolution: - { - integrity: sha512-61gGRy65WiVDRsqP0dAR2fAgE3qrTBW3fgz9MySv32y5Ib3ZXXDDq6bGyQqi2dSaPuDYzNCRwwlC7mmQM73T/g== - } - engines: { node: '>=v12' } - hasBin: true - dependencies: - '@commitlint/format': 16.0.0 - '@commitlint/lint': 16.0.0 - '@commitlint/load': 16.0.0_@types+node@17.0.6 - '@commitlint/read': 16.0.0 - '@commitlint/types': 16.0.0 - lodash: 4.17.21 - resolve-from: 5.0.0 - resolve-global: 1.0.0 - yargs: 17.3.1 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - dev: true - - /@commitlint/config-conventional/16.0.0: - resolution: - { - integrity: sha512-mN7J8KlKFn0kROd+q9PB01sfDx/8K/R25yITspL1No8PB4oj9M1p77xWjP80hPydqZG9OvQq+anXK3ZWeR7s3g== - } - engines: { node: '>=v12' } - dependencies: - conventional-changelog-conventionalcommits: 4.6.3 - dev: true + optional: true /@commitlint/config-validator/16.0.0: resolution: @@ -96,41 +60,7 @@ packages: '@commitlint/types': 16.0.0 ajv: 6.12.6 dev: true - - /@commitlint/cz-commitlint/16.0.0_f5a1df63f13403881edc0aa69eed88c7: - resolution: - { - integrity: sha512-kUYfM4OyXtZubD3wrCbfpkUbFSudHTaHkY4jxt00RofsaKWtKDVrOdhjGqdQzp06KItyRU+1BuNoW/SJ3t+ytQ== - } - engines: { node: '>= 10' } - peerDependencies: - commitizen: ^4.0.3 - inquirer: ^8.0.0 - dependencies: - '@commitlint/ensure': 16.0.0 - '@commitlint/load': 16.0.0_@types+node@17.0.6 - '@commitlint/types': 16.0.0 - chalk: 4.1.2 - commitizen: 4.2.4_@types+node@17.0.6 - inquirer: 8.2.0 - lodash: 4.17.21 - word-wrap: 1.2.3 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - dev: true - - /@commitlint/ensure/16.0.0: - resolution: - { - integrity: sha512-WdMySU8DCTaq3JPf0tZFCKIUhqxaL54mjduNhu8v4D2AMUVIIQKYMGyvXn94k8begeW6iJkTf9cXBArayskE7Q== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/types': 16.0.0 - lodash: 4.17.21 - dev: true + optional: true /@commitlint/execute-rule/16.0.0: resolution: @@ -139,41 +69,7 @@ packages: } engines: { node: '>=v12' } dev: true - - /@commitlint/format/16.0.0: - resolution: - { - integrity: sha512-9yp5NCquXL1jVMKL0ZkRwJf/UHdebvCcMvICuZV00NQGYSAL89O398nhqrqxlbjBhM5EZVq0VGcV5+7r3D4zAA== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/types': 16.0.0 - chalk: 4.1.2 - dev: true - - /@commitlint/is-ignored/16.0.0: - resolution: - { - integrity: sha512-gmAQcwIGC/R/Lp0CEb2b5bfGC7MT5rPe09N8kOGjO/NcdNmfFSZMquwrvNJsq9hnAP0skRdHIsqwlkENkN4Lag== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/types': 16.0.0 - semver: 7.3.5 - dev: true - - /@commitlint/lint/16.0.0: - resolution: - { - integrity: sha512-HNl15bRC0h+pLzbMzQC3tM0j1aESXsLYhElqKnXcf5mnCBkBkHzu6WwJW8rZbfxX+YwJmNljN62cPhmdBo8x0A== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/is-ignored': 16.0.0 - '@commitlint/parse': 16.0.0 - '@commitlint/rules': 16.0.0 - '@commitlint/types': 16.0.0 - dev: true + optional: true /@commitlint/load/16.0.0_@types+node@17.0.6: resolution: @@ -197,39 +93,7 @@ packages: - '@swc/wasm' - '@types/node' dev: true - - /@commitlint/message/16.0.0: - resolution: - { - integrity: sha512-CmK2074SH1Ws6kFMEKOKH/7hMekGVbOD6vb4alCOo2+33ZSLUIX8iNkDYyrw38Jwg6yWUhLjyQLUxREeV+QIUA== - } - engines: { node: '>=v12' } - dev: true - - /@commitlint/parse/16.0.0: - resolution: - { - integrity: sha512-F9EjFlMw4MYgBEqoRrWZZKQBzdiJzPBI0qFDFqwUvfQsMmXEREZ242T4R5bFwLINWaALFLHEIa/FXEPa6QxCag== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/types': 16.0.0 - conventional-changelog-angular: 5.0.13 - conventional-commits-parser: 3.2.4 - dev: true - - /@commitlint/read/16.0.0: - resolution: - { - integrity: sha512-H4T2zsfmYQK9B+JtoQaCXWBHUhgIJyOzWZjSfuIV9Ce69/OgHoffNpLZPF2lX6yKuDrS1SQFhI/kUCjVc/e4ew== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/top-level': 16.0.0 - '@commitlint/types': 16.0.0 - fs-extra: 10.0.0 - git-raw-commits: 2.0.11 - dev: true + optional: true /@commitlint/resolve-extends/16.0.0: resolution: @@ -245,38 +109,7 @@ packages: resolve-from: 5.0.0 resolve-global: 1.0.0 dev: true - - /@commitlint/rules/16.0.0: - resolution: - { - integrity: sha512-AOl0y2SBTdJ1bvIv8nwHvQKRT/jC1xb09C5VZwzHoT8sE8F54KDeEzPCwHQFgUcWdGLyS10kkOTAH2MyA8EIlg== - } - engines: { node: '>=v12' } - dependencies: - '@commitlint/ensure': 16.0.0 - '@commitlint/message': 16.0.0 - '@commitlint/to-lines': 16.0.0 - '@commitlint/types': 16.0.0 - execa: 5.1.1 - dev: true - - /@commitlint/to-lines/16.0.0: - resolution: - { - integrity: sha512-iN/qU38TCKU7uKOg6RXLpD49wNiuI0TqMqybHbjefUeP/Jmzxa8ishryj0uLyVdrAl1ZjGeD1ukXGMTtvqz8iA== - } - engines: { node: '>=v12' } - dev: true - - /@commitlint/top-level/16.0.0: - resolution: - { - integrity: sha512-/Jt6NLxyFkpjL5O0jxurZPCHURZAm7cQCqikgPCwqPAH0TLgwqdHjnYipl8J+AGnAMGDip4FNLoYrtgIpZGBYw== - } - engines: { node: '>=v12' } - dependencies: - find-up: 5.0.0 - dev: true + optional: true /@commitlint/types/16.0.0: resolution: @@ -287,6 +120,7 @@ packages: dependencies: chalk: 4.1.2 dev: true + optional: true /@cspotcode/source-map-consumer/0.8.0: resolution: @@ -295,6 +129,7 @@ packages: } engines: { node: '>= 12' } dev: true + optional: true /@cspotcode/source-map-support/0.7.0: resolution: @@ -305,6 +140,7 @@ packages: dependencies: '@cspotcode/source-map-consumer': 0.8.0 dev: true + optional: true /@tsconfig/node10/1.0.8: resolution: @@ -312,6 +148,7 @@ packages: integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg== } dev: true + optional: true /@tsconfig/node12/1.0.9: resolution: @@ -319,6 +156,7 @@ packages: integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw== } dev: true + optional: true /@tsconfig/node14/1.0.1: resolution: @@ -326,6 +164,7 @@ packages: integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg== } dev: true + optional: true /@tsconfig/node16/1.0.2: resolution: @@ -333,6 +172,7 @@ packages: integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA== } dev: true + optional: true /@types/minimatch/3.0.5: resolution: @@ -341,13 +181,6 @@ packages: } dev: true - /@types/minimist/1.2.2: - resolution: - { - integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== - } - dev: true - /@types/node/17.0.6: resolution: { @@ -355,30 +188,13 @@ packages: } dev: true - /@types/normalize-package-data/2.4.1: - resolution: - { - integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== - } - dev: true - /@types/parse-json/4.0.0: resolution: { integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== } dev: true - - /JSONStream/1.3.5: - resolution: - { - integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - } - hasBin: true - dependencies: - jsonparse: 1.3.1 - through: 2.3.8 - dev: true + optional: true /acorn-walk/8.2.0: resolution: @@ -387,6 +203,7 @@ packages: } engines: { node: '>=0.4.0' } dev: true + optional: true /acorn/8.7.0: resolution: @@ -396,6 +213,7 @@ packages: engines: { node: '>=0.4.0' } hasBin: true dev: true + optional: true /ajv/6.12.6: resolution: @@ -408,6 +226,7 @@ packages: json-schema-traverse: 0.4.1 uri-js: 4.4.1 dev: true + optional: true /ansi-escapes/3.2.0: resolution: @@ -417,16 +236,6 @@ packages: engines: { node: '>=4' } dev: true - /ansi-escapes/4.3.2: - resolution: - { - integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - } - engines: { node: '>=8' } - dependencies: - type-fest: 0.21.3 - dev: true - /ansi-regex/3.0.0: resolution: { integrity: sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= } engines: { node: '>=4' } @@ -440,14 +249,6 @@ packages: engines: { node: '>=6' } dev: true - /ansi-regex/5.0.1: - resolution: - { - integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - } - engines: { node: '>=8' } - dev: true - /ansi-styles/3.2.1: resolution: { @@ -474,6 +275,7 @@ packages: integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== } dev: true + optional: true /array-differ/3.0.0: resolution: @@ -483,10 +285,6 @@ packages: engines: { node: '>=8' } dev: true - /array-ify/1.0.0: - resolution: { integrity: sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= } - dev: true - /array-union/2.1.0: resolution: { @@ -495,11 +293,6 @@ packages: engines: { node: '>=8' } dev: true - /arrify/1.0.1: - resolution: { integrity: sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= } - engines: { node: '>=0.10.0' } - dev: true - /arrify/2.0.1: resolution: { @@ -515,24 +308,6 @@ packages: } dev: true - /base64-js/1.5.1: - resolution: - { - integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - } - dev: true - - /bl/4.1.0: - resolution: - { - integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - } - dependencies: - buffer: 5.7.1 - inherits: 2.0.4 - readable-stream: 3.6.0 - dev: true - /brace-expansion/1.1.11: resolution: { @@ -553,16 +328,6 @@ packages: fill-range: 7.0.1 dev: true - /buffer/5.7.1: - resolution: - { - integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - } - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - dev: true - /cachedir/2.2.0: resolution: { @@ -578,26 +343,7 @@ packages: } engines: { node: '>=6' } dev: true - - /camelcase-keys/6.2.2: - resolution: - { - integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== - } - engines: { node: '>=8' } - dependencies: - camelcase: 5.3.1 - map-obj: 4.3.0 - quick-lru: 4.0.1 - dev: true - - /camelcase/5.3.1: - resolution: - { - integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - } - engines: { node: '>=6' } - dev: true + optional: true /chalk/2.4.2: resolution: @@ -632,6 +378,7 @@ packages: ansi-styles: 4.3.0 supports-color: 7.2.0 dev: true + optional: true /chardet/0.7.0: resolution: @@ -647,24 +394,6 @@ packages: restore-cursor: 2.0.0 dev: true - /cli-cursor/3.1.0: - resolution: - { - integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - } - engines: { node: '>=8' } - dependencies: - restore-cursor: 3.1.0 - dev: true - - /cli-spinners/2.6.1: - resolution: - { - integrity: sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== - } - engines: { node: '>=6' } - dev: true - /cli-width/2.2.1: resolution: { @@ -672,30 +401,6 @@ packages: } dev: true - /cli-width/3.0.0: - resolution: - { - integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - } - engines: { node: '>= 10' } - dev: true - - /cliui/7.0.4: - resolution: - { - integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - } - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: true - - /clone/1.0.4: - resolution: { integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4= } - engines: { node: '>=0.8' } - dev: true - /color-convert/1.9.3: resolution: { @@ -754,43 +459,10 @@ packages: - '@types/node' dev: true - /compare-func/2.0.0: - resolution: - { - integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== - } - dependencies: - array-ify: 1.0.0 - dot-prop: 5.3.0 - dev: true - /concat-map/0.0.1: resolution: { integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= } dev: true - /conventional-changelog-angular/5.0.13: - resolution: - { - integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== - } - engines: { node: '>=10' } - dependencies: - compare-func: 2.0.0 - q: 1.5.1 - dev: true - - /conventional-changelog-conventionalcommits/4.6.3: - resolution: - { - integrity: sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g== - } - engines: { node: '>=10' } - dependencies: - compare-func: 2.0.0 - lodash: 4.17.21 - q: 1.5.1 - dev: true - /conventional-commit-types/3.0.0: resolution: { @@ -798,22 +470,6 @@ packages: } dev: true - /conventional-commits-parser/3.2.4: - resolution: - { - integrity: sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q== - } - engines: { node: '>=10' } - hasBin: true - dependencies: - is-text-path: 1.0.1 - JSONStream: 1.3.5 - lodash: 4.17.21 - meow: 8.1.2 - split2: 3.2.2 - through2: 4.0.2 - dev: true - /cosmiconfig-typescript-loader/1.0.2_646584a8d620b4d6f5eb4525e8655565: resolution: { @@ -832,6 +488,7 @@ packages: - '@swc/core' - '@swc/wasm' dev: true + optional: true /cosmiconfig/7.0.1: resolution: @@ -846,6 +503,7 @@ packages: path-type: 4.0.0 yaml: 1.10.2 dev: true + optional: true /create-require/1.1.1: resolution: @@ -853,6 +511,7 @@ packages: integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== } dev: true + optional: true /cross-spawn/7.0.3: resolution: @@ -887,37 +546,31 @@ packages: - '@types/node' dev: true - /dargs/7.0.0: + /cz-conventional-changelog/3.3.0_@types+node@17.0.6: resolution: { - integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw== } - engines: { node: '>=8' } - dev: true - - /decamelize-keys/1.1.0: - resolution: { integrity: sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= } - engines: { node: '>=0.10.0' } + engines: { node: '>= 10' } dependencies: - decamelize: 1.2.0 - map-obj: 1.0.1 - dev: true - - /decamelize/1.2.0: - resolution: { integrity: sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= } - engines: { node: '>=0.10.0' } + chalk: 2.4.2 + commitizen: 4.2.4_@types+node@17.0.6 + conventional-commit-types: 3.0.0 + lodash.map: 4.6.0 + longest: 2.0.1 + word-wrap: 1.2.3 + optionalDependencies: + '@commitlint/load': 16.0.0_@types+node@17.0.6 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' dev: true /dedent/0.7.0: resolution: { integrity: sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= } dev: true - /defaults/1.0.3: - resolution: { integrity: sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= } - dependencies: - clone: 1.0.4 - dev: true - /detect-file/1.0.0: resolution: { integrity: sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= } engines: { node: '>=0.10.0' } @@ -938,23 +591,7 @@ packages: } engines: { node: '>=0.3.1' } dev: true - - /dot-prop/5.3.0: - resolution: - { - integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== - } - engines: { node: '>=8' } - dependencies: - is-obj: 2.0.0 - dev: true - - /emoji-regex/8.0.0: - resolution: - { - integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - } - dev: true + optional: true /end-of-stream/1.4.4: resolution: @@ -973,14 +610,7 @@ packages: dependencies: is-arrayish: 0.2.1 dev: true - - /escalade/3.1.1: - resolution: - { - integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - } - engines: { node: '>=6' } - dev: true + optional: true /escape-string-regexp/1.0.5: resolution: { integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= } @@ -1005,24 +635,6 @@ packages: strip-final-newline: 2.0.0 dev: true - /execa/5.1.1: - resolution: - { - integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - } - engines: { node: '>=10' } - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.6 - strip-final-newline: 2.0.0 - dev: true - /expand-tilde/2.0.2: resolution: { integrity: sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= } engines: { node: '>=0.10.0' } @@ -1048,6 +660,7 @@ packages: integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== } dev: true + optional: true /fast-json-stable-stringify/2.1.0: resolution: @@ -1055,6 +668,7 @@ packages: integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== } dev: true + optional: true /figures/2.0.0: resolution: { integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= } @@ -1063,16 +677,6 @@ packages: escape-string-regexp: 1.0.5 dev: true - /figures/3.2.0: - resolution: - { - integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - } - engines: { node: '>=8' } - dependencies: - escape-string-regexp: 1.0.5 - dev: true - /fill-range/7.0.1: resolution: { @@ -1111,17 +715,6 @@ packages: path-exists: 4.0.0 dev: true - /find-up/5.0.0: - resolution: - { - integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - } - engines: { node: '>=10' } - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - dev: true - /findup-sync/4.0.0: resolution: { @@ -1135,18 +728,6 @@ packages: resolve-dir: 1.0.1 dev: true - /fs-extra/10.0.0: - resolution: - { - integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ== - } - engines: { node: '>=12' } - dependencies: - graceful-fs: 4.2.8 - jsonfile: 6.1.0 - universalify: 2.0.0 - dev: true - /fs-extra/8.1.0: resolution: { @@ -1163,21 +744,6 @@ packages: resolution: { integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8= } dev: true - /function-bind/1.1.1: - resolution: - { - integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - } - dev: true - - /get-caller-file/2.0.5: - resolution: - { - integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - } - engines: { node: 6.* || 8.* || >= 10.* } - dev: true - /get-stream/5.2.0: resolution: { @@ -1188,29 +754,6 @@ packages: pump: 3.0.0 dev: true - /get-stream/6.0.1: - resolution: - { - integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - } - engines: { node: '>=10' } - dev: true - - /git-raw-commits/2.0.11: - resolution: - { - integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== - } - engines: { node: '>=10' } - hasBin: true - dependencies: - dargs: 7.0.0 - lodash: 4.17.21 - meow: 8.1.2 - split2: 3.2.2 - through2: 4.0.2 - dev: true - /glob/7.1.4: resolution: { @@ -1231,6 +774,7 @@ packages: dependencies: ini: 1.3.8 dev: true + optional: true /global-modules/1.0.0: resolution: @@ -1262,14 +806,6 @@ packages: } dev: true - /hard-rejection/2.1.0: - resolution: - { - integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== - } - engines: { node: '>=6' } - dev: true - /has-flag/3.0.0: resolution: { integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0= } engines: { node: '>=4' } @@ -1283,16 +819,6 @@ packages: engines: { node: '>=8' } dev: true - /has/1.0.3: - resolution: - { - integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - } - engines: { node: '>= 0.4.0' } - dependencies: - function-bind: 1.1.1 - dev: true - /homedir-polyfill/1.0.3: resolution: { @@ -1303,23 +829,6 @@ packages: parse-passwd: 1.0.0 dev: true - /hosted-git-info/2.8.9: - resolution: - { - integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== - } - dev: true - - /hosted-git-info/4.0.2: - resolution: - { - integrity: sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg== - } - engines: { node: '>=10' } - dependencies: - lru-cache: 6.0.0 - dev: true - /human-signals/1.1.1: resolution: { @@ -1328,14 +837,6 @@ packages: engines: { node: '>=8.12.0' } dev: true - /human-signals/2.1.0: - resolution: - { - integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - } - engines: { node: '>=10.17.0' } - dev: true - /husky/7.0.4: resolution: { @@ -1355,13 +856,6 @@ packages: safer-buffer: 2.1.2 dev: true - /ieee754/1.2.1: - resolution: - { - integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - } - dev: true - /ignore/5.2.0: resolution: { @@ -1380,14 +874,7 @@ packages: parent-module: 1.0.1 resolve-from: 4.0.0 dev: true - - /indent-string/4.0.0: - resolution: - { - integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - } - engines: { node: '>=8' } - dev: true + optional: true /inflight/1.0.6: resolution: { integrity: sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= } @@ -1432,41 +919,10 @@ packages: through: 2.3.8 dev: true - /inquirer/8.2.0: - resolution: - { - integrity: sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ== - } - engines: { node: '>=8.0.0' } - dependencies: - ansi-escapes: 4.3.2 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-width: 3.0.0 - external-editor: 3.1.0 - figures: 3.2.0 - lodash: 4.17.21 - mute-stream: 0.0.8 - ora: 5.4.1 - run-async: 2.4.1 - rxjs: 7.5.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - through: 2.3.8 - dev: true - /is-arrayish/0.2.1: resolution: { integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= } dev: true - - /is-core-module/2.8.0: - resolution: - { - integrity: sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw== - } - dependencies: - has: 1.0.3 - dev: true + optional: true /is-extglob/2.1.1: resolution: { integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= } @@ -1478,14 +934,6 @@ packages: engines: { node: '>=4' } dev: true - /is-fullwidth-code-point/3.0.0: - resolution: - { - integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - } - engines: { node: '>=8' } - dev: true - /is-glob/4.0.3: resolution: { @@ -1496,14 +944,6 @@ packages: is-extglob: 2.1.1 dev: true - /is-interactive/1.0.0: - resolution: - { - integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - } - engines: { node: '>=8' } - dev: true - /is-number/7.0.0: resolution: { @@ -1512,19 +952,6 @@ packages: engines: { node: '>=0.12.0' } dev: true - /is-obj/2.0.0: - resolution: - { - integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - } - engines: { node: '>=8' } - dev: true - - /is-plain-obj/1.1.0: - resolution: { integrity: sha1-caUMhCnfync8kqOQpKA7OfzVHT4= } - engines: { node: '>=0.10.0' } - dev: true - /is-stream/2.0.1: resolution: { @@ -1533,21 +960,6 @@ packages: engines: { node: '>=8' } dev: true - /is-text-path/1.0.1: - resolution: { integrity: sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= } - engines: { node: '>=0.10.0' } - dependencies: - text-extensions: 1.9.0 - dev: true - - /is-unicode-supported/0.1.0: - resolution: - { - integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== - } - engines: { node: '>=10' } - dev: true - /is-utf8/0.2.1: resolution: { integrity: sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= } dev: true @@ -1570,6 +982,7 @@ packages: integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== } dev: true + optional: true /json-parse-even-better-errors/2.3.1: resolution: @@ -1577,6 +990,7 @@ packages: integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== } dev: true + optional: true /json-schema-traverse/0.4.1: resolution: @@ -1584,6 +998,7 @@ packages: integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== } dev: true + optional: true /jsonfile/4.0.0: resolution: { integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= } @@ -1591,36 +1006,13 @@ packages: graceful-fs: 4.2.8 dev: true - /jsonfile/6.1.0: - resolution: - { - integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - } - dependencies: - universalify: 2.0.0 - optionalDependencies: - graceful-fs: 4.2.8 - dev: true - - /jsonparse/1.3.1: - resolution: { integrity: sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= } - engines: { '0': node >= 0.2.0 } - dev: true - - /kind-of/6.0.3: - resolution: - { - integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - } - engines: { node: '>=0.10.0' } - dev: true - /lines-and-columns/1.2.4: resolution: { integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== } dev: true + optional: true /locate-path/5.0.0: resolution: @@ -1632,16 +1024,6 @@ packages: p-locate: 4.1.0 dev: true - /locate-path/6.0.0: - resolution: - { - integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - } - engines: { node: '>=10' } - dependencies: - p-locate: 5.0.0 - dev: true - /lodash.map/4.6.0: resolution: { integrity: sha1-dx7Hg540c9nEzeKLGTlMNWL09tM= } dev: true @@ -1653,71 +1035,18 @@ packages: } dev: true - /log-symbols/4.1.0: - resolution: - { - integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== - } - engines: { node: '>=10' } - dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 - dev: true - /longest/2.0.1: resolution: { integrity: sha1-eB4YMpaqlPbU2RbcM10NF676I/g= } engines: { node: '>=0.10.0' } dev: true - /lru-cache/6.0.0: - resolution: - { - integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - } - engines: { node: '>=10' } - dependencies: - yallist: 4.0.0 - dev: true - /make-error/1.3.6: resolution: { integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== } dev: true - - /map-obj/1.0.1: - resolution: { integrity: sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= } - engines: { node: '>=0.10.0' } - dev: true - - /map-obj/4.3.0: - resolution: - { - integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - } - engines: { node: '>=8' } - dev: true - - /meow/8.1.2: - resolution: - { - integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== - } - engines: { node: '>=10' } - dependencies: - '@types/minimist': 1.2.2 - camelcase-keys: 6.2.2 - decamelize-keys: 1.1.0 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 7.0.1 - redent: 3.0.0 - trim-newlines: 3.0.1 - type-fest: 0.18.1 - yargs-parser: 20.2.9 - dev: true + optional: true /merge-stream/2.0.0: resolution: @@ -1760,14 +1089,6 @@ packages: engines: { node: '>=6' } dev: true - /min-indent/1.0.1: - resolution: - { - integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== - } - engines: { node: '>=4' } - dev: true - /minimatch/3.0.4: resolution: { @@ -1777,18 +1098,6 @@ packages: brace-expansion: 1.1.11 dev: true - /minimist-options/4.1.0: - resolution: - { - integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - } - engines: { node: '>= 6' } - dependencies: - arrify: 1.0.1 - is-plain-obj: 1.1.0 - kind-of: 6.0.3 - dev: true - /minimist/1.2.5: resolution: { @@ -1822,38 +1131,6 @@ packages: resolution: { integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= } dev: true - /mute-stream/0.0.8: - resolution: - { - integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - } - dev: true - - /normalize-package-data/2.5.0: - resolution: - { - integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - } - dependencies: - hosted-git-info: 2.8.9 - resolve: 1.20.0 - semver: 5.7.1 - validate-npm-package-license: 3.0.4 - dev: true - - /normalize-package-data/3.0.3: - resolution: - { - integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - } - engines: { node: '>=10' } - dependencies: - hosted-git-info: 4.0.2 - is-core-module: 2.8.0 - semver: 7.3.5 - validate-npm-package-license: 3.0.4 - dev: true - /npm-run-path/4.0.1: resolution: { @@ -1887,24 +1164,6 @@ packages: mimic-fn: 2.1.0 dev: true - /ora/5.4.1: - resolution: - { - integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== - } - engines: { node: '>=10' } - dependencies: - bl: 4.1.0 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-spinners: 2.6.1 - is-interactive: 1.0.0 - is-unicode-supported: 0.1.0 - log-symbols: 4.1.0 - strip-ansi: 6.0.1 - wcwidth: 1.0.1 - dev: true - /os-tmpdir/1.0.2: resolution: { integrity: sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= } engines: { node: '>=0.10.0' } @@ -1920,16 +1179,6 @@ packages: p-try: 2.2.0 dev: true - /p-limit/3.1.0: - resolution: - { - integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - } - engines: { node: '>=10' } - dependencies: - yocto-queue: 0.1.0 - dev: true - /p-locate/4.1.0: resolution: { @@ -1940,16 +1189,6 @@ packages: p-limit: 2.3.0 dev: true - /p-locate/5.0.0: - resolution: - { - integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - } - engines: { node: '>=10' } - dependencies: - p-limit: 3.1.0 - dev: true - /p-try/2.2.0: resolution: { @@ -1967,6 +1206,7 @@ packages: dependencies: callsites: 3.1.0 dev: true + optional: true /parse-json/5.2.0: resolution: @@ -1980,6 +1220,7 @@ packages: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 dev: true + optional: true /parse-passwd/1.0.0: resolution: { integrity: sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= } @@ -2007,13 +1248,6 @@ packages: engines: { node: '>=8' } dev: true - /path-parse/1.0.7: - resolution: - { - integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - } - dev: true - /path-type/4.0.0: resolution: { @@ -2021,6 +1255,7 @@ packages: } engines: { node: '>=8' } dev: true + optional: true /picomatch/2.3.1: resolution: @@ -2075,72 +1310,7 @@ packages: } engines: { node: '>=6' } dev: true - - /q/1.5.1: - resolution: { integrity: sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= } - engines: { node: '>=0.6.0', teleport: '>=0.2.0' } - dev: true - - /quick-lru/4.0.1: - resolution: - { - integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== - } - engines: { node: '>=8' } - dev: true - - /read-pkg-up/7.0.1: - resolution: - { - integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== - } - engines: { node: '>=8' } - dependencies: - find-up: 4.1.0 - read-pkg: 5.2.0 - type-fest: 0.8.1 - dev: true - - /read-pkg/5.2.0: - resolution: - { - integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== - } - engines: { node: '>=8' } - dependencies: - '@types/normalize-package-data': 2.4.1 - normalize-package-data: 2.5.0 - parse-json: 5.2.0 - type-fest: 0.6.0 - dev: true - - /readable-stream/3.6.0: - resolution: - { - integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - } - engines: { node: '>= 6' } - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - dev: true - - /redent/3.0.0: - resolution: - { - integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== - } - engines: { node: '>=8' } - dependencies: - indent-string: 4.0.0 - strip-indent: 3.0.0 - dev: true - - /require-directory/2.1.1: - resolution: { integrity: sha1-jGStX9MNqxyXbiNE/+f3kqam30I= } - engines: { node: '>=0.10.0' } - dev: true + optional: true /resolve-dir/1.0.1: resolution: { integrity: sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= } @@ -2157,6 +1327,7 @@ packages: } engines: { node: '>=4' } dev: true + optional: true /resolve-from/5.0.0: resolution: @@ -2165,6 +1336,7 @@ packages: } engines: { node: '>=8' } dev: true + optional: true /resolve-global/1.0.0: resolution: @@ -2175,16 +1347,7 @@ packages: dependencies: global-dirs: 0.1.1 dev: true - - /resolve/1.20.0: - resolution: - { - integrity: sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== - } - dependencies: - is-core-module: 2.8.0 - path-parse: 1.0.7 - dev: true + optional: true /restore-cursor/2.0.0: resolution: { integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368= } @@ -2194,17 +1357,6 @@ packages: signal-exit: 3.0.6 dev: true - /restore-cursor/3.1.0: - resolution: - { - integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - } - engines: { node: '>=8' } - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.6 - dev: true - /run-async/2.4.1: resolution: { @@ -2223,22 +1375,6 @@ packages: tslib: 1.14.1 dev: true - /rxjs/7.5.1: - resolution: - { - integrity: sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ== - } - dependencies: - tslib: 2.3.1 - dev: true - - /safe-buffer/5.2.1: - resolution: - { - integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - } - dev: true - /safer-buffer/2.1.2: resolution: { @@ -2246,25 +1382,6 @@ packages: } dev: true - /semver/5.7.1: - resolution: - { - integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - } - hasBin: true - dev: true - - /semver/7.3.5: - resolution: - { - integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== - } - engines: { node: '>=10' } - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /shebang-command/2.0.0: resolution: { @@ -2290,49 +1407,6 @@ packages: } dev: true - /spdx-correct/3.1.1: - resolution: - { - integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== - } - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.11 - dev: true - - /spdx-exceptions/2.3.0: - resolution: - { - integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== - } - dev: true - - /spdx-expression-parse/3.0.1: - resolution: - { - integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - } - dependencies: - spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.11 - dev: true - - /spdx-license-ids/3.0.11: - resolution: - { - integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== - } - dev: true - - /split2/3.2.2: - resolution: - { - integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== - } - dependencies: - readable-stream: 3.6.0 - dev: true - /string-width/2.1.1: resolution: { @@ -2344,27 +1418,6 @@ packages: strip-ansi: 4.0.0 dev: true - /string-width/4.2.3: - resolution: - { - integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - } - engines: { node: '>=8' } - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - dev: true - - /string_decoder/1.3.0: - resolution: - { - integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - } - dependencies: - safe-buffer: 5.2.1 - dev: true - /strip-ansi/4.0.0: resolution: { integrity: sha1-qEeQIusaw2iocTibY1JixQXuNo8= } engines: { node: '>=4' } @@ -2382,16 +1435,6 @@ packages: ansi-regex: 4.1.0 dev: true - /strip-ansi/6.0.1: - resolution: - { - integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - } - engines: { node: '>=8' } - dependencies: - ansi-regex: 5.0.1 - dev: true - /strip-bom/4.0.0: resolution: { @@ -2408,16 +1451,6 @@ packages: engines: { node: '>=6' } dev: true - /strip-indent/3.0.0: - resolution: - { - integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== - } - engines: { node: '>=8' } - dependencies: - min-indent: 1.0.1 - dev: true - /strip-json-comments/3.0.1: resolution: { @@ -2446,27 +1479,10 @@ packages: has-flag: 4.0.0 dev: true - /text-extensions/1.9.0: - resolution: - { - integrity: sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== - } - engines: { node: '>=0.10' } - dev: true - /through/2.3.8: resolution: { integrity: sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= } dev: true - /through2/4.0.2: - resolution: - { - integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== - } - dependencies: - readable-stream: 3.6.0 - dev: true - /tmp/0.0.33: resolution: { @@ -2487,14 +1503,6 @@ packages: is-number: 7.0.0 dev: true - /trim-newlines/3.0.1: - resolution: - { - integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== - } - engines: { node: '>=8' } - dev: true - /ts-node/10.4.0_646584a8d620b4d6f5eb4525e8655565: resolution: { @@ -2527,6 +1535,7 @@ packages: typescript: 4.5.4 yn: 3.1.1 dev: true + optional: true /tslib/1.14.1: resolution: @@ -2535,45 +1544,6 @@ packages: } dev: true - /tslib/2.3.1: - resolution: - { - integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== - } - dev: true - - /type-fest/0.18.1: - resolution: - { - integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== - } - engines: { node: '>=10' } - dev: true - - /type-fest/0.21.3: - resolution: - { - integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - } - engines: { node: '>=10' } - dev: true - - /type-fest/0.6.0: - resolution: - { - integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - } - engines: { node: '>=8' } - dev: true - - /type-fest/0.8.1: - resolution: - { - integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - } - engines: { node: '>=8' } - dev: true - /typescript/4.5.4: resolution: { @@ -2582,6 +1552,7 @@ packages: engines: { node: '>=4.2.0' } hasBin: true dev: true + optional: true /universalify/0.1.2: resolution: @@ -2591,14 +1562,6 @@ packages: engines: { node: '>= 4.0.0' } dev: true - /universalify/2.0.0: - resolution: - { - integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - } - engines: { node: '>= 10.0.0' } - dev: true - /uri-js/4.4.1: resolution: { @@ -2607,26 +1570,7 @@ packages: dependencies: punycode: 2.1.1 dev: true - - /util-deprecate/1.0.2: - resolution: { integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= } - dev: true - - /validate-npm-package-license/3.0.4: - resolution: - { - integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - } - dependencies: - spdx-correct: 3.1.1 - spdx-expression-parse: 3.0.1 - dev: true - - /wcwidth/1.0.1: - resolution: { integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= } - dependencies: - defaults: 1.0.3 - dev: true + optional: true /which/1.3.1: resolution: @@ -2657,37 +1601,10 @@ packages: engines: { node: '>=0.10.0' } dev: true - /wrap-ansi/7.0.0: - resolution: - { - integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - } - engines: { node: '>=10' } - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - /wrappy/1.0.2: resolution: { integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= } dev: true - /y18n/5.0.8: - resolution: - { - integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - } - engines: { node: '>=10' } - dev: true - - /yallist/4.0.0: - resolution: - { - integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - } - dev: true - /yaml/1.10.2: resolution: { @@ -2695,38 +1612,7 @@ packages: } engines: { node: '>= 6' } dev: true - - /yargs-parser/20.2.9: - resolution: - { - integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - } - engines: { node: '>=10' } - dev: true - - /yargs-parser/21.0.0: - resolution: - { - integrity: sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA== - } - engines: { node: '>=12' } - dev: true - - /yargs/17.3.1: - resolution: - { - integrity: sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA== - } - engines: { node: '>=12' } - dependencies: - cliui: 7.0.4 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.0.0 - dev: true + optional: true /yn/3.1.1: resolution: @@ -2735,11 +1621,4 @@ packages: } engines: { node: '>=6' } dev: true - - /yocto-queue/0.1.0: - resolution: - { - integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - } - engines: { node: '>=10' } - dev: true + optional: true diff --git a/readme.md b/readme.md index 4609383..2463ce8 100644 --- a/readme.md +++ b/readme.md @@ -5,9 +5,14 @@ > Big code dump. BTEC [The Bonk](https://github.com/GD-NTB/the-bonk). Anything that does not deserve its own repository goes here. +I do not promise everything will work in here, however if you have any questions about the contents of the honk, don't be scared to [reach out to me on Discord (:](https://discord.gg/brEhN5Y7YK) + +There is a lot of maths in here, be warned. + ### Table of contents - [Python](languages/python) +- [C++](languages/c++) - [Project Euler](challenges/euler) - [r/dailyprogrammer](challenges/daily-programmer) - [GCSE Computer Science](school/gcse) diff --git a/school/royal institute/readme.md b/school/royal institute/readme.md deleted file mode 100644 index 4340657..0000000 --- a/school/royal institute/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -
- -

royal institute computer science masterclass 2021

-
- -### Uploaded Lessons - -- [Computer Science and Social Media](computer%20science%20and%20social%20media) -- [From Ancient Babylon to Quantum Computing](from%20ancient%20babylon%20to%20quantum%20computing)