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

rollup-plugin-babel

Package Overview
Dependencies
Maintainers
1
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.3.2 to 2.3.3

8

CHANGELOG.md
# rollup-plugin-babel changelog
## 2.3.3
* Fix helper renaming ([#22](https://github.com/rollup/rollup-plugin-babel/issues/22))
## 2.3.1-2
* Include correct files in npm package
## 2.3.0

@@ -4,0 +12,0 @@

4

dist/rollup-plugin-babel.cjs.js

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

if (~check.indexOf('function _classCallCheck')) return INLINE;
if (~check.indexOf('babelHelpers.classCallCheck')) return BUNDLED;
if (~check.indexOf('babelHelpers')) return BUNDLED;

@@ -90,3 +90,3 @@ throw new Error('An unexpected situation arose. Please raise an issue at https://github.com/rollup/rollup-plugin-babel/issues. Thanks!');

return babelCore.buildExternalHelpers(helpers, 'var').replace(/var babelHelpers.+\n/, '').replace(/babelHelpers\.(.+) = function/g, 'function babelHelpers_$1').replace(/babelHelpers\.(.+) = /g, 'var babelHelpers_$1 = ').replace('babelHelpers;', '') // not sure where this comes from...
return babelCore.buildExternalHelpers(helpers, 'var').replace(/var babelHelpers.+\n/, '').replace(/babelHelpers\.(.+) = function(?: \w+)?/g, 'function babelHelpers_$1').replace(/babelHelpers\.(.+) = /g, 'var babelHelpers_$1 = ').replace('babelHelpers;', '') // not sure where this comes from...
.trim() + '\n';

@@ -93,0 +93,0 @@ }

@@ -15,3 +15,3 @@ import { transform, buildExternalHelpers } from 'babel-core';

if (~check.indexOf('function _classCallCheck')) return INLINE;
if (~check.indexOf('babelHelpers.classCallCheck')) return BUNDLED;
if (~check.indexOf('babelHelpers')) return BUNDLED;

@@ -88,3 +88,3 @@ throw new Error('An unexpected situation arose. Please raise an issue at https://github.com/rollup/rollup-plugin-babel/issues. Thanks!');

return buildExternalHelpers(helpers, 'var').replace(/var babelHelpers.+\n/, '').replace(/babelHelpers\.(.+) = function/g, 'function babelHelpers_$1').replace(/babelHelpers\.(.+) = /g, 'var babelHelpers_$1 = ').replace('babelHelpers;', '') // not sure where this comes from...
return buildExternalHelpers(helpers, 'var').replace(/var babelHelpers.+\n/, '').replace(/babelHelpers\.(.+) = function(?: \w+)?/g, 'function babelHelpers_$1').replace(/babelHelpers\.(.+) = /g, 'var babelHelpers_$1 = ').replace('babelHelpers;', '') // not sure where this comes from...
.trim() + '\n';

@@ -91,0 +91,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-babel.cjs.js",

@@ -15,3 +15,3 @@ import { buildExternalHelpers, transform } from 'babel-core';

if ( ~check.indexOf( 'function _classCallCheck' ) ) return INLINE;
if ( ~check.indexOf( 'babelHelpers.classCallCheck' ) ) return BUNDLED;
if ( ~check.indexOf( 'babelHelpers' ) ) return BUNDLED;

@@ -90,3 +90,3 @@ throw new Error( 'An unexpected situation arose. Please raise an issue at https://github.com/rollup/rollup-plugin-babel/issues. Thanks!' );

.replace( /var babelHelpers.+\n/, '' )
.replace( /babelHelpers\.(.+) = function/g, 'function babelHelpers_$1' )
.replace( /babelHelpers\.(.+) = function(?: \w+)?/g, 'function babelHelpers_$1' )
.replace( /babelHelpers\.(.+) = /g, 'var babelHelpers_$1 = ' )

@@ -93,0 +93,0 @@ .replace( 'babelHelpers;', '' ) // not sure where this comes from...

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