diff --git a/package.json b/package.json index 6acf3e5..ad8c9ac 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "rollup-plugin-uglify": "^6.0.4", "should": "^8.4.0", "tslib": "^2.1.0", - "typescript": "^4.6.3" + "typescript": "^5.0.0" }, "keywords": [ "any", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 351621f..cd8d712 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,20 +23,20 @@ specifiers: rollup-plugin-uglify: ^6.0.4 should: ^8.4.0 tslib: ^2.1.0 - typescript: ^4.6.3 + typescript: ^5.0.0 devDependencies: '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.2 '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.2 - '@rollup/plugin-typescript': 8.3.2_eaab4980cb5a437133211ecd98513266 + '@rollup/plugin-typescript': 8.3.2_cbb75fd0038e23d59100d137395bd9cc '@types/node': 17.0.24 - '@typescript-eslint/eslint-plugin': 5.19.0_edcb20b406075febffd90857e23671f0 - '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@4.6.3 + '@typescript-eslint/eslint-plugin': 5.19.0_a3d585cf16096eca52943af05c116eef + '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@5.1.3 coverage-badge-creator: 1.0.11 cross-env: 7.0.3 eslint: 7.32.0 eslint-config-standard: 16.0.3_b34912069e885f2a9370bfe10b54509c - eslint-plugin-import: 2.26.0_eslint@7.32.0 + eslint-plugin-import: 2.26.0_1a77b905327e175a7a21669ae8abc2e3 eslint-plugin-node: 11.1.0_eslint@7.32.0 eslint-plugin-promise: 5.2.0_eslint@7.32.0 mocha: 2.5.3 @@ -48,7 +48,7 @@ devDependencies: rollup-plugin-uglify: 6.0.4_rollup@2.70.2 should: 8.4.0 tslib: 2.3.1 - typescript: 4.6.3 + typescript: 5.1.3 packages: @@ -216,6 +216,8 @@ packages: resolution: {integrity: sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==} engines: {node: '>=6.0.0'} hasBin: true + dependencies: + '@babel/types': 7.17.10 dev: true /@babel/template/7.16.7: @@ -353,7 +355,7 @@ packages: rollup: 2.70.2 dev: true - /@rollup/plugin-typescript/8.3.2_eaab4980cb5a437133211ecd98513266: + /@rollup/plugin-typescript/8.3.2_cbb75fd0038e23d59100d137395bd9cc: resolution: {integrity: sha512-MtgyR5LNHZr3GyN0tM7gNO9D0CS+Y+vflS4v/PHmrX17JCkHUYKvQ5jN5o3cz1YKllM3duXUqu3yOHwMPUxhDg==} engines: {node: '>=8.0.0'} peerDependencies: @@ -365,7 +367,7 @@ packages: resolve: 1.22.0 rollup: 2.70.2 tslib: 2.3.1 - typescript: 4.6.3 + typescript: 5.1.3 dev: true /@rollup/pluginutils/3.1.0_rollup@2.70.2: @@ -408,6 +410,12 @@ packages: resolution: {integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4=} dev: true + /@types/keyv/3.1.4: + resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} + dependencies: + '@types/node': 17.0.24 + dev: true + /@types/node/17.0.24: resolution: {integrity: sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g==} dev: true @@ -418,7 +426,13 @@ packages: '@types/node': 17.0.24 dev: true - /@typescript-eslint/eslint-plugin/5.19.0_edcb20b406075febffd90857e23671f0: + /@types/responselike/1.0.0: + resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} + dependencies: + '@types/node': 17.0.24 + dev: true + + /@typescript-eslint/eslint-plugin/5.19.0_a3d585cf16096eca52943af05c116eef: resolution: {integrity: sha512-w59GpFqDYGnWFim9p6TGJz7a3qWeENJuAKCqjGSx+Hq/bwq3RZwXYqy98KIfN85yDqz9mq6QXiY5h0FjGQLyEg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -429,23 +443,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@4.6.3 + '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@5.1.3 '@typescript-eslint/scope-manager': 5.19.0 - '@typescript-eslint/type-utils': 5.19.0_eslint@7.32.0+typescript@4.6.3 - '@typescript-eslint/utils': 5.19.0_eslint@7.32.0+typescript@4.6.3 + '@typescript-eslint/type-utils': 5.19.0_eslint@7.32.0+typescript@5.1.3 + '@typescript-eslint/utils': 5.19.0_eslint@7.32.0+typescript@5.1.3 debug: 4.3.4 eslint: 7.32.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.6.3 - typescript: 4.6.3 + tsutils: 3.21.0_typescript@5.1.3 + typescript: 5.1.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.19.0_eslint@7.32.0+typescript@4.6.3: + /@typescript-eslint/parser/5.19.0_eslint@7.32.0+typescript@5.1.3: resolution: {integrity: sha512-yhktJjMCJX8BSBczh1F/uY8wGRYrBeyn84kH6oyqdIJwTGKmzX5Qiq49LRQ0Jh0LXnWijEziSo6BRqny8nqLVQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -457,10 +471,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.19.0 '@typescript-eslint/types': 5.19.0 - '@typescript-eslint/typescript-estree': 5.19.0_typescript@4.6.3 + '@typescript-eslint/typescript-estree': 5.19.0_typescript@5.1.3 debug: 4.3.4 eslint: 7.32.0 - typescript: 4.6.3 + typescript: 5.1.3 transitivePeerDependencies: - supports-color dev: true @@ -473,7 +487,7 @@ packages: '@typescript-eslint/visitor-keys': 5.19.0 dev: true - /@typescript-eslint/type-utils/5.19.0_eslint@7.32.0+typescript@4.6.3: + /@typescript-eslint/type-utils/5.19.0_eslint@7.32.0+typescript@5.1.3: resolution: {integrity: sha512-O6XQ4RI4rQcBGshTQAYBUIGsKqrKeuIOz9v8bckXZnSeXjn/1+BDZndHLe10UplQeJLXDNbaZYrAytKNQO2T4Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -483,11 +497,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.19.0_eslint@7.32.0+typescript@4.6.3 + '@typescript-eslint/utils': 5.19.0_eslint@7.32.0+typescript@5.1.3 debug: 4.3.4 eslint: 7.32.0 - tsutils: 3.21.0_typescript@4.6.3 - typescript: 4.6.3 + tsutils: 3.21.0_typescript@5.1.3 + typescript: 5.1.3 transitivePeerDependencies: - supports-color dev: true @@ -497,7 +511,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.19.0_typescript@4.6.3: + /@typescript-eslint/typescript-estree/5.19.0_typescript@5.1.3: resolution: {integrity: sha512-dRPuD4ocXdaE1BM/dNR21elSEUPKaWgowCA0bqJ6YbYkvtrPVEvZ+zqcX5a8ECYn3q5iBSSUcBBD42ubaOp0Hw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -512,13 +526,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.6.3 - typescript: 4.6.3 + tsutils: 3.21.0_typescript@5.1.3 + typescript: 5.1.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.19.0_eslint@7.32.0+typescript@4.6.3: + /@typescript-eslint/utils/5.19.0_eslint@7.32.0+typescript@5.1.3: resolution: {integrity: sha512-ZuEckdupXpXamKvFz/Ql8YnePh2ZWcwz7APICzJL985Rp5C2AYcHO62oJzIqNhAMtMK6XvrlBTZeNG8n7gS3lQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -527,7 +541,7 @@ packages: '@types/json-schema': 7.0.11 '@typescript-eslint/scope-manager': 5.19.0 '@typescript-eslint/types': 5.19.0 - '@typescript-eslint/typescript-estree': 5.19.0_typescript@4.6.3 + '@typescript-eslint/typescript-estree': 5.19.0_typescript@5.1.3 eslint: 7.32.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@7.32.0 @@ -800,7 +814,7 @@ packages: normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /ci-info/2.0.0: @@ -914,24 +928,52 @@ packages: engines: {node: '>=8'} dev: true - /debug/2.2.0: + /debug/2.2.0_supports-color@1.2.0: resolution: {integrity: sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 0.7.1 + supports-color: 1.2.0 dev: true /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: true /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 dev: true + /debug/3.2.7_supports-color@5.5.0: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.3 + supports-color: 5.5.0 + dev: true + /debug/4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -1126,7 +1168,7 @@ packages: eslint-plugin-promise: ^4.2.1 || ^5.0.0 dependencies: eslint: 7.32.0 - eslint-plugin-import: 2.26.0_eslint@7.32.0 + eslint-plugin-import: 2.26.0_1a77b905327e175a7a21669ae8abc2e3 eslint-plugin-node: 11.1.0_eslint@7.32.0 eslint-plugin-promise: 5.2.0_eslint@7.32.0 dev: true @@ -1136,14 +1178,34 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.0 + transitivePeerDependencies: + - supports-color dev: true - /eslint-module-utils/2.7.3: + /eslint-module-utils/2.7.3_1c144a0e6677cda053f07333e6a3d571: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@5.1.3 debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 + transitivePeerDependencies: + - supports-color dev: true /eslint-plugin-es/3.0.1_eslint@7.32.0: @@ -1157,19 +1219,24 @@ packages: regexpp: 3.2.0 dev: true - /eslint-plugin-import/2.26.0_eslint@7.32.0: + /eslint-plugin-import/2.26.0_1a77b905327e175a7a21669ae8abc2e3: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.19.0_eslint@7.32.0+typescript@5.1.3 array-includes: 3.1.4 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 eslint: 7.32.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3 + eslint-module-utils: 2.7.3_1c144a0e6677cda053f07333e6a3d571 has: 1.0.3 is-core-module: 2.8.1 is-glob: 4.0.3 @@ -1177,6 +1244,10 @@ packages: object.values: 1.1.5 resolve: 1.22.0 tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: true /eslint-plugin-node/11.1.0_eslint@7.32.0: @@ -1439,6 +1510,14 @@ packages: resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=} dev: true + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} dev: true @@ -1554,6 +1633,8 @@ packages: dependencies: '@sindresorhus/is': 0.14.0 '@szmarczak/http-timer': 1.1.2 + '@types/keyv': 3.1.4 + '@types/responselike': 1.0.0 cacheable-request: 6.1.0 decompress-response: 3.3.0 duplexer3: 0.1.4 @@ -2146,7 +2227,7 @@ packages: hasBin: true dependencies: commander: 2.3.0 - debug: 2.2.0 + debug: 2.2.0_supports-color@1.2.0 diff: 1.4.0 escape-string-regexp: 1.0.2 glob: 3.2.11 @@ -2195,7 +2276,7 @@ packages: requiresBuild: true dependencies: chokidar: 3.5.3 - debug: 3.2.7 + debug: 3.2.7_supports-color@5.5.0 ignore-by-default: 1.0.1 minimatch: 3.1.2 pstree.remy: 1.1.8 @@ -2611,7 +2692,7 @@ packages: engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmmirror.com/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /run-parallel/1.2.0: @@ -2908,14 +2989,14 @@ packages: resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==} dev: true - /tsutils/3.21.0_typescript@4.6.3: + /tsutils/3.21.0_typescript@5.1.3: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.6.3 + typescript: 5.1.3 dev: true /type-check/0.4.0: @@ -2941,9 +3022,9 @@ packages: is-typedarray: 1.0.0 dev: true - /typescript/4.6.3: - resolution: {integrity: sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==} - engines: {node: '>=4.2.0'} + /typescript/5.1.3: + resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==} + engines: {node: '>=14.17'} hasBin: true dev: true @@ -3222,16 +3303,6 @@ packages: version: 2.20.3 dev: true - registry.npmmirror.com/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - registry.npmmirror.com/rollup-plugin-minize/2.1.0_rollup@2.70.2: resolution: {integrity: sha512-olHaVAH+ZNvvPTN5tbQ5igisJrf9/9Vrwev9nWRFyY2KoWFmGmzwK7ZB0mqGCXxukRkZJVhuy6hU/UJ/Kt9xIA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/rollup-plugin-minize/-/rollup-plugin-minize-2.1.0.tgz} id: registry.npmmirror.com/rollup-plugin-minize/2.1.0