Go to file
周淦清 de849cf6fd
!1 update version
Merge pull request !1 from 周淦清/openkylin/yangtze
2022-08-10 07:41:04 +00:00
.circleci Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.codesandbox Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.github Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.yarn Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-dynamic-import-node Switch to yarnpkg 2022-05-19 14:59:04 +08:00
babel-plugin-syntax-async-generators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-bigint Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-dynamic-import Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-export-namespace-from Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-import-meta Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-json-strings Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-logical-assignment-operators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-nullish-coalescing-operator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-numeric-separator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-object-rest-spread Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-optional-catch-binding Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-optional-chaining Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-current-node-syntax Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-modules Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
charcodes Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
codemods Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
debian update version 2022-08-10 15:29:52 +08:00
doc Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
eslint Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
gensync Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
js-levenshtein Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
lib Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
node-modules-regexp Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
packages ignore charcode ts definitions 2022-05-19 14:59:04 +08:00
pirates add missing build dependency to yarn in npm build profile 2022-05-19 14:59:04 +08:00
scripts prettier is not packaged, so we will skip it 2022-05-19 14:59:03 +08:00
test Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-code-frame Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-core Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-generator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-preset-env Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-standalone Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-template Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-traverse Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
types-babel-types Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.editorconfig Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.eslintignore Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.eslintrc.js Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.flowconfig Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.git-blame-ignore-revs Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.gitattributes Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.gitignore Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.gitpod.yml Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.prettierignore Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.prettierrc Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.yarnrc Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
.yarnrc.yml Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
CHANGELOG.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
CODE_OF_CONDUCT.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
CONTRIBUTING.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
Gulpfile.js fix warning due to @rollup/plugin-replace update 2022-05-19 14:59:04 +08:00
LICENSE Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
Makefile Fix babel-plugin-dynamic-import-node build 2022-05-19 14:59:03 +08:00
README.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
SECURITY.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
SONG.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel.config.js update babel and rollup paths to use Debian packages files 2022-05-19 14:59:04 +08:00
babel.sublime-project Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
codecov.yml Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
jest.config.js Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
lerna.json Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
package.json Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
tsconfig.base.json Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
yarn.lock Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00

README.md

babel

The compiler for writing next generation JavaScript.

Gitpod ready-to-code

v7 npm Downloads v6 npm Downloads

CircleCI Status Coverage Status Slack Status Follow on Twitter

Supporting Babel

Backers on Open Collective Sponsors on Open Collective Business Strategy Status

Babel (pronounced "babble") is a community-driven project used by many companies and projects, and is maintained by a group of volunteers. If you'd like to help support the future of the project, please consider:

Sponsors

Our top sponsors are shown below! [Become a sponsor]

Intro

Babel is a tool that helps you write code in the latest version of JavaScript. When your supported environments don't support certain features natively, Babel will help you compile those features down to a supported version.

In

// ES2020 nullish coalescing
function greet(input) {
  return input ?? "Hello world";
}

Out

function greet(input) {
  return input != null ? input : "Hello world";
}

Try it out at our REPL.

FAQ

Who maintains Babel?

Mostly a handful of volunteers, funded by you! Please check out our team page!

Is there a Babel song?

I'm so glad you asked: Hallelujah —— In Praise of Babel by @angus-c, audio version by @swyx. Tweet us your recordings!

Looking for support?

For questions and support please join our Slack Community (you can sign up here for an invite), ask a question on Stack Overflow, or ping us on Twitter.

Where are the docs?

Check out our website: babeljs.io, and report issues/features at babel/website.

Want to report a bug or request a feature?

Please read through our CONTRIBUTING.md and fill out the issue template at babel/issues!

Want to contribute to Babel?

Check out:

Some resources:

How is the repo structured?

The Babel repo is managed as a monorepo that is composed of many npm packages.

License

MIT