Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-babel

Package Overview
Dependencies
Maintainers
8
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-babel - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

10

CHANGELOG.md
# rollup-plugin-babel changelog
## 3.0.3
* Drop babel7 support. Use 4.0.0-beta if you use babel 7
* Use "module" in addition to "jsnext:main" ([#150](https://github.com/rollup/rollup-plugin-babel/issues/150))
* Remove unused babel helpers namespace declaration & expression ([#164](https://github.com/rollup/rollup-plugin-babel/issues/164))
## 3.0.2
* Fix regression with Babel 6 ([#158](https://github.com/rollup/rollup-plugin-babel/issues/158))
## 3.0.1

@@ -4,0 +14,0 @@

2

dist/rollup-plugin-babel.cjs.js

@@ -124,2 +124,4 @@ 'use strict';

var helpers = babelCore.buildExternalHelpers( externalHelpersWhitelist, 'var' )
.replace(/^var babelHelpers = \{\};\n/gm, '')
.replace(/\nbabelHelpers;$/gm, '')
.replace( pattern, 'var _$1' )

@@ -126,0 +128,0 @@ .replace( /^babelHelpers\./gm, 'export var ' ) +

@@ -122,2 +122,4 @@ import { dirname, join } from 'path';

var helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' )
.replace(/^var babelHelpers = \{\};\n/gm, '')
.replace(/\nbabelHelpers;$/gm, '')
.replace( pattern, 'var _$1' )

@@ -124,0 +126,0 @@ .replace( /^babelHelpers\./gm, 'export var ' ) +

15

package.json
{
"name": "rollup-plugin-babel",
"version": "3.0.2",
"version": "3.0.3",
"description": "Seamless integration between Rollup and Babel.",
"main": "dist/rollup-plugin-babel.cjs.js",
"module": "dist/rollup-plugin-babel.es.js",
"jsnext:main": "dist/rollup-plugin-babel.es.js",

@@ -37,10 +38,10 @@ "files": [

"peerDependencies": {
"babel-core": "6 || 7 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0-rc"
"babel-core": "6"
},
"devDependencies": {
"babel-core": "7.0.0-alpha.17",
"babel-plugin-external-helpers": "7.0.0-alpha.17",
"babel-plugin-transform-decorators": "7.0.0-alpha.17",
"babel-plugin-transform-runtime": "7.0.0-alpha.17",
"babel-preset-es2015": "7.0.0-alpha.17",
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "6.24.1",
"buble": "^0.14.2",

@@ -47,0 +48,0 @@ "eslint": "^3.12.0",

@@ -51,2 +51,4 @@ import { dirname } from 'path';

const helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' )
.replace(/^var babelHelpers = \{\};\n/gm, '')
.replace(/\nbabelHelpers;$/gm, '')
.replace( pattern, 'var _$1' )

@@ -53,0 +55,0 @@ .replace( /^babelHelpers\./gm, 'export var ' ) +

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