Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-transform-classes

Package Overview
Dependencies
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-classes - npm Package Compare versions

Comparing version 7.18.8 to 7.18.9

8

lib/index.js

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

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

@@ -75,5 +75,5 @@ constantSuper,

if (path.isCallExpression()) {
(0, _helperAnnotateAsPure.default)(path);
const callee = path.get("callee");
if (replacedPath.isCallExpression()) {
(0, _helperAnnotateAsPure.default)(replacedPath);
const callee = replacedPath.get("callee");

@@ -80,0 +80,0 @@ if (callee.isArrowFunctionExpression()) {

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

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

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

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

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc