node-babel7/packages
Xavier Guimard fb3ae96bd2 fix large numbers
Forwarded: not-needed
Last-Update: 2020-05-19

Gbp-Pq: Name fix-large-numbers.diff
2022-05-19 14:59:04 +08:00
..
babel-cli Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-code-frame Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-compat-data Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-core fix large numbers 2022-05-19 14:59:04 +08:00
babel-generator fix large numbers 2022-05-19 14:59:04 +08:00
babel-helper-annotate-as-pure Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-bindify-decorators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-builder-binary-assignment-operator-visitor Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-builder-react-jsx Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-call-delegate Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-compilation-targets Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-create-class-features-plugin Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-create-regexp-features-plugin Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-define-map Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-explode-assignable-expression Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-explode-class Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-fixtures Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-function-name Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-get-function-arity Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-hoist-variables Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-member-expression-to-functions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-module-imports Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-module-transforms Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-optimise-call-expression Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-plugin-test-runner Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-plugin-utils Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-remap-async-to-generator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-replace-supers Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-simple-access Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-skip-transparent-expression-wrappers Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-split-export-declaration Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-transform-fixture-test-runner Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-validator-identifier Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-validator-option Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helper-wrap-function Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-helpers Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-highlight Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-node Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-parser Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-external-helpers Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-async-generator-functions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-class-properties Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-class-static-block Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-decorators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-do-expressions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-dynamic-import Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-export-default-from Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-export-namespace-from Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-function-bind Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-function-sent Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-json-strings Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-logical-assignment-operators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-nullish-coalescing-operator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-numeric-separator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-object-rest-spread Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-optional-catch-binding Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-optional-chaining Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-partial-application Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-pipeline-operator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-private-methods Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-private-property-in-object Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-throw-expressions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-proposal-unicode-property-regex Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-class-properties Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-class-static-block Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-decimal Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-decorators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-do-expressions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-export-default-from Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-flow Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-function-bind Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-function-sent Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-import-assertions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-jsx Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-module-string-names Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-partial-application Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-pipeline-operator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-record-and-tuple Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-throw-expressions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-top-level-await Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-syntax-typescript Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-arrow-functions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-async-to-generator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-block-scoped-functions Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-block-scoping Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-classes Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-computed-properties Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-destructuring Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-dotall-regex Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-duplicate-keys Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-exponentiation-operator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-flow-comments Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-flow-strip-types Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-for-of Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-function-name Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-instanceof Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-jscript Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-literals Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-member-expression-literals Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-modules-amd Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-modules-commonjs Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-modules-systemjs Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-modules-umd Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-named-capturing-groups-regex Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-new-target Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-object-assign Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-object-set-prototype-of-to-assign Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-object-super Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-parameters Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-property-literals Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-property-mutators Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-proto-to-assign Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-constant-elements Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-display-name Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-inline-elements Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-jsx Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-jsx-compat Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-jsx-development Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-jsx-self Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-jsx-source Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-react-pure-annotations Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-regenerator Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-reserved-words Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-runtime Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-shorthand-properties Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-spread Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-sticky-regex Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-strict-mode Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-template-literals Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-typeof-symbol Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-typescript Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-unicode-escapes Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-plugin-transform-unicode-regex Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-env Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-flow Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-react Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-preset-typescript Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-register Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-runtime Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-runtime-corejs2 Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-runtime-corejs3 Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-standalone Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-template Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
babel-traverse fix large numbers 2022-05-19 14:59:04 +08:00
babel-types Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00
README.md Import Upstream version 7.12.12+~cs150.141.84 2022-05-19 14:58:36 +08:00

README.md

Woah, what's going on here?

A monorepo, muhahahahahaha. See the monorepo design doc for reasoning.

Core Packages

Package Version Dependencies
@babel/core npm Dependency Status
@babel/parser npm Dependency Status
@babel/traverse npm Dependency Status
@babel/generator npm Dependency Status

@babel/core is the Babel compiler itself; it exposes the babel.transform method, where transformedCode = transform(src).code.

The compiler can be broken down into 3 parts:

The flow goes like this:

input string -> @babel/parser parser -> AST -> transformer[s] -> AST -> @babel/generator -> output string

Check out the babel-handbook for more information on this.

Other

Package Version Dependencies
@babel/cli npm Dependency Status
@babel/types npm Dependency Status
@babel/runtime npm Dependency Status
@babel/register npm Dependency Status
@babel/template npm Dependency Status
@babel/helpers npm Dependency Status
@babel/code-frame npm Dependency Status
  • @babel/cli is the CLI tool that runs @babel/core and helps with outputting to a directory, a file, stdout and more (also includes @babel/node cli). Check out the docs.
  • @babel/types is used to validate, build and change AST nodes.
  • @babel/runtime is similar to the polyfill except that it doesn't modify the global scope and is to be used with @babel/plugin-transform-runtime (usually in library/plugin code). Check out the docs.
  • @babel/register is a way to automatically compile files with Babel on the fly by binding to Node.js require. Check out the docs.
  • @babel/template is a helper function that allows constructing AST nodes from a string presentation of the code; this eliminates the tedium of using @babel/types for building AST nodes.
  • @babel/helpers is a set of pre-made @babel/template functions that are used in some Babel plugins.
  • @babel/code-frame is a standalone package used to generate errors that print the source code and point to error locations.

Presets

After Babel 6, the default transforms were removed; if you don't specify any plugins/presets, Babel will just return the original source code.

The transformer[s] used in Babel are the independent pieces of code that transform specific things. For example: the es2015-arrow-functions transform specifically changes arrow functions into regular functions. A preset is simply an array of plugins that make it easier to run a whole a set of transforms without specifying each one manually.

Package Version Dependencies Description
@babel/preset-env npm Dependency Status automatically determines plugins and polyfills you need based on your supported environments

You can find community maintained presets on npm

Plugins

Plugins are the heart of Babel and what make it work.

You can find community plugins on npm.

Transform Plugins

There are many kinds of plugins: ones that convert ES6/ES2015 to ES5, transform to ES3, minification, JSX, flow, experimental features, and more. Check out our website for more.

Syntax Plugins

These just enable the transform plugins to be able to parse certain features (the transform plugins already include the syntax plugins so you don't need both): @babel/plugin-syntax-x. Check out our website for more.

Helpers

These are mostly for internal use in various plugins: @babel/helper-x.