{"id":14981817,"url":"https://github.com/babel/babel-bridge","last_synced_at":"2025-10-19T11:31:11.496Z","repository":{"id":65983462,"uuid":"110206035","full_name":"babel/babel-bridge","owner":"babel","description":"A placeholder package that bridges babel-core to @babel/core.","archived":false,"fork":false,"pushed_at":"2018-08-25T22:55:16.000Z","size":4,"stargazers_count":94,"open_issues_count":1,"forks_count":12,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-29T10:06:17.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["babel"],"open_collective":"babel","custom":"https://gitcoin.co/grants/2906/babel-compiler-for-next-generation-javascript"}},"created_at":"2017-11-10T05:19:14.000Z","updated_at":"2024-06-13T17:18:19.000Z","dependencies_parsed_at":"2023-02-19T18:45:17.197Z","dependency_job_id":null,"html_url":"https://github.com/babel/babel-bridge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babel","download_url":"https://codeload.github.com/babel/babel-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237116896,"owners_count":19258327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T14:04:18.470Z","updated_at":"2025-10-19T11:31:06.185Z","avatar_url":"https://github.com/babel.png","language":"JavaScript","funding_links":["https://github.com/sponsors/babel","https://opencollective.com/babel","https://gitcoin.co/grants/2906/babel-compiler-for-next-generation-javascript"],"categories":[],"sub_categories":[],"readme":"## babel-bridge\n\nThis repo holds what we're calling a \"bridge\" package that is meant to ease the\ntransition for libraries that use \"babel-core\" as a peer dependency for Babel 6.\n\nThe issue with Babel 7's transition to scopes is that if a package depends on\nBabel 6, they may want to add support for Babel 7 alongside. Because Babel 7\nwill be released as `@babel/core` instead of `babel-core`, maintainers have\nno way to do that transition without making a breaking change. e.g.\n\n```js\npeerDependencies: {\n  \"babel-core\": \"6.x\"\n}\n```\ncannot change to\n\n```js\npeerDependencies: {\n  \"@babel/core\": \"6.x\"\n}\n```\n\nwithout it being a breaking change.\n\n### Solution\n\nTo address this, we're releasing this bridge package, to allow users to do\n\n\n```js\npeerDependencies: {\n  \"babel-core\": \"6.x || ^7.0.0-bridge.0\"\n}\n```\n\nthen where users of this package would originally have done\n\n```sh\nnpm i some-package babel-core\n```\n\nto install Babel 6, they could now do\n\n\n```sh\nnpm i some-package babel-core@^7.0.0-bridge.0 @babel/core\n```\n\nto install the bridge package, and install Babel 7's core.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel%2Fbabel-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabel%2Fbabel-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel%2Fbabel-bridge/lists"}