-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update turbopack & swc_core (#65450)
### What? * vercel/turborepo#8101 <!-- Tobias Koppers - fix off-by-one bug while reading heaptrack files --> * vercel/turborepo#8130 <!-- Tobias Koppers - refactor memory tracking --> * vercel/turborepo#8097 <!-- Donny/강동윤 - build: Update `swc_core` to `v0.92.5` --> Update swc_core. ### Why? To keep in sync and fix styled-jsx issues ### How? Closes PACK-3042 --------- Co-authored-by: hrmny <8845940+ForsakenHarmony@users.noreply.github.com>
- Loading branch information
1 parent
168d125
commit 138e45c
Showing
16 changed files
with
290 additions
and
265 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/full/example/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/2/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default 1; | ||
Object.defineProperty(exports, "__esModule", { | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); |
4 changes: 2 additions & 2 deletions
4
packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/3/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default 1; | ||
console.log("__esModule"); | ||
Object.defineProperty({}, "__esModule", { | ||
console.log('__esModule'); | ||
Object.defineProperty({}, '__esModule', { | ||
value: true | ||
}); | ||
Object.defineProperty(); |
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/1/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default function(module) { | ||
module.exports = {}; | ||
}; | ||
export var value = "mixed-syntax-esm"; | ||
export var value = 'mixed-syntax-esm'; |
4 changes: 2 additions & 2 deletions
4
packages/next-swc/crates/next-custom-transforms/tests/loader/auto-cjs/pack-2074/2/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
function foo(module) { | ||
module.exports = "this is just normal assignment of scope variable"; | ||
module.exports = 'this is just normal assignment of scope variable'; | ||
} | ||
export var value = "mixed-syntax-esm"; | ||
export var value = 'mixed-syntax-esm'; |
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/loader/example/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/loader/issue-32553/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/*#__PURE__*/ React.createElement("div", null, "children"); | ||
"<>hello</>"; | ||
'<>hello</>'; |
2 changes: 1 addition & 1 deletion
2
packages/next-swc/crates/next-custom-transforms/tests/loader/styled-components/1/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters