Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-classes

Package Overview
Dependencies
58
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.17.12 to 7.18.4

6

lib/index.js

@@ -37,3 +37,3 @@ "use strict";

const noClassCalls = (_api$assumption4 = api.assumption("noClassCalls")) != null ? _api$assumption4 : loose;
const VISITED = Symbol();
const VISITED = new WeakSet();
return {

@@ -59,3 +59,3 @@ name: "transform-classes",

} = path;
if (node[VISITED]) return;
if (VISITED.has(node)) return;
const inferred = (0, _helperFunctionName.default)(path);

@@ -68,3 +68,3 @@

node[VISITED] = true;
VISITED.add(node);
path.replaceWith((0, _transformClass.default)(path, state.file, builtinClasses, loose, {

@@ -71,0 +71,0 @@ setClassMethods,

{
"name": "@babel/plugin-transform-classes",
"version": "7.17.12",
"version": "7.18.4",
"description": "Compile ES2015 classes to ES5",

@@ -18,7 +18,7 @@ "repository": {

"@babel/helper-annotate-as-pure": "^7.16.7",
"@babel/helper-environment-visitor": "^7.16.7",
"@babel/helper-environment-visitor": "^7.18.2",
"@babel/helper-function-name": "^7.17.9",
"@babel/helper-optimise-call-expression": "^7.16.7",
"@babel/helper-plugin-utils": "^7.17.12",
"@babel/helper-replace-supers": "^7.16.7",
"@babel/helper-replace-supers": "^7.18.2",
"@babel/helper-split-export-declaration": "^7.16.7",

@@ -34,5 +34,5 @@ "globals": "^11.1.0"

"devDependencies": {
"@babel/core": "^7.17.12",
"@babel/core": "^7.18.2",
"@babel/helper-plugin-test-runner": "^7.16.7",
"@babel/traverse": "^7.17.12"
"@babel/traverse": "^7.18.2"
},

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

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