diff --git a/.eslintrc.js b/.eslintrc.js index 119356fb1b2..5fce4cb37df 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -63,7 +63,6 @@ module.exports = defineConfig({ 'unicorn/no-for-loop': 'off', 'unicorn/no-instanceof-array': 'off', 'unicorn/no-negated-condition': 'off', - 'unicorn/no-new-array': 'off', 'unicorn/no-object-as-default-parameter': 'off', 'unicorn/no-process-exit': 'off', 'unicorn/no-useless-switch-case': 'off', @@ -80,7 +79,6 @@ module.exports = defineConfig({ 'unicorn/prefer-optional-catch-binding': 'off', 'unicorn/prefer-spread': 'off', 'unicorn/prefer-string-slice': 'off', - 'unicorn/prefer-string-starts-ends-with': 'off', 'unicorn/prefer-ternary': 'off', 'unicorn/prefer-top-level-await': 'off', 'unicorn/prevent-abbreviations': 'off', diff --git a/README.md b/README.md index 26c858d9fc2..0ef995a3a76 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ For detailed API documentation, please select the version of the documentation y - 💌 Locations - Generate valid looking Addresses, Zip Codes, Street Names, States, and Countries! - ⏰ Time-based Data - Past, present, future, recent, soon... whenever! -- 🌏 Localization - Set a locale to generate realistic looking Names, Addresses, and Phone Numbers. +- 🌏 Localization - Pick a locale to generate realistic looking Names, Addresses, and Phone Numbers. - 💸 Finance - Create stubbed out Account Details, Transactions, and Crypto Addresses. - 👠 Products - Generate Prices, Product Names, Adjectives, and Descriptions. - 👾 Hacker Jargon - “Try to reboot the SQL bus, maybe it will bypass the virtual application!” diff --git a/docs/index.md b/docs/index.md index df9b12f2337..f3318e7324e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -37,5 +37,5 @@ features: details: Past, present, future, recent, soon... whenever! - icon: 🌏 title: Localization - details: Set a locale to generate realistic looking Names, Addresses, and Phone Numbers. + details: Pick a locale to generate realistic looking Names, Addresses, and Phone Numbers. --- diff --git a/package.json b/package.json index 30c6ae27bdc..9895b5818dd 100644 --- a/package.json +++ b/package.json @@ -90,27 +90,27 @@ "@actions/github": "~5.1.1", "@algolia/client-search": "~4.19.1", "@types/markdown-it": "~13.0.2", - "@types/node": "~20.8.0", + "@types/node": "~20.8.3", "@types/sanitize-html": "~2.9.1", "@types/semver": "~7.5.3", "@types/validator": "~13.11.2", - "@typescript-eslint/eslint-plugin": "~6.7.3", - "@typescript-eslint/parser": "~6.7.3", + "@typescript-eslint/eslint-plugin": "~6.7.4", + "@typescript-eslint/parser": "~6.7.4", "@vitest/coverage-v8": "~0.34.6", "@vitest/ui": "~0.34.7", - "@vueuse/core": "~10.4.1", + "@vueuse/core": "~10.5.0", "conventional-changelog-cli": "~4.1.0", "cypress": "~13.3.0", "esbuild": "~0.19.4", - "eslint": "~8.50.0", + "eslint": "~8.51.0", "eslint-config-prettier": "~9.0.0", - "eslint-define-config": "~1.23.0", + "eslint-define-config": "~1.24.1", "eslint-gitignore": "~0.1.0", "eslint-plugin-deprecation": "~2.0.0", "eslint-plugin-jsdoc": "~46.8.2", "eslint-plugin-prettier": "~5.0.0", "eslint-plugin-unicorn": "~48.0.1", - "eslint-plugin-vitest": "~0.3.1", + "eslint-plugin-vitest": "~0.3.2", "glob": "~10.3.10", "npm-run-all": "~4.1.5", "prettier": "3.0.3", @@ -123,7 +123,7 @@ "typedoc": "~0.24.8", "typescript": "~4.9.5", "validator": "~13.11.0", - "vite": "~4.4.9", + "vite": "~4.4.11", "vitepress": "1.0.0-beta.7", "vitest": "~0.34.6", "vue": "~3.3.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15fb0ef8cc6..0a01a50950a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ devDependencies: specifier: ~13.0.2 version: 13.0.2 '@types/node': - specifier: ~20.8.0 - version: 20.8.0 + specifier: ~20.8.3 + version: 20.8.3 '@types/sanitize-html': specifier: ~2.9.1 version: 2.9.1 @@ -23,11 +23,11 @@ devDependencies: specifier: ~13.11.2 version: 13.11.2 '@typescript-eslint/eslint-plugin': - specifier: ~6.7.3 - version: 6.7.3(@typescript-eslint/parser@6.7.3)(eslint@8.50.0)(typescript@4.9.5) + specifier: ~6.7.4 + version: 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@4.9.5) '@typescript-eslint/parser': - specifier: ~6.7.3 - version: 6.7.3(eslint@8.50.0)(typescript@4.9.5) + specifier: ~6.7.4 + version: 6.7.4(eslint@8.51.0)(typescript@4.9.5) '@vitest/coverage-v8': specifier: ~0.34.6 version: 0.34.6(vitest@0.34.6) @@ -35,8 +35,8 @@ devDependencies: specifier: ~0.34.7 version: 0.34.7(vitest@0.34.6) '@vueuse/core': - specifier: ~10.4.1 - version: 10.4.1(vue@3.3.4) + specifier: ~10.5.0 + version: 10.5.0(vue@3.3.4) conventional-changelog-cli: specifier: ~4.1.0 version: 4.1.0 @@ -47,32 +47,32 @@ devDependencies: specifier: ~0.19.4 version: 0.19.4 eslint: - specifier: ~8.50.0 - version: 8.50.0 + specifier: ~8.51.0 + version: 8.51.0 eslint-config-prettier: specifier: ~9.0.0 - version: 9.0.0(eslint@8.50.0) + version: 9.0.0(eslint@8.51.0) eslint-define-config: - specifier: ~1.23.0 - version: 1.23.0 + specifier: ~1.24.1 + version: 1.24.1 eslint-gitignore: specifier: ~0.1.0 - version: 0.1.0(eslint@8.50.0) + version: 0.1.0(eslint@8.51.0) eslint-plugin-deprecation: specifier: ~2.0.0 - version: 2.0.0(eslint@8.50.0)(typescript@4.9.5) + version: 2.0.0(eslint@8.51.0)(typescript@4.9.5) eslint-plugin-jsdoc: specifier: ~46.8.2 - version: 46.8.2(eslint@8.50.0) + version: 46.8.2(eslint@8.51.0) eslint-plugin-prettier: specifier: ~5.0.0 - version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.50.0)(prettier@3.0.3) + version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3) eslint-plugin-unicorn: specifier: ~48.0.1 - version: 48.0.1(eslint@8.50.0) + version: 48.0.1(eslint@8.51.0) eslint-plugin-vitest: - specifier: ~0.3.1 - version: 0.3.1(@typescript-eslint/eslint-plugin@6.7.3)(eslint@8.50.0)(vitest@0.34.6) + specifier: ~0.3.2 + version: 0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@4.9.5)(vitest@0.34.6) glob: specifier: ~10.3.10 version: 10.3.10 @@ -110,11 +110,11 @@ devDependencies: specifier: ~13.11.0 version: 13.11.0 vite: - specifier: ~4.4.9 - version: 4.4.9(@types/node@20.8.0) + specifier: ~4.4.11 + version: 4.4.11(@types/node@20.8.3) vitepress: specifier: 1.0.0-beta.7 - version: 1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.8.0)(search-insights@2.8.2) + version: 1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.8.3)(search-insights@2.8.2) vitest: specifier: ~0.34.6 version: 0.34.6(@vitest/ui@0.34.7) @@ -859,13 +859,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.50.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.51.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 dependencies: - eslint: 8.50.0 + eslint: 8.51.0 eslint-visitor-keys: 3.4.3 dev: true @@ -891,8 +891,8 @@ packages: - supports-color dev: true - /@eslint/js@8.50.0: - resolution: {integrity: sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==} + /@eslint/js@8.51.0: + resolution: {integrity: sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1157,8 +1157,8 @@ packages: resolution: {integrity: sha512-cOxcXsQ2sxiwkykdJqvyFS+MLQPLvIdwh5l6gNg8qF6s+C7XSkEWOZjK+XhUZd+mYvHV/180g2cnCcIl4l06Pw==} dev: true - /@types/node@20.8.0: - resolution: {integrity: sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==} + /@types/node@20.8.3: + resolution: {integrity: sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==} dev: true /@types/normalize-package-data@2.4.1: @@ -1191,16 +1191,20 @@ packages: resolution: {integrity: sha512-4p9vcSmxAayx72yn70joFoL44c9MO/0+iVEBIQXe3v2h2SiAsEIo/G5v6ObFWvNKRFjbrVadNf9LqEEZeQPzdA==} dev: true + /@types/web-bluetooth@0.0.18: + resolution: {integrity: sha512-v/ZHEj9xh82usl8LMR3GarzFY1IrbXJw5L4QfQhokjRV91q+SelFqxQWSep1ucXEZ22+dSTwLFkXeur25sPIbw==} + dev: true + /@types/yauzl@2.10.0: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 20.8.0 + '@types/node': 20.8.3 dev: true optional: true - /@typescript-eslint/eslint-plugin@6.7.3(@typescript-eslint/parser@6.7.3)(eslint@8.50.0)(typescript@4.9.5): - resolution: {integrity: sha512-vntq452UHNltxsaaN+L9WyuMch8bMd9CqJ3zhzTPXXidwbf5mqqKCVXEuvRZUqLJSTLeWE65lQwyXsRGnXkCTA==} + /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@4.9.5): + resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1211,13 +1215,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.8.1 - '@typescript-eslint/parser': 6.7.3(eslint@8.50.0)(typescript@4.9.5) - '@typescript-eslint/scope-manager': 6.7.3 - '@typescript-eslint/type-utils': 6.7.3(eslint@8.50.0)(typescript@4.9.5) - '@typescript-eslint/utils': 6.7.3(eslint@8.50.0)(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.7.3 + '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@4.9.5) + '@typescript-eslint/scope-manager': 6.7.4 + '@typescript-eslint/type-utils': 6.7.4(eslint@8.51.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.7.4 debug: 4.3.4(supports-color@8.1.1) - eslint: 8.50.0 + eslint: 8.51.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 @@ -1228,8 +1232,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.7.3(eslint@8.50.0)(typescript@4.9.5): - resolution: {integrity: sha512-TlutE+iep2o7R8Lf+yoer3zU6/0EAUc8QIBB3GYBc1KGz4c4TRm83xwXUZVPlZ6YCLss4r77jbu6j3sendJoiQ==} + /@typescript-eslint/parser@6.7.4(eslint@8.51.0)(typescript@4.9.5): + resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1238,12 +1242,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.7.3 - '@typescript-eslint/types': 6.7.3 - '@typescript-eslint/typescript-estree': 6.7.3(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.7.3 + '@typescript-eslint/scope-manager': 6.7.4 + '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/typescript-estree': 6.7.4(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.7.4 debug: 4.3.4(supports-color@8.1.1) - eslint: 8.50.0 + eslint: 8.51.0 typescript: 4.9.5 transitivePeerDependencies: - supports-color @@ -1257,16 +1261,16 @@ packages: '@typescript-eslint/visitor-keys': 6.7.2 dev: true - /@typescript-eslint/scope-manager@6.7.3: - resolution: {integrity: sha512-wOlo0QnEou9cHO2TdkJmzF7DFGvAKEnB82PuPNHpT8ZKKaZu6Bm63ugOTn9fXNJtvuDPanBc78lGUGGytJoVzQ==} + /@typescript-eslint/scope-manager@6.7.4: + resolution: {integrity: sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.3 - '@typescript-eslint/visitor-keys': 6.7.3 + '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/visitor-keys': 6.7.4 dev: true - /@typescript-eslint/type-utils@6.7.3(eslint@8.50.0)(typescript@4.9.5): - resolution: {integrity: sha512-Fc68K0aTDrKIBvLnKTZ5Pf3MXK495YErrbHb1R6aTpfK5OdSFj0rVN7ib6Tx6ePrZ2gsjLqr0s98NG7l96KSQw==} + /@typescript-eslint/type-utils@6.7.4(eslint@8.51.0)(typescript@4.9.5): + resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1275,10 +1279,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.3(typescript@4.9.5) - '@typescript-eslint/utils': 6.7.3(eslint@8.50.0)(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 6.7.4(typescript@4.9.5) + '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@4.9.5) debug: 4.3.4(supports-color@8.1.1) - eslint: 8.50.0 + eslint: 8.51.0 ts-api-utils: 1.0.3(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -1290,8 +1294,8 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@6.7.3: - resolution: {integrity: sha512-4g+de6roB2NFcfkZb439tigpAMnvEIg3rIjWQ+EM7IBaYt/CdJt6em9BJ4h4UpdgaBWdmx2iWsafHTrqmgIPNw==} + /@typescript-eslint/types@6.7.4: + resolution: {integrity: sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1316,29 +1320,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.7.2(typescript@5.2.2): - resolution: {integrity: sha512-kiJKVMLkoSciGyFU0TOY0fRxnp9qq1AzVOHNeN1+B9erKFCJ4Z8WdjAkKQPP+b1pWStGFqezMLltxO+308dJTQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.7.2 - '@typescript-eslint/visitor-keys': 6.7.2 - debug: 4.3.4(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/typescript-estree@6.7.3(typescript@4.9.5): - resolution: {integrity: sha512-YLQ3tJoS4VxLFYHTw21oe1/vIZPRqAO91z6Uv0Ss2BKm/Ag7/RVQBcXTGcXhgJMdA4U+HrKuY5gWlJlvoaKZ5g==} + /@typescript-eslint/typescript-estree@6.7.4(typescript@4.9.5): + resolution: {integrity: sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1346,8 +1329,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.7.3 - '@typescript-eslint/visitor-keys': 6.7.3 + '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/visitor-keys': 6.7.4 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 @@ -1358,57 +1341,38 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.7.2(eslint@8.50.0)(typescript@4.9.5): + /@typescript-eslint/utils@6.7.2(eslint@8.51.0)(typescript@4.9.5): resolution: {integrity: sha512-ZCcBJug/TS6fXRTsoTkgnsvyWSiXwMNiPzBUani7hDidBdj1779qwM1FIAmpH4lvlOZNF3EScsxxuGifjpLSWQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 6.7.2 '@typescript-eslint/types': 6.7.2 '@typescript-eslint/typescript-estree': 6.7.2(typescript@4.9.5) - eslint: 8.50.0 + eslint: 8.51.0 semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/utils@6.7.2(eslint@8.50.0)(typescript@5.2.2): - resolution: {integrity: sha512-ZCcBJug/TS6fXRTsoTkgnsvyWSiXwMNiPzBUani7hDidBdj1779qwM1FIAmpH4lvlOZNF3EScsxxuGifjpLSWQ==} + /@typescript-eslint/utils@6.7.4(eslint@8.51.0)(typescript@4.9.5): + resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.7.2 - '@typescript-eslint/types': 6.7.2 - '@typescript-eslint/typescript-estree': 6.7.2(typescript@5.2.2) - eslint: 8.50.0 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/utils@6.7.3(eslint@8.50.0)(typescript@4.9.5): - resolution: {integrity: sha512-vzLkVder21GpWRrmSR9JxGZ5+ibIUSudXlW52qeKpzUEQhRSmyZiVDDj3crAth7+5tmN1ulvgKaCU2f/bPRCzg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.7.3 - '@typescript-eslint/types': 6.7.3 - '@typescript-eslint/typescript-estree': 6.7.3(typescript@4.9.5) - eslint: 8.50.0 + '@typescript-eslint/scope-manager': 6.7.4 + '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/typescript-estree': 6.7.4(typescript@4.9.5) + eslint: 8.51.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -1423,22 +1387,22 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.7.3: - resolution: {integrity: sha512-HEVXkU9IB+nk9o63CeICMHxFWbHWr3E1mpilIQBe9+7L/lH97rleFLVtYsfnWB+JVMaiFnEaxvknvmIzX+CqVg==} + /@typescript-eslint/visitor-keys@6.7.4: + resolution: {integrity: sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.3 + '@typescript-eslint/types': 6.7.4 eslint-visitor-keys: 3.4.3 dev: true - /@vitejs/plugin-vue@4.3.4(vite@4.4.9)(vue@3.3.4): + /@vitejs/plugin-vue@4.3.4(vite@4.4.11)(vue@3.3.4): resolution: {integrity: sha512-ciXNIHKPriERBisHFBvnTbfKa6r9SAesOYXeGDzgegcvy9Q4xdScSHAmKbNT0M3O0S9LKhIf5/G+UYG4NnnzYw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.9(@types/node@20.8.0) + vite: 4.4.11(@types/node@20.8.3) vue: 3.3.4 dev: true @@ -1623,6 +1587,18 @@ packages: - vue dev: true + /@vueuse/core@10.5.0(vue@3.3.4): + resolution: {integrity: sha512-z/tI2eSvxwLRjOhDm0h/SXAjNm8N5ld6/SC/JQs6o6kpJ6Ya50LnEL8g5hoYu005i28L0zqB5L5yAl8Jl26K3A==} + dependencies: + '@types/web-bluetooth': 0.0.18 + '@vueuse/metadata': 10.5.0 + '@vueuse/shared': 10.5.0(vue@3.3.4) + vue-demi: 0.14.6(vue@3.3.4) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: true + /@vueuse/integrations@10.4.1(focus-trap@7.5.2)(vue@3.3.4): resolution: {integrity: sha512-uRBPyG5Lxoh1A/J+boiioPT3ELEAPEo4t8W6Mr4yTKIQBeW/FcbsotZNPr4k9uz+3QEksMmflWloS9wCnypM7g==} peerDependencies: @@ -1677,6 +1653,10 @@ packages: resolution: {integrity: sha512-2Sc8X+iVzeuMGHr6O2j4gv/zxvQGGOYETYXEc41h0iZXIRnRbJZGmY/QP8dvzqUelf8vg0p/yEA5VpCEu+WpZg==} dev: true + /@vueuse/metadata@10.5.0: + resolution: {integrity: sha512-fEbElR+MaIYyCkeM0SzWkdoMtOpIwO72x8WsZHRE7IggiOlILttqttM69AS13nrDxosnDBYdyy3C5mR1LCxHsw==} + dev: true + /@vueuse/shared@10.4.1(vue@3.3.4): resolution: {integrity: sha512-vz5hbAM4qA0lDKmcr2y3pPdU+2EVw/yzfRsBdu+6+USGa4PxqSQRYIUC9/NcT06y+ZgaTsyURw2I9qOFaaXHAg==} dependencies: @@ -1686,6 +1666,15 @@ packages: - vue dev: true + /@vueuse/shared@10.5.0(vue@3.3.4): + resolution: {integrity: sha512-18iyxbbHYLst9MqU1X1QNdMHIjks6wC7XTVf0KNOv5es/Ms6gjVFCAAWTVP2JStuGqydg3DT+ExpFORUEi9yhg==} + dependencies: + vue-demi: 0.14.6(vue@3.3.4) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: true + /JSONStream@1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true @@ -2962,21 +2951,21 @@ packages: engines: {node: '>=10'} dev: true - /eslint-config-prettier@9.0.0(eslint@8.50.0): + /eslint-config-prettier@9.0.0(eslint@8.51.0): resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.50.0 + eslint: 8.51.0 dev: true - /eslint-define-config@1.23.0: - resolution: {integrity: sha512-4mMyu0JuBkQHsCtR+42irIQdFLmLIW+pMAVcyOV/gZRL4O1R8iuH0eMG3oL3Cbi1eo9fDAfT5CIHVHgdyxcf6w==} - engines: {node: ^16.13.0 || >=18.0.0, npm: '>=7.0.0', pnpm: '>= 8.6.0'} + /eslint-define-config@1.24.1: + resolution: {integrity: sha512-o36vBhPSWyIQlHoMqGhhcGmOOm2A2ccBVIdLTG/AWdm9YmjpsLpf+5ntf9LlHR6dduLREgxtGwvwPwSt7vnXJg==} + engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>= 8.6.0'} dev: true - /eslint-gitignore@0.1.0(eslint@8.50.0): + /eslint-gitignore@0.1.0(eslint@8.51.0): resolution: {integrity: sha512-VFvY5Wyjuz5xXDC/NeONHzsh4YQNok2Gzg4SftAAuhkbrdHv5CChjfiFyLKhRlgOdCJr5kBquaLXHtuDBTW2/Q==} engines: {node: ^10.12.0 || >=12.0.0} peerDependencies: @@ -2984,20 +2973,20 @@ packages: dependencies: array.prototype.flatmap: 1.3.2 debug: 4.3.4(supports-color@8.1.1) - eslint: 8.50.0 + eslint: 8.51.0 fast-glob: 3.3.1 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-deprecation@2.0.0(eslint@8.50.0)(typescript@4.9.5): + /eslint-plugin-deprecation@2.0.0(eslint@8.51.0)(typescript@4.9.5): resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@4.9.5) - eslint: 8.50.0 + '@typescript-eslint/utils': 6.7.2(eslint@8.51.0)(typescript@4.9.5) + eslint: 8.51.0 tslib: 2.6.2 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 @@ -3005,7 +2994,7 @@ packages: - supports-color dev: true - /eslint-plugin-jsdoc@46.8.2(eslint@8.50.0): + /eslint-plugin-jsdoc@46.8.2(eslint@8.51.0): resolution: {integrity: sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==} engines: {node: '>=16'} peerDependencies: @@ -3016,7 +3005,7 @@ packages: comment-parser: 1.4.0 debug: 4.3.4(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint: 8.50.0 + eslint: 8.51.0 esquery: 1.5.0 is-builtin-module: 3.2.1 semver: 7.5.4 @@ -3025,7 +3014,7 @@ packages: - supports-color dev: true - /eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.50.0)(prettier@3.0.3): + /eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3): resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3039,24 +3028,24 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.50.0 - eslint-config-prettier: 9.0.0(eslint@8.50.0) + eslint: 8.51.0 + eslint-config-prettier: 9.0.0(eslint@8.51.0) prettier: 3.0.3 prettier-linter-helpers: 1.0.0 synckit: 0.8.5 dev: true - /eslint-plugin-unicorn@48.0.1(eslint@8.50.0): + /eslint-plugin-unicorn@48.0.1(eslint@8.51.0): resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.44.0' dependencies: '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) ci-info: 3.8.0 clean-regexp: 1.0.0 - eslint: 8.50.0 + eslint: 8.51.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -3070,8 +3059,8 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-vitest@0.3.1(@typescript-eslint/eslint-plugin@6.7.3)(eslint@8.50.0)(vitest@0.34.6): - resolution: {integrity: sha512-GeR3zISHmqUGWK2sfW+eyCZivMqiQYzPf9UttHXBiEyMveS/jkKLHCrHUllwr3Hz1+i0zoseANd2xL0cFha8Eg==} + /eslint-plugin-vitest@0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@4.9.5)(vitest@0.34.6): + resolution: {integrity: sha512-A1P0qJVkqHyfDolwm09h8/gu7SbGFOKbacJSeyZ9IRb8uyddgqLcqv4VrqgQfLA7QmGI9lwj1iV90NyZ1cHp8Q==} engines: {node: 14.x || >= 16} peerDependencies: '@typescript-eslint/eslint-plugin': '*' @@ -3081,13 +3070,13 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.7.3(@typescript-eslint/parser@6.7.3)(eslint@8.50.0)(typescript@4.9.5) - '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) - eslint: 8.50.0 - typescript: 5.2.2 + '@typescript-eslint/eslint-plugin': 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@4.9.5) + eslint: 8.51.0 vitest: 0.34.6(@vitest/ui@0.34.7) transitivePeerDependencies: - supports-color + - typescript dev: true /eslint-scope@7.2.2: @@ -3103,15 +3092,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.50.0: - resolution: {integrity: sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==} + /eslint@8.51.0: + resolution: {integrity: sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@eslint-community/regexpp': 4.8.1 '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.50.0 + '@eslint/js': 8.51.0 '@humanwhocodes/config-array': 0.11.11 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -5777,15 +5766,6 @@ packages: typescript: 4.9.5 dev: true - /ts-api-utils@1.0.3(typescript@5.2.2): - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} - peerDependencies: - typescript: '>=4.2.0' - dependencies: - typescript: 5.2.2 - dev: true - /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true @@ -5939,12 +5919,6 @@ packages: hasBin: true dev: true - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true - dev: true - /ufo@1.3.0: resolution: {integrity: sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==} dev: true @@ -6037,7 +6011,7 @@ packages: extsprintf: 1.3.0 dev: true - /vite-node@0.34.6(@types/node@20.8.0): + /vite-node@0.34.6(@types/node@20.8.3): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} hasBin: true @@ -6047,7 +6021,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.9(@types/node@20.8.0) + vite: 4.4.11(@types/node@20.8.3) transitivePeerDependencies: - '@types/node' - less @@ -6059,8 +6033,8 @@ packages: - terser dev: true - /vite@4.4.9(@types/node@20.8.0): - resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} + /vite@4.4.11(@types/node@20.8.3): + resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -6087,7 +6061,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.8.0 + '@types/node': 20.8.3 esbuild: 0.18.20 postcss: 8.4.31 rollup: 3.29.2 @@ -6095,22 +6069,22 @@ packages: fsevents: 2.3.3 dev: true - /vitepress@1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.8.0)(search-insights@2.8.2): + /vitepress@1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.8.3)(search-insights@2.8.2): resolution: {integrity: sha512-P9Rw+FXatKIU4fVdtKxqwHl6fby8E/8zE3FIfep6meNgN4BxbWqoKJ6yfuuQQR9IrpQqwnyaBh4LSabyll6tWg==} hasBin: true dependencies: '@docsearch/css': 3.5.2 '@docsearch/js': 3.5.2(@algolia/client-search@4.19.1)(search-insights@2.8.2) - '@vitejs/plugin-vue': 4.3.4(vite@4.4.9)(vue@3.3.4) + '@vitejs/plugin-vue': 4.3.4(vite@4.4.11)(vue@3.3.4) '@vue/devtools-api': 6.5.0 - '@vueuse/core': 10.4.1(vue@3.3.4) + '@vueuse/core': 10.5.0(vue@3.3.4) '@vueuse/integrations': 10.4.1(focus-trap@7.5.2)(vue@3.3.4) body-scroll-lock: 4.0.0-beta.0 focus-trap: 7.5.2 mark.js: 8.11.1 minisearch: 6.1.0 shiki: 0.14.4 - vite: 4.4.9(@types/node@20.8.0) + vite: 4.4.11(@types/node@20.8.3) vue: 3.3.4 transitivePeerDependencies: - '@algolia/client-search' @@ -6172,7 +6146,7 @@ packages: dependencies: '@types/chai': 4.3.6 '@types/chai-subset': 1.3.3 - '@types/node': 20.8.0 + '@types/node': 20.8.3 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -6192,8 +6166,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 4.4.9(@types/node@20.8.0) - vite-node: 0.34.6(@types/node@20.8.0) + vite: 4.4.11(@types/node@20.8.3) + vite-node: 0.34.6(@types/node@20.8.3) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/scripts/apidoc/signature.ts b/scripts/apidoc/signature.ts index 113df911650..b7c23842e41 100644 --- a/scripts/apidoc/signature.ts +++ b/scripts/apidoc/signature.ts @@ -213,7 +213,7 @@ async function typeToText(type_?: Type, short = false): Promise { if ( (reflectionType?.type === 'literal' || reflectionType?.type === 'union') && - !/Char$/.test(type.name) + !type.name.endsWith('Char') ) { return typeToText(reflectionType, short); } diff --git a/src/internal/mersenne.ts b/src/internal/mersenne.ts index 2d1cc4cebc9..6be5825d32c 100644 --- a/src/internal/mersenne.ts +++ b/src/internal/mersenne.ts @@ -79,7 +79,7 @@ class MersenneTwister19937 { private readonly MATRIX_A = 0x9908b0df; // constant vector a private readonly UPPER_MASK = 0x80000000; // most significant w-r bits private readonly LOWER_MASK = 0x7fffffff; // least significant r bits - private mt: number[] = new Array(this.N); // the array for the state vector + private mt: number[] = Array.from({ length: this.N }); // the array for the state vector private mti = this.N + 1; // mti==N+1 means mt[N] is not initialized /**