New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-catch-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-catch-polyfill - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/index.js

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

Program: function Program(path, file) {
var exp = t.variableDeclaration('var', [t.variableDeclarator(t.identifier('regeneratorRuntime'), t.callExpression(t.identifier('require'), [t.stringLiteral('babel-catch-regenerator-runtime')]))]);
var exp = t.variableDeclaration('var', [t.variableDeclarator(t.identifier('regeneratorRuntime'), t.callExpression(t.identifier('require'), [t.stringLiteral('cloud/lib/regenerator-runtime')]))]);
path.unshiftContainer('body', exp);

@@ -16,0 +16,0 @@

{
"name": "babel-plugin-transform-catch-polyfill",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -10,3 +10,3 @@ export default function ({ types: t }) {

t.identifier('require'),
[t.stringLiteral('babel-catch-regenerator-runtime')]
[t.stringLiteral('cloud/lib/regenerator-runtime')]
)

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