Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump oxc to v0.21.0 #1656

Merged
merged 11 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
366 changes: 286 additions & 80 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ urlencoding = "2.1.3"
vfs = "0.12.0"
xxhash-rust = "0.8.10"
# oxc crates share the same version
arcstr = "1.2.0"
lightningcss = { version = "1.0.0-alpha.57" }
oxc = { version = "0.20.0", features = ["sourcemap_concurrent", "transformer", "minifier"] }
arcstr = "1.2.0"
lightningcss = { version = "1.0.0-alpha.57" }
oxc = { git = "https://github.com/oxc-project/oxc", branch = "release/crates-1721271704", features = [
Dunqing marked this conversation as resolved.
Show resolved Hide resolved
"sourcemap_concurrent",
"transformer",
"minifier",
] }
oxc_transform_napi = { version = "0.20.0" }


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
source: crates/rolldown/tests/common/case.rs
source: crates/rolldown_testing/src/case/case.rs
expression: content
input_file: crates/rolldown/tests/esbuild/bundler_ts/ts_abstract_class_field_use_define
---
Expand All @@ -10,7 +10,7 @@ input_file: crates/rolldown/tests/esbuild/bundler_ts/ts_abstract_class_field_use
```js

//#region entry.ts
const keepThisToo = Symbol('keepThisToo');
const keepThisToo = Symbol("keepThisToo");
class Foo {
keepThis;
[keepThisToo];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
source: crates/rolldown/tests/common/case.rs
source: crates/rolldown_testing/src/case/case.rs
expression: content
input_file: crates/rolldown/tests/esbuild/bundler_ts/ts_import_cts
---
Expand All @@ -12,7 +12,7 @@ input_file: crates/rolldown/tests/esbuild/bundler_ts/ts_import_cts

//#region required.cjs
var require_required = __commonJSMin((exports, module) => {
console.log('works');
console.log("works");
});

//#endregion
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ input_file: crates/rolldown/tests/esbuild/dce/base64_loader_remove_unused
```js

//#region entry.js
console.log('unused import');
console.log("unused import");

//#endregion
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ input_file: crates/rolldown/tests/esbuild/dce/data_url_loader_remove_unused
```js

//#region entry.js
console.log('unused import');
console.log("unused import");

//#endregion
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var [remove4, ...remove5] = [...[1, 2], 3];
var [,, remove6] = [, , 3];
var [KEEP2] = [x];
var [KEEP3] = [...{}];
var { KEEP4 } = {};
var { KEEP4: KEEP4 } = {};

//#endregion
```
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ using null_keep = null;
await using await_null_keep = null;
using throw_keep = {};
using dispose_keep = {[Symbol.dispose]() {
console.log('side effect');
console.log("side effect");
}};
await using await_asyncDispose_keep = {[Symbol.asyncDispose]() {
console.log('side effect');
console.log("side effect");
}};
using undef_keep = undefined;
await using await_undef_keep = undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ input_file: crates/rolldown/tests/esbuild/dce/dce_type_of_equals_string
```js

//#region entry.js
var hasBar = typeof bar !== 'undefined';
var hasBar = typeof bar !== "undefined";

//#endregion
```
Loading
Loading