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 8.0.0-alpha.6 to 8.0.0-alpha.7

5

lib/index.js

@@ -22,3 +22,3 @@ const apiPolyfills = {

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

@@ -29,5 +29,2 @@ }

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

@@ -34,0 +31,0 @@ if (typeof range === "number") {

2

package.json
{
"name": "@babel/helper-plugin-utils",
"version": "8.0.0-alpha.6",
"version": "8.0.0-alpha.7",
"description": "General utilities for plugins to use",

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

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