From bc1624ffc83bbbf480d449a54b6e9b04c0a7c521 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 25 Aug 2024 16:08:06 -0400 Subject: [PATCH] chore: configure knip (#13016) * chore: configure knip * bump vitest * ok prettier * remove some unused warnings * ugh computers are the worst * just shut up --- packages/svelte/knip.json | 18 ++ .../svelte/messages/client-errors/errors.md | 4 - .../messages/compile-errors/template.md | 4 - .../messages/compile-warnings/script.md | 4 - packages/svelte/package.json | 20 +- packages/svelte/src/compiler/errors.js | 9 - packages/svelte/src/compiler/warnings.js | 9 - packages/svelte/src/internal/client/errors.js | 16 -- .../tests/sourcemaps/samples/markup/test.js | 34 --- .../samples/source-map-generator/test.js | 1 - .../test.js | 2 - .../samples/sourcemap-names/test.js | 41 --- packages/svelte/tsconfig.json | 1 + pnpm-lock.yaml | 241 +++++++++++------- 14 files changed, 180 insertions(+), 224 deletions(-) create mode 100644 packages/svelte/knip.json delete mode 100644 packages/svelte/tests/sourcemaps/samples/markup/test.js delete mode 100644 packages/svelte/tests/sourcemaps/samples/source-map-generator/test.js delete mode 100644 packages/svelte/tests/sourcemaps/samples/sourcemap-basename-without-outputname/test.js delete mode 100644 packages/svelte/tests/sourcemaps/samples/sourcemap-names/test.js diff --git a/packages/svelte/knip.json b/packages/svelte/knip.json new file mode 100644 index 0000000000..7a27a64a91 --- /dev/null +++ b/packages/svelte/knip.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://unpkg.com/knip@5/schema.json", + "entry": [ + "src/*/index.js", + "src/index-client.ts", + "src/index-server.ts", + "src/index.d.ts", + "tests/**/*.js", + "tests/**/*.ts", + "!tests/**/*.svelte", + "!tests/**/*.svelte.js", + "!tests/**/_output", + "!tests/runtime-browser/driver.js", + "!tests/runtime-browser/driver-ssr.js", + "!tests/types/component.ts" + ], + "project": ["src/**"] +} diff --git a/packages/svelte/messages/client-errors/errors.md b/packages/svelte/messages/client-errors/errors.md index b334234714..4e8af2e6b4 100644 --- a/packages/svelte/messages/client-errors/errors.md +++ b/packages/svelte/messages/client-errors/errors.md @@ -79,7 +79,3 @@ ## state_unsafe_mutation > Updating state inside a derived is forbidden. If the value should not be reactive, declare it without `$state` - -## svelte_component_invalid_this_value - -> The `this={...}` property of a `` must be a Svelte component, if defined diff --git a/packages/svelte/messages/compile-errors/template.md b/packages/svelte/messages/compile-errors/template.md index 49a422ecde..29f4d7c38b 100644 --- a/packages/svelte/messages/compile-errors/template.md +++ b/packages/svelte/messages/compile-errors/template.md @@ -302,10 +302,6 @@ HTML restricts where certain elements can appear. In case of a violation the bro > `` must be the direct child of a component -## svelte_fragment_invalid_slot - -> `` slot attribute must have a static value - ## svelte_head_illegal_attribute > `` cannot have attributes nor directives diff --git a/packages/svelte/messages/compile-warnings/script.md b/packages/svelte/messages/compile-warnings/script.md index 3d55da289f..293f065ba7 100644 --- a/packages/svelte/messages/compile-warnings/script.md +++ b/packages/svelte/messages/compile-warnings/script.md @@ -1,7 +1,3 @@ -## derived_iife - -> Use `$derived.by(() => {...})` instead of `$derived((() => {...})())` - ## export_let_unused > Component has unused export property '%name%'. If it is for external reference only, please consider using `export const %name%` diff --git a/packages/svelte/package.json b/packages/svelte/package.json index df8775b753..b5867d8dca 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -124,11 +124,16 @@ "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-virtual": "^3.0.2", "@types/aria-query": "^5.0.4", + "@types/node": "^20.11.5", "dts-buddy": "^0.5.1", "esbuild": "^0.19.11", + "eslint": "^9.6.0", + "prettier": "^3.2.4", "rollup": "^4.9.5", "source-map": "^0.7.4", - "tiny-glob": "^0.2.9" + "tiny-glob": "^0.2.9", + "typescript": "^5.5.2", + "vitest": "^1.2.1" }, "dependencies": { "@ampproject/remapping": "^2.2.1", @@ -144,18 +149,5 @@ "locate-character": "^3.0.0", "magic-string": "^0.30.5", "zimmerframe": "^1.1.2" - }, - "knip": { - "entry": [ - "src/*/index.js", - "src/index-client.ts", - "src/index-server.ts", - "src/index.d.ts", - "tests/**/*.js", - "tests/**/*.ts" - ], - "project": [ - "src/**" - ] } } diff --git a/packages/svelte/src/compiler/errors.js b/packages/svelte/src/compiler/errors.js index e6d1093998..5b7622226b 100644 --- a/packages/svelte/src/compiler/errors.js +++ b/packages/svelte/src/compiler/errors.js @@ -1246,15 +1246,6 @@ export function svelte_fragment_invalid_placement(node) { e(node, "svelte_fragment_invalid_placement", "`` must be the direct child of a component"); } -/** - * `` slot attribute must have a static value - * @param {null | number | NodeLike} node - * @returns {never} - */ -export function svelte_fragment_invalid_slot(node) { - e(node, "svelte_fragment_invalid_slot", "`` slot attribute must have a static value"); -} - /** * `` cannot have attributes nor directives * @param {null | number | NodeLike} node diff --git a/packages/svelte/src/compiler/warnings.js b/packages/svelte/src/compiler/warnings.js index 797c20667c..1ed5362964 100644 --- a/packages/svelte/src/compiler/warnings.js +++ b/packages/svelte/src/compiler/warnings.js @@ -94,7 +94,6 @@ export const codes = [ "options_removed_hydratable", "options_removed_loop_guard_timeout", "options_renamed_ssr_dom", - "derived_iife", "export_let_unused", "legacy_component_creation", "non_reactive_update", @@ -574,14 +573,6 @@ export function options_renamed_ssr_dom(node) { w(node, "options_renamed_ssr_dom", "`generate: \"dom\"` and `generate: \"ssr\"` options have been renamed to \"client\" and \"server\" respectively"); } -/** - * Use `$derived.by(() => {...})` instead of `$derived((() => {...})())` - * @param {null | NodeLike} node - */ -export function derived_iife(node) { - w(node, "derived_iife", "Use `$derived.by(() => {...})` instead of `$derived((() => {...})())`"); -} - /** * Component has unused export property '%name%'. If it is for external reference only, please consider using `export const %name%` * @param {null | NodeLike} node diff --git a/packages/svelte/src/internal/client/errors.js b/packages/svelte/src/internal/client/errors.js index ae09bb24d2..8b537ed7ba 100644 --- a/packages/svelte/src/internal/client/errors.js +++ b/packages/svelte/src/internal/client/errors.js @@ -340,20 +340,4 @@ export function state_unsafe_mutation() { // TODO print a link to the documentation throw new Error("state_unsafe_mutation"); } -} - -/** - * The `this={...}` property of a `` must be a Svelte component, if defined - * @returns {never} - */ -export function svelte_component_invalid_this_value() { - if (DEV) { - const error = new Error(`svelte_component_invalid_this_value\nThe \`this={...}\` property of a \`\` must be a Svelte component, if defined`); - - error.name = 'Svelte error'; - throw error; - } else { - // TODO print a link to the documentation - throw new Error("svelte_component_invalid_this_value"); - } } \ No newline at end of file diff --git a/packages/svelte/tests/sourcemaps/samples/markup/test.js b/packages/svelte/tests/sourcemaps/samples/markup/test.js deleted file mode 100644 index 2c6abfdf41..0000000000 --- a/packages/svelte/tests/sourcemaps/samples/markup/test.js +++ /dev/null @@ -1,34 +0,0 @@ -export function test({ assert, input, js }) { - let expected; - - let start; - let actual; - - start = js.locate('insert(target, h1'); - expected = input.locate('=8'} - strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} strtok3@6.3.0: resolution: {integrity: sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==} @@ -3699,12 +3717,12 @@ packages: tinycolor2@1.6.0: resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} - tinypool@0.8.2: - resolution: {integrity: sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==} + tinypool@0.8.4: + resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} engines: {node: '>=14.0.0'} - tinyspy@2.2.0: - resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} + tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} tmp@0.0.33: @@ -3834,8 +3852,8 @@ packages: resolution: {integrity: sha512-C4ZYhgj2vAj43/TpZ06XlDNP0p/7LIeYbgUYr+xG44nM++4HGX6YZBKAYpiBNgiCFUTJ6eXkRppWBrfPMevgmg==} engines: {node: '>=12.0.0'} - vite-node@1.2.1: - resolution: {integrity: sha512-fNzHmQUSOY+y30naohBvSW7pPn/xn3Ib/uqm+5wAJQJiqQsU0NBR78XdRJb04l4bOFKjpTWld0XAfkKlrDbySg==} + vite-node@1.6.0: + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -3885,15 +3903,15 @@ packages: vite: optional: true - vitest@1.2.1: - resolution: {integrity: sha512-TRph8N8rnSDa5M2wKWJCMnztCZS9cDcgVTQ6tsTFTG/odHJ4l5yNVqvbeDJYJRZ6is3uxaEpFs8LL6QM+YFSdA==} + vitest@1.6.0: + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -4026,8 +4044,8 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - yocto-queue@1.0.0: - resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + yocto-queue@1.1.1: + resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} engines: {node: '>=12.20'} yoga-wasm-web@0.3.3: @@ -4240,18 +4258,18 @@ snapshots: '@codemirror/view': 6.24.0 '@lezer/common': 1.2.1 - '@codemirror/autocomplete@6.12.0(@codemirror/language@6.10.1)(@codemirror/state@6.4.0)(@codemirror/view@6.32.0)(@lezer/common@1.2.1)': + '@codemirror/autocomplete@6.12.0(@codemirror/language@6.10.1)(@codemirror/state@6.4.0)(@codemirror/view@6.33.0)(@lezer/common@1.2.1)': dependencies: '@codemirror/language': 6.10.1 '@codemirror/state': 6.4.0 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 '@lezer/common': 1.2.1 - '@codemirror/autocomplete@6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.32.0)(@lezer/common@1.2.1)': + '@codemirror/autocomplete@6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.33.0)(@lezer/common@1.2.1)': dependencies: '@codemirror/language': 6.10.2 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 '@lezer/common': 1.2.1 '@codemirror/commands@6.3.3': @@ -4271,9 +4289,9 @@ snapshots: transitivePeerDependencies: - '@codemirror/view' - '@codemirror/lang-css@6.2.1(@codemirror/view@6.32.0)': + '@codemirror/lang-css@6.2.1(@codemirror/view@6.33.0)': dependencies: - '@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.1)(@codemirror/state@6.4.0)(@codemirror/view@6.32.0)(@lezer/common@1.2.1) + '@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.1)(@codemirror/state@6.4.0)(@codemirror/view@6.33.0)(@lezer/common@1.2.1) '@codemirror/language': 6.10.1 '@codemirror/state': 6.4.0 '@lezer/common': 1.2.1 @@ -4295,12 +4313,12 @@ snapshots: '@codemirror/lang-html@6.4.9': dependencies: - '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.32.0)(@lezer/common@1.2.1) - '@codemirror/lang-css': 6.2.1(@codemirror/view@6.32.0) + '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.33.0)(@lezer/common@1.2.1) + '@codemirror/lang-css': 6.2.1(@codemirror/view@6.33.0) '@codemirror/lang-javascript': 6.2.2 '@codemirror/language': 6.10.2 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 '@lezer/common': 1.2.1 '@lezer/css': 1.1.8 '@lezer/html': 1.3.10 @@ -4317,11 +4335,11 @@ snapshots: '@codemirror/lang-javascript@6.2.2': dependencies: - '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.32.0)(@lezer/common@1.2.1) + '@codemirror/autocomplete': 6.18.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.33.0)(@lezer/common@1.2.1) '@codemirror/language': 6.10.2 '@codemirror/lint': 6.8.1 '@codemirror/state': 6.4.1 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 '@lezer/common': 1.2.1 '@lezer/javascript': 1.4.15 @@ -4352,7 +4370,7 @@ snapshots: '@codemirror/language@6.10.2': dependencies: '@codemirror/state': 6.4.1 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 '@lezer/common': 1.2.1 '@lezer/highlight': 1.2.1 '@lezer/lr': 1.4.0 @@ -4367,7 +4385,7 @@ snapshots: '@codemirror/lint@6.8.1': dependencies: '@codemirror/state': 6.4.1 - '@codemirror/view': 6.32.0 + '@codemirror/view': 6.33.0 crelt: 1.0.6 '@codemirror/search@6.5.6': @@ -4386,7 +4404,7 @@ snapshots: style-mod: 4.1.0 w3c-keyname: 2.2.8 - '@codemirror/view@6.32.0': + '@codemirror/view@6.33.0': dependencies: '@codemirror/state': 6.4.1 style-mod: 4.1.2 @@ -5383,7 +5401,6 @@ snapshots: '@types/node@20.12.7': dependencies: undici-types: 5.26.5 - optional: true '@types/phoenix@1.6.4': {} @@ -5395,7 +5412,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.11.5 + '@types/node': 20.12.7 '@typescript-eslint/eslint-plugin@8.0.0-alpha.34(@typescript-eslint/parser@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(eslint@9.6.0)(typescript@5.5.2)': dependencies: @@ -5437,7 +5454,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 8.0.0-alpha.34(typescript@5.5.2) '@typescript-eslint/utils': 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2) - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.2) optionalDependencies: typescript: 5.5.2 @@ -5451,7 +5468,7 @@ snapshots: dependencies: '@typescript-eslint/types': 8.0.0-alpha.34 '@typescript-eslint/visitor-keys': 8.0.0-alpha.34 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 @@ -5521,7 +5538,7 @@ snapshots: '@sveltejs/kit': 2.5.24(@sveltejs/vite-plugin-svelte@4.0.0-next.3(svelte@packages+svelte)(vite@5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0)))(svelte@packages+svelte)(vite@5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0)) svelte: link:packages/svelte - '@vitest/coverage-v8@1.2.1(vitest@1.2.1(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0))': + '@vitest/coverage-v8@1.2.1(vitest@1.6.0(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0))': dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 @@ -5536,33 +5553,33 @@ snapshots: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.2.1(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) + vitest: 1.6.0(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) transitivePeerDependencies: - supports-color - '@vitest/expect@1.2.1': + '@vitest/expect@1.6.0': dependencies: - '@vitest/spy': 1.2.1 - '@vitest/utils': 1.2.1 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 chai: 4.4.1 - '@vitest/runner@1.2.1': + '@vitest/runner@1.6.0': dependencies: - '@vitest/utils': 1.2.1 + '@vitest/utils': 1.6.0 p-limit: 5.0.0 pathe: 1.1.2 - '@vitest/snapshot@1.2.1': + '@vitest/snapshot@1.6.0': dependencies: - magic-string: 0.30.5 + magic-string: 0.30.11 pathe: 1.1.2 pretty-format: 29.7.0 - '@vitest/spy@1.2.1': + '@vitest/spy@1.6.0': dependencies: - tinyspy: 2.2.0 + tinyspy: 2.2.1 - '@vitest/utils@1.2.1': + '@vitest/utils@1.6.0': dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -5599,7 +5616,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.6 transitivePeerDependencies: - supports-color @@ -6544,6 +6561,8 @@ snapshots: jpeg-js@0.4.4: {} + js-tokens@9.0.0: {} + js-yaml@3.14.1: dependencies: argparse: 1.0.10 @@ -6814,7 +6833,7 @@ snapshots: mlly@1.5.0: dependencies: - acorn: 8.11.3 + acorn: 8.12.1 pathe: 1.1.2 pkg-types: 1.0.3 ufo: 1.3.2 @@ -6934,7 +6953,7 @@ snapshots: p-limit@5.0.0: dependencies: - yocto-queue: 1.0.0 + yocto-queue: 1.1.1 p-locate@4.1.0: dependencies: @@ -7104,7 +7123,7 @@ snapshots: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 18.2.0 + react-is: 18.3.1 process@0.11.10: {} @@ -7130,7 +7149,7 @@ snapshots: dependencies: safe-buffer: 5.2.1 - react-is@18.2.0: {} + react-is@18.3.1: {} read-yaml-file@1.1.0: dependencies: @@ -7430,9 +7449,9 @@ snapshots: strip-json-comments@3.1.1: {} - strip-literal@1.3.0: + strip-literal@2.1.0: dependencies: - acorn: 8.11.3 + js-tokens: 9.0.0 strtok3@6.3.0: dependencies: @@ -7619,9 +7638,9 @@ snapshots: tinycolor2@1.6.0: {} - tinypool@0.8.2: {} + tinypool@0.8.4: {} - tinyspy@2.2.0: {} + tinyspy@2.2.1: {} tmp@0.0.33: dependencies: @@ -7741,12 +7760,12 @@ snapshots: transitivePeerDependencies: - rollup - vite-node@1.2.1(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): + vite-node@1.6.0(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): dependencies: cac: 6.7.14 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.6 pathe: 1.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 vite: 5.0.13(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) transitivePeerDependencies: - '@types/node' @@ -7758,6 +7777,23 @@ snapshots: - supports-color - terser + vite-node@1.6.0(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): + dependencies: + cac: 6.7.14 + debug: 4.3.6 + pathe: 1.1.2 + picocolors: 1.0.1 + vite: 5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + vite-plugin-inspect@0.8.4(rollup@4.9.5)(vite@5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0)): dependencies: '@antfu/utils': 0.7.8 @@ -7806,28 +7842,27 @@ snapshots: optionalDependencies: vite: 5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) - vitest@1.2.1(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): + vitest@1.6.0(@types/node@20.11.5)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): dependencies: - '@vitest/expect': 1.2.1 - '@vitest/runner': 1.2.1 - '@vitest/snapshot': 1.2.1 - '@vitest/spy': 1.2.1 - '@vitest/utils': 1.2.1 + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 acorn-walk: 8.3.2 - cac: 6.7.14 chai: 4.4.1 - debug: 4.3.4(supports-color@5.5.0) + debug: 4.3.6 execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.5 + magic-string: 0.30.11 pathe: 1.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 1.3.0 + strip-literal: 2.1.0 tinybench: 2.6.0 - tinypool: 0.8.2 + tinypool: 0.8.4 vite: 5.0.13(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) - vite-node: 1.2.1(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) + vite-node: 1.6.0(@types/node@20.11.5)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 20.11.5 @@ -7841,6 +7876,40 @@ snapshots: - supports-color - terser + vitest@1.6.0(@types/node@20.12.7)(jsdom@22.0.0)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0): + dependencies: + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 + acorn-walk: 8.3.2 + chai: 4.4.1 + debug: 4.3.6 + execa: 8.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.11 + pathe: 1.1.2 + picocolors: 1.0.1 + std-env: 3.7.0 + strip-literal: 2.1.0 + tinybench: 2.6.0 + tinypool: 0.8.4 + vite: 5.0.13(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) + vite-node: 1.6.0(@types/node@20.12.7)(lightningcss@1.23.0)(sass@1.70.0)(terser@5.27.0) + why-is-node-running: 2.2.2 + optionalDependencies: + '@types/node': 20.12.7 + jsdom: 22.0.0 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + vscode-oniguruma@1.7.0: {} vscode-textmate@5.2.0: {} @@ -7931,7 +8000,7 @@ snapshots: yocto-queue@0.1.0: {} - yocto-queue@1.0.0: {} + yocto-queue@1.1.1: {} yoga-wasm-web@0.3.3: {}