Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Feb 24, 2024 via pnpm

babel-runtime 6.26.0

babel selfContained runtime
Package summary
Share
2
issues
2
high severity
meta
2
1
license
3
MIT
Package created
15 Feb 2015
Version published
16 Aug 2017
Maintainers
3
Total deps
3
Direct deps
2
License
MIT

Issues

2

2 high severity issues

high
via: core-js@2.6.12
via: core-js@2.6.12
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
babel-runtime@6.26.0
core-js@2.6.12
regenerator-runtime@0.11.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of babel-runtime 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
core-js2.6.12548.99 kBMIT
prod
2
regenerator-runtime0.11.17.64 kBMIT
prod

Visualizations

Frequently Asked Questions

What does babel-runtime do?

babel-runtime is a tool that helps to ensure the code written with newer language syntax can be executed in older environments, addressing runtime problems. This npm package works in conjunction with Babel, a JavaScript compiler, and provides a sandboxed environment for your code. It was designed to solve the problem of polluting the global scope when using Babel for transformations. The package includes built-ins and other features that aren't included in the main Babel packages and prevents the same helper code from appearing in multiple places in your output code.

How do you use babel-runtime?

To use babel-runtime, you'll first have to install it via npm, in your project directory using the command:

npm install --save babel-runtime

And install the Babel plugin with the command:

npm install --save-dev @babel/plugin-transform-runtime

After installation, you can enable this in your Babel configurations. In your .babelrc file, add "@babel/plugin-transform-runtime" to your plugins. For example:

{
  "plugins": [
    "@babel/plugin-transform-runtime"
  ]
}

Now, you can run your project normally. All your code will automatically refer to babel-runtime whenever Babel would generally use its helpers.

Where are the babel-runtime docs?

The babel-runtime docs can be found within the Babel documentation on its official GitHub page. You can view all related information, including installation guides, usage examples, and the API reference on the Babel GitHub page under the babel-runtime directory here: Babel Runtime Docs.