diff --git a/CHANGELOG.md b/CHANGELOG.md index 03463379..6b7b71c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ --- +### 5.2.2 +- Update packages and pin babel/types [#343](https://github.com/trivago/prettier-plugin-sort-imports/pull/343) by [@byara](https://github.com/byara) + +### 5.2.1 +- add svelte 5.x as peer dependency [#337](https://github.com/trivago/prettier-plugin-sort-imports/pull/337) by [@werner-drklein](https://github.com/werner-drklein) + ### 5.2.0 - fix type import ordering [#331](https://github.com/trivago/prettier-plugin-sort-imports/pull/331) by [@rsslldnphy](https://github.com/rsslldnphy) - Fix conditional import of prettier-plugin-svelte [#332](https://github.com/trivago/prettier-plugin-sort-imports/pull/332) by [@rsslldnphy](https://github.com/rsslldnphy) diff --git a/jest.config.js b/jest.config.js index a2335d3e..a5465075 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,14 +1,12 @@ -'use strict'; - const ENABLE_COVERAGE = false; // !!process.env.CI; -module.exports = { +export default { displayName: 'test', - setupFiles: ['/test-setup/run_spec.js'], - snapshotSerializers: ['/test-setup/raw-serializer.js'], - testRegex: 'ppsi\\.spec\\.js$|__tests__/.*\\.ts$', + setupFiles: ['/test-setup/run_spec.cjs'], + snapshotSerializers: ['/test-setup/raw-serializer.cjs'], + testRegex: 'ppsi\\.spec\\.cjs$|__tests__/.*\\.ts$', collectCoverage: ENABLE_COVERAGE, collectCoverageFrom: ['src/**/*.ts', '!/node_modules/'], preset: 'ts-jest', testEnvironment: 'node', -}; +}; \ No newline at end of file diff --git a/package.json b/package.json index 2621b7af..ed819244 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "@trivago/prettier-plugin-sort-imports", - "version": "5.2.0", + "version": "5.2.2", "description": "A prettier plugins to sort imports in provided RegEx order", "main": "lib/src/index.js", + "type": "module", "types": "types/index.d.ts", "repository": { "url": "https://github.com/trivago/prettier-plugin-sort-imports", @@ -33,32 +34,32 @@ }, "license": "Apache-2.0", "dependencies": { - "@babel/generator": "^7.26.2", - "@babel/parser": "^7.26.2", - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.26.0", + "@babel/generator": "^7.26.5", + "@babel/parser": "^7.26.7", + "@babel/traverse": "^7.26.7", + "@babel/types": "^7.26.7", "javascript-natural-sort": "^0.7.1", "lodash": "^4.17.21" }, "devDependencies": { - "@babel/core": "^7.26.0", + "@babel/core": "^7.26.7", "@types/chai": "^5.0.1", "@types/jest": "^29.5.14", - "@types/lodash": "^4.17.13", - "@types/node": "^22.9.1", + "@types/lodash": "^4.17.14", + "@types/node": "^22.10.10", "@vue/compiler-sfc": "^3.5.13", "jest": "^29.7.0", - "prettier": "^3.3.3", - "prettier-plugin-svelte": "^3.3.1", + "prettier": "^3.4.2", + "prettier-plugin-svelte": "^3.3.3", "svelte": "^4.2.19", "ts-jest": "^29.2.5", - "typescript": "^5.6.3" + "typescript": "^5.7.3" }, "peerDependencies": { "@vue/compiler-sfc": "3.x", "prettier": "2.x - 3.x", "prettier-plugin-svelte": "3.x", - "svelte": "4.x" + "svelte": "4.x || 5.x" }, "engines": { "node": ">18.12" @@ -75,6 +76,7 @@ } }, "resolutions": { - "@types/babel__generator": "7.6.8" + "@types/babel__generator": "7.6.8", + "@babel/types": "7.26.7" } } diff --git a/src/index.ts b/src/index.ts index 216f609d..562a5626 100644 --- a/src/index.ts +++ b/src/index.ts @@ -67,7 +67,7 @@ const options: Options = { }, }; -module.exports = { +export default { parsers: { babel: { ...babelParsers.babel, diff --git a/src/utils/extract-ast-nodes.ts b/src/utils/extract-ast-nodes.ts index e9bba893..bc3c7f2f 100644 --- a/src/utils/extract-ast-nodes.ts +++ b/src/utils/extract-ast-nodes.ts @@ -4,7 +4,6 @@ import { Directive, File, ImportDeclaration, - isTSModuleDeclaration, } from '@babel/types'; export function extractASTNodes(ast: ParseResult) { diff --git a/test-setup/raw-serializer.js b/test-setup/raw-serializer.cjs similarity index 100% rename from test-setup/raw-serializer.js rename to test-setup/raw-serializer.cjs diff --git a/test-setup/run_spec.js b/test-setup/run_spec.cjs similarity index 96% rename from test-setup/run_spec.js rename to test-setup/run_spec.cjs index f9a3c191..118d9943 100644 --- a/test-setup/run_spec.js +++ b/test-setup/run_spec.cjs @@ -3,11 +3,12 @@ const fs = require('fs'); const extname = require('path').extname; const prettier = require('prettier'); +const plugin = require('../src'); function run_spec(dirname, parsers, options) { options = Object.assign( { - plugins: ['./src'], + plugins: [plugin.default], tabWidth: 4, }, options, @@ -24,7 +25,7 @@ function run_spec(dirname, parsers, options) { extname(filename) !== '.snap' && fs.lstatSync(path).isFile() && filename[0] !== '.' && - filename !== 'ppsi.spec.js' + filename !== 'ppsi.spec.cjs' ) { const source = read(path).replace(/\r\n/g, '\n'); diff --git a/tests/Angular/__snapshots__/ppsi.spec.js.snap b/tests/Angular/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Angular/__snapshots__/ppsi.spec.js.snap rename to tests/Angular/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Angular/ppsi.spec.js b/tests/Angular/ppsi.spec.cjs similarity index 100% rename from tests/Angular/ppsi.spec.js rename to tests/Angular/ppsi.spec.cjs diff --git a/tests/Babel/__snapshots__/ppsi.spec.js.snap b/tests/Babel/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Babel/__snapshots__/ppsi.spec.js.snap rename to tests/Babel/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Babel/ppsi.spec.js b/tests/Babel/ppsi.spec.cjs similarity index 100% rename from tests/Babel/ppsi.spec.js rename to tests/Babel/ppsi.spec.cjs diff --git a/tests/Flow/__snapshots__/ppsi.spec.js.snap b/tests/Flow/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Flow/__snapshots__/ppsi.spec.js.snap rename to tests/Flow/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Flow/ppsi.spec.js b/tests/Flow/ppsi.spec.cjs similarity index 100% rename from tests/Flow/ppsi.spec.js rename to tests/Flow/ppsi.spec.cjs diff --git a/tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.js.snap b/tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.js.snap rename to tests/ImportPreventSortingSideEffects/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportPreventSortingSideEffects/ppsi.spec.js b/tests/ImportPreventSortingSideEffects/ppsi.spec.cjs similarity index 100% rename from tests/ImportPreventSortingSideEffects/ppsi.spec.js rename to tests/ImportPreventSortingSideEffects/ppsi.spec.cjs diff --git a/tests/ImportsNotSeparated/__snapshots__/ppsi.spec.js.snap b/tests/ImportsNotSeparated/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportsNotSeparated/__snapshots__/ppsi.spec.js.snap rename to tests/ImportsNotSeparated/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportsNotSeparated/ppsi.spec.js b/tests/ImportsNotSeparated/ppsi.spec.cjs similarity index 100% rename from tests/ImportsNotSeparated/ppsi.spec.js rename to tests/ImportsNotSeparated/ppsi.spec.cjs diff --git a/tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.js.snap b/tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.js.snap rename to tests/ImportsNotSeparatedRest/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportsNotSeparatedRest/ppsi.spec.js b/tests/ImportsNotSeparatedRest/ppsi.spec.cjs similarity index 100% rename from tests/ImportsNotSeparatedRest/ppsi.spec.js rename to tests/ImportsNotSeparatedRest/ppsi.spec.cjs diff --git a/tests/ImportsSeparated/__snapshots__/ppsi.spec.js.snap b/tests/ImportsSeparated/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportsSeparated/__snapshots__/ppsi.spec.js.snap rename to tests/ImportsSeparated/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportsSeparated/ppsi.spec.js b/tests/ImportsSeparated/ppsi.spec.cjs similarity index 100% rename from tests/ImportsSeparated/ppsi.spec.js rename to tests/ImportsSeparated/ppsi.spec.cjs diff --git a/tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.js.snap b/tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.js.snap rename to tests/ImportsSeparatedRest/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportsSeparatedRest/ppsi.spec.js b/tests/ImportsSeparatedRest/ppsi.spec.cjs similarity index 100% rename from tests/ImportsSeparatedRest/ppsi.spec.js rename to tests/ImportsSeparatedRest/ppsi.spec.cjs diff --git a/tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.js.snap b/tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.js.snap rename to tests/ImportsWithAttributesKeyword/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/ImportsWithAttributesKeyword/ppsi.spec.js b/tests/ImportsWithAttributesKeyword/ppsi.spec.cjs similarity index 100% rename from tests/ImportsWithAttributesKeyword/ppsi.spec.js rename to tests/ImportsWithAttributesKeyword/ppsi.spec.cjs diff --git a/tests/Svelte/__snapshots__/ppsi.spec.js.snap b/tests/Svelte/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Svelte/__snapshots__/ppsi.spec.js.snap rename to tests/Svelte/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Svelte/ppsi.spec.js b/tests/Svelte/ppsi.spec.cjs similarity index 70% rename from tests/Svelte/ppsi.spec.js rename to tests/Svelte/ppsi.spec.cjs index df8cae0d..d2b2d3f5 100644 --- a/tests/Svelte/ppsi.spec.js +++ b/tests/Svelte/ppsi.spec.cjs @@ -1,6 +1,8 @@ +const plugin = require('../../src'); + run_spec(__dirname, ["svelte"], { importOrder: ['^@core/(.*)$', '^@server/(.*)', '^@ui/(.*)$', '^[./]'], importOrderSeparation: true, - plugins: ['prettier-plugin-svelte', './src'], + plugins: ['prettier-plugin-svelte', plugin.default], overrides: [{ "files": "*.svelte", "options": { "parser": "svelte" } }] }); diff --git a/tests/TSDeclare/__snapshots__/ppsi.spec.js.snap b/tests/TSDeclare/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/TSDeclare/__snapshots__/ppsi.spec.js.snap rename to tests/TSDeclare/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/TSDeclare/ppsi.spec.js b/tests/TSDeclare/ppsi.spec.cjs similarity index 100% rename from tests/TSDeclare/ppsi.spec.js rename to tests/TSDeclare/ppsi.spec.cjs diff --git a/tests/Typescript/__snapshots__/ppsi.spec.js.snap b/tests/Typescript/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Typescript/__snapshots__/ppsi.spec.js.snap rename to tests/Typescript/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Typescript/ppsi.spec.js b/tests/Typescript/ppsi.spec.cjs similarity index 100% rename from tests/Typescript/ppsi.spec.js rename to tests/Typescript/ppsi.spec.cjs diff --git a/tests/Vue/__snapshots__/ppsi.spec.js.snap b/tests/Vue/__snapshots__/ppsi.spec.cjs.snap similarity index 100% rename from tests/Vue/__snapshots__/ppsi.spec.js.snap rename to tests/Vue/__snapshots__/ppsi.spec.cjs.snap diff --git a/tests/Vue/ppsi.spec.js b/tests/Vue/ppsi.spec.cjs similarity index 100% rename from tests/Vue/ppsi.spec.js rename to tests/Vue/ppsi.spec.cjs diff --git a/tsconfig.json b/tsconfig.json index 6bc2c975..1f2e9de5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { /* Basic Options */ - "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "es2022", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ // "lib": [], /* Specify library files to be included in the compilation. */ - "allowJs": true, /* Allow javascript files to be compiled. */ + "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "declaration": true, /* Generates corresponding '.d.ts' file. */ diff --git a/yarn.lock b/yarn.lock index 9321071c..135f7dd8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,7 +17,7 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.0": +"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.0", "@babel/code-frame@^7.26.2": version "7.26.2" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== @@ -31,7 +31,12 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.2.tgz#278b6b13664557de95b8f35b90d96785850bb56e" integrity sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg== -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9", "@babel/core@^7.26.0": +"@babel/compat-data@^7.26.5": + version "7.26.5" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.5.tgz#df93ac37f4417854130e21d72c66ff3d4b897fc7" + integrity sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg== + +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": version "7.26.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.0.tgz#d78b6023cc8f3114ccf049eb219613f74a747b40" integrity sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg== @@ -52,6 +57,27 @@ json5 "^2.2.3" semver "^6.3.1" +"@babel/core@^7.26.7": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.7.tgz#0439347a183b97534d52811144d763a17f9d2b24" + integrity sha512-SRijHmF0PSPgLIBYlWnG0hyeJLwXE2CgpsXaMOrtt2yp9/86ALw6oUlj9KYuZ0JN07T4eBMVIW4li/9S1j2BGA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.26.2" + "@babel/generator" "^7.26.5" + "@babel/helper-compilation-targets" "^7.26.5" + "@babel/helper-module-transforms" "^7.26.0" + "@babel/helpers" "^7.26.7" + "@babel/parser" "^7.26.7" + "@babel/template" "^7.25.9" + "@babel/traverse" "^7.26.7" + "@babel/types" "^7.26.7" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + "@babel/generator@^7.25.9", "@babel/generator@^7.26.0", "@babel/generator@^7.7.2": version "7.26.2" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.2.tgz#87b75813bec87916210e5e01939a4c823d6bb74f" @@ -63,13 +89,13 @@ "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" -"@babel/generator@^7.26.2": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.3.tgz#ab8d4360544a425c90c248df7059881f4b2ce019" - integrity sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ== +"@babel/generator@^7.26.5": + version "7.26.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.5.tgz#e44d4ab3176bbcaf78a5725da5f1dc28802a9458" + integrity sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw== dependencies: - "@babel/parser" "^7.26.3" - "@babel/types" "^7.26.3" + "@babel/parser" "^7.26.5" + "@babel/types" "^7.26.5" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" jsesc "^3.0.2" @@ -85,6 +111,17 @@ lru-cache "^5.1.1" semver "^6.3.1" +"@babel/helper-compilation-targets@^7.26.5": + version "7.26.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz#75d92bb8d8d51301c0d49e52a65c9a7fe94514d8" + integrity sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA== + dependencies: + "@babel/compat-data" "^7.26.5" + "@babel/helper-validator-option" "^7.25.9" + browserslist "^4.24.0" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-module-imports@^7.25.9": version "7.25.9" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz#e7f8d20602ebdbf9ebbea0a0751fb0f2a4141715" @@ -135,6 +172,14 @@ "@babel/template" "^7.25.9" "@babel/types" "^7.26.0" +"@babel/helpers@^7.26.7": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.26.7.tgz#fd1d2a7c431b6e39290277aacfd8367857c576a4" + integrity sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A== + dependencies: + "@babel/template" "^7.25.9" + "@babel/types" "^7.26.7" + "@babel/highlight@^7.18.6": version "7.25.9" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.25.9.tgz#8141ce68fc73757946f983b343f1231f4691acc6" @@ -152,12 +197,12 @@ dependencies: "@babel/types" "^7.26.0" -"@babel/parser@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.3.tgz#8c51c5db6ddf08134af1ddbacf16aaab48bac234" - integrity sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA== +"@babel/parser@^7.26.5", "@babel/parser@^7.26.7": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.7.tgz#e114cd099e5f7d17b05368678da0fb9f69b3385c" + integrity sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w== dependencies: - "@babel/types" "^7.26.3" + "@babel/types" "^7.26.7" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -300,18 +345,23 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.3.3": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.0.tgz#deabd08d6b753bc8e0f198f8709fb575e31774ff" - integrity sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA== +"@babel/traverse@^7.26.7": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.7.tgz#99a0a136f6a75e7fb8b0a1ace421e0b25994b8bb" + integrity sha512-1x1sgeyRLC3r5fQOM0/xtQKsYjyxmFjaOrLJNtZ81inNjyJHGIolTULPiSc/2qe1/qfpFLisLQYFnnZl7QoedA== dependencies: - "@babel/helper-string-parser" "^7.25.9" - "@babel/helper-validator-identifier" "^7.25.9" + "@babel/code-frame" "^7.26.2" + "@babel/generator" "^7.26.5" + "@babel/parser" "^7.26.7" + "@babel/template" "^7.25.9" + "@babel/types" "^7.26.7" + debug "^4.3.1" + globals "^11.1.0" -"@babel/types@^7.26.3": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0" - integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA== +"@babel/types@7.26.7", "@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.26.5", "@babel/types@^7.26.7", "@babel/types@^7.3.3": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.7.tgz#5e2b89c0768e874d4d061961f3a5a153d71dc17a" + integrity sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg== dependencies: "@babel/helper-string-parser" "^7.25.9" "@babel/helper-validator-identifier" "^7.25.9" @@ -674,10 +724,10 @@ expect "^29.0.0" pretty-format "^29.0.0" -"@types/lodash@^4.17.13": - version "4.17.13" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.13.tgz#786e2d67cfd95e32862143abe7463a7f90c300eb" - integrity sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg== +"@types/lodash@^4.17.14": + version "4.17.14" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.14.tgz#bafc053533f4cdc5fcc9635af46a963c1f3deaff" + integrity sha512-jsxagdikDiDBeIRaPYtArcT8my4tN1og7MtMRquFT3XNA6axxyHDRUemqDz/taRDdOUn0GnGHRCuff4q48sW9A== "@types/node@*": version "22.9.1" @@ -686,10 +736,10 @@ dependencies: undici-types "~6.19.8" -"@types/node@^22.9.1": - version "22.10.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.1.tgz#41ffeee127b8975a05f8c4f83fb89bcb2987d766" - integrity sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ== +"@types/node@^22.10.10": + version "22.10.10" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.10.tgz#85fe89f8bf459dc57dfef1689bd5b52ad1af07e6" + integrity sha512-X47y/mPNzxviAGY5TcYPtYL8JsY3kAq2n8fMmKoRCxq/c4v4pyGNCzM2R6+M5/umG4ZfHuT+sgqDYqWc9rJ6ww== dependencies: undici-types "~6.20.0" @@ -2132,12 +2182,12 @@ postcss@^8.4.48: picocolors "^1.1.1" source-map-js "^1.2.1" -prettier-plugin-svelte@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-3.3.2.tgz#f0c0b023a697f5cb43fb7257170e3d8762b547c6" - integrity sha512-kRPjH8wSj2iu+dO+XaUv4vD8qr5mdDmlak3IT/7AOgGIMRG86z/EHOLauFcClKEnOUf4A4nOA7sre5KrJD4Raw== +prettier-plugin-svelte@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-3.3.3.tgz#49d5c025a1516063ac7ef026806f880caa310424" + integrity sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw== -prettier@^3.3.3: +prettier@^3.4.2: version "3.4.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.4.2.tgz#a5ce1fb522a588bf2b78ca44c6e6fe5aa5a2b13f" integrity sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ== @@ -2408,10 +2458,10 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -typescript@^5.6.3: - version "5.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" - integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== +typescript@^5.7.3: + version "5.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e" + integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw== undici-types@~6.19.8: version "6.19.8"