7.18.0 • Published 3 months ago

@babel/core v7.18.0

Weekly downloads
26,583,851
License
MIT
Repository
github
Last release
3 months ago

babel-bridge

This repo holds what we're calling a "bridge" package that is meant to ease the transition for libraries that use "@babel/core" as a peer dependency for Babel 7, but still want to allow users to opt into Babel 6.

The issue with Babel 7's transition to scopes is that if a package depends on Babel 6, they may want to add support for Babel 7 alongside. Because Babel 7 will be released as @babel/core instead of babel-core, maintainers have no way to do that transition without making a breaking change. e.g.

peerDependencies: {
  "babel-core": "6.x"
}

cannot change to

peerDependencies: {
  "@babel/core": "6.x"
}

without it being a breaking change.

Solution

To address this, we're releasing this bridge package, to allow users to do

peerDependencies: {
  "@babel/core": "6 | ^7.0.0-0"
}

then where users of this package would originally have done

npm i some-package @babel/core

to install Babel 7, they could now do

npm i some-package @babel/core@^6.0.0-0 babel-core

to install the bridge package, and install Babel 6's core to be loaded via a peed dependency.

istanbul-lib-instrumentjest-snapshotjest-config@jest/transformeslint-config-react-appworkbox-build@svgr/plugin-jsx@svgr/webpackreact-docgenstyled-componentsreact-scriptsbabel-preset-react-appmetro-react-native-babel-presetjscodeshift@angular-devkit/build-angular@angular/compiler-cli@stylelint/postcss-css-in-jsverdaccio-okta-authtablyxwacker@saasxx/vue@soloyal/nuxtron@g7fe/g7-scripts@rschristian/foobarfelix-sum-reactsmart-input-demo@vdjurdjevic/generator-react-app@vdjurdjevic/generator-react-libadmin-bro-for-nextbyteplayerbabel-plugin-transform-mjs-imports@freekits/rmake@fract/babel-plugin-transform-jsxjarvis-basekstick-react-scriptsplugin-ts-type-parser@jomobo/config-babellpbtnora-setupuniverse-test@pitlet/transform-preact@mohitsingh/staticstake-trunk-staginglab3akibardinlab3kibardinzfzn-ui@asep.setiawan/react-kitnodejs-jwt-authorization@howard86/next-mdx-remotex-cli-lintx-cli-nodex-cli-run@cyber-tools/lib-cli@jerryhorak/docusaurus-corelistner-resize-pagewatsize-test-react-scriptsnode-lib-dependenciesideamake-buried-point@psimk/react-scriptswei-demo-clireact-locked-input@admin-bro/core@dimabytes/storybookgrav-plugin-webpackerjeminidefi-finder-calculatoramerican-golf-kioskglobal-martcomatch-mvp-debuggingnkes6-libmobilelivedesignsystemreactspa-build-coretrs-vue-cli@darapti/darapti-react-scripts@qmp/compilersv-uiswitch_mostqroda-sdkqroda-sdk-v1react-cdvreact-cviewmetaliquid-react-scriptsrockywu-uiyhongm_rv.jsxdf-nttymko-fork-shameblowpack@nuuji/js.config@qubaish/react-switcher-component@calme1709/webpack-react@wingsuit-designsystem/ds@tomas2d/react-scriptsshared-react-scaffoldingreact-antd-scripts-newreact-shared-textmpaas-mtracker-base-test-1mpaas-mtracker-test-1muil-tempjbojcic-react-scriptsplayground-widget-pro
7.18.0

3 months ago

7.17.12

3 months ago

7.17.10

3 months ago

7.17.7

5 months ago

7.17.8

5 months ago

7.17.9

4 months ago

7.16.12

7 months ago

7.16.10

7 months ago

7.17.0

6 months ago

7.17.5

6 months ago

7.17.3

6 months ago

7.17.4

6 months ago

7.17.2

6 months ago

7.16.7

7 months ago

7.16.5

8 months ago

7.16.0

9 months ago

7.15.8

10 months ago

7.15.5

11 months ago

7.15.4

11 months ago

7.15.0

1 year ago

7.14.8

1 year ago

7.14.6

1 year ago

7.14.5

1 year ago

7.14.2

1 year ago

7.14.3

1 year ago

7.14.0

1 year ago

7.13.16

1 year ago

7.13.15

1 year ago

7.13.14

1 year ago

7.13.13

1 year ago

7.13.10

1 year ago

7.13.8

1 year ago

7.13.1

1 year ago

7.13.0

1 year ago

7.12.17

1 year ago

7.12.16

1 year ago

7.12.13

2 years ago

7.12.10

2 years ago

7.12.9

2 years ago

7.12.8

2 years ago

7.12.7

2 years ago

7.12.3

2 years ago

7.12.1

2 years ago

7.12.0

2 years ago

7.11.6

2 years ago

7.11.5

2 years ago

7.11.4

2 years ago

7.11.1

2 years ago

7.11.0

2 years ago

7.10.5

2 years ago

7.10.4

2 years ago

7.10.3

2 years ago

7.10.2

2 years ago

7.10.1

2 years ago

7.10.0

2 years ago

7.9.6

2 years ago

7.9.0

2 years ago

7.8.7

2 years ago

7.8.6

2 years ago

7.8.4

3 years ago

7.8.3

3 years ago

7.8.0

3 years ago

7.7.7

3 years ago

7.7.5

3 years ago

7.7.4

3 years ago

7.7.2

3 years ago

7.7.0

3 years ago

7.6.4

3 years ago

7.6.3

3 years ago

7.6.2

3 years ago

7.6.0

3 years ago

7.5.5

3 years ago

7.5.4

3 years ago

7.5.0

3 years ago

7.4.5

3 years ago

7.4.4

3 years ago

7.4.3

3 years ago

7.4.0

3 years ago

7.3.4

3 years ago

7.3.3

3 years ago

7.2.2

4 years ago

7.2.0

4 years ago

7.1.6

4 years ago

7.1.5

4 years ago

7.1.2

4 years ago

7.1.1

4 years ago

7.1.0

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

7.0.0-rc.4

4 years ago

6.0.0-bridge.1

4 years ago

6.0.0-bridge.0

4 years ago

7.0.0-rc.3

4 years ago

7.0.0-rc.2

4 years ago

7.0.0-rc.1

4 years ago

7.0.0-rc.0

4 years ago

7.0.0-beta.56

4 years ago

7.0.0-beta.55

4 years ago

7.0.0-beta.54

4 years ago

7.0.0-beta.53

4 years ago

7.0.0-beta.52

4 years ago

7.0.0-beta.51

4 years ago

7.0.0-beta.50

4 years ago

7.0.0-beta.49

4 years ago

7.0.0-beta.48

4 years ago

7.0.0-beta.47

4 years ago

7.0.0-beta.46

4 years ago

7.0.0-beta.45

4 years ago

7.0.0-beta.44

4 years ago

7.0.0-beta.43

4 years ago

7.0.0-beta.42

4 years ago

7.0.0-beta.41

4 years ago

7.0.0-beta.40

4 years ago

7.0.0-beta.39

5 years ago

7.0.0-beta.38

5 years ago

7.0.0-beta.37

5 years ago

7.0.0-beta.36

5 years ago

7.0.0-beta.35

5 years ago

7.0.0-beta.34

5 years ago

7.0.0-beta.33

5 years ago

7.0.0-beta.32

5 years ago

7.0.0-beta.31

5 years ago

7.0.0-beta.5

5 years ago

7.0.0-beta.4

5 years ago