diff --git a/.github/actions/clone/action.yml b/.github/actions/clone/action.yml index 3a847d54c8..b2a1f2d66e 100644 --- a/.github/actions/clone/action.yml +++ b/.github/actions/clone/action.yml @@ -72,9 +72,9 @@ runs: # oxc-node compiles into the native binding, and Cargo.lock records the # patched manifest, so patch it before any cargo command reads it. - - name: Patch vendored oxc-node + - name: Patch vendored sources shell: bash - run: node packages/tools/src/patch-oxc-node.ts + run: node packages/tools/src/patch-vendored-sources.ts # Match the manifests used by sync-remote when it generated the root lockfile. # The later dependency installation uses --frozen-lockfile, so alignment must run first. diff --git a/.github/actions/compute-native-cache-input-hash/action.yml b/.github/actions/compute-native-cache-input-hash/action.yml index 56af38facf..9578287958 100644 --- a/.github/actions/compute-native-cache-input-hash/action.yml +++ b/.github/actions/compute-native-cache-input-hash/action.yml @@ -30,6 +30,8 @@ runs: ${{ hashFiles( 'packages/tools/.upstream-versions.json', + 'packages/tools/patches/*.patch', + 'packages/tools/src/patch-vendored-sources.ts', 'packages/tools/src/patch-oxc-node.ts', 'packages/tools/src/cargo-toml.ts', 'rust-toolchain.toml', diff --git a/.github/renovate.json b/.github/renovate.json index 1ded05eceb..8bd70efca3 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -100,15 +100,15 @@ "vite", "vitest", "vitest-dev", - "yuku-parser" + "yuku" ], "enabled": false }, { - "description": "Core's postcss and fsevents ranges follow the bundled Vite version through upgrade-deps.ts --sync-bundled-deps.", + "description": "Core's postcss and optional native dependency ranges follow the bundled Vite version through upgrade-deps.ts --sync-bundled-deps.", "matchManagers": ["npm"], "matchFileNames": ["packages/core/package.json"], - "matchPackageNames": ["postcss", "fsevents"], + "matchPackageNames": ["postcss", "fsevents", "napi-windows-process-start-time"], "matchDepTypes": ["dependencies", "optionalDependencies"], "enabled": false }, @@ -164,7 +164,6 @@ "append-only-vec", "arcstr", "async-channel", - "async-scoped", "base-encode", "base64-simd", "bitflags", @@ -212,6 +211,7 @@ "rolldown-ariadne", "rolldown-notify", "rolldown-notify-debouncer-full", + "rolldown-notify-napi", "rustc-hash", "schemars", "self_cell", @@ -222,6 +222,7 @@ "smallvec", "sugar_path", "supports-color", + "tempfile", "terminal_size", "tokio", "tracing", diff --git a/.github/scripts/__tests__/upgrade-deps.spec.ts b/.github/scripts/__tests__/upgrade-deps.spec.ts index d722e5ad8f..d183058d3c 100644 --- a/.github/scripts/__tests__/upgrade-deps.spec.ts +++ b/.github/scripts/__tests__/upgrade-deps.spec.ts @@ -23,7 +23,7 @@ test.each([false, true])( 'runs the upgrade pipeline and retains metadata (install fails: %s)', async (failInstall) => { const root = resolve(import.meta.dirname, '../../..'); - const { root: tempDir, metaDir, corePath, pluginPath, parserPath } = createSyncFixture(); + const { root: tempDir, metaDir, corePath, pluginPath, yukuPath } = createSyncFixture(); onTestFinished(() => { vi.mocked(execFileSync).mockReset(); vi.restoreAllMocks(); @@ -138,7 +138,7 @@ test.each([false, true])( throw new Error(`Unexpected request: ${url}`); }); const commands: Array> = []; - let parserAtFinalInstall; + let yukuAtFinalInstall; vi.mocked(execFileSync).mockImplementation((command, args) => { expect(command).toBe('pnpm'); if (!Array.isArray(args)) { @@ -151,14 +151,12 @@ test.each([false, true])( if (args?.[0] === 'dedupe') { // The actual bundled plugin can change during dependency deduplication. writeJson(pluginPath, { - dependencies: { 'yuku-codegen': '^0.11.0', 'yuku-parser': '^0.11.0' }, + dependencies: { yuku: '^0.29.0' }, }); - writeJson(parserPath, { version: '0.11.2' }); + writeJson(yukuPath, { version: '0.29.2' }); } if (commands.length === 4) { - parserAtFinalInstall = requireJsonObject(readJson(corePath).dependencies, corePath)[ - 'yuku-parser' - ]; + yukuAtFinalInstall = requireJsonObject(readJson(corePath).dependencies, corePath).yuku; } return Buffer.from(''); }); @@ -180,10 +178,10 @@ test.each([false, true])( ], ); expect(compareUrls).toEqual([expect.stringContaining(`/compare/${pinnedOxcNode}...`)]); - expect(parserAtFinalInstall).toBe(failInstall ? undefined : '0.11.2'); + expect(yukuAtFinalInstall).toBe(failInstall ? undefined : '0.29.2'); expect(readJson(corePath)).toHaveProperty( - ['dependencies', 'yuku-parser'], - failInstall ? '^0.9.3' : '0.11.2', + ['dependencies', 'yuku'], + failInstall ? '^0.27.0' : '0.29.2', ); expect(readFileSync(workspacePath, 'utf8')).toContain('\n lint-staged: ^17.5.1\n'); @@ -225,9 +223,7 @@ test.each([false, true])( ? { old: pinnedOxcNode, new: pinnedOxcNode } : { old: pinnedOxcNode, new: 'a'.repeat(40), tag: 'v1.2.3' }, ); - expect(versions['yuku-parser']).toEqual( - failInstall ? undefined : { old: '^0.9.3', new: '0.11.2' }, - ); + expect(versions.yuku).toEqual(failInstall ? undefined : { old: '^0.27.0', new: '0.29.2' }); expect(readFileSync(join(metaDir, 'commit-message.txt'), 'utf8')).toContain( '- lint-staged: 16.2.6 -> 17.5.1', ); @@ -250,29 +246,25 @@ function createSyncFixture() { onTestFinished(() => rmSync(root, { recursive: true, force: true })); const corePath = join(root, 'packages/core/package.json'); const pluginPath = join(root, 'store/tsdown/node_modules/rolldown-plugin-dts/package.json'); - const parserPath = join(dirname(pluginPath), 'node_modules/yuku-parser/package.json'); + const yukuPath = join(dirname(pluginPath), 'node_modules/yuku/package.json'); const vitePath = join(root, 'vite/packages/vite/package.json'); const metaDir = join(root, 'meta'); const versionsPath = join(metaDir, 'versions.json'); writeJson(corePath, { version: '8.3.5001', - dependencies: { 'yuku-parser': '^0.9.3', postcss: '^8.5.6' }, - optionalDependencies: { fsevents: '~2.3.3' }, + dependencies: { yuku: '^0.27.0', postcss: '^8.5.6' }, + optionalDependencies: { fsevents: '~2.3.3', 'napi-windows-process-start-time': '^0.1.0' }, devDependencies: { 'rolldown-plugin-dts': '^0.28.0' }, bundledVersions: { vite: '8.3.5' }, }); writeJson(join(root, 'store/tsdown/package.json'), { name: 'tsdown', version: '0.23.0' }); writeJson(pluginPath, { - dependencies: { - 'yuku-ast': '^0.10.1', - 'yuku-codegen': '^0.10.1', - 'yuku-parser': '~0.10.2', - }, + dependencies: { yuku: '~0.28.0' }, }); - writeJson(parserPath, { version: '0.10.3' }); - // Core's existing parser is not the version used by the bundled plugin. - writeJson(join(root, 'packages/core/node_modules/yuku-parser/package.json'), { - version: '0.9.3', + writeJson(yukuPath, { version: '0.28.1' }); + // Core's existing Yuku dependency is not the version used by the bundled plugin. + writeJson(join(root, 'packages/core/node_modules/yuku/package.json'), { + version: '0.27.0', }); // A pnpm-style symlink ensures resolution starts at the real tsdown package. mkdirSync(join(root, 'packages/core/node_modules'), { recursive: true }); @@ -282,12 +274,12 @@ function createSyncFixture() { 'junction', ); writeJson(join(root, 'packages/core/node_modules/rolldown-plugin-dts/package.json'), { - dependencies: { 'yuku-codegen': '^0.8.1', 'yuku-parser': '^0.8.1' }, + dependencies: { yuku: '^0.26.1' }, }); writeJson(vitePath, { version: '8.3.5', dependencies: { postcss: '^8.5.28' }, - optionalDependencies: { fsevents: '~2.4.0' }, + optionalDependencies: { fsevents: '~2.4.0', 'napi-windows-process-start-time': '^0.1.1' }, }); writeJson(versionsPath, { oxlint: { old: '1.86.0', new: '1.87.0' } }); const run = () => @@ -301,43 +293,42 @@ function createSyncFixture() { stdio: 'pipe', }, ); - return { root, corePath, pluginPath, parserPath, vitePath, metaDir, versionsPath, run }; + return { root, corePath, pluginPath, yukuPath, vitePath, metaDir, versionsPath, run }; } -test('pins the bundled parser, syncs Vite ranges, and preserves upgrade metadata', () => { +test('pins Yuku, syncs Vite ranges, and preserves upgrade metadata', () => { const fixture = createSyncFixture(); const { corePath, versionsPath, metaDir, run } = fixture; run(); expect(readJson(corePath)).toEqual({ // The bundled Vite did not change, so the release counter stays. version: '8.3.5001', - dependencies: { 'yuku-parser': '0.10.3', postcss: '^8.5.28' }, - optionalDependencies: { fsevents: '~2.4.0' }, + dependencies: { yuku: '0.28.1', postcss: '^8.5.28' }, + optionalDependencies: { fsevents: '~2.4.0', 'napi-windows-process-start-time': '^0.1.1' }, devDependencies: { 'rolldown-plugin-dts': '^0.28.0' }, bundledVersions: { vite: '8.3.5' }, }); expect(readJson(versionsPath)).toEqual({ oxlint: { old: '1.86.0', new: '1.87.0' }, - 'yuku-parser': { old: '^0.9.3', new: '0.10.3' }, + yuku: { old: '^0.27.0', new: '0.28.1' }, postcss: { old: '^8.5.6', new: '^8.5.28' }, fsevents: { old: '~2.3.3', new: '~2.4.0' }, + 'napi-windows-process-start-time': { old: '^0.1.0', new: '^0.1.1' }, }); expect(readFileSync(join(metaDir, 'pr-body.md'), 'utf8')).toContain( - '| `yuku-parser` | `^0.9.3` | `0.10.3` |', + '| `yuku` | `^0.27.0` | `0.28.1` |', ); // A second pass after lockfile deduplication must retain the original ranges. writeJson(fixture.pluginPath, { - dependencies: { 'yuku-codegen': '^0.11.0', 'yuku-parser': '^0.11.0' }, + dependencies: { yuku: '^0.29.0' }, }); - writeJson(fixture.parserPath, { version: '0.11.2' }); + writeJson(fixture.yukuPath, { version: '0.29.2' }); run(); - expect(readJson(corePath).dependencies).not.toHaveProperty('yuku-ast'); - expect(readJson(corePath).dependencies).not.toHaveProperty('yuku-codegen'); - expect(readJson(corePath)).toHaveProperty(['dependencies', 'yuku-parser'], '0.11.2'); - expect(readJson(versionsPath)['yuku-parser']).toEqual({ old: '^0.9.3', new: '0.11.2' }); + expect(readJson(corePath)).toHaveProperty(['dependencies', 'yuku'], '0.29.2'); + expect(readJson(versionsPath).yuku).toEqual({ old: '^0.27.0', new: '0.29.2' }); expect(readFileSync(join(metaDir, 'commit-message.txt'), 'utf8')).toContain( - '- yuku-parser: ^0.9.3 -> 0.11.2', + '- yuku: ^0.27.0 -> 0.29.2', ); const before = readFileSync(corePath, 'utf8'); run(); @@ -385,20 +376,20 @@ test('fails without writing core when the Vite source has no version', () => { expect(readFileSync(fixture.corePath, 'utf8')).toBe(before); }); -test('updates the parser pin when its installed version changes within the same range', () => { - const { corePath, parserPath, versionsPath, run } = createSyncFixture(); +test('updates the Yuku pin when its installed version changes within the same range', () => { + const { corePath, yukuPath, versionsPath, run } = createSyncFixture(); run(); - writeJson(parserPath, { version: '0.10.4' }); + writeJson(yukuPath, { version: '0.28.2' }); run(); - expect(readJson(corePath)).toHaveProperty(['dependencies', 'yuku-parser'], '0.10.4'); - expect(readJson(versionsPath)['yuku-parser']).toEqual({ old: '^0.9.3', new: '0.10.4' }); + expect(readJson(corePath)).toHaveProperty(['dependencies', 'yuku'], '0.28.2'); + expect(readJson(versionsPath).yuku).toEqual({ old: '^0.27.0', new: '0.28.2' }); }); test.each([undefined, '', ' '])( - 'fails without writing core for an invalid parser version: %s', + 'fails without writing core for an invalid Yuku version: %s', (version) => { - const { corePath, parserPath, versionsPath, run } = createSyncFixture(); - writeJson(parserPath, { version }); + const { corePath, yukuPath, versionsPath, run } = createSyncFixture(); + writeJson(yukuPath, { version }); const before = readFileSync(corePath, 'utf8'); expect(run).toThrow('Missing version'); expect(readFileSync(corePath, 'utf8')).toBe(before); @@ -409,9 +400,10 @@ test.each([undefined, '', ' '])( ); test.each([ - { source: 'pluginPath', field: 'dependencies', name: 'yuku-parser' }, + { source: 'pluginPath', field: 'dependencies', name: 'yuku' }, { source: 'vitePath', field: 'dependencies', name: 'postcss' }, { source: 'vitePath', field: 'optionalDependencies', name: 'fsevents' }, + { source: 'vitePath', field: 'optionalDependencies', name: 'napi-windows-process-start-time' }, ] as const)('fails without writing core when upstream removes $name', ({ source, field, name }) => { const fixture = createSyncFixture(); const pkg = readJson(fixture[source]); diff --git a/.github/scripts/upgrade-deps-utils.ts b/.github/scripts/upgrade-deps-utils.ts index 842f6b71a1..a15460f5de 100644 --- a/.github/scripts/upgrade-deps-utils.ts +++ b/.github/scripts/upgrade-deps-utils.ts @@ -18,9 +18,10 @@ export function getBundledDependencyRanges( // These packages stay external in packages/core/build.ts. Follow their // bundled consumers rather than independently selecting the latest releases. const sources: Array<{ path: string; field: DependencyField; name: string }> = [ - { path: pluginPath, field: 'dependencies', name: 'yuku-parser' }, + { path: pluginPath, field: 'dependencies', name: 'yuku' }, { path: vitePath, field: 'dependencies', name: 'postcss' }, { path: vitePath, field: 'optionalDependencies', name: 'fsevents' }, + { path: vitePath, field: 'optionalDependencies', name: 'napi-windows-process-start-time' }, ]; return sources.map(({ path, field, name }) => { const dependencies = readJsonObject(path)[field]; @@ -28,12 +29,12 @@ export function getBundledDependencyRanges( if (typeof range !== 'string' || range.trim() === '') { throw new Error(`Missing ${field}.${name} in ${path}; review core's externals`); } - if (name === 'yuku-parser') { - // Pin the runtime parser to the exact version resolved by the bundled plugin. - const parserPath = createRequire(path).resolve('yuku-parser/package.json'); - const { version } = readJsonObject(parserPath); + if (name === 'yuku') { + // Pin the native compiler to the exact version resolved by the bundled plugin. + const yukuPath = createRequire(path).resolve('yuku/package.json'); + const { version } = readJsonObject(yukuPath); if (typeof version !== 'string' || version.trim() === '') { - throw new Error(`Missing version in ${parserPath}; review core's externals`); + throw new Error(`Missing version in ${yukuPath}; review core's externals`); } range = version; } diff --git a/.github/scripts/upgrade-deps.ts b/.github/scripts/upgrade-deps.ts index 166f9bf24d..087dfa8247 100644 --- a/.github/scripts/upgrade-deps.ts +++ b/.github/scripts/upgrade-deps.ts @@ -574,10 +574,13 @@ function syncCoreVersion(pkg: JsonObject) { } pkg.bundledVersions.vite = viteVersion; const current = typeof pkg.version === 'string' ? pkg.version : undefined; - if (current !== undefined && tryDecodeCoreVersion(current)?.vite === viteVersion) { + const next = initialCoreVersion(viteVersion); + if ( + current === next || + (current !== undefined && tryDecodeCoreVersion(current)?.vite === viteVersion) + ) { return; } - const next = initialCoreVersion(viteVersion); recordChange(CORE_PACKAGE_NAME, changes.get(CORE_PACKAGE_NAME)?.old ?? current, next); pkg.version = next; } diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 247e2622f9..47f20e8486 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -58,9 +58,9 @@ jobs: node-version-file: .node-version package-manager-cache: false - - name: Patch vendored oxc-node + - name: Patch vendored sources shell: bash - run: node packages/tools/src/patch-oxc-node.ts + run: node packages/tools/src/patch-vendored-sources.ts - name: Clear git origin for nested checkout shell: bash diff --git a/.github/workflows/upgrade-deps.yml b/.github/workflows/upgrade-deps.yml index 3a9f12db19..d2bb06f371 100644 --- a/.github/workflows/upgrade-deps.yml +++ b/.github/workflows/upgrade-deps.yml @@ -165,11 +165,10 @@ jobs: follow the pinned upstream requirements. - After changing tsdown or rolldown-plugin-dts, run `node .github/scripts/upgrade-deps.ts --sync-bundled-deps`, then - `pnpm install --no-frozen-lockfile`. Core's external `yuku-parser` must + `pnpm install --no-frozen-lockfile`. Core's external `yuku` package must use the exact installed version resolved by the plugin bundled through - tsdown, so it stays aligned with the bundled Yuku code. Do not replace - this pin with a version range. The sync command also - copies Vite's postcss and optional fsevents ranges into core and + tsdown. The sync command also copies Vite's `postcss`, + `fsevents`, and `napi-windows-process-start-time` ranges into core and updates the upgrade metadata. `@oxlint/plugins` shares Oxlint's release version and must use the exact same version selected by the upgrade script. diff --git a/.typos.toml b/.typos.toml index 64115b6ade..947114596e 100644 --- a/.typos.toml +++ b/.typos.toml @@ -11,6 +11,11 @@ pn = "pn" # pnpm short alias Jod = "Jod" # Node.js v22 LTS codename flate = "flate" # flate2 crate name (gzip/deflate compression) +[type.patch] +extend-glob = ["*.patch"] +# Git writes object IDs on patch index lines. +extend-ignore-re = ['(?m)^index [0-9a-f]+\.\.[0-9a-f]+(?: [0-7]+)?$'] + [files] extend-exclude = [ # Vendored PGP key/signature blobs: base64 armor trips the spell checker. diff --git a/Cargo.lock b/Cargo.lock index 68737aee27..c693a26d3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,17 +273,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-scoped" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4042078ea593edffc452eef14e99fdb2b120caa4ad9618bcdeabc4a023b98740" -dependencies = [ - "futures", - "pin-project", - "tokio", -] - [[package]] name = "async-trait" version = "0.1.92" @@ -1667,12 +1656,6 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" -[[package]] -name = "dragonbox_ecma" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf" - [[package]] name = "dsa" version = "0.6.3" @@ -1950,9 +1933,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fancy-regex" -version = "0.19.2" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d301f5bf187b3c295fce6468d3875037a0bccc5f6b151c63cac2f85babf21912" +checksum = "0a2e16b9a584b602f1e0e5e22c30ca0906786088c27500653e432d086def8b53" dependencies = [ "bit-set 0.8.0", "regex-automata", @@ -3277,9 +3260,9 @@ dependencies = [ [[package]] name = "jsonschema" -version = "0.60.2" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42a11b47492e6a2cc76e9c7bcc8077776cb31dac444e0795d7f61bcc6441c08" +checksum = "0e37f27df77c7887edbc5f5a59ecd8e5ec4a669319266ec1b61068667a603183" dependencies = [ "ahash", "bytecount", @@ -3305,18 +3288,18 @@ dependencies = [ [[package]] name = "jsonschema-regex" -version = "0.60.2" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "107aeb6ff14b8deb5610096a8ce5c554ec89806b521147eaeb3cae05b07edb7a" +checksum = "7e41151614b6c927e21982be8bef5a26741ae5a0ae6a781eedee2aa930a980e6" dependencies = [ "regex-syntax", ] [[package]] name = "jsonschema-value" -version = "0.60.2" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e281d6b177bb4834f2ffd6f92aa0443cffe29c996b251c8d94eb6f456186feba" +checksum = "1515b9a91134ef67d7bac95c2d76fbc7e383c4c55ee544204ceec8088f881fef" dependencies = [ "ahash", "bytecount", @@ -4190,9 +4173,9 @@ dependencies = [ [[package]] name = "oxc" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99bd5a2e64e8f688c96d7534d6bf53324b4bf6fcb78d678800d45a485a41d93d" +checksum = "467b554224f10c87093d827f7d46912e848cbe725ed53aa2e1fa7bba8d64463c" dependencies = [ "oxc_allocator", "oxc_ast", @@ -4249,9 +4232,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11eaca3827c60c9da743111a49dff9a8e274e558e0e725e9a717f31ea173da0f" +checksum = "aaf8c5fa53291fec5f52e179974cc58cd002e45eab0defdbdfb6b36a1809c9ef" dependencies = [ "allocator-api2", "hashbrown 0.17.1", @@ -4263,9 +4246,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f68bed0e97be9c9450a85f7fe0b1d62f85bf23f0a2d4f5c665bf4b848be1632" +checksum = "bc5ac049e885e553878688ca583184cc2b8de02177914328f59616e59ffc224f" dependencies = [ "bitflags 2.13.2", "oxc_allocator", @@ -4281,9 +4264,9 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94f8bdc02323a201e5a3b29bb87bac855ea642ee26a630c5b05e5f463fa71b77" +checksum = "fb36e1df5e540ebd898865ed79ffd8d8f9e06310521dc0d8e5b9cc4567fc6739" dependencies = [ "phf 0.14.0", "proc-macro2", @@ -4293,9 +4276,9 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db583366340d5221fe2129e0240e0413cb58e6c6e926740a493d6e82f5c5e40f" +checksum = "a019293646229f79954cf7c5d022a13324c84e1b874e8ce030c8e7c0a56e5b0f" dependencies = [ "oxc_allocator", "oxc_ast", @@ -4305,9 +4288,9 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "691a74647781d5a73dfda685c3939e4ac994da7649aa0b6d53f2453397f1634a" +checksum = "dca8f8a53fcab08fb93b87d349f6d4902cb8a6916cb147627aa299ecfc4614ab" dependencies = [ "bitflags 2.13.2", "itertools 0.15.0", @@ -4319,9 +4302,9 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88c1b6d7d9f1f5386534d88294903dadf00e72536e9fea6198e43450a52c41a5" +checksum = "a56802bea7d890e3c36215a28efc7623390c67abb4011d0d7c0be4e63c4e7411" dependencies = [ "bitflags 2.13.2", "cow-utils", @@ -4341,9 +4324,9 @@ dependencies = [ [[package]] name = "oxc_compat" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d913fd9474d53400cc5584ca4b476fee577acf44606a251107f1d98cc2ff4ae" +checksum = "e1c101b66996fc42e0eb1185936398b06bc83761926ea745e736cbf58103bd4e" dependencies = [ "cow-utils", "oxc-browserslist", @@ -4354,18 +4337,18 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d8e8e829b37d1654ed3fb4b4d554eac80da790a2dcea333b5f4ca3209bca795" +checksum = "8932e4c5ad3c6973548bf2f7750b778315012ecd7086617721d23f17b43e5a55" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433f690c5235d132aebde47e385d3e21ef244b28b1f0d1ad3d479b9679bc7be2" +checksum = "901588f26a8f1e7a0a8f7ebab60bf311bc9a1d22935e740a1b545c33b020f29f" dependencies = [ "bytecount", "cow-utils", @@ -4381,12 +4364,11 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e6e129f51055adb903e0fd5d0d412e1adf2244c7f592596850fc1a3ae33c2b" +checksum = "4127c1685ec3e85c34bcbe9b4055b1ce34bc0e2614c4bf5cf56c52a5424c7fc5" dependencies = [ "cow-utils", - "dragonbox_ecma", "itoa", "memchr", "num-bigint 0.5.1", @@ -4400,17 +4382,18 @@ dependencies = [ "oxc_str", "oxc_syntax", "smallvec 1.16.3", + "zmij_ecma", ] [[package]] name = "oxc_estree" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20e8ab103436f676b4f2e67838de0f658fe06409804d8f5741ac6ec09b3d539" +checksum = "00c806bed591dc97e36678eeaaccb6e85ecc21766eaf6f8a77e7a261a4457a2c" dependencies = [ - "dragonbox_ecma", "itoa", "oxc_data_structures", + "zmij_ecma", ] [[package]] @@ -4426,9 +4409,9 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11656ce8f42ac2fd4fee2c3dfed468921077c53674bbe2ba4daf46319b5ffbc5" +checksum = "b0d18a51a51d2fc43bf8510de83e118cda410bb3109d9a4ca9b512c86569c462" dependencies = [ "bitflags 2.13.2", "oxc_allocator", @@ -4444,9 +4427,9 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c87d740af4bee684d0e2638c448645c021f44fed7b0282e037e113d2893ef17a" +checksum = "2ea3b9aae84ec8f3c22583342c4cec1714c3c65eebae23c0a56707afbb333382" dependencies = [ "itertools 0.15.0", "oxc_allocator", @@ -4463,9 +4446,9 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c518969f00beccce27bbc2479c0977ee58b9c1a3eb73bea17796c365ce699b61" +checksum = "f105e8fb7cacde705db6b45f530045a19d8abff3b71f688090fb228495f7badb" dependencies = [ "cow-utils", "itoa", @@ -4489,9 +4472,9 @@ dependencies = [ [[package]] name = "oxc_minify_napi" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae34b4ed3b364f72d3a10ddb38c8b845de31c79fc85f3f1ff9eb9e9e780861c5" +checksum = "c18844504ffcf24223eda5ca05103ed57a319847c3d355fb9cdbbf4e1cd4afb5" dependencies = [ "lazy-regex", "napi", @@ -4512,9 +4495,9 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cf048e1586e11ff31814a0ec8af54a4a70b4258b16e2f8d9069197c3b75b4dd" +checksum = "628b6d819149d66ddd4d54dfa36ecb5a8b645b301ba36f1937259b8d574c1286" dependencies = [ "napi", "napi-build", @@ -4528,9 +4511,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b33d6f23016689c207ecf7ccf62656bbb4b453808e3915dbe562b330f7bf53a0" +checksum = "4fd93cb9811da8634acfd28a864889d1bf68bce2c546a52372205afabd4a63e7" dependencies = [ "bitflags 2.13.2", "cow-utils", @@ -4552,9 +4535,9 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ca8b956a423f592b70c5f71f9afc39c1ff746ba034e74694bc7cd0c46236e" +checksum = "cc88e8650e7603c71fd0583107a7d882fa43e38bc822bf80f3c5bb99df116247" dependencies = [ "napi", "napi-build", @@ -4569,13 +4552,14 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d105b439894681c19d35b9b42e4daac6425f0753ce1a289232502f2d55347468" +checksum = "c85fe16e0f852ba1b1085f08efec7b9d611ecaba1851ca6fecb7f91b09631714" dependencies = [ "bitflags 2.13.2", "oxc_allocator", "oxc_ast_macros", + "oxc_data_structures", "oxc_diagnostics", "oxc_span", "oxc_str", @@ -4627,9 +4611,9 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6aad2cce0be6fe0967e003927128eff196ba1baec0a8fdf9bafe8908543875" +checksum = "c61b34d4fb57e1f91ed099708e09b7450960d34d3a706ee84be55f821da27021" dependencies = [ "itertools 0.15.0", "memchr", @@ -4651,9 +4635,9 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "9.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1133371a5fadc14b9f66a8fec14be3564a77647c7ab21b1ef0ec973bd82613ce" +checksum = "1ca9998ccb8eabb05099c5827ce983cca9f5dfc008c6c47d7dcc034cee301e91" dependencies = [ "base64-simd", "json-escape-simd", @@ -4667,41 +4651,39 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "982988d6278f598e8a38ea4ab03b4883b673ac2cb5d96f588a42d8e868eed002" +checksum = "a0bb9aed024358d262b9daab20b7aa7ae89b42946e549b52ff92ddfef033d0e1" dependencies = [ - "compact_str 0.10.0", "oxc_allocator", "oxc_ast_macros", "oxc_estree", - "oxc_str", "serde", ] [[package]] name = "oxc_str" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c0b6c6915f8fc8a395db7065b5b764067a9694c1e88320d095c9e88ce30d28f" +checksum = "3b51303dd938569998ad07110fff48d76da59cfe47748a39833c4652424babb4" dependencies = [ "compact_str 0.10.0", "hashbrown 0.17.1", "memchr", "oxc_allocator", "oxc_estree", + "oxc_span", "serde", ] [[package]] name = "oxc_syntax" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0e64bb2b43d48a43636ceaafaed251e98ee79daca32558bfe99664064ff1923" +checksum = "6f832591474dac1e451b6619d9e9d6187f08445d9d73c47b331dedc34439eb81" dependencies = [ "bitflags 2.13.2", "cow-utils", - "dragonbox_ecma", "nonmax", "oxc_allocator", "oxc_ast_macros", @@ -4712,13 +4694,14 @@ dependencies = [ "phf 0.14.0", "serde", "unicode-id-start", + "zmij_ecma", ] [[package]] name = "oxc_transform_napi" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e67fcaafeceeef484edd8fddea405a29d1f4aaab95796c16dd12d15c66389e7" +checksum = "eb48f1041ea60f9aff81e94fab1edcc5e5910620d5b41ddc16f525cb17aa3e28" dependencies = [ "napi", "napi-build", @@ -4731,9 +4714,9 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e30a2ba7cc85c085aff8464456f9da27d9d0418018a5c9a09bfd4647801c624f" +checksum = "85e22f92c0a7005978913a68a8dd6af050bc5f1323724211452e46c6ac1e10e1" dependencies = [ "base64 0.23.1", "compact_str 0.10.0", @@ -4761,9 +4744,9 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89955277e83c2c416f7ce323843ed7d7cbeb2bf3a51ecc51c59967d5b2e485c9" +checksum = "e65677ac2ce0519dfbf72738ed25a1cc5a31ede29b0847c72e914163c2fc1aef" dependencies = [ "cow-utils", "itoa", @@ -4784,9 +4767,9 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.156.0" +version = "0.159.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91916516441681a16b0f66aa8e32e1cca5a945f305450c9ef064489b6f5997e9" +checksum = "87d49160912ade6eb58b7889a4be7b52df22397aef044de51a2dad7c66801d42" dependencies = [ "itoa", "oxc_allocator", @@ -5211,26 +5194,6 @@ dependencies = [ "siphasher", ] -[[package]] -name = "pin-project" -version = "1.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "pin-project-lite" version = "0.2.17" @@ -5624,9 +5587,9 @@ dependencies = [ [[package]] name = "referencing" -version = "0.60.2" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f42818036d3b37cda6bd4c494543158a36e431cb717015ef7c93acc6ba214d3b" +checksum = "a028057ef852c58a42d75e09da87b5e733f4030f4c7411728955e4f87203a577" dependencies = [ "ahash", "fluent-uri", @@ -5771,7 +5734,7 @@ dependencies = [ [[package]] name = "rolldown" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "append-only-vec", @@ -5793,6 +5756,7 @@ dependencies = [ "oxc_index", "oxc_str", "oxc_traverse", + "percent-encoding", "petgraph", "rayon", "regex", @@ -5845,18 +5809,18 @@ dependencies = [ [[package]] name = "rolldown-file-id" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c1d1beeaaa4dc5da10a197d4826f83adec1f40ee6e79d90ccdcfd5bcfb41c3" +checksum = "1e7cce888a0f3637d5c6e0c4d96cbbc5c3219726d33d5fc1397a6e8820ce13c1" dependencies = [ "windows-sys 0.61.2", ] [[package]] name = "rolldown-notify" -version = "11.0.0" +version = "11.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c65ad424b3737dcd3f32b96820fb77fea1a942fc6c7c54a788c68d7ace872e" +checksum = "36b5c1ce2e2b2b5856adddcfd8854c42bad23fc6de5feb9e3ea178dad8304818" dependencies = [ "bitflags 2.13.2", "inotify", @@ -5874,9 +5838,9 @@ dependencies = [ [[package]] name = "rolldown-notify-debouncer-full" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cc46781e5070fc3285f4a82d4a915afb27fb5f75ec53939739d7a04e03fc3f" +checksum = "2bf8d16227c5316a68a0b5e6c4b935b0a19995ea00364382c6cc49e42f249f4f" dependencies = [ "rolldown-file-id", "rolldown-notify", @@ -5886,11 +5850,26 @@ dependencies = [ "walkdir", ] +[[package]] +name = "rolldown-notify-napi" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d923808c282e221cd731343770ff928b1e70c1dc9f53ee18892deee043a08d53" +dependencies = [ + "dunce", + "globset", + "napi", + "napi-build", + "napi-derive", + "rolldown-notify", + "rolldown-notify-debouncer-full", +] + [[package]] name = "rolldown-notify-types" -version = "2.0.3" +version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca46043afcb01d8dbb414ed52e863c62ebfecbefe370fdfe030983225c5ef7a" +checksum = "a4eca3ed5535d04e688c4518bcf36595b862967468e7f8f267d70820eab6edb9" [[package]] name = "rolldown_binding" @@ -5919,6 +5898,7 @@ dependencies = [ "oxc_transform_napi", "regex", "rolldown", + "rolldown-notify-napi", "rolldown_common", "rolldown_dev", "rolldown_devtools", @@ -5944,6 +5924,7 @@ dependencies = [ "rolldown_plugin_vite_transform", "rolldown_plugin_vite_web_worker_post", "rolldown_sourcemap", + "rolldown_std_utils", "rolldown_tracing", "rolldown_tracking_allocator", "rolldown_utils", @@ -5959,7 +5940,7 @@ dependencies = [ [[package]] name = "rolldown_common" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -5977,6 +5958,7 @@ dependencies = [ "oxc_resolver", "oxc_sourcemap", "oxc_str", + "percent-encoding", "rolldown_ecmascript", "rolldown_error", "rolldown_fs", @@ -5997,7 +5979,7 @@ dependencies = [ [[package]] name = "rolldown_dev" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6018,7 +6000,7 @@ dependencies = [ [[package]] name = "rolldown_dev_common" -version = "1.2.19" +version = "1.3.3" dependencies = [ "derive_more", "rolldown_common", @@ -6030,7 +6012,7 @@ dependencies = [ [[package]] name = "rolldown_devtools" -version = "1.2.19" +version = "1.3.3" dependencies = [ "blake3", "rolldown_devtools_action", @@ -6044,7 +6026,7 @@ dependencies = [ [[package]] name = "rolldown_devtools_action" -version = "1.2.19" +version = "1.3.3" dependencies = [ "serde", "ts-rs", @@ -6052,7 +6034,7 @@ dependencies = [ [[package]] name = "rolldown_devtools_metrics" -version = "1.2.19" +version = "1.3.3" dependencies = [ "insta", "rolldown_std_utils", @@ -6063,7 +6045,7 @@ dependencies = [ [[package]] name = "rolldown_ecmascript" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", "oxc", @@ -6075,7 +6057,7 @@ dependencies = [ [[package]] name = "rolldown_ecmascript_utils" -version = "1.2.19" +version = "1.3.3" dependencies = [ "memchr", "oxc", @@ -6085,7 +6067,7 @@ dependencies = [ [[package]] name = "rolldown_error" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6100,11 +6082,12 @@ dependencies = [ "rustc-hash", "simd-utf16-len", "sugar_path", + "supports-color 3.0.2", ] [[package]] name = "rolldown_fs" -version = "1.2.19" +version = "1.3.3" dependencies = [ "oxc_resolver", "vfs", @@ -6112,7 +6095,7 @@ dependencies = [ [[package]] name = "rolldown_fs_watcher" -version = "1.2.19" +version = "1.3.3" dependencies = [ "globstar", "rolldown-notify", @@ -6127,7 +6110,7 @@ dependencies = [ [[package]] name = "rolldown_plugin" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6156,7 +6139,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_asset_module" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "rolldown_common", @@ -6168,7 +6151,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_bundle_analyzer" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", "rolldown_common", @@ -6182,7 +6165,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_chunk_import_map" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", "rolldown_common", @@ -6195,7 +6178,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_copy_module" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6208,7 +6191,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_data_url" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", "base64-simd", @@ -6221,7 +6204,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_esm_external_require" -version = "1.2.19" +version = "1.3.3" dependencies = [ "nodejs-built-in-modules", "rolldown_common", @@ -6232,7 +6215,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_hmr" -version = "1.2.19" +version = "1.3.3" dependencies = [ "rolldown_common", "rolldown_plugin", @@ -6240,7 +6223,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_isolated_declaration" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", "oxc", @@ -6255,11 +6238,9 @@ dependencies = [ [[package]] name = "rolldown_plugin_lazy_compilation" -version = "1.2.19" +version = "1.3.3" dependencies = [ - "anyhow", "arcstr", - "oxc", "rolldown_common", "rolldown_plugin", "rolldown_utils", @@ -6268,9 +6249,10 @@ dependencies = [ [[package]] name = "rolldown_plugin_oxc_runtime" -version = "1.2.19" +version = "1.3.3" dependencies = [ "arcstr", + "flate2", "phf 0.14.0", "rolldown_common", "rolldown_plugin", @@ -6279,7 +6261,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_replace" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "oxc", @@ -6295,7 +6277,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_utils" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6330,6 +6312,7 @@ dependencies = [ "rolldown_common", "rolldown_ecmascript_utils", "rolldown_plugin", + "rolldown_utils", ] [[package]] @@ -6357,6 +6340,7 @@ dependencies = [ "anyhow", "arcstr", "fast-glob", + "futures", "globstar", "itoa", "oxc", @@ -6378,12 +6362,15 @@ version = "0.1.0" dependencies = [ "json-escape-simd", "memchr", + "rolldown", "rolldown_common", "rolldown_plugin", "rolldown_plugin_utils", "rolldown_sourcemap", "rolldown_utils", "serde_json", + "tempfile", + "tokio", ] [[package]] @@ -6454,7 +6441,7 @@ dependencies = [ [[package]] name = "rolldown_plugin_vite_resolve" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6508,7 +6495,7 @@ dependencies = [ [[package]] name = "rolldown_resolver" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6523,17 +6510,18 @@ dependencies = [ [[package]] name = "rolldown_sourcemap" -version = "1.2.19" +version = "1.3.3" dependencies = [ "criterion2", "memchr", "oxc", "oxc_sourcemap", + "sugar_path", ] [[package]] name = "rolldown_std_utils" -version = "1.2.19" +version = "1.3.3" dependencies = [ "regex", "sugar_path", @@ -6579,7 +6567,7 @@ dependencies = [ [[package]] name = "rolldown_tracing" -version = "1.2.19" +version = "1.3.3" dependencies = [ "tracing", "tracing-chrome", @@ -6595,11 +6583,10 @@ dependencies = [ [[package]] name = "rolldown_utils" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", - "async-scoped", "base-encode", "base64-simd", "cow-utils", @@ -6633,7 +6620,7 @@ dependencies = [ [[package]] name = "rolldown_watcher" -version = "1.2.19" +version = "1.3.3" dependencies = [ "anyhow", "arcstr", @@ -6652,7 +6639,7 @@ dependencies = [ [[package]] name = "rolldown_workspace" -version = "1.2.19" +version = "1.3.3" [[package]] name = "ropey" @@ -7313,9 +7300,9 @@ dependencies = [ [[package]] name = "simd-utf16-len" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bd2186ecc8a43c3e9d0114a554beeb5708cc3b7969a8a5866b0d3ec56e5347" +checksum = "81f345b6e806b8bb12f2c0a8a6cf64eb9edff7a1d4c09d1e1d402955912396a2" [[package]] name = "simd_cesu8" @@ -7488,7 +7475,7 @@ checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520" [[package]] name = "string_wizard" -version = "1.2.19" +version = "1.3.3" dependencies = [ "insta", "memchr", @@ -9810,6 +9797,12 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" +[[package]] +name = "zmij_ecma" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "458b3e7a977f14499066b6bdb63d69da30ce337d6c160f077e6c575c82a44db9" + [[package]] name = "zstd" version = "0.14.3" diff --git a/Cargo.toml b/Cargo.toml index af2bdc87c4..579249d182 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -166,7 +166,6 @@ ast-grep-language = { version = "0.51.0", default-features = false, features = [ "tree-sitter-typescript", ] } async-channel = "2.5.0" -async-scoped = "0.9.0" async-trait = "0.1.89" backon = "1.3.0" base-encode = "0.3.1" @@ -221,7 +220,7 @@ jiff = { version = "1.0.1", default-features = false, features = [ js-semver = "1.0.0" json-escape-simd = "3.1.1" json-strip-comments = "3" -jsonschema = { version = "0.60.0", default-features = false } +jsonschema = { version = "0.61.0", default-features = false } junction = "2.0.0" libtest-mimic = "0.8.2" memchr = "2.8.2" @@ -264,8 +263,9 @@ rayon = "1.12.0" regex = "1.13.0" regress = "0.12.0" reqwest = { version = "0.13", default-features = false } -rolldown-notify = "11.0.0" -rolldown-notify-debouncer-full = "0.8.0" +rolldown-notify = "11.0.1" +rolldown-notify-debouncer-full = "0.8.1" +rolldown-notify-napi = "0.0.3" rustc-hash = "2.1.3" rustls = { version = "0.23.46", default-features = false, features = ["ring", "std", "tls12"] } same-file = "1.0.6" @@ -279,7 +279,7 @@ serial_test = "4.0.0" sha1 = "0.11.0" sha2 = "0.11.0" shell-escape = "0.1.5" -simd-utf16-len = "0.3.0" +simd-utf16-len = "0.4.0" simdutf8 = "0.1.5" smallvec = { version = "1.16.0", features = ["union"] } string_cache = "0.11.0" @@ -288,7 +288,7 @@ supports-color = "3" syn = { version = "3", default-features = false } tar = { version = "0.4.43", default-features = false } temp-env = "0.3.6" -tempfile = "3.14.0" +tempfile = "3.27.0" terminal_size = "0.4.4" test-log = { version = "0.2.18", features = ["trace"] } testing_macros = "3.0.0" @@ -335,7 +335,7 @@ xxhash-rust = "0.8.16" zip = { version = "9.0", default-features = false, features = ["deflate-flate2-zlib-rs"] } # oxc crates with the same version -oxc = { version = "0.156.0", features = [ +oxc = { version = "0.159.0", features = [ "ast_visit", "transformer", "minifier", @@ -347,25 +347,25 @@ oxc = { version = "0.156.0", features = [ "regular_expression", "cfg", ] } -oxc_allocator = { version = "0.156.0", features = ["pool"] } -oxc_ast = "0.156.0" -oxc_ecmascript = "0.156.0" +oxc_allocator = { version = "0.159.0", features = ["pool"] } +oxc_ast = "0.159.0" +oxc_ecmascript = "0.159.0" # Only `vp_static_config` uses the parser directly. It reads plain config values, so the # global `vp` skips the regular expression parser. The `oxc` crate enables it for the binding. -oxc_parser = { version = "0.156.0", default-features = false } -oxc_span = "0.156.0" -oxc_napi = "0.156.0" -oxc_str = "0.156.0" -oxc_minify_napi = "0.156.0" -oxc_parser_napi = "0.156.0" -oxc_transform_napi = "0.156.0" -oxc_traverse = "0.156.0" +oxc_parser = { version = "0.159.0", default-features = false } +oxc_span = "0.159.0" +oxc_napi = "0.159.0" +oxc_str = "0.159.0" +oxc_minify_napi = "0.159.0" +oxc_parser_napi = "0.159.0" +oxc_transform_napi = "0.159.0" +oxc_traverse = "0.159.0" # oxc crates in their own repos oxc_index = { version = "5", features = ["rayon", "serde"] } oxc_resolver = { version = "11.24.3", features = ["yarn_pnp"] } oxc_resolver_napi = { version = "11.24.3", default-features = false, features = ["yarn_pnp"] } -oxc_sourcemap = "9.0.0" +oxc_sourcemap = "10.0.0" # vendored oxc-node, compiled into the native binding for `vpx