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.5 to 3.0.6

4

dist/rollup-plugin-babel.cjs.js

@@ -132,3 +132,5 @@ '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;

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

@@ -130,3 +130,5 @@ 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;

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

{
"name": "rollup-plugin-babel",
"version": "3.0.5",
"version": "3.0.6",
"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';

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

@@ -58,3 +58,5 @@ .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;

@@ -61,0 +63,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