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.0.0 to 2.0.1

.travis.yml

6

CHANGELOG.md
# rollup-plugin-babel changelog
## 2.0.1
* Use object-assign ponyfill
* Add travis support
* Fix test
## 2.0.0

@@ -4,0 +10,0 @@

9

index.js
var path = require( 'path' );
var babel = require( 'babel-core' );
var createFilter = require( 'rollup-pluginutils' ).createFilter;
var assign = require( 'object-assign' );
var assign = Object.assign || function ( target, source ) {
Object.keys( source ).forEach( function ( key ) {
target[ key ] = source[ key ];
});
return target;
};
module.exports = function ( options ) {

@@ -14,0 +7,0 @@ options = assign( {}, options || {} );

{
"name": "rollup-plugin-babel",
"version": "2.0.0",
"devDependencies": {
"eslint": "^1.7.2",
"mocha": "^2.3.3",
"rollup": "^0.20.0"
},
"version": "2.0.1",
"description": "Seamless integration between Rollup and Babel.",
"keywords": [
"rollup-plugin",
"babel",
"es2015",
"es6"
],
"homepage": "https://github.com/rollup/rollup-plugin-babel",
"author": "Rich Harris",
"contributors": [
"Bogdan Chadkin <trysound@yandex.ru>"
],
"scripts": {

@@ -15,4 +22,18 @@ "test": "mocha",

"babel-core": "6",
"object-assign": "^4.0.1",
"rollup-pluginutils": "^1.1.0"
},
"devDependencies": {
"babel-preset-es2015-rollup": "^1.0.0",
"eslint": "^1.7.2",
"mocha": "^2.3.3",
"rollup": "^0.20.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rollup/rollup-plugin-babel.git"
},
"bugs": {
"url": "https://github.com/rollup/rollup-plugin-babel/issues"
}
}

@@ -16,7 +16,4 @@ var assert = require( 'assert' );

}).then( function ( bundle ) {
console.log( 'bundled in %s ms', Date.now() - start );
start = Date.now();
const generated = bundle.generate();
console.log( 'generated in %s ms', Date.now() - start );

@@ -23,0 +20,0 @@ const code = generated.code;

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