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

rollup-plugin-babel

Package Overview
Dependencies
Maintainers
10
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.6 to 3.0.7

4

dist/rollup-plugin-babel.cjs.js

@@ -132,5 +132,3 @@ 'use strict';

"\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }";
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options.
helpers = babelCore.transform( helpers, options ).code;
return helpers;

@@ -137,0 +135,0 @@ }

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

"\n\nexport { " + (keywordHelpers.map( function (word) { return ("_" + word + " as " + word); }).join( ', ')) + " }";
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options.
helpers = transform( helpers, options ).code;
return helpers;

@@ -135,0 +133,0 @@ }

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

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

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

let helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' )
const helpers = buildExternalHelpers( externalHelpersWhitelist, 'var' )
.replace(/^var babelHelpers = \{\};\n/gm, '')

@@ -58,5 +58,3 @@ .replace(/\nbabelHelpers;$/gm, '')

`\n\nexport { ${keywordHelpers.map( word => `_${word} as ${word}`).join( ', ')} }`;
// Apply babel transforming on helpers, in case ES5/ES3 transform plugins are set in options.
helpers = transform( helpers, options ).code;
return helpers;

@@ -63,0 +61,0 @@ }

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