diff --git a/packages/browser-playwright/rollup.config.js b/packages/browser-playwright/rollup.config.js index 78fbf89c7..9f173ca3f 100644 --- a/packages/browser-playwright/rollup.config.js +++ b/packages/browser-playwright/rollup.config.js @@ -25,7 +25,7 @@ const plugins = [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/browser-preview/rollup.config.js b/packages/browser-preview/rollup.config.js index 2e6d3bcf8..059c23eb2 100644 --- a/packages/browser-preview/rollup.config.js +++ b/packages/browser-preview/rollup.config.js @@ -24,7 +24,7 @@ const plugins = [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/browser-webdriverio/rollup.config.js b/packages/browser-webdriverio/rollup.config.js index 2e6d3bcf8..059c23eb2 100644 --- a/packages/browser-webdriverio/rollup.config.js +++ b/packages/browser-webdriverio/rollup.config.js @@ -24,7 +24,7 @@ const plugins = [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/browser/rollup.config.js b/packages/browser/rollup.config.js index ca40ff131..b32c1783e 100644 --- a/packages/browser/rollup.config.js +++ b/packages/browser/rollup.config.js @@ -37,7 +37,7 @@ const plugins = [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/coverage-istanbul/rollup.config.js b/packages/coverage-istanbul/rollup.config.js index d42264660..e641d66f6 100644 --- a/packages/coverage-istanbul/rollup.config.js +++ b/packages/coverage-istanbul/rollup.config.js @@ -37,7 +37,7 @@ const plugins = [ esmExternals: ['@jridgewell/trace-mapping'], }), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/coverage-v8/rollup.config.js b/packages/coverage-v8/rollup.config.js index 08df46099..083d2b01d 100644 --- a/packages/coverage-v8/rollup.config.js +++ b/packages/coverage-v8/rollup.config.js @@ -31,7 +31,7 @@ const plugins = [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/expect/rollup.config.js b/packages/expect/rollup.config.js index ad2cf0436..a675dd8b8 100644 --- a/packages/expect/rollup.config.js +++ b/packages/expect/rollup.config.js @@ -18,7 +18,7 @@ const dtsUtils = createDtsUtils() const plugins = [ ...dtsUtils.isolatedDecl(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/mocker/rollup.config.js b/packages/mocker/rollup.config.js index 937cc3015..80d19d9ae 100644 --- a/packages/mocker/rollup.config.js +++ b/packages/mocker/rollup.config.js @@ -37,7 +37,7 @@ const plugins = [ }), json(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), commonjs(), ] diff --git a/packages/pretty-format/rollup.config.js b/packages/pretty-format/rollup.config.js index 78e8c1e58..bbdc2f417 100644 --- a/packages/pretty-format/rollup.config.js +++ b/packages/pretty-format/rollup.config.js @@ -39,7 +39,7 @@ const plugins = [ commonjs(), oxc({ transform: { - target: 'node18', + target: 'node20', }, }), ] diff --git a/packages/runner/rollup.config.js b/packages/runner/rollup.config.js index 12d66ae82..b3e2ec683 100644 --- a/packages/runner/rollup.config.js +++ b/packages/runner/rollup.config.js @@ -25,7 +25,7 @@ const dtsUtils = createDtsUtils() const plugins = [ ...dtsUtils.isolatedDecl(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), json(), ] diff --git a/packages/snapshot/package.json b/packages/snapshot/package.json index 09eb22d2b..47c1d0f64 100644 --- a/packages/snapshot/package.json +++ b/packages/snapshot/package.json @@ -43,12 +43,12 @@ }, "dependencies": { "@vitest/pretty-format": "workspace:*", + "@vitest/utils": "workspace:*", "magic-string": "catalog:", "pathe": "catalog:" }, "devDependencies": { "@types/natural-compare": "^1.4.3", - "@vitest/utils": "workspace:*", "natural-compare": "^1.4.0" } } diff --git a/packages/snapshot/rollup.config.js b/packages/snapshot/rollup.config.js index 04f82b67a..fbaa4fda4 100644 --- a/packages/snapshot/rollup.config.js +++ b/packages/snapshot/rollup.config.js @@ -12,6 +12,7 @@ const external = [ ...builtinModules, ...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {}), + /^@?vitest(\/|$)/, ] const entries = { @@ -29,7 +30,7 @@ const plugins = [ }), commonjs(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/snapshot/src/port/inlineSnapshot.ts b/packages/snapshot/src/port/inlineSnapshot.ts index 77ed29519..185080f54 100644 --- a/packages/snapshot/src/port/inlineSnapshot.ts +++ b/packages/snapshot/src/port/inlineSnapshot.ts @@ -1,11 +1,11 @@ import type MagicString from 'magic-string' import type { SnapshotEnvironment } from '../types' -import { getCallLastIndex } from '../../../utils/src/helpers' +import { getCallLastIndex } from '@vitest/utils/helpers' import { lineSplitRE, offsetToLineNumber, positionToOffset, -} from '../../../utils/src/offset' +} from '@vitest/utils/offset' export interface InlineSnapshot { snapshot: string diff --git a/packages/snapshot/src/port/state.ts b/packages/snapshot/src/port/state.ts index e691822ba..6325b8b2c 100644 --- a/packages/snapshot/src/port/state.ts +++ b/packages/snapshot/src/port/state.ts @@ -17,7 +17,7 @@ import type { } from '../types' import type { InlineSnapshot } from './inlineSnapshot' import type { RawSnapshot, RawSnapshotInfo } from './rawSnapshot' -import { parseErrorStacktrace } from '../../../utils/src/source-map' +import { parseErrorStacktrace } from '@vitest/utils/source-map' import { saveInlineSnapshots } from './inlineSnapshot' import { saveRawSnapshots } from './rawSnapshot' diff --git a/packages/snapshot/src/port/utils.ts b/packages/snapshot/src/port/utils.ts index 542f2d8e1..b096aed84 100644 --- a/packages/snapshot/src/port/utils.ts +++ b/packages/snapshot/src/port/utils.ts @@ -9,8 +9,8 @@ import type { OptionsReceived as PrettyFormatOptions } from '@vitest/pretty-form import type { SnapshotData, SnapshotStateOptions } from '../types' import type { SnapshotEnvironment } from '../types/environment' import { format as prettyFormat } from '@vitest/pretty-format' +import { isObject } from '@vitest/utils/helpers' import naturalCompare from 'natural-compare' -import { isObject } from '../../../utils/src/helpers' import { getSerializers } from './plugins' // TODO: rewrite and clean up diff --git a/packages/spy/rollup.config.js b/packages/spy/rollup.config.js index 888b3087e..98195169d 100644 --- a/packages/spy/rollup.config.js +++ b/packages/spy/rollup.config.js @@ -17,7 +17,7 @@ const dtsUtils = createDtsUtils() const plugins = [ ...dtsUtils.isolatedDecl(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/ui/rollup.config.js b/packages/ui/rollup.config.js index e63968a87..59f5d15ee 100644 --- a/packages/ui/rollup.config.js +++ b/packages/ui/rollup.config.js @@ -47,7 +47,7 @@ export default () => { json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ], onwarn, diff --git a/packages/utils/package.json b/packages/utils/package.json index 29d3139b7..668628a32 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -52,10 +52,6 @@ "types": "./dist/display.d.ts", "default": "./dist/display.js" }, - "./highlight": { - "types": "./dist/highlight.d.ts", - "default": "./dist/highlight.js" - }, "./source-map": { "types": "./dist/source-map.d.ts", "default": "./dist/source-map.js" @@ -92,7 +88,6 @@ "@jridgewell/trace-mapping": "catalog:", "@types/estree": "catalog:", "diff-sequences": "^29.6.3", - "loupe": "^3.2.1", - "tinyhighlight": "^0.3.2" + "loupe": "^3.2.1" } } diff --git a/packages/utils/rollup.config.js b/packages/utils/rollup.config.js index a50ec6155..12858672f 100644 --- a/packages/utils/rollup.config.js +++ b/packages/utils/rollup.config.js @@ -19,7 +19,6 @@ const entries = { 'constants': 'src/constants.ts', 'offset': 'src/offset.ts', 'timers': 'src/timers.ts', - 'highlight': 'src/highlight.ts', 'display': 'src/display.ts', 'resolver': 'src/resolver.ts', 'serialize': 'src/serialize.ts', @@ -40,7 +39,7 @@ const plugins = [ }), json(), oxc({ - transform: { target: 'node14' }, + transform: { target: 'node20' }, }), commonjs(), ] diff --git a/packages/utils/src/highlight.ts b/packages/utils/src/highlight.ts deleted file mode 100644 index 6786e1c7e..000000000 --- a/packages/utils/src/highlight.ts +++ /dev/null @@ -1,49 +0,0 @@ -import type { TokenColors } from 'tinyhighlight' -import type { Colors } from 'tinyrainbow' -import { highlight as baseHighlight } from 'tinyhighlight' -import c from 'tinyrainbow' - -function getDefs(c: Colors): TokenColors { - const Invalid = (text: string) => c.white(c.bgRed(c.bold(text))) - return { - Keyword: c.magenta, - IdentifierCapitalized: c.yellow, - Punctuator: c.yellow, - StringLiteral: c.green, - NoSubstitutionTemplate: c.green, - MultiLineComment: c.gray, - SingleLineComment: c.gray, - RegularExpressionLiteral: c.cyan, - NumericLiteral: c.blue, - TemplateHead: text => - c.green(text.slice(0, text.length - 2)) + c.cyan(text.slice(-2)), - TemplateTail: text => c.cyan(text.slice(0, 1)) + c.green(text.slice(1)), - TemplateMiddle: text => - c.cyan(text.slice(0, 1)) - + c.green(text.slice(1, text.length - 2)) - + c.cyan(text.slice(-2)), - IdentifierCallable: c.blue, - PrivateIdentifierCallable: text => `#${c.blue(text.slice(1))}`, - Invalid, - - JSXString: c.green, - JSXIdentifier: c.yellow, - JSXInvalid: Invalid, - JSXPunctuator: c.yellow, - } -} - -interface HighlightOptions { - jsx?: boolean - colors?: Colors -} - -export function highlight( - code: string, - options: HighlightOptions = { jsx: false }, -): string { - return baseHighlight(code, { - jsx: options.jsx, - colors: getDefs(options.colors || c), - }) -} diff --git a/packages/vitest/LICENSE.md b/packages/vitest/LICENSE.md index 282c2ef7d..d2883c9b3 100644 --- a/packages/vitest/LICENSE.md +++ b/packages/vitest/LICENSE.md @@ -363,7 +363,7 @@ Repository: lydell/js-tokens > The MIT License (MIT) > -> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Simon Lydell +> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell > > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal @@ -645,6 +645,90 @@ Repository: git+https://github.com/antfu/strip-literal.git --------------------------------------- +## tinyhighlight +License: MIT +Repository: git+https://github.com/tinylibs/tinyhighlight.git + +> # Tinyhighlight core license +> +> MIT License +> +> Copyright (c) 2023 Tinylibs +> +> Permission is hereby granted, free of charge, to any person obtaining a copy +> of this software and associated documentation files (the "Software"), to deal +> in the Software without restriction, including without limitation the rights +> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +> copies of the Software, and to permit persons to whom the Software is +> furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all +> copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +> SOFTWARE. +> +> # Additionaly Tinyhighlight modifies code with the following licenses: +> +> MIT +> +> ## @babel/highlight +> +> MIT License +> +> Copyright (c) 2014-present Sebastian McKenzie and other contributors +> +> Permission is hereby granted, free of charge, to any person obtaining +> a copy of this software and associated documentation files (the +> "Software"), to deal in the Software without restriction, including +> without limitation the rights to use, copy, modify, merge, publish, +> distribute, sublicense, and/or sell copies of the Software, and to +> permit persons to whom the Software is furnished to do so, subject to +> the following conditions: +> +> The above copyright notice and this permission notice shall be +> included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +> +> ## @babel/helper-validator-identifier +> +> MIT License +> +> Copyright (c) 2014-present Sebastian McKenzie and other contributors +> +> Permission is hereby granted, free of charge, to any person obtaining +> a copy of this software and associated documentation files (the +> "Software"), to deal in the Software without restriction, including +> without limitation the rights to use, copy, modify, merge, publish, +> distribute, sublicense, and/or sell copies of the Software, and to +> permit persons to whom the Software is furnished to do so, subject to +> the following conditions: +> +> The above copyright notice and this permission notice shall be +> included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--------------------------------------- + ## type-detect License: MIT By: Jake Luer, Keith Cirkel, David Losert, Aleksey Shvayka, Lucas Fernandes da Costa, Grant Snodgrass, Jeremy Tice, Edward Betts, dvlsg, Amila Welihinda, Jake Champion, Miroslav Bajtoš diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 54cc9706d..d19611f7f 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -218,6 +218,7 @@ "mime": "^4.1.0", "prompts": "^2.4.2", "strip-literal": "catalog:", + "tinyhighlight": "catalog:", "ws": "catalog:" } } diff --git a/packages/vitest/rollup.config.js b/packages/vitest/rollup.config.js index 26fe98074..c0a0cf549 100644 --- a/packages/vitest/rollup.config.js +++ b/packages/vitest/rollup.config.js @@ -105,7 +105,7 @@ const plugins = [ commonjs(), oxc({ transform: { - target: 'node18', + target: 'node20', define: { // __VITEST_GENERATE_UI_TOKEN__ is set as a global to catch accidental leaking, // in the release version the "if" with this condition should not be present diff --git a/packages/vitest/src/utils/colors.ts b/packages/vitest/src/utils/colors.ts index 9d3e28ecc..5ed2a357d 100644 --- a/packages/vitest/src/utils/colors.ts +++ b/packages/vitest/src/utils/colors.ts @@ -1,6 +1,7 @@ +import type { TokenColors } from 'tinyhighlight' import type { Colors } from 'tinyrainbow' -import { highlight } from '@vitest/utils/highlight' import { extname } from 'pathe' +import { highlight } from 'tinyhighlight' import c from 'tinyrainbow' const HIGHLIGHT_SUPPORTED_EXTS = new Set( @@ -14,11 +15,41 @@ const HIGHLIGHT_SUPPORTED_EXTS = new Set( ]), ) -export function highlightCode(id: string, source: string, colors?: Colors): string { +export function highlightCode(id: string, source: string): string { const ext = extname(id) if (!HIGHLIGHT_SUPPORTED_EXTS.has(ext)) { return source } const isJsx = ext.endsWith('x') - return highlight(source, { jsx: isJsx, colors: colors || c }) + return highlight(source, { jsx: isJsx, colors: getDefs(c) }) +} + +function getDefs(c: Colors): TokenColors { + const Invalid = (text: string) => c.white(c.bgRed(c.bold(text))) + return { + Keyword: c.magenta, + IdentifierCapitalized: c.yellow, + Punctuator: c.yellow, + StringLiteral: c.green, + NoSubstitutionTemplate: c.green, + MultiLineComment: c.gray, + SingleLineComment: c.gray, + RegularExpressionLiteral: c.cyan, + NumericLiteral: c.blue, + TemplateHead: text => + c.green(text.slice(0, text.length - 2)) + c.cyan(text.slice(-2)), + TemplateTail: text => c.cyan(text.slice(0, 1)) + c.green(text.slice(1)), + TemplateMiddle: text => + c.cyan(text.slice(0, 1)) + + c.green(text.slice(1, text.length - 2)) + + c.cyan(text.slice(-2)), + IdentifierCallable: c.blue, + PrivateIdentifierCallable: text => `#${c.blue(text.slice(1))}`, + Invalid, + + JSXString: c.green, + JSXIdentifier: c.yellow, + JSXInvalid: Invalid, + JSXPunctuator: c.yellow, + } } diff --git a/packages/web-worker/rollup.config.js b/packages/web-worker/rollup.config.js index 2a6a25090..a3e4ae6b5 100644 --- a/packages/web-worker/rollup.config.js +++ b/packages/web-worker/rollup.config.js @@ -28,7 +28,7 @@ const plugins = [ nodeResolve(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ] diff --git a/packages/ws-client/rollup.config.js b/packages/ws-client/rollup.config.js index ce11c0d31..1d34010bb 100644 --- a/packages/ws-client/rollup.config.js +++ b/packages/ws-client/rollup.config.js @@ -37,7 +37,7 @@ export default () => [ json(), commonjs(), oxc({ - transform: { target: 'node18' }, + transform: { target: 'node20' }, }), ], }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 900366800..b515eabc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,6 +108,9 @@ catalogs: tinyglobby: specifier: ^0.2.15 version: 0.2.15 + tinyhighlight: + specifier: ^0.3.2 + version: 0.3.2 tinyrainbow: specifier: ^3.0.3 version: 3.0.3 @@ -805,6 +808,9 @@ importers: '@vitest/pretty-format': specifier: workspace:* version: link:../pretty-format + '@vitest/utils': + specifier: workspace:* + version: link:../utils magic-string: specifier: 'catalog:' version: 0.30.21 @@ -815,9 +821,6 @@ importers: '@types/natural-compare': specifier: ^1.4.3 version: 1.4.3 - '@vitest/utils': - specifier: workspace:* - version: link:../utils natural-compare: specifier: ^1.4.0 version: 1.4.0 @@ -969,9 +972,6 @@ importers: loupe: specifier: ^3.2.1 version: 3.2.1 - tinyhighlight: - specifier: ^0.3.2 - version: 0.3.2(picocolors@1.1.1) packages/vitest: dependencies: @@ -1126,6 +1126,9 @@ importers: strip-literal: specifier: 'catalog:' version: 3.1.0 + tinyhighlight: + specifier: 'catalog:' + version: 0.3.2(picocolors@1.1.1) ws: specifier: 'catalog:' version: 8.19.0 @@ -2234,10 +2237,6 @@ packages: resolution: {integrity: sha512-X6ZlfR/O/s5EQ/SnUSLzr+6kGnkg8HXGMzpgsMsrJVcfDtH1vIp6ctCN4eZ1LS5c0+te5Cb6Y514fASjMRJ1nw==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.28.6': - resolution: {integrity: sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==} - engines: {node: '>=6.9.0'} - '@babel/traverse@7.29.0': resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==} engines: {node: '>=6.9.0'} @@ -6815,7 +6814,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} @@ -10160,7 +10159,7 @@ snapshots: '@babel/helper-annotate-as-pure@7.27.3': dependencies: - '@babel/types': 7.28.6 + '@babel/types': 7.29.0 '@babel/helper-compilation-targets@7.28.6': dependencies: @@ -10178,7 +10177,7 @@ snapshots: '@babel/helper-optimise-call-expression': 7.27.1 '@babel/helper-replace-supers': 7.27.1(@babel/core@7.29.0) '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -10205,8 +10204,8 @@ snapshots: '@babel/helper-member-expression-to-functions@7.28.5': dependencies: - '@babel/traverse': 7.28.6 - '@babel/types': 7.28.6 + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 transitivePeerDependencies: - supports-color @@ -10228,7 +10227,7 @@ snapshots: '@babel/helper-optimise-call-expression@7.27.1': dependencies: - '@babel/types': 7.28.6 + '@babel/types': 7.29.0 '@babel/helper-plugin-utils@7.27.1': {} @@ -10237,7 +10236,7 @@ snapshots: '@babel/core': 7.29.0 '@babel/helper-annotate-as-pure': 7.27.3 '@babel/helper-wrap-function': 7.28.3 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10246,14 +10245,14 @@ snapshots: '@babel/core': 7.29.0 '@babel/helper-member-expression-to-functions': 7.28.5 '@babel/helper-optimise-call-expression': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.27.1': dependencies: - '@babel/traverse': 7.28.6 - '@babel/types': 7.28.6 + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 transitivePeerDependencies: - supports-color @@ -10268,8 +10267,8 @@ snapshots: '@babel/helper-wrap-function@7.28.3': dependencies: '@babel/template': 7.28.6 - '@babel/traverse': 7.28.6 - '@babel/types': 7.28.6 + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 transitivePeerDependencies: - supports-color @@ -10302,7 +10301,7 @@ snapshots: dependencies: '@babel/core': 7.29.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10329,7 +10328,7 @@ snapshots: dependencies: '@babel/core': 7.29.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10363,7 +10362,7 @@ snapshots: '@babel/core': 7.29.0 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.29.0) - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10410,7 +10409,7 @@ snapshots: '@babel/helper-globals': 7.28.0 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-replace-supers': 7.27.1(@babel/core@7.29.0) - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10424,7 +10423,7 @@ snapshots: dependencies: '@babel/core': 7.29.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10481,7 +10480,7 @@ snapshots: '@babel/core': 7.29.0 '@babel/helper-compilation-targets': 7.28.6 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10527,7 +10526,7 @@ snapshots: '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0) '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10567,7 +10566,7 @@ snapshots: '@babel/helper-plugin-utils': 7.27.1 '@babel/plugin-transform-destructuring': 7.28.5(@babel/core@7.29.0) '@babel/plugin-transform-parameters': 7.27.7(@babel/core@7.29.0) - '@babel/traverse': 7.28.6 + '@babel/traverse': 7.29.0 transitivePeerDependencies: - supports-color @@ -10776,7 +10775,7 @@ snapshots: dependencies: '@babel/core': 7.29.0 '@babel/helper-plugin-utils': 7.27.1 - '@babel/types': 7.28.6 + '@babel/types': 7.29.0 esutils: 2.0.3 '@babel/runtime@7.26.0': @@ -10803,18 +10802,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/traverse@7.28.6': - dependencies: - '@babel/code-frame': 7.28.6 - '@babel/generator': 7.28.6 - '@babel/helper-globals': 7.28.0 - '@babel/parser': 7.28.6 - '@babel/template': 7.28.6 - '@babel/types': 7.28.6 - debug: 4.4.3 - transitivePeerDependencies: - - supports-color - '@babel/traverse@7.29.0': dependencies: '@babel/code-frame': 7.29.0 @@ -16164,8 +16151,8 @@ snapshots: magicast@0.3.5: dependencies: - '@babel/parser': 7.28.6 - '@babel/types': 7.28.6 + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 source-map-js: 1.2.1 optional: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d4ebc7a30..e09518e9a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -80,6 +80,7 @@ catalog: std-env: ^3.10.0 strip-literal: ^3.1.0 tinyglobby: ^0.2.15 + tinyhighlight: ^0.3.2 tinyrainbow: ^3.0.3 tinyspy: ^4.0.4 typescript: ^5.9.3