Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-optional-catch-binding

Package Overview
Dependencies
3
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.4-esm.3 to 7.21.4-esm.4

lib/package.json

15

lib/index.js

@@ -1,14 +0,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxOptionalCatchBinding = require("@babel/plugin-syntax-optional-catch-binding");
var _default = (0, _helperPluginUtils.declare)(api => {
import { declare } from "@babel/helper-plugin-utils";
import syntaxOptionalCatchBinding from "@babel/plugin-syntax-optional-catch-binding";
export default declare(api => {
api.assertVersion(7);
return {
name: "proposal-optional-catch-binding",
inherits: _pluginSyntaxOptionalCatchBinding.default,
inherits: syntaxOptionalCatchBinding.default,
visitor: {

@@ -25,4 +19,3 @@ CatchClause(path) {

});
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-optional-catch-binding",
"version": "7.21.4-esm.3",
"version": "7.21.4-esm.4",
"description": "Compile optional catch bindings",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "7.21.4-esm.3",
"@babel/helper-plugin-utils": "7.21.4-esm.4",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3"

@@ -28,4 +28,4 @@ },

"devDependencies": {
"@babel/core": "7.21.4-esm.3",
"@babel/helper-plugin-test-runner": "7.21.4-esm.3"
"@babel/core": "7.21.4-esm.4",
"@babel/helper-plugin-test-runner": "7.21.4-esm.4"
},

@@ -32,0 +32,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc