New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-node5

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-node5 - npm Package Compare versions

Comparing version 10.4.1 to 10.5.0

4

index.js

@@ -11,7 +11,7 @@ /* global module */

require('babel-plugin-transform-es2015-unicode-regex'),
require('babel-plugin-transform-regenerator'),
require('babel-plugin-transform-strict-mode'),
require('babel-plugin-transform-flow-strip-types'),
require('babel-plugin-transform-object-rest-spread')
require('babel-plugin-transform-object-rest-spread'),
require('babel-plugin-transform-async-to-generator')
]
};
{
"name": "babel-preset-node5",
"version": "10.4.1",
"version": "10.5.0",
"description": "Babel preset for Node 5.x (ES6 / ES2015)",

@@ -23,2 +23,3 @@ "repository": "git://github.com/leebenson/babel-preset-node5.git",

"babel-plugin-syntax-object-rest-spread": "^6.3.13",
"babel-plugin-transform-async-to-generator": "^6.4.6",
"babel-plugin-transform-es2015-destructuring": "^6.4.0",

@@ -31,3 +32,2 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.4.5",

"babel-plugin-transform-object-rest-spread": "^6.3.13",
"babel-plugin-transform-regenerator": "^6.4.4",
"babel-plugin-transform-strict-mode": "^6.3.13",

@@ -34,0 +34,0 @@ "babel-polyfill": "^6.3.14"

@@ -24,3 +24,3 @@ # Babel 6.x presets for Node 5.x (updated regularly!)

* Unicode RegEx (via [babel-plugin-transform-es2015-unicode-regex](https://www.npmjs.com/package/babel-plugin-transform-es2015-unicode-regex))
* Async/await (via [babel-plugin-transform-regenerator](https://www.npmjs.com/package/babel-plugin-transform-regenerator) and [babel-plugin-syntax-async-functions](https://www.npmjs.com/package/babel-plugin-syntax-async-functions))
* Async/await (via [babel-plugin-transform-async-to-generator](https://www.npmjs.com/package/babel-plugin-transform-async-to-generator) and [babel-plugin-syntax-async-functions](https://www.npmjs.com/package/babel-plugin-syntax-async-functions))

@@ -114,12 +114,2 @@ **Note: This package originally shipped with the React preset, but to avoid bloat, doesn't any longer. If you want to add that, please install [babel-preset-react](https://www.npmjs.com/package/babel-preset-react) too**

If you get an error like:
`ReferenceError: regeneratorRuntime is not defined`
... then `npm i -S babel-polyfill` into your project and add its bootstrapper to the top of your main script:
`require('babel-polyfill');`
This should add the missing `regeneratorRuntime`.
## No longer tracking Babel 6 versions

@@ -126,0 +116,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc