Socket
Socket
Sign inDemoInstall

@babel/helper-plugin-utils

Package Overview
Dependencies
0
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.22.5 to 7.24.0

8

lib/index.js

@@ -36,4 +36,3 @@ "use strict";

}
const declarePreset = declare;
exports.declarePreset = declarePreset;
const declarePreset = exports.declarePreset = declare;
function copyApiObject(api) {

@@ -43,3 +42,3 @@ let proto = null;

proto = Object.getPrototypeOf(api);
if (proto && (!has(proto, "version") || !has(proto, "transform") || !has(proto, "template") || !has(proto, "types"))) {
if (proto && (!hasOwnProperty.call(proto, "version") || !hasOwnProperty.call(proto, "transform") || !hasOwnProperty.call(proto, "template") || !hasOwnProperty.call(proto, "types"))) {
proto = null;

@@ -50,5 +49,2 @@ }

}
function has(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}
function throwVersionError(range, version) {

@@ -55,0 +51,0 @@ if (typeof range === "number") {

{
"name": "@babel/helper-plugin-utils",
"version": "7.22.5",
"version": "7.24.0",
"description": "General utilities for plugins to use",

@@ -5,0 +5,0 @@ "author": "The Babel Team (https://babel.dev/team)",

@@ -5,3 +5,3 @@ # @babel/helper-plugin-utils

See our website [@babel/helper-plugin-utils](https://babeljs.io/docs/en/babel-helper-plugin-utils) for more information.
See our website [@babel/helper-plugin-utils](https://babeljs.io/docs/babel-helper-plugin-utils) for more information.

@@ -8,0 +8,0 @@ ## Install

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