Skip to content

feat(es): Add es2023 and es2024 to EsVersion#9700

Merged
kdy1 merged 8 commits into
swc-project:mainfrom
kdy1:ast-esversion
Nov 1, 2024
Merged

feat(es): Add es2023 and es2024 to EsVersion#9700
kdy1 merged 8 commits into
swc-project:mainfrom
kdy1:ast-esversion

Conversation

@kdy1

@kdy1 kdy1 commented Nov 1, 2024

Copy link
Copy Markdown
Member

Description:

Related issue (if exists):

@kdy1 kdy1 added this to the Planned milestone Nov 1, 2024
@kdy1 kdy1 self-assigned this Nov 1, 2024
@kdy1 kdy1 requested review from a team as code owners November 1, 2024 05:25
kodiakhq[bot]
kodiakhq Bot previously approved these changes Nov 1, 2024
@changeset-bot

changeset-bot Bot commented Nov 1, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f87f0c7

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security

socket-security Bot commented Nov 1, 2024

Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@actions/core@1.11.1 Transitive: environment, filesystem, network, shell +3 255 kB bryanmacfarlane, chrispat, cschleiden, ...2 more
npm/@antfu/ni@0.21.12 environment, filesystem, shell 0 465 kB antfu
npm/@babel/plugin-syntax-bigint@7.8.3 None 0 2.42 kB nicolo-ribaudo
npm/@swc/helpers@0.2.14 None 0 111 kB kdy1
npm/@types/react-dom@16.9.24 None 0 21.5 kB types
npm/@types/react@16.14.62 None +3 1.43 MB types
npm/copyfiles@2.4.1 filesystem Transitive: environment +27 887 kB cwmma
npm/react-dom@16.14.0 environment +2 3.39 MB gaearon
npm/webpack-cli@3.3.12 environment, filesystem, shell, unsafe Transitive: network +135 3.31 MB evilebottnawi
npm/webpack-dev-server@3.11.3 environment, filesystem, network Transitive: eval, shell, unsafe +291 12.6 MB evilebottnawi
npm/webpack@4.47.0 environment, filesystem, unsafe Transitive: eval, network, shell +264 15.3 MB thelarkinn

🚮 Removed packages: npm/@ant-design/icons-svg@4.1.0, npm/@ant-design/icons@4.6.4, npm/@ant-design/react-slick@0.28.4, npm/@babel/code-frame@7.14.5, npm/@babel/generator@7.15.0, npm/@babel/helper-function-name@7.14.5, npm/@babel/helper-get-function-arity@7.14.5, npm/@babel/helper-hoist-variables@7.14.5, npm/@babel/helper-split-export-declaration@7.14.5, npm/@babel/helper-validator-identifier@7.14.9, npm/@babel/highlight@7.14.5, npm/@babel/parser@7.16.8, npm/@babel/preset-typescript@7.21.5, npm/@babel/regjsgen@0.8.0, npm/@babel/runtime@7.22.3, npm/@babel/template@7.14.5, npm/@babel/template@7.21.9, npm/@babel/traverse@7.15.0, npm/@babel/traverse@7.22.1, npm/@bcoe/v8-coverage@0.2.3, npm/@cspell/cspell-bundled-dicts@5.21.2, npm/@cspell/cspell-pipe@5.21.2, npm/@cspell/cspell-types@5.21.2, npm/@cspell/dict-ada@2.0.1, npm/@cspell/dict-aws@2.0.0, npm/@cspell/dict-bash@2.0.4, npm/@cspell/dict-companies@2.0.14, npm/@cspell/dict-cpp@3.2.1, npm/@cspell/dict-cryptocurrencies@2.0.0, npm/@cspell/dict-csharp@3.0.1, npm/@cspell/dict-css@2.1.0, npm/@cspell/dict-dart@1.1.1, npm/@cspell/dict-django@2.0.0, npm/@cspell/dict-dotnet@2.0.1, npm/@cspell/dict-elixir@2.0.1, npm/@cspell/dict-en-gb@1.1.33, npm/@cspell/dict-en_us@2.3.3, npm/@cspell/dict-filetypes@2.1.1, npm/@cspell/dict-fonts@2.1.0, npm/@cspell/dict-fullstack@2.0.6, npm/@cspell/dict-git@1.0.1, npm/@cspell/dict-golang@3.0.1, npm/@cspell/dict-haskell@2.0.1, npm/@cspell/dict-html-symbol-entities@3.0.0, npm/@cspell/dict-html@3.3.2, npm/@cspell/dict-java@2.0.0, npm/@cspell/dict-latex@2.0.9, npm/@cspell/dict-lorem-ipsum@2.0.1, npm/@cspell/dict-lua@2.0.0, npm/@cspell/dict-node@2.0.1, npm/@cspell/dict-npm@2.0.5, npm/@cspell/dict-php@2.0.0, npm/@cspell/dict-powershell@2.0.0, npm/@cspell/dict-public-licenses@1.0.6, npm/@cspell/dict-python@3.0.6, npm/@cspell/dict-r@1.0.3, npm/@cspell/dict-ruby@2.0.2, npm/@cspell/dict-rust@2.0.1, npm/@cspell/dict-scala@2.0.0, npm/@cspell/dict-software-terms@2.3.0, npm/@cspell/dict-swift@1.0.3, npm/@cspell/dict-typescript@2.0.2, npm/@cspell/dict-vue@2.0.2, npm/@ctrl/tinycolor@3.4.0, npm/@eslint/eslintrc@0.4.3, npm/@humanwhocodes/config-array@0.5.0, npm/@humanwhocodes/object-schema@1.2.0, npm/@jest/console@29.7.0, npm/@jest/core@29.7.0, npm/@jest/expect-utils@29.7.0, npm/@jest/reporters@29.7.0, npm/@jest/schemas@29.6.3, npm/@jest/test-result@29.7.0, npm/@jest/transform@29.7.0, npm/@jest/types@29.6.3, npm/@jridgewell/resolve-uri@3.1.1, npm/@jridgewell/set-array@1.1.2, npm/@jridgewell/source-map@0.3.3, npm/@sinclair/typebox@0.27.8, npm/@swc/counter@0.1.3, npm/@swc/plugin-jest@1.5.117, npm/@taplo/cli@0.5.2, npm/@types/istanbul-lib-coverage@2.0.4, npm/@types/istanbul-lib-report@3.0.0, npm/@types/istanbul-reports@3.0.1, npm/@types/jest@29.5.11, npm/@types/node@20.5.0, npm/@types/parse-json@4.0.0, npm/@types/stack-utils@2.0.1, npm/@types/terser@3.12.0, npm/@types/yargs-parser@21.0.0, npm/@types/yargs@17.0.24, npm/acorn-jsx@5.3.2, npm/acorn@8.8.2, npm/ansi-colors@4.1.1, npm/ansi-escapes@4.3.2, npm/ansi-regex@5.0.0, npm/ansi-styles@3.2.1, npm/antd@4.16.13, npm/argparse@1.0.10, npm/array-timsort@1.0.3, npm/array-tree-filter@2.1.0, npm/astral-regex@2.0.0, npm/async-validator@3.5.2, npm/axios@0.21.4, npm/babel-eslint@10.1.0, npm/babel-plugin-polyfill-corejs2@0.4.3, npm/babel-plugin-polyfill-corejs3@0.8.1, npm/babel-plugin-polyfill-regenerator@0.5.0, npm/babel-plugin-transform-node-env-inline@0.4.3, npm/balanced-match@1.0.2, npm/benchmark@2.1.4, npm/bootstrap@5.2.3, npm/brace-expansion@2.0.1, npm/braces@3.0.2, npm/browserslist@4.22.1, npm/buffer-from@1.1.2, npm/callsites@3.1.0, npm/caniuse-lite@1.0.30001558, npm/chalk@2.4.2, npm/ci-info@3.8.0, npm/class-validator@0.13.2, npm/clear-module@4.1.2, npm/collect-v8-coverage@1.0.1, npm/color-convert@1.9.3, npm/color-name@1.1.3, npm/commander@2.20.3, npm/comment-json@4.2.3, npm/compute-scroll-into-view@1.0.17, npm/concat-map@0.0.1, npm/configstore@5.0.1, npm/convert-source-map@1.9.0, npm/copy-to-clipboard@3.3.1, npm/core-js@2.6.12, npm/core-util-is@1.0.3, npm/cosmiconfig@7.1.0, npm/create-jest@29.7.0, npm/cross-env@7.0.3, npm/cross-spawn@7.0.3, npm/crypto-random-string@2.0.0, npm/cspell-gitignore@5.21.2, npm/cspell-glob@5.21.2, npm/cspell-io@5.21.2, npm/cspell-lib@5.21.2, npm/cspell-trie-lib@5.21.2, npm/cspell@5.21.2, npm/date-fns@2.23.0, npm/dayjs@1.10.7, npm/debug@4.3.2, npm/debug@4.3.4, npm/deep-is@0.1.3, npm/diff-sequences@29.6.3, npm/doctrine@3.0.0, npm/dom-align@1.12.2, npm/dot-prop@5.3.0, npm/electron-to-chromium@1.4.569, npm/enquirer@2.3.6, npm/error-ex@1.3.2, npm/escalade@3.1.1, npm/escape-string-regexp@1.0.5, npm/eslint-scope@5.1.1, npm/eslint-utils@2.1.0, npm/eslint-visitor-keys@1.3.0, npm/eslint@7.32.0, npm/esprima@4.0.1, npm/esquery@1.4.0, npm/esrecurse@4.3.0, npm/esutils@2.0.3, npm/exit@0.1.2, npm/expect@29.7.0, npm/fast-equals@3.0.3, npm/fast-json-stable-stringify@2.1.0, npm/fast-levenshtein@2.0.6, npm/file-entry-cache@6.0.1, npm/fill-range@7.0.1, npm/find-up@5.0.0, npm/flat-cache@3.0.4, npm/flatted@3.2.2, npm/flatted@3.2.7, npm/follow-redirects@1.15.2, npm/fs-extra@10.1.0, npm/fs.realpath@1.0.0, npm/function-bind@1.1.1, npm/function-bind@1.1.2, npm/functional-red-black-tree@1.0.1, npm/gensequence@3.1.1, npm/gensync@1.0.0-beta.2, npm/get-stdin@8.0.0, npm/glob-parent@5.1.2, npm/glob@7.1.7, npm/glob@8.1.0, npm/global-dirs@0.1.1, npm/globals@11.12.0, npm/graceful-fs@4.2.11, npm/has-flag@3.0.0, npm/has-own-prop@2.0.0, npm/has@1.0.3, npm/husky@7.0.4, npm/ignore@4.0.6, npm/import-local@3.1.0, npm/imurmurhash@0.1.4, npm/inflight@1.0.6, npm/ini@1.3.8, npm/is-arrayish@0.2.1, npm/is-core-module@2.12.1, npm/is-core-module@2.6.0, npm/is-extglob@2.1.1, npm/is-number@7.0.0, npm/is-obj@2.0.0, npm/is-typedarray@1.0.0, npm/isexe@2.0.0, npm/istanbul-lib-coverage@3.2.0, npm/istanbul-lib-instrument@6.0.1, npm/istanbul-lib-report@3.0.0, npm/istanbul-lib-source-maps@4.0.1, npm/istanbul-reports@3.1.5, npm/jest-changed-files@29.7.0, npm/jest-cli@29.7.0, npm/jest-config@29.7.0, npm/jest-diff@29.7.0, npm/jest-get-type@29.6.3, npm/jest-haste-map@29.7.0, npm/jest-matcher-utils@29.7.0, npm/jest-message-util@29.7.0, npm/jest-regex-util@29.6.3, npm/jest-resolve-dependencies@29.7.0, npm/jest-resolve@29.7.0, npm/jest-runner@29.7.0, npm/jest-runtime@29.7.0, npm/jest-snapshot@29.7.0, npm/jest-util@29.7.0, npm/jest-validate@29.7.0, npm/jest-watcher@29.7.0, npm/jest-worker@29.7.0, npm/jest@29.7.0, npm/js-tokens@4.0.0, npm/js-yaml@3.14.1, npm/jsesc@2.5.2, npm/json-parse-even-better-errors@2.3.1, npm/json-schema-traverse@0.4.1, npm/json-stable-stringify-without-jsonify@1.0.1, npm/json2mq@0.2.0, npm/json5@2.2.3, npm/jsonfile@6.1.0, npm/levn@0.4.1, npm/libphonenumber-js@1.10.30, npm/lines-and-columns@1.2.4, npm/locate-path@6.0.0, npm/lodash.clonedeep@4.5.0, npm/lodash.debounce@4.0.8, npm/lodash.merge@4.6.2, npm/lodash.truncate@4.4.2, npm/lodash@4.17.21, npm/loose-envify@1.4.0, npm/lru-cache@5.1.1, npm/lru-cache@6.0.0, npm/make-dir@3.1.0, npm/micromatch@4.0.5, npm/minimatch@3.0.4, npm/minimatch@5.1.6, npm/moment@2.29.1, npm/ms@2.1.2, npm/nanoid@4.0.2, npm/natural-compare@1.4.0, npm/node-releases@2.0.13, npm/once@1.4.0, npm/optionator@0.9.1, npm/p-limit@3.1.0, npm/p-locate@5.0.0, npm/parent-module@1.0.1, npm/parent-module@2.0.0, npm/parse-json@5.2.0, npm/path-exists@4.0.0, npm/path-is-absolute@1.0.1, npm/path-key@3.1.1, npm/path-parse@1.0.7, npm/path-type@4.0.0, npm/picocolors@1.0.0, npm/pkg-dir@4.2.0, npm/platform@1.3.6, npm/prelude-ls@1.2.1, npm/pretty-format@29.7.0, npm/progress@2.0.3, npm/punycode@2.1.1, npm/rc-align@4.0.11, npm/rc-cascader@1.4.3, npm/rc-checkbox@2.3.2, npm/rc-collapse@3.1.2, npm/rc-dialog@8.6.0, npm/rc-drawer@4.3.1, npm/rc-dropdown@3.2.0, npm/rc-field-form@1.20.1, npm/rc-image@5.2.5, npm/rc-input-number@7.1.4, npm/rc-mentions@1.6.1, npm/rc-notification@4.5.7, npm/rc-overflow@1.2.2, npm/rc-pagination@3.1.9, npm/rc-picker@2.5.18, npm/rc-progress@3.1.4, npm/rc-rate@2.9.1, npm/rc-resize-observer@1.0.1, npm/rc-select@12.1.13, npm/rc-slider@9.7.2, npm/rc-steps@4.1.3, npm/rc-switch@3.2.2, npm/rc-table@7.15.2, npm/rc-tabs@11.10.1, npm/rc-tree-select@4.3.3, npm/rc-tree@4.2.2, npm/rc-upload@4.3.1, npm/react-is@18.2.0, npm/readline@1.3.0, npm/regenerate-unicode-properties@10.1.0, npm/regenerate@1.4.2, npm/regenerator-runtime@0.13.11, npm/regenerator-runtime@0.13.9, npm/regenerator-transform@0.15.1, npm/regexpp@3.2.0, npm/regexpu-core@5.3.2, npm/regjsparser@0.9.1, npm/repeat-string@1.6.1, npm/require-from-string@2.0.2, npm/resolve-cwd@3.0.0, npm/resolve-from@4.0.0, npm/resolve-from@5.0.0, npm/resolve-global@1.0.0, npm/resolve@1.20.0, npm/resolve@1.22.2, npm/rimraf@3.0.2, npm/scroll-into-view-if-needed@2.2.28, npm/semver@7.3.5, npm/shallowequal@1.1.0, npm/shebang-command@2.0.0, npm/shebang-regex@3.0.0, npm/signal-exit@3.0.7, npm/slash@3.0.0, npm/slice-ansi@4.0.0, npm/source-map-support@0.5.21, npm/sprintf-js@1.0.3, npm/stack-utils@2.0.6, npm/string-convert@0.2.1, npm/string-width@4.2.2, npm/strip-ansi@6.0.0, npm/supports-color@5.5.0, npm/supports-preserve-symlinks-flag@1.0.0, npm/table@6.7.1, npm/terser@5.17.6, npm/text-table@0.2.0, npm/to-fast-properties@2.0.0, npm/to-regex-range@5.0.1, npm/toggle-selection@1.0.6, npm/type-fest@0.20.2, npm/typedarray-to-buffer@3.1.5, npm/unicode-canonical-property-names-ecmascript@2.0.0, npm/unicode-match-property-ecmascript@2.0.0, npm/unicode-match-property-value-ecmascript@2.1.0, npm/unicode-property-aliases-ecmascript@2.1.0, npm/unique-string@2.0.0, npm/universalify@2.0.0, npm/update-browserslist-db@1.0.13, npm/uri-js@4.4.1, npm/v8-compile-cache@2.3.0, npm/validator@13.9.0, npm/vscode-languageserver-textdocument@1.0.8, npm/vscode-uri@3.0.7, npm/warning@4.0.3, npm/which@2.0.2, npm/word-wrap@1.2.3, npm/wrappy@1.0.2, npm/write-file-atomic@3.0.3, npm/xdg-basedir@4.0.0, npm/yallist@3.1.1, npm/yallist@4.0.0, npm/yaml@1.10.2, npm/yargs@17.7.2, npm/yocto-queue@0.1.0

View full report↗︎

@kdy1 kdy1 enabled auto-merge (squash) November 1, 2024 05:26
kodiakhq[bot]
kodiakhq Bot previously approved these changes Nov 1, 2024
@kdy1 kdy1 disabled auto-merge November 1, 2024 05:28
kodiakhq[bot]
kodiakhq Bot previously approved these changes Nov 1, 2024
@kdy1 kdy1 merged commit 5a6f0e6 into swc-project:main Nov 1, 2024
@kdy1 kdy1 deleted the ast-esversion branch November 1, 2024 06:34
@codspeed-hq

codspeed-hq Bot commented Nov 1, 2024

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #9700 will degrade performances by 4.11%

Comparing kdy1:ast-esversion (9bc31ca) with main (bcf05de)

Summary

❌ 1 regressions
✅ 193 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main kdy1:ast-esversion Change
es/full/base/fixer 116.5 µs 121.5 µs -4.11%

@swc-project swc-project locked as resolved and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant