diff --git a/package.json b/package.json index e58dc0e1b6e..01fa4386c7e 100644 --- a/package.json +++ b/package.json @@ -92,12 +92,12 @@ "@types/markdown-it": "~12.2.3", "@types/node": "~20.4.1", "@types/prettier": "~2.7.3", - "@types/react": "~18.2.15", + "@types/react": "~18.2.17", "@types/sanitize-html": "~2.9.0", "@types/semver": "~7.5.0", "@types/validator": "~13.7.17", - "@typescript-eslint/eslint-plugin": "~6.1.0", - "@typescript-eslint/parser": "~6.1.0", + "@typescript-eslint/eslint-plugin": "~6.2.0", + "@typescript-eslint/parser": "~6.2.0", "@vitest/coverage-v8": "~0.33.0", "@vitest/ui": "~0.33.0", "@vueuse/core": "~10.2.1", @@ -128,7 +128,7 @@ "typescript": "~4.9.5", "validator": "~13.9.0", "vite": "~4.4.2", - "vitepress": "1.0.0-beta.6", + "vitepress": "1.0.0-beta.7", "vitest": "~0.33.0", "vue": "~3.3.4" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aad0cfa7982..48933cb3bb9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,8 +17,8 @@ devDependencies: specifier: ~2.7.3 version: 2.7.3 '@types/react': - specifier: ~18.2.15 - version: 18.2.15 + specifier: ~18.2.17 + version: 18.2.17 '@types/sanitize-html': specifier: ~2.9.0 version: 2.9.0 @@ -29,11 +29,11 @@ devDependencies: specifier: ~13.7.17 version: 13.7.17 '@typescript-eslint/eslint-plugin': - specifier: ~6.1.0 - version: 6.1.0(@typescript-eslint/parser@6.1.0)(eslint@8.44.0)(typescript@4.9.5) + specifier: ~6.2.0 + version: 6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.44.0)(typescript@4.9.5) '@typescript-eslint/parser': - specifier: ~6.1.0 - version: 6.1.0(eslint@8.44.0)(typescript@4.9.5) + specifier: ~6.2.0 + version: 6.2.0(eslint@8.44.0)(typescript@4.9.5) '@vitest/coverage-v8': specifier: ~0.33.0 version: 0.33.0(vitest@0.33.0) @@ -125,8 +125,8 @@ devDependencies: specifier: ~4.4.2 version: 4.4.2(@types/node@20.4.1) vitepress: - specifier: 1.0.0-beta.6 - version: 1.0.0-beta.6(@algolia/client-search@4.19.1)(@types/node@20.4.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) + specifier: 1.0.0-beta.7 + version: 1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.4.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) vitest: specifier: ~0.33.0 version: 0.33.0(@vitest/ui@0.33.0) @@ -426,10 +426,10 @@ packages: resolution: {integrity: sha512-2Pu9HDg/uP/IT10rbQ+4OrTQuxIWdKVUEdcw9/w7kZJv9NeHS6skJx1xuRiFyoGKwAzcHXnLp7csE99sj+O1YA==} dev: true - /@docsearch/js@3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): + /@docsearch/js@3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): resolution: {integrity: sha512-EXi8de5njxgP6TV3N9ytnGRLG9zmBNTEZjR4VzwPcpPLbZxxTLG2gaFyJyKiFVQxHW/DPlMrDJA3qoRRGEkgZw==} dependencies: - '@docsearch/react': 3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) + '@docsearch/react': 3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) preact: 10.15.1 transitivePeerDependencies: - '@algolia/client-search' @@ -439,7 +439,7 @@ packages: - search-insights dev: true - /@docsearch/react@3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): + /@docsearch/react@3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): resolution: {integrity: sha512-t5mEODdLzZq4PTFAm/dvqcvZFdPDMdfPE5rJS5SC8OUq9mPzxEy6b+9THIqNM9P0ocCb4UC5jqBrxKclnuIbzQ==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' @@ -456,7 +456,7 @@ packages: '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.19.1)(algoliasearch@4.17.1)(search-insights@2.6.0) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.19.1)(algoliasearch@4.17.1) '@docsearch/css': 3.5.1 - '@types/react': 18.2.15 + '@types/react': 18.2.17 algoliasearch: 4.17.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -1192,8 +1192,8 @@ packages: resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} dev: true - /@types/react@18.2.15: - resolution: {integrity: sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==} + /@types/react@18.2.17: + resolution: {integrity: sha512-u+e7OlgPPh+aryjOm5UJMX32OvB2E3QASOAqVMY6Ahs90djagxwv2ya0IctglNbNTexC12qCSMZG47KPfy1hAA==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.3 @@ -1238,8 +1238,8 @@ packages: dev: true optional: true - /@typescript-eslint/eslint-plugin@6.1.0(@typescript-eslint/parser@6.1.0)(eslint@8.44.0)(typescript@4.9.5): - resolution: {integrity: sha512-qg7Bm5TyP/I7iilGyp6DRqqkt8na00lI6HbjWZObgk3FFSzH5ypRwAHXJhJkwiRtTcfn+xYQIMOR5kJgpo6upw==} + /@typescript-eslint/eslint-plugin@6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.44.0)(typescript@4.9.5): + resolution: {integrity: sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1250,11 +1250,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 6.1.0(eslint@8.44.0)(typescript@4.9.5) - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/type-utils': 6.1.0(eslint@8.44.0)(typescript@4.9.5) - '@typescript-eslint/utils': 6.1.0(eslint@8.44.0)(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/parser': 6.2.0(eslint@8.44.0)(typescript@4.9.5) + '@typescript-eslint/scope-manager': 6.2.0 + '@typescript-eslint/type-utils': 6.2.0(eslint@8.44.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.2.0(eslint@8.44.0)(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.2.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.44.0 graphemer: 1.4.0 @@ -1268,8 +1268,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.1.0(eslint@8.44.0)(typescript@4.9.5): - resolution: {integrity: sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==} + /@typescript-eslint/parser@6.2.0(eslint@8.44.0)(typescript@4.9.5): + resolution: {integrity: sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1278,10 +1278,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/typescript-estree': 6.1.0(typescript@4.9.5) - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/scope-manager': 6.2.0 + '@typescript-eslint/types': 6.2.0 + '@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.2.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.44.0 typescript: 4.9.5 @@ -1305,16 +1305,16 @@ packages: '@typescript-eslint/visitor-keys': 5.59.7 dev: true - /@typescript-eslint/scope-manager@6.1.0: - resolution: {integrity: sha512-AxjgxDn27hgPpe2rQe19k0tXw84YCOsjDJ2r61cIebq1t+AIxbgiXKvD4999Wk49GVaAcdJ/d49FYel+Pp3jjw==} + /@typescript-eslint/scope-manager@6.2.0: + resolution: {integrity: sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/types': 6.2.0 + '@typescript-eslint/visitor-keys': 6.2.0 dev: true - /@typescript-eslint/type-utils@6.1.0(eslint@8.44.0)(typescript@4.9.5): - resolution: {integrity: sha512-kFXBx6QWS1ZZ5Ni89TyT1X9Ag6RXVIVhqDs0vZE/jUeWlBv/ixq2diua6G7ece6+fXw3TvNRxP77/5mOMusx2w==} + /@typescript-eslint/type-utils@6.2.0(eslint@8.44.0)(typescript@4.9.5): + resolution: {integrity: sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1323,8 +1323,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.1.0(typescript@4.9.5) - '@typescript-eslint/utils': 6.1.0(eslint@8.44.0)(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.5) + '@typescript-eslint/utils': 6.2.0(eslint@8.44.0)(typescript@4.9.5) debug: 4.3.4(supports-color@8.1.1) eslint: 8.44.0 ts-api-utils: 1.0.1(typescript@4.9.5) @@ -1343,8 +1343,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.1.0: - resolution: {integrity: sha512-+Gfd5NHCpDoHDOaU/yIF3WWRI2PcBRKKpP91ZcVbL0t5tQpqYWBs3z/GGhvU+EV1D0262g9XCnyqQh19prU0JQ==} + /@typescript-eslint/types@6.2.0: + resolution: {integrity: sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1390,8 +1390,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.1.0(typescript@4.9.5): - resolution: {integrity: sha512-nUKAPWOaP/tQjU1IQw9sOPCDavs/iU5iYLiY/6u7gxS7oKQoi4aUxXS1nrrVGTyBBaGesjkcwwHkbkiD5eBvcg==} + /@typescript-eslint/typescript-estree@6.2.0(typescript@4.9.5): + resolution: {integrity: sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1399,8 +1399,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/types': 6.2.0 + '@typescript-eslint/visitor-keys': 6.2.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 @@ -1451,8 +1451,8 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.1.0(eslint@8.44.0)(typescript@4.9.5): - resolution: {integrity: sha512-wp652EogZlKmQoMS5hAvWqRKplXvkuOnNzZSE0PVvsKjpexd/XznRVHAtrfHFYmqaJz0DFkjlDsGYC9OXw+OhQ==} + /@typescript-eslint/utils@6.2.0(eslint@8.44.0)(typescript@4.9.5): + resolution: {integrity: sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1460,9 +1460,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0) '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/typescript-estree': 6.1.0(typescript@4.9.5) + '@typescript-eslint/scope-manager': 6.2.0 + '@typescript-eslint/types': 6.2.0 + '@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.5) eslint: 8.44.0 semver: 7.5.4 transitivePeerDependencies: @@ -1486,22 +1486,22 @@ packages: eslint-visitor-keys: 3.4.1 dev: true - /@typescript-eslint/visitor-keys@6.1.0: - resolution: {integrity: sha512-yQeh+EXhquh119Eis4k0kYhj9vmFzNpbhM3LftWQVwqVjipCkwHBQOZutcYW+JVkjtTG9k8nrZU1UoNedPDd1A==} + /@typescript-eslint/visitor-keys@6.2.0: + resolution: {integrity: sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.1.0 + '@typescript-eslint/types': 6.2.0 eslint-visitor-keys: 3.4.1 dev: true - /@vitejs/plugin-vue@4.2.3(vite@4.4.6)(vue@3.3.4): + /@vitejs/plugin-vue@4.2.3(vite@4.4.7)(vue@3.3.4): resolution: {integrity: sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.6(@types/node@20.4.1) + vite: 4.4.7(@types/node@20.4.1) vue: 3.3.4 dev: true @@ -1606,7 +1606,7 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 magic-string: 0.30.1 - postcss: 8.4.24 + postcss: 8.4.27 source-map-js: 1.0.2 dev: true @@ -5693,7 +5693,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.6(@types/node@20.4.1) + vite: 4.4.7(@types/node@20.4.1) transitivePeerDependencies: - '@types/node' - less @@ -5741,8 +5741,8 @@ packages: fsevents: 2.3.2 dev: true - /vite@4.4.6(@types/node@20.4.1): - resolution: {integrity: sha512-EY6Mm8vJ++S3D4tNAckaZfw3JwG3wa794Vt70M6cNJ6NxT87yhq7EC8Rcap3ahyHdo8AhCmV9PTk+vG1HiYn1A==} + /vite@4.4.7(@types/node@20.4.1): + resolution: {integrity: sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -5777,13 +5777,13 @@ packages: fsevents: 2.3.2 dev: true - /vitepress@1.0.0-beta.6(@algolia/client-search@4.19.1)(@types/node@20.4.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): - resolution: {integrity: sha512-xK/ulKgQpKZVbvlL4+/vW49VG7ySi5nmSoKUNH1G4kM+Cj9JwYM+PDJO7jSJROv8zW99G0ise+maDYnaLlbGBQ==} + /vitepress@1.0.0-beta.7(@algolia/client-search@4.19.1)(@types/node@20.4.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0): + resolution: {integrity: sha512-P9Rw+FXatKIU4fVdtKxqwHl6fby8E/8zE3FIfep6meNgN4BxbWqoKJ6yfuuQQR9IrpQqwnyaBh4LSabyll6tWg==} hasBin: true dependencies: '@docsearch/css': 3.5.1 - '@docsearch/js': 3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.15)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) - '@vitejs/plugin-vue': 4.2.3(vite@4.4.6)(vue@3.3.4) + '@docsearch/js': 3.5.1(@algolia/client-search@4.19.1)(@types/react@18.2.17)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.6.0) + '@vitejs/plugin-vue': 4.2.3(vite@4.4.7)(vue@3.3.4) '@vue/devtools-api': 6.5.0 '@vueuse/core': 10.2.1(vue@3.3.4) '@vueuse/integrations': 10.2.1(focus-trap@7.5.2)(vue@3.3.4) @@ -5792,7 +5792,7 @@ packages: mark.js: 8.11.1 minisearch: 6.1.0 shiki: 0.14.3 - vite: 4.4.6(@types/node@20.4.1) + vite: 4.4.7(@types/node@20.4.1) vue: 3.3.4 transitivePeerDependencies: - '@algolia/client-search' diff --git a/test/scripts/apidoc/verify-jsdoc-tags.spec.ts b/test/scripts/apidoc/verify-jsdoc-tags.spec.ts index 1e8fc55e2b0..7123a15060d 100644 --- a/test/scripts/apidoc/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidoc/verify-jsdoc-tags.spec.ts @@ -117,7 +117,9 @@ describe('verify JSDoc tags', () => { mkdirSync(dir, { recursive: true }); const path = resolvePathToMethodFile(moduleName, methodName); - const imports = [...new Set(examples.match(/faker[^\.]*(?=\.)/g))]; + const imports = [ + ...new Set(examples.match(/(?