diff --git a/package.json b/package.json index 6acf3e5..a93aa7e 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "rollup": "^2.38.5", "rollup-plugin-minize": "^2.1.0", "rollup-plugin-uglify": "^6.0.4", - "should": "^8.4.0", + "should": "^13.0.0", "tslib": "^2.1.0", "typescript": "^4.6.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 351621f..9f7c64a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ specifiers: rollup: ^2.38.5 rollup-plugin-minize: ^2.1.0 rollup-plugin-uglify: ^6.0.4 - should: ^8.4.0 + should: ^13.0.0 tslib: ^2.1.0 typescript: ^4.6.3 @@ -36,7 +36,7 @@ devDependencies: 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 @@ -46,7 +46,7 @@ devDependencies: rollup: 2.70.2 rollup-plugin-minize: registry.npmmirror.com/rollup-plugin-minize/2.1.0_rollup@2.70.2 rollup-plugin-uglify: 6.0.4_rollup@2.70.2 - should: 8.4.0 + should: 13.2.3 tslib: 2.3.1 typescript: 4.6.3 @@ -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: @@ -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,6 +426,12 @@ packages: '@types/node': 17.0.24 dev: true + /@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_edcb20b406075febffd90857e23671f0: resolution: {integrity: sha512-w59GpFqDYGnWFim9p6TGJz7a3qWeENJuAKCqjGSx+Hq/bwq3RZwXYqy98KIfN85yDqz9mq6QXiY5h0FjGQLyEg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.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,22 +928,50 @@ 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: @@ -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@4.6.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@4.6.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: @@ -2669,28 +2750,42 @@ packages: engines: {node: '>=8'} dev: true - /should-equal/0.8.0: - resolution: {integrity: sha1-o/BXMv9FusG3ukEvhAiFaBlkEpk=} + /should-equal/2.0.0: + resolution: {integrity: sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==} + dependencies: + should-type: 1.4.0 + dev: true + + /should-format/3.0.3: + resolution: {integrity: sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==} dependencies: - should-type: 0.2.0 + should-type: 1.4.0 + should-type-adaptors: 1.1.0 dev: true - /should-format/0.3.2: - resolution: {integrity: sha1-pZgx4Bot3uFJkRvHFIvlyAMZ4f8=} + /should-type-adaptors/1.1.0: + resolution: {integrity: sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==} dependencies: - should-type: 0.2.0 + should-type: 1.4.0 + should-util: 1.0.1 + dev: true + + /should-type/1.4.0: + resolution: {integrity: sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==} dev: true - /should-type/0.2.0: - resolution: {integrity: sha1-ZwfvlVKdmJ3MCY/gdTqx+RNrt/Y=} + /should-util/1.0.1: + resolution: {integrity: sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==} dev: true - /should/8.4.0: - resolution: {integrity: sha1-XmCInT5kS73Tl6MM00+tKPz5C8A=} + /should/13.2.3: + resolution: {integrity: sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==} dependencies: - should-equal: 0.8.0 - should-format: 0.3.2 - should-type: 0.2.0 + should-equal: 2.0.0 + should-format: 3.0.3 + should-type: 1.4.0 + should-type-adaptors: 1.1.0 + should-util: 1.0.1 dev: true /side-channel/1.0.4: @@ -3222,16 +3317,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