Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-classes

Package Overview
Dependencies
58
Maintainers
4
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.22.6 to 7.22.15

2

lib/index.js

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

var _globals = require("globals");
var _transformClass = require("./transformClass");
var _transformClass = require("./transformClass.js");
const getBuiltinClasses = category => Object.keys(_globals[category]).filter(name => /^[A-Z]/.test(name));

@@ -17,0 +17,0 @@ const builtinClasses = new Set([...getBuiltinClasses("builtin"), ...getBuiltinClasses("browser")]);

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

var _helperAnnotateAsPure = require("@babel/helper-annotate-as-pure");
var _inlineCreateSuperHelpers = require("./inline-createSuper-helpers");
var _inlineCreateSuperHelpers = require("./inline-createSuper-helpers.js");
function buildConstructor(classRef, constructorBody, node) {

@@ -16,0 +16,0 @@ const func = _core.types.functionDeclaration(_core.types.cloneNode(classRef), [], constructorBody);

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

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

"@babel/helper-annotate-as-pure": "^7.22.5",
"@babel/helper-compilation-targets": "^7.22.6",
"@babel/helper-compilation-targets": "^7.22.15",
"@babel/helper-environment-visitor": "^7.22.5",

@@ -24,3 +24,3 @@ "@babel/helper-function-name": "^7.22.5",

"@babel/helper-plugin-utils": "^7.22.5",
"@babel/helper-replace-supers": "^7.22.5",
"@babel/helper-replace-supers": "^7.22.9",
"@babel/helper-split-export-declaration": "^7.22.6",

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

"devDependencies": {
"@babel/core": "^7.22.6",
"@babel/core": "^7.22.15",
"@babel/helper-plugin-test-runner": "^7.22.5",
"@babel/traverse": "^7.22.6"
"@babel/traverse": "^7.22.15"
},

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

Sorry, the diff of this file is not supported yet

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