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

rollup-plugin-babel

Package Overview
Dependencies
Maintainers
4
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 2.5.1 to 2.6.0

4

CHANGELOG.md
# rollup-plugin-babel changelog
## 2.6.0
* Use `\0` convention for helper module ID ([#64](https://github.com/rollup/rollup-plugin-babel/issues/64))
## 2.5.1

@@ -4,0 +8,0 @@

4

dist/rollup-plugin-babel.cjs.js

@@ -28,3 +28,3 @@ 'use strict';

var HELPERS = '__babelHelpers__';
var HELPERS = '\0babelHelpers';

@@ -91,3 +91,3 @@ var preflightCheckResults = {};

var helpers = babelCore.buildExternalHelpers( null, 'var' )
.replace( pattern, 'export var _$1' )
.replace( pattern, 'var _$1' )
.replace( /^babelHelpers\./gm, 'export var ' ) +

@@ -94,0 +94,0 @@ "\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }";

@@ -24,3 +24,3 @@ import { dirname, join } from 'path';

var HELPERS = '__babelHelpers__';
var HELPERS = '\0babelHelpers';

@@ -87,3 +87,3 @@ var preflightCheckResults = {};

var helpers = buildExternalHelpers( null, 'var' )
.replace( pattern, 'export var _$1' )
.replace( pattern, 'var _$1' )
.replace( /^babelHelpers\./gm, 'export var ' ) +

@@ -90,0 +90,0 @@ "\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }";

{
"name": "rollup-plugin-babel",
"version": "2.5.1",
"version": "2.6.0",
"description": "Seamless integration between Rollup and Babel.",

@@ -35,3 +35,3 @@ "main": "dist/rollup-plugin-babel.cjs.js",

"object-assign": "^4.1.0",
"rollup-pluginutils": "^1.3.1"
"rollup-pluginutils": "^1.5.0"
},

@@ -46,3 +46,3 @@ "devDependencies": {

"mocha": "^2.5.3",
"rollup": "^0.27.0",
"rollup": "^0.29.0",
"rollup-plugin-buble": "^0.10.0",

@@ -49,0 +49,0 @@ "source-map": "^0.5.6"

@@ -5,2 +5,2 @@ export const INLINE = {};

export const HELPERS = '__babelHelpers__';
export const HELPERS = '\0babelHelpers';

@@ -39,3 +39,3 @@ import { dirname } from 'path';

const helpers = buildExternalHelpers( null, 'var' )
.replace( pattern, 'export var _$1' )
.replace( pattern, 'var _$1' )
.replace( /^babelHelpers\./gm, 'export var ' ) +

@@ -42,0 +42,0 @@ `\n\nexport { ${keywordHelpers.map( word => `_${word} as ${word}`).join( ', ')} }`;

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