Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
deps: update swc to 1.7.0-rc.0
  • Loading branch information
marco-ippolito committed Jul 24, 2024
commit 9cff4160a37eff73ace423ce036f232eb39b550e
6 changes: 3 additions & 3 deletions deps/swc/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@swc/wasm-typescript",
"name": "@swc/binding_typescript_wasm",
"collaborators": [
"강동윤 <kdy1997.dev@gmail.com>"
],
"description": "wasm module for swc",
"version": "1.6.13",
"version": "1.7.0-rc.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -16,4 +16,4 @@
],
"main": "wasm.js",
"types": "wasm.d.ts"
}
}
168 changes: 84 additions & 84 deletions deps/swc/wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/swc_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-swc.sh
#ifndef SRC_SWC_VERSION_H_
#define SRC_SWC_VERSION_H_
#define SWC_VERSION "1.6.13"
#define SWC_VERSION "1.7.0-rc.0"
#endif // SRC_SWC_VERSION_H_
4 changes: 2 additions & 2 deletions test/es-module/test-typescript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ test('expect error when executing a TypeScript file with experimental decorators
'--experimental-strip-types',
fixtures.path('typescript/ts/test-experimental-decorators.ts'),
]);
// This error should be thrown during transformation
match(result.stderr, /Decorators are not supported/);
// This error should be thrown at runtime
match(result.stderr, /Invalid or unexpected token/);
strictEqual(result.stdout, '');
strictEqual(result.code, 1);
});
Expand Down