diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea1a82a..a95dbf5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change logs +## 2023.05.22 v4.3.0 + +1. fix export default +2. fix types +3. upgrade all packages + ## 2023.05.21 v4.2.0 1. use `use-downloads` diff --git a/package.json b/package.json index 4d849927..84710435 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "js-cool", "description": "This is a pure native js front-end common method library", - "version": "4.2.0", + "version": "4.3.0", "packageManager": "pnpm@8.5.1", "main": "dist/js-cool.cjs.js", "module": "dist/js-cool.esm-bundler.js", @@ -31,9 +31,9 @@ "scripts": { "gen:version": "tscjs scripts/version", "tag:version": "tscjs scripts/tag", - "build": "run-s clean build:{bundle,types} roll-types", + "build": "run-s clean build:{bundle,types}", "build:bundle": "rollup -c build/rollup.config.ts --configPlugin @rollup/plugin-typescript", - "build:types": "tsc -p src/tsconfig.declaration.json", + "build:types": "tsc -p src/tsconfig.declaration.json && pnpm roll-types", "build:docs": "rm-all docs && typedoc && prettier --write \"**/*.md\"", "deploy": "sh scripts/deploy.sh", "roll-types": "api-extractor run && rm-all temp", @@ -63,7 +63,7 @@ "@babel/preset-env": "^7.21.5", "@babel/preset-typescript": "^7.21.5", "@eslint-sets/eslint-config-ts": "^5.2.0", - "@microsoft/api-extractor": "^7.34.9", + "@microsoft/api-extractor": "^7.35.0", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.0", @@ -73,11 +73,11 @@ "@rollup/plugin-typescript": "^11.1.1", "@types/activex-excel": "^14.0.6", "@types/babel__core": "^7.20.0", - "@types/node": "^20.2.0", + "@types/node": "^20.2.3", "babel-loader": "^9.1.2", "core-js": "^3.30.2", "cross-env": "^7.0.3", - "eslint": "^8.40.0", + "eslint": "^8.41.0", "fast-glob": "^3.2.12", "load-yml": "^1.3.0", "npm-run-all": "^4.1.5", @@ -85,7 +85,7 @@ "prettier-config-common": "^1.4.0", "reinstaller": "^3.0.0", "rm-all": "^1.0.0", - "rollup": "^3.22.0", + "rollup": "^3.23.0", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-visualizer": "^5.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 695f6443..1c028f3c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,31 +35,31 @@ devDependencies: version: 7.21.5(@babel/core@7.21.8) '@eslint-sets/eslint-config-ts': specifier: ^5.2.0 - version: 5.2.0(@babel/core@7.21.8)(eslint@8.40.0)(prettier@2.8.8)(typescript@5.0.4) + version: 5.2.0(@babel/core@7.21.8)(eslint@8.41.0)(prettier@2.8.8)(typescript@5.0.4) '@microsoft/api-extractor': - specifier: ^7.34.9 - version: 7.34.9(@types/node@20.2.0) + specifier: ^7.35.0 + version: 7.35.0(@types/node@20.2.3) '@rollup/plugin-alias': specifier: ^5.0.0 - version: 5.0.0(rollup@3.22.0) + version: 5.0.0(rollup@3.23.0) '@rollup/plugin-babel': specifier: ^6.0.3 - version: 6.0.3(@babel/core@7.21.8)(@types/babel__core@7.20.0)(rollup@3.22.0) + version: 6.0.3(@babel/core@7.21.8)(@types/babel__core@7.20.0)(rollup@3.23.0) '@rollup/plugin-commonjs': specifier: ^25.0.0 - version: 25.0.0(rollup@3.22.0) + version: 25.0.0(rollup@3.23.0) '@rollup/plugin-node-resolve': specifier: ^15.0.2 - version: 15.0.2(rollup@3.22.0) + version: 15.0.2(rollup@3.23.0) '@rollup/plugin-replace': specifier: ^5.0.2 - version: 5.0.2(rollup@3.22.0) + version: 5.0.2(rollup@3.23.0) '@rollup/plugin-terser': specifier: ^0.4.3 - version: 0.4.3(rollup@3.22.0) + version: 0.4.3(rollup@3.23.0) '@rollup/plugin-typescript': specifier: ^11.1.1 - version: 11.1.1(rollup@3.22.0)(tslib@2.5.1)(typescript@5.0.4) + version: 11.1.1(rollup@3.23.0)(tslib@2.5.1)(typescript@5.0.4) '@types/activex-excel': specifier: ^14.0.6 version: 14.0.6 @@ -67,8 +67,8 @@ devDependencies: specifier: ^7.20.0 version: 7.20.0 '@types/node': - specifier: ^20.2.0 - version: 20.2.0 + specifier: ^20.2.3 + version: 20.2.3 babel-loader: specifier: ^9.1.2 version: 9.1.2(@babel/core@7.21.8) @@ -79,8 +79,8 @@ devDependencies: specifier: ^7.0.3 version: 7.0.3 eslint: - specifier: ^8.40.0 - version: 8.40.0 + specifier: ^8.41.0 + version: 8.41.0 fast-glob: specifier: ^3.2.12 version: 3.2.12 @@ -103,17 +103,17 @@ devDependencies: specifier: ^1.0.0 version: 1.0.0(core-js@3.30.2)(tslib@2.5.1) rollup: - specifier: ^3.22.0 - version: 3.22.0 + specifier: ^3.23.0 + version: 3.23.0 rollup-plugin-cleanup: specifier: ^3.2.1 - version: 3.2.1(rollup@3.22.0) + version: 3.2.1(rollup@3.23.0) rollup-plugin-filesize: specifier: ^10.0.0 version: 10.0.0 rollup-plugin-visualizer: specifier: ^5.9.0 - version: 5.9.0(rollup@3.22.0) + version: 5.9.0(rollup@3.23.0) tsnd: specifier: ^1.1.0 version: 1.1.0 @@ -175,7 +175,7 @@ packages: - supports-color dev: true - /@babel/eslint-parser@7.21.8(@babel/core@7.21.8)(eslint@8.40.0): + /@babel/eslint-parser@7.21.8(@babel/core@7.21.8)(eslint@8.41.0): resolution: {integrity: sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: @@ -184,7 +184,7 @@ packages: dependencies: '@babel/core': 7.21.8 '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 - eslint: 8.40.0 + eslint: 8.41.0 eslint-visitor-keys: 2.1.0 semver: 6.3.0 dev: true @@ -1387,13 +1387,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.40.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.41.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 || ^8.0.0 dependencies: - eslint: 8.40.0 + eslint: 8.41.0 eslint-visitor-keys: 3.4.1 dev: true @@ -1402,34 +1402,34 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint-sets/eslint-config-basic@5.2.0(@babel/core@7.21.8)(@typescript-eslint/parser@5.59.6)(eslint@8.40.0)(prettier@2.8.8)(typescript@5.0.4): + /@eslint-sets/eslint-config-basic@5.2.0(@babel/core@7.21.8)(@typescript-eslint/parser@5.59.6)(eslint@8.41.0)(prettier@2.8.8)(typescript@5.0.4): resolution: {integrity: sha512-iIVWKZ9T5lpEGkJTa/VcDt5/zymoaMqmvPD/nz1evW0Gjji0ojpCJgdQwJ7fVYSEhRayHo+TtF/heo3ErKucTg==} peerDependencies: - eslint: '>=7.4.0 || ^8.0.0' + eslint: '>=7.4.0 || >= 8.0.0 || ^8.0.0' prettier: '>=2.0.0' typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@babel/eslint-parser': 7.21.8(@babel/core@7.21.8)(eslint@8.40.0) - eslint: 8.40.0 - eslint-config-prettier: 8.8.0(eslint@8.40.0) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.40.0) + '@babel/eslint-parser': 7.21.8(@babel/core@7.21.8)(eslint@8.41.0) + eslint: 8.41.0 + eslint-config-prettier: 8.8.0(eslint@8.41.0) + eslint-plugin-eslint-comments: 3.2.0(eslint@8.41.0) eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.6)(eslint@8.40.0) - eslint-plugin-jsonc: 2.8.0(eslint@8.40.0) - eslint-plugin-markdown: 3.0.0(eslint@8.40.0) - eslint-plugin-n: 15.7.0(eslint@8.40.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8) - eslint-plugin-promise: 6.1.1(eslint@8.40.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.6)(eslint@8.41.0) + eslint-plugin-jsonc: 2.8.0(eslint@8.41.0) + eslint-plugin-markdown: 3.0.0(eslint@8.41.0) + eslint-plugin-n: 15.7.0(eslint@8.41.0) + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.41.0)(prettier@2.8.8) + eslint-plugin-promise: 6.1.1(eslint@8.41.0) eslint-plugin-tsdoc: 0.2.17 - eslint-plugin-unicorn: 40.1.0(eslint@8.40.0) - eslint-plugin-yml: 1.7.0(eslint@8.40.0) + eslint-plugin-unicorn: 40.1.0(eslint@8.41.0) + eslint-plugin-yml: 1.7.0(eslint@8.41.0) jsonc-eslint-parser: 2.3.0 prettier: 2.8.8 typescript: 5.0.4 - vue-eslint-parser: 9.3.0(eslint@8.40.0) + vue-eslint-parser: 9.3.0(eslint@8.41.0) yaml-eslint-parser: 1.2.2 transitivePeerDependencies: - '@babel/core' @@ -1439,7 +1439,7 @@ packages: - supports-color dev: true - /@eslint-sets/eslint-config-ts@5.2.0(@babel/core@7.21.8)(eslint@8.40.0)(prettier@2.8.8)(typescript@5.0.4): + /@eslint-sets/eslint-config-ts@5.2.0(@babel/core@7.21.8)(eslint@8.41.0)(prettier@2.8.8)(typescript@5.0.4): resolution: {integrity: sha512-n7xmnuCbQfrk+WDEcyopN88RxZsWwVX/mrUJWGIzEr95gWeNu3R59uuj5xPmTIjncvlfUGeE3ktq0qLI1z45Ng==} peerDependencies: eslint: '>=7.4.0 || ^8.0.0' @@ -1449,12 +1449,12 @@ packages: typescript: optional: true dependencies: - '@eslint-sets/eslint-config-basic': 5.2.0(@babel/core@7.21.8)(@typescript-eslint/parser@5.59.6)(eslint@8.40.0)(prettier@2.8.8)(typescript@5.0.4) - '@typescript-eslint/eslint-plugin': 5.59.6(@typescript-eslint/parser@5.59.6)(eslint@8.40.0)(typescript@5.0.4) - '@typescript-eslint/parser': 5.59.6(eslint@8.40.0)(typescript@5.0.4) - eslint: 8.40.0 - eslint-config-prettier: 8.8.0(eslint@8.40.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8) + '@eslint-sets/eslint-config-basic': 5.2.0(@babel/core@7.21.8)(@typescript-eslint/parser@5.59.6)(eslint@8.41.0)(prettier@2.8.8)(typescript@5.0.4) + '@typescript-eslint/eslint-plugin': 5.59.6(@typescript-eslint/parser@5.59.6)(eslint@8.41.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.59.6(eslint@8.41.0)(typescript@5.0.4) + eslint: 8.41.0 + eslint-config-prettier: 8.8.0(eslint@8.41.0) + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.41.0)(prettier@2.8.8) eslint-plugin-tsdoc: 0.2.17 prettier: 2.8.8 typescript: 5.0.4 @@ -1482,8 +1482,8 @@ packages: - supports-color dev: true - /@eslint/js@8.40.0: - resolution: {integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==} + /@eslint/js@8.41.0: + resolution: {integrity: sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1556,32 +1556,32 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true - /@microsoft/api-extractor-model@7.26.9(@types/node@20.2.0): - resolution: {integrity: sha512-1AowqcRy5qMH/OB7UNkdXa4qLoJp58WFdJ026IMFS8skA0OOAOcvBV/Fi4L7fO1R/8uCMz5KHi3NsqVH4Li8xg==} + /@microsoft/api-extractor-model@7.27.0(@types/node@20.2.3): + resolution: {integrity: sha512-wHqIMiwSARmiuVLn/zmVpiRncq6hvBfC5GF+sjrN3w4FqVkqFYk7DetvfRNdy/3URdqqmYGrhJlcU9HpLnHOPg==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.59.0(@types/node@20.2.0) + '@rushstack/node-core-library': 3.59.1(@types/node@20.2.3) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/api-extractor@7.34.9(@types/node@20.2.0): - resolution: {integrity: sha512-dasBIbqgHgxvfRfEOX4+ynNYQPnTYc6k7jkL3V4f/MoaS2xFUoIj/D71crrsDxf5MNMybjzeyZPdRNZdzvKBVw==} + /@microsoft/api-extractor@7.35.0(@types/node@20.2.3): + resolution: {integrity: sha512-yBGfPJeEtzk8sg2hE2/vOPRvnJBvstbWNGeyGV1jIEUSgytzQ0QPgPEkOsP2n7nBfnyRXmZaBa2vJPGOzVWy+g==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.26.9(@types/node@20.2.0) + '@microsoft/api-extractor-model': 7.27.0(@types/node@20.2.3) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.59.0(@types/node@20.2.0) - '@rushstack/rig-package': 0.3.18 - '@rushstack/ts-command-line': 4.13.2 + '@rushstack/node-core-library': 3.59.1(@types/node@20.2.3) + '@rushstack/rig-package': 0.3.19 + '@rushstack/ts-command-line': 4.13.3 colors: 1.2.5 lodash: 4.17.21 resolve: 1.22.1 semver: 7.3.8 source-map: 0.6.1 - typescript: 4.8.4 + typescript: 5.0.4 transitivePeerDependencies: - '@types/node' dev: true @@ -1773,7 +1773,7 @@ packages: '@pnpm/constants': 7.0.0 dev: true - /@rollup/plugin-alias@5.0.0(rollup@3.22.0): + /@rollup/plugin-alias@5.0.0(rollup@3.23.0): resolution: {integrity: sha512-l9hY5chSCjuFRPsnRm16twWBiSApl2uYFLsepQYwtBuAxNMQ/1dJqADld40P0Jkqm65GRTLy/AC6hnpVebtLsA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1782,11 +1782,11 @@ packages: rollup: optional: true dependencies: - rollup: 3.22.0 + rollup: 3.23.0 slash: 4.0.0 dev: true - /@rollup/plugin-babel@6.0.3(@babel/core@7.21.8)(@types/babel__core@7.20.0)(rollup@3.22.0): + /@rollup/plugin-babel@6.0.3(@babel/core@7.21.8)(@types/babel__core@7.20.0)(rollup@3.23.0): resolution: {integrity: sha512-fKImZKppa1A/gX73eg4JGo+8kQr/q1HBQaCGKECZ0v4YBBv3lFqi14+7xyApECzvkLTHCifx+7ntcrvtBIRcpg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1801,12 +1801,12 @@ packages: dependencies: '@babel/core': 7.21.8 '@babel/helper-module-imports': 7.21.4 - '@rollup/pluginutils': 5.0.2(rollup@3.22.0) + '@rollup/pluginutils': 5.0.2(rollup@3.23.0) '@types/babel__core': 7.20.0 - rollup: 3.22.0 + rollup: 3.23.0 dev: true - /@rollup/plugin-commonjs@25.0.0(rollup@3.22.0): + /@rollup/plugin-commonjs@25.0.0(rollup@3.23.0): resolution: {integrity: sha512-hoho2Kay9TZrLu0bnDsTTCaj4Npa+THk9snajP/XDNb9a9mmjTjh52EQM9sKl3HD1LsnihX7js+eA2sd2uKAhw==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1815,16 +1815,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.22.0) + '@rollup/pluginutils': 5.0.2(rollup@3.23.0) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.0.3 is-reference: 1.2.1 magic-string: 0.27.0 - rollup: 3.22.0 + rollup: 3.23.0 dev: true - /@rollup/plugin-node-resolve@15.0.2(rollup@3.22.0): + /@rollup/plugin-node-resolve@15.0.2(rollup@3.23.0): resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1833,16 +1833,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.22.0) + '@rollup/pluginutils': 5.0.2(rollup@3.23.0) '@types/resolve': 1.20.2 deepmerge: 4.2.2 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.1 - rollup: 3.22.0 + rollup: 3.23.0 dev: true - /@rollup/plugin-replace@5.0.2(rollup@3.22.0): + /@rollup/plugin-replace@5.0.2(rollup@3.23.0): resolution: {integrity: sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1851,12 +1851,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.22.0) + '@rollup/pluginutils': 5.0.2(rollup@3.23.0) magic-string: 0.27.0 - rollup: 3.22.0 + rollup: 3.23.0 dev: true - /@rollup/plugin-terser@0.4.3(rollup@3.22.0): + /@rollup/plugin-terser@0.4.3(rollup@3.23.0): resolution: {integrity: sha512-EF0oejTMtkyhrkwCdg0HJ0IpkcaVg1MMSf2olHb2Jp+1mnLM04OhjpJWGma4HobiDTF0WCyViWuvadyE9ch2XA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1865,13 +1865,13 @@ packages: rollup: optional: true dependencies: - rollup: 3.22.0 + rollup: 3.23.0 serialize-javascript: 6.0.1 smob: 1.0.0 terser: 5.17.4 dev: true - /@rollup/plugin-typescript@11.1.1(rollup@3.22.0)(tslib@2.5.1)(typescript@5.0.4): + /@rollup/plugin-typescript@11.1.1(rollup@3.23.0)(tslib@2.5.1)(typescript@5.0.4): resolution: {integrity: sha512-Ioir+x5Bejv72Lx2Zbz3/qGg7tvGbxQZALCLoJaGrkNXak/19+vKgKYJYM3i/fJxvsb23I9FuFQ8CUBEfsmBRg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1884,14 +1884,14 @@ packages: tslib: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.22.0) + '@rollup/pluginutils': 5.0.2(rollup@3.23.0) resolve: 1.22.1 - rollup: 3.22.0 + rollup: 3.23.0 tslib: 2.5.1 typescript: 5.0.4 dev: true - /@rollup/pluginutils@5.0.2(rollup@3.22.0): + /@rollup/pluginutils@5.0.2(rollup@3.23.0): resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1903,18 +1903,18 @@ packages: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.22.0 + rollup: 3.23.0 dev: true - /@rushstack/node-core-library@3.59.0(@types/node@20.2.0): - resolution: {integrity: sha512-f8ilzooAu8vj60dDe7weqHvR1NujOaKfe3TaNgAoT22rk+daUTmDtY3TlVGJ3HayVPmw3ffWToDatITi7Ic4ag==} + /@rushstack/node-core-library@3.59.1(@types/node@20.2.3): + resolution: {integrity: sha512-iy/xaEhXGpX+DY1ZzAtNA+QPw+9+TJh773Im+JxG4R1fu00/vWq470UOEj6upxlUxmp0JxhnmNRxzfptHrn/Uw==} peerDependencies: '@types/node': '*' peerDependenciesMeta: '@types/node': optional: true dependencies: - '@types/node': 20.2.0 + '@types/node': 20.2.3 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -1924,15 +1924,15 @@ packages: z-schema: 5.0.3 dev: true - /@rushstack/rig-package@0.3.18: - resolution: {integrity: sha512-SGEwNTwNq9bI3pkdd01yCaH+gAsHqs0uxfGvtw9b0LJXH52qooWXnrFTRRLG1aL9pf+M2CARdrA9HLHJys3jiQ==} + /@rushstack/rig-package@0.3.19: + resolution: {integrity: sha512-2d0/Gn+qjOYneZbiHjn4SjyDwq9I0WagV37z0F1V71G+yONgH7wlt3K/UoNiDkhA8gTHYPRo2jz3CvttybwSag==} dependencies: resolve: 1.22.1 strip-json-comments: 3.1.1 dev: true - /@rushstack/ts-command-line@4.13.2: - resolution: {integrity: sha512-bCU8qoL9HyWiciltfzg7GqdfODUeda/JpI0602kbN5YH22rzTxyqYvv7aRLENCM7XCQ1VRs7nMkEqgJUOU8Sag==} + /@rushstack/ts-command-line@4.13.3: + resolution: {integrity: sha512-6aQIv/o1EgsC/+SpgUyRmzg2QIAL6sudEzw3sWzJKwWuQTc5XRsyZpyldfE7WAmIqMXDao9QG35/NYORjHm5Zw==} dependencies: '@types/argparse': 1.0.38 argparse: 1.0.10 @@ -2058,7 +2058,7 @@ packages: resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} dependencies: '@types/jsonfile': 6.1.1 - '@types/node': 20.2.0 + '@types/node': 20.2.3 dev: true /@types/js-yaml@4.0.5: @@ -2076,7 +2076,7 @@ packages: /@types/jsonfile@6.1.1: resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} dependencies: - '@types/node': 20.2.0 + '@types/node': 20.2.3 dev: true /@types/mdast@3.0.10: @@ -2093,8 +2093,8 @@ packages: resolution: {integrity: sha512-tIRrjbY9C277MOfP8M3zjMIhtMlUJ6YVqkGgLjz+74jVsdf4/UjC6Hku4+1N0BS0qyC0JAS6tJLUk9H6JUKviQ==} dev: true - /@types/node@20.2.0: - resolution: {integrity: sha512-3iD2jaCCziTx04uudpJKwe39QxXgSUnpxXSvRQjRvHPxFQfmfP4NXIm/NURVeNlTCc+ru4WqjYGTmpXrW9uMlw==} + /@types/node@20.2.3: + resolution: {integrity: sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw==} dev: true /@types/normalize-package-data@2.4.1: @@ -2121,7 +2121,7 @@ packages: resolution: {integrity: sha512-ASCxdbsrwNfSMXALlC3Decif9rwDMu+80KGp5zI2RLRotfMsTv7fHL8W8VDp24wymzDyIFudhUeSCugrgRFfHQ==} dev: true - /@typescript-eslint/eslint-plugin@5.59.6(@typescript-eslint/parser@5.59.6)(eslint@8.40.0)(typescript@5.0.4): + /@typescript-eslint/eslint-plugin@5.59.6(@typescript-eslint/parser@5.59.6)(eslint@8.41.0)(typescript@5.0.4): resolution: {integrity: sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2133,12 +2133,12 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.4.1 - '@typescript-eslint/parser': 5.59.6(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.59.6(eslint@8.41.0)(typescript@5.0.4) '@typescript-eslint/scope-manager': 5.59.6 - '@typescript-eslint/type-utils': 5.59.6(eslint@8.40.0)(typescript@5.0.4) - '@typescript-eslint/utils': 5.59.6(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/type-utils': 5.59.6(eslint@8.41.0)(typescript@5.0.4) + '@typescript-eslint/utils': 5.59.6(eslint@8.41.0)(typescript@5.0.4) debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.41.0 grapheme-splitter: 1.0.4 ignore: 5.2.0 natural-compare-lite: 1.4.0 @@ -2149,7 +2149,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@5.59.6(eslint@8.40.0)(typescript@5.0.4): + /@typescript-eslint/parser@5.59.6(eslint@8.41.0)(typescript@5.0.4): resolution: {integrity: sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2163,7 +2163,7 @@ packages: '@typescript-eslint/types': 5.59.6 '@typescript-eslint/typescript-estree': 5.59.6(typescript@5.0.4) debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.41.0 typescript: 5.0.4 transitivePeerDependencies: - supports-color @@ -2177,7 +2177,7 @@ packages: '@typescript-eslint/visitor-keys': 5.59.6 dev: true - /@typescript-eslint/type-utils@5.59.6(eslint@8.40.0)(typescript@5.0.4): + /@typescript-eslint/type-utils@5.59.6(eslint@8.41.0)(typescript@5.0.4): resolution: {integrity: sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2188,9 +2188,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 5.59.6(typescript@5.0.4) - '@typescript-eslint/utils': 5.59.6(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/utils': 5.59.6(eslint@8.41.0)(typescript@5.0.4) debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.41.0 tsutils: 3.21.0(typescript@5.0.4) typescript: 5.0.4 transitivePeerDependencies: @@ -2223,19 +2223,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.59.6(eslint@8.40.0)(typescript@5.0.4): + /@typescript-eslint/utils@5.59.6(eslint@8.41.0)(typescript@5.0.4): resolution: {integrity: sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.41.0) '@types/json-schema': 7.0.11 '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.59.6 '@typescript-eslint/types': 5.59.6 '@typescript-eslint/typescript-estree': 5.59.6(typescript@5.0.4) - eslint: 8.40.0 + eslint: 8.41.0 eslint-scope: 5.1.1 semver: 7.3.8 transitivePeerDependencies: @@ -3319,13 +3319,13 @@ packages: engines: {node: '>=10'} dev: true - /eslint-config-prettier@8.8.0(eslint@8.40.0): + /eslint-config-prettier@8.8.0(eslint@8.41.0): resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} hasBin: true peerDependencies: eslint: '>=7.0.0 || ^8.0.0' dependencies: - eslint: 8.40.0 + eslint: 8.41.0 dev: true /eslint-import-resolver-node@0.3.7: @@ -3338,7 +3338,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.7.4(@typescript-eslint/parser@5.59.6)(eslint-import-resolver-node@0.3.7)(eslint@8.40.0): + /eslint-module-utils@2.7.4(@typescript-eslint/parser@5.59.6)(eslint-import-resolver-node@0.3.7)(eslint@8.41.0): resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -3359,33 +3359,33 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.59.6(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.59.6(eslint@8.41.0)(typescript@5.0.4) debug: 3.2.7 - eslint: 8.40.0 + eslint: 8.41.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-es@4.1.0(eslint@8.40.0): + /eslint-plugin-es@4.1.0(eslint@8.41.0): resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1 || ^8.0.0' dependencies: - eslint: 8.40.0 + eslint: 8.41.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-eslint-comments@3.2.0(eslint@8.40.0): + /eslint-plugin-eslint-comments@3.2.0(eslint@8.41.0): resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1 || ^8.0.0' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.40.0 + eslint: 8.41.0 ignore: 5.2.0 dev: true @@ -3395,7 +3395,7 @@ packages: htmlparser2: 8.0.1 dev: true - /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.6)(eslint@8.40.0): + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.6)(eslint@8.41.0): resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -3405,15 +3405,15 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.59.6(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.59.6(eslint@8.41.0)(typescript@5.0.4) array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.40.0 + eslint: 8.41.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.59.6)(eslint-import-resolver-node@0.3.7)(eslint@8.40.0) + eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.59.6)(eslint-import-resolver-node@0.3.7)(eslint@8.41.0) has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -3428,40 +3428,40 @@ packages: - supports-color dev: true - /eslint-plugin-jsonc@2.8.0(eslint@8.40.0): + /eslint-plugin-jsonc@2.8.0(eslint@8.41.0): resolution: {integrity: sha512-K4VsnztnNwpm+V49CcCu5laq8VjclJpuhfI9LFkOrOyK+BKdQHMzkWo43B4X4rYaVrChm4U9kw/tTU5RHh5Wtg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0 || ^8.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) - eslint: 8.40.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.41.0) + eslint: 8.41.0 jsonc-eslint-parser: 2.3.0 natural-compare: 1.4.0 dev: true - /eslint-plugin-markdown@3.0.0(eslint@8.40.0): + /eslint-plugin-markdown@3.0.0(eslint@8.41.0): resolution: {integrity: sha512-hRs5RUJGbeHDLfS7ELanT0e29Ocyssf/7kBM+p7KluY5AwngGkDf8Oyu4658/NZSGTTq05FZeWbkxXtbVyHPwg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.40.0 + eslint: 8.41.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-n@15.7.0(eslint@8.40.0): + /eslint-plugin-n@15.7.0(eslint@8.41.0): resolution: {integrity: sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q==} engines: {node: '>=12.22.0'} peerDependencies: eslint: '>=7.0.0 || ^8.0.0' dependencies: builtins: 5.0.1 - eslint: 8.40.0 - eslint-plugin-es: 4.1.0(eslint@8.40.0) - eslint-utils: 3.0.0(eslint@8.40.0) + eslint: 8.41.0 + eslint-plugin-es: 4.1.0(eslint@8.41.0) + eslint-utils: 3.0.0(eslint@8.41.0) ignore: 5.2.0 is-core-module: 2.11.0 minimatch: 3.1.2 @@ -3469,7 +3469,7 @@ packages: semver: 7.3.8 dev: true - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8): + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.41.0)(prettier@2.8.8): resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -3480,19 +3480,19 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.40.0 - eslint-config-prettier: 8.8.0(eslint@8.40.0) + eslint: 8.41.0 + eslint-config-prettier: 8.8.0(eslint@8.41.0) prettier: 2.8.8 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-promise@6.1.1(eslint@8.40.0): + /eslint-plugin-promise@6.1.1(eslint@8.41.0): resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.40.0 + eslint: 8.41.0 dev: true /eslint-plugin-tsdoc@0.2.17: @@ -3502,7 +3502,7 @@ packages: '@microsoft/tsdoc-config': 0.16.2 dev: true - /eslint-plugin-unicorn@40.1.0(eslint@8.40.0): + /eslint-plugin-unicorn@40.1.0(eslint@8.41.0): resolution: {integrity: sha512-y5doK2DF9Sr5AqKEHbHxjFllJ167nKDRU01HDcWyv4Tnmaoe9iNxMrBnaybZvWZUaE3OC5Unu0lNIevYamloig==} engines: {node: '>=12'} peerDependencies: @@ -3511,8 +3511,8 @@ packages: '@babel/helper-validator-identifier': 7.19.1 ci-info: 3.8.0 clean-regexp: 1.0.0 - eslint: 8.40.0 - eslint-utils: 3.0.0(eslint@8.40.0) + eslint: 8.41.0 + eslint-utils: 3.0.0(eslint@8.41.0) esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -3525,14 +3525,14 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-yml@1.7.0(eslint@8.40.0): + /eslint-plugin-yml@1.7.0(eslint@8.41.0): resolution: {integrity: sha512-qq61FQJk+qIgWl0R06bec7UQQEIBrUH22jS+MroTbFUKu+3/iVlGRpZd8mjpOAm/+H/WEDFwy4x/+kKgVGbsWw==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0 || ^8.0.0' dependencies: debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.41.0 lodash: 4.17.21 natural-compare: 1.4.0 yaml-eslint-parser: 1.2.2 @@ -3563,13 +3563,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils@3.0.0(eslint@8.40.0): + /eslint-utils@3.0.0(eslint@8.41.0): resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5 || ^8.0.0' dependencies: - eslint: 8.40.0 + eslint: 8.41.0 eslint-visitor-keys: 2.1.0 dev: true @@ -3588,15 +3588,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.40.0: - resolution: {integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==} + /eslint@8.41.0: + resolution: {integrity: sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.41.0) '@eslint-community/regexpp': 4.4.1 '@eslint/eslintrc': 2.0.3 - '@eslint/js': 8.40.0 + '@eslint/js': 8.41.0 '@humanwhocodes/config-array': 0.11.8 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -3616,13 +3616,12 @@ packages: find-up: 5.0.0 glob-parent: 6.0.2 globals: 13.20.0 - grapheme-splitter: 1.0.4 + graphemer: 1.4.0 ignore: 5.2.0 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-sdsl: 4.4.0 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -4034,6 +4033,10 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + dev: true + /gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} engines: {node: '>=10'} @@ -4464,10 +4467,6 @@ packages: tslib: 2.5.1 dev: true - /js-sdsl@4.4.0: - resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} - dev: true - /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: true @@ -5696,14 +5695,14 @@ packages: - tslib dev: true - /rollup-plugin-cleanup@3.2.1(rollup@3.22.0): + /rollup-plugin-cleanup@3.2.1(rollup@3.23.0): resolution: {integrity: sha512-zuv8EhoO3TpnrU8MX8W7YxSbO4gmOR0ny06Lm3nkFfq0IVKdBUtHwhVzY1OAJyNCIAdLiyPnOrU0KnO0Fri1GQ==} engines: {node: ^10.14.2 || >=12.0.0} peerDependencies: rollup: '>=2.0' dependencies: js-cleanup: 1.2.0 - rollup: 3.22.0 + rollup: 3.23.0 rollup-pluginutils: 2.8.2 dev: true @@ -5724,7 +5723,7 @@ packages: - supports-color dev: true - /rollup-plugin-visualizer@5.9.0(rollup@3.22.0): + /rollup-plugin-visualizer@5.9.0(rollup@3.23.0): resolution: {integrity: sha512-bbDOv47+Bw4C/cgs0czZqfm8L82xOZssk4ayZjG40y9zbXclNk7YikrZTDao6p7+HDiGxrN0b65SgZiVm9k1Cg==} engines: {node: '>=14'} hasBin: true @@ -5736,7 +5735,7 @@ packages: dependencies: open: 8.4.2 picomatch: 2.3.1 - rollup: 3.22.0 + rollup: 3.23.0 source-map: 0.7.4 yargs: 17.7.1 dev: true @@ -5747,8 +5746,8 @@ packages: estree-walker: 0.6.1 dev: true - /rollup@3.22.0: - resolution: {integrity: sha512-imsigcWor5Y/dC0rz2q0bBt9PabcL3TORry2hAa6O6BuMvY71bqHyfReAz5qyAqiQATD1m70qdntqBfBQjVWpQ==} + /rollup@3.23.0: + resolution: {integrity: sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -6261,12 +6260,6 @@ packages: typescript: 5.0.4 dev: true - /typescript@4.8.4: - resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - /typescript@5.0.4: resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} engines: {node: '>=12.20'} @@ -6410,14 +6403,14 @@ packages: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} dev: true - /vue-eslint-parser@9.3.0(eslint@8.40.0): + /vue-eslint-parser@9.3.0(eslint@8.41.0): resolution: {integrity: sha512-48IxT9d0+wArT1+3wNIy0tascRoywqSUe2E1YalIC1L8jsUGe5aJQItWfRok7DVFGz3UYvzEI7n5wiTXsCMAcQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0 || ^8.0.0' dependencies: debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.41.0 eslint-scope: 7.2.0 eslint-visitor-keys: 3.4.1 espree: 9.5.2 diff --git a/src/index.default.ts b/src/index.default.ts index ccbe4a82..7c1ec85e 100644 --- a/src/index.default.ts +++ b/src/index.default.ts @@ -1,103 +1,95 @@ -import loadSource from 'load-source' // 动态加载资源,支持js、图片、css链接、css样式字符串 -import mountCss from 'mount-css' // 动态加载css链接资源 -import mountImg from 'mount-image' // 动态加载图片资源 -import mountJs from 'mount-script' // 动态加载js链接资源 -import mountStyle from 'mount-style' // 动态加载css样式 -import { download } from 'use-downloads' // 文件下载 +import { download } from 'use-downloads' // 全局参数 -import client from './client' // client方法返回一个浏览器判断结果对象 -import pattern from './pattern' // pattern返回一些常用的正则 +import client from './client' +import pattern from './pattern' // String扩展、数组方法 -import trim from './trim' // 根据传参来去除空格 -import clearAttr from './clearAttr' // 去除HTML标签所有属性 -import clearHtml from './clearHtml' // 去除HTML标签 -import getNumber from './getNumber' // 获取字符串中的数字 -import camel2Dash from './camel2Dash' // 将驼峰字符串转成-间隔且全小写的Dash模式 -import dash2Camel from './dash2Camel' // 将-间隔且全小写的Dash模式转成驼峰字符串 -import upperFirst from './upperFirst' // 首字母大写 -import getRandomNum from './getRandomNum' // 获取随机整数 -import getRandomStr from './getRandomStr' // 获取随机字符串 -import getRandomStrWidthSpecialChar from './getRandomStrWidthSpecialChar' // 获取随机字符串带特殊符号 -import getCHSLength from './getCHSLength' // 获取字符串长度,中文算2个字符 -import cutCHSString from './cutCHSString' // 截取字符串,中文算2个字节 -import textareaInsertText from './textareaInsertText' // textarea或input对象在指定的光标位置插入文字 -import textareaMoveToEnd from './textareaMoveToEnd' // textarea或input对象将光标定位到文字尾部 +import trim from './trim' +import clearAttr from './clearAttr' +import clearHtml from './clearHtml' +import getNumber from './getNumber' +import camel2Dash from './camel2Dash' +import dash2Camel from './dash2Camel' +import upperFirst from './upperFirst' +import getRandomNum from './getRandomNum' +import getRandomStr from './getRandomStr' +import getRandomStrWidthSpecialChar from './getRandomStrWidthSpecialChar' +import getCHSLength from './getCHSLength' +import cutCHSString from './cutCHSString' +import textareaInsertText from './textareaInsertText' +import textareaMoveToEnd from './textareaMoveToEnd' // 获取一下状态 -import isDigitals from './isDigitals' // 是否为由数字组成的字符串 -import isExitsFunction from './isExitsFunction' // 是否存在指定函数 -import isExitsVariable from './isExitsVariable' // 是否存在指定变量 -import windowSize from './windowSize' // windowSize获取窗口大小 -import getAppVersion from './getAppVersion' // 获取APP版本号 -import getOsVersion from './getOsVersion' // 获取手机系统版本 -import getIsAppVersionLastest from './getIsAppVersionLastest' // 版本号大小对比 -import getDirParam from './getDirParam' // 获取目录形式URL参数 -import getParameter from './getParameter' // 获取单个URL参数 -import getUrlParam from './getUrlParam' // 获取URL参数 +import isDigitals from './isDigitals' +import isExitsFunction from './isExitsFunction' +import isExitsVariable from './isExitsVariable' +import windowSize from './windowSize' +import getAppVersion from './getAppVersion' +import getOsVersion from './getOsVersion' +import getIsAppVersionLastest from './getIsAppVersionLastest' +import getDirParam from './getDirParam' +import getParameter from './getParameter' +import getUrlParam from './getUrlParam' // 缓存、cookie、session -import getCache from './getCache' // 读取localStorage -import setCache from './setCache' // 写入localStorage -import delCache from './delCache' // 删除localStorage -import getSession from './getSession' // 读取sessionStorage -import setSession from './setSession' // 写入sessionStorage -import delSession from './delSession' // 删除sessionStorage -import getCookie from './getCookie' // 读取cookie -import setCookie from './setCookie' // 写入cookie -import delCookie from './delCookie' // 删除cookie +import getCache from './getCache' +import setCache from './setCache' +import delCache from './delCache' +import getSession from './getSession' +import setSession from './setSession' +import delSession from './delSession' +import getCookie from './getCookie' +import setCookie from './setCookie' +import delCookie from './delCookie' // 编码与解码 -import encodeBase64 from './encodeBase64' // 字符串、数字转base64 -import encodeUtf8 from './encodeUtf8' // 编码Utf8 -import decodeBase64 from './decodeBase64' // base64解码 -import decodeUtf8 from './decodeUtf8' // 解码Utf8 +import encodeBase64 from './encodeBase64' +import encodeUtf8 from './encodeUtf8' +import decodeBase64 from './decodeBase64' +import decodeUtf8 from './decodeUtf8' // 事件委托、其他事件方法 -import stopBubble from './stopBubble' // 阻止冒泡 -import stopDefault from './stopDefault' // 阻止默认事件 -import addEvent from './addEvent' // 事件委托,支持多次委托 -import removeEvent from './removeEvent' // removeEvent移除由addEvent创建的事件委托 -import getScrollPosition from './getScrollPosition' // 获取滑动到顶部和底部 返回'top' 'bottom',建议使用限流 +import stopBubble from './stopBubble' +import stopDefault from './stopDefault' +import addEvent from './addEvent' +import removeEvent from './removeEvent' +import getScrollPosition from './getScrollPosition' // 工具类 -import nextIndex from './nextIndex' // 返回下一个zIndex值 -import fixNumber from './fixNumber' // 截取小数点后几位,不足的不补0 -import extend from './extend' // 深拷贝 -import delay from './delay' // 防抖节流 -import getType from './getType' // 获取目标类型 -import isArray from './isArray' // 判断是否数组 -import isPlainObject from './isPlainObject' // 判断是否PlainObject -import cleanData from './cleanData' // 清洗数据 -import searchTreeObject from './searchTreeObject' // 对象查找 -import openUrl from './openUrl' // 新标签页打开链接(浏览器不能解析的文件跳转下载) -import toThousands from './toThousands' // 千分位分割方法 -import all from './all' // 如果所提供的谓词函数对一个集合中的所有元素都返回true,则返回true,否则返回false。 -import any from './any' // 如果所提供的谓词函数对一个集合中的至少一个元素返回true,则返回true,否则返回false。 -import uuid from './uuid' // 浏览器端生成uuid,采用v4方法 -import CSVToArray from './CSVToArray' // csv与json、array相互转换 -import arrayToCSV from './arrayToCSV' // csv与json、array相互转换 -import CSVToJSON from './CSVToJSON' // csv与json、array相互转换 -import JSONToCSV from './JSONToCSV' // csv与json、array相互转换 -import RGBToHex from './RGBToHex' // 将RGB组件的值转换为颜色代码。 -import intersect from './intersect' // 多个数组求交集 -import union from './union' // 多个数组求交集 -import minus from './minus' // 多个数组求差集 -import complement from './complement' // 多个数组求补集 -import contains from './contains' // 数组是否包含指定元素 -import unique from './unique' // 数组去重 -import fillIPv6 from './fillIPv6' // ipv6地址补全 -import getProperty from './getProperty' // 根据路径字符串获取数组、对象属性值 -import setProperty from './setProperty' // 根据路径字符串设置数组、对象属性值 +import nextIndex from './nextIndex' +import fixNumber from './fixNumber' +import extend from './extend' +import delay from './delay' +import getType from './getType' +import isArray from './isArray' +import isPlainObject from './isPlainObject' +import cleanData from './cleanData' +import searchTreeObject from './searchTreeObject' +import openUrl from './openUrl' +import toThousands from './toThousands' +import all from './all' +import any from './any' +import uuid from './uuid' +import CSVToArray from './CSVToArray' +import arrayToCSV from './arrayToCSV' +import CSVToJSON from './CSVToJSON' +import JSONToCSV from './JSONToCSV' +import RGBToHex from './RGBToHex' +import intersect from './intersect' +import union from './union' +import minus from './minus' +import complement from './complement' +import contains from './contains' +import unique from './unique' +import fillIPv6 from './fillIPv6' +import getProperty from './getProperty' +import setProperty from './setProperty' + +import { loadSource, mountCss, mountImg, mountJs, mountStyle } from './' export default { version: '__VERSION__', - loadSource, - mountCss, - mountImg, - mountJs, - mountStyle, download, RGBToHex, addEvent, @@ -170,5 +162,10 @@ export default { unique, upperFirst, uuid, - windowSize + windowSize, + loadSource, + mountCss, + mountImg, + mountJs, + mountStyle } diff --git a/src/index.ts b/src/index.ts index 1824a65e..95bcdf49 100644 --- a/src/index.ts +++ b/src/index.ts @@ -92,3 +92,6 @@ export { default as unique } from './unique' // 数组去重 export { default as fillIPv6 } from './fillIPv6' // ipv6地址补全 export { default as getProperty } from './getProperty' // 根据路径字符串获取数组、对象属性值 export { default as setProperty } from './setProperty' // 根据路径字符串设置数组、对象属性值 + +export { default } from './index.default' +export const version = '__VERSION__' as string diff --git a/src/nextIndex.ts b/src/nextIndex.ts index 3a353495..476a823d 100644 --- a/src/nextIndex.ts +++ b/src/nextIndex.ts @@ -8,7 +8,9 @@ function nextIndex(min = 5000, max = 10000): number { const doms = [min] Array.prototype.forEach.call(document.querySelectorAll('body > *'), e => { - const n = +window.getComputedStyle(e).zIndex || 0 + const n = ['SCRIPT', 'META', 'STYLE', 'LINK'].includes(e.tagName) + ? 0 + : +window.getComputedStyle(e).zIndex || 0 n > min && n < max && doms.push(n) }) doms.sort((a, b) => b - a)