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

rollup-plugin-babel

Package Overview
Dependencies
Maintainers
30
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.0 to 3.0.1

6

CHANGELOG.md
# rollup-plugin-babel changelog
## 3.0.0
* Drop Node 0.10/0.12 (Use native `Object.assign`)
* Change `babel-core` to be a peerDependency
* Support `babel-core` v7 as well as a peerDep (no changes necessary)
## 2.7.1

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

4

dist/rollup-plugin-babel.cjs.js

@@ -16,4 +16,4 @@ 'use strict';

visitor: {
Program: function Program (path$$1, state) {
state.file.addHelper('classCallCheck');
ClassDeclaration: function ClassDeclaration (path$$1, state) {
path$$1.replaceWith(state.file.addHelper('classCallCheck'));
}

@@ -20,0 +20,0 @@ }

@@ -14,4 +14,4 @@ import { dirname, join } from 'path';

visitor: {
Program: function Program (path$$1, state) {
state.file.addHelper('classCallCheck');
ClassDeclaration: function ClassDeclaration (path$$1, state) {
path$$1.replaceWith(state.file.addHelper('classCallCheck'));
}

@@ -18,0 +18,0 @@ }

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

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

export default function importHelperPlugin () {
return {
visitor: {
Program (path, state) {
state.file.addHelper('classCallCheck');
ClassDeclaration (path, state) {
path.replaceWith(state.file.addHelper('classCallCheck'));
}

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