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

Bump acorn to replace swc class properties transform #65715

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"@vercel/ncc": "0.34.0",
"@vercel/nft": "0.26.4",
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240513.1",
"acorn": "8.5.0",
"acorn": "8.11.3",
"amphtml-validator": "1.0.35",
"anser": "1.4.9",
"arg": "4.1.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/next/src/build/swc/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@ export function getLoaderSWCOptions({
preferEsm: !!esm,
isPageFile,
env: {
// Workaround acorn issues
include: ['transform-class-properties'],
targets: {
// Targets the current version of Node.js
node: process.versions.node,
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/compiled/@vercel/nft/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/src/compiled/acorn/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (C) 2012-2020 by various contributors (see AUTHORS)
Copyright (C) 2012-2022 by various contributors (see AUTHORS)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/compiled/acorn/acorn.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/next/src/compiled/webpack/bundle5.js

Large diffs are not rendered by default.

67 changes: 30 additions & 37 deletions pnpm-lock.yaml

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

Loading