Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-classes

Package Overview
Dependencies
8
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.18.6 to 7.18.8

6

lib/transformClass.js

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

const bareSupers = new Set();
const bareSupers = [];
path.traverse(_core.traverse.visitors.merge([_helperEnvironmentVisitor.default, {

@@ -293,3 +293,3 @@ Super(path) {

})) {
bareSupers.add(parentPath);
bareSupers.unshift(parentPath);
}

@@ -299,3 +299,3 @@ }

}]));
let guaranteedSuperBeforeFinish = !!bareSupers.size;
let guaranteedSuperBeforeFinish = !!bareSupers.length;

@@ -302,0 +302,0 @@ for (const bareSuper of bareSupers) {

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

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

"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/traverse": "^7.18.6"
"@babel/traverse": "^7.18.8"
},

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc