Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@babel/plugin-transform-class-properties

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-class-properties - npm Package Compare versions

Comparing version
7.27.1
to
7.28.6
+2
-4
lib/index.js

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

var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
api.assertVersion(7);
api.assertVersion("^7.0.0-0 || ^8.0.0-0");
return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({

@@ -18,5 +18,3 @@ name: "transform-class-properties",

manipulateOptions(opts, parserOpts) {
{
parserOpts.plugins.push("classProperties", "classPrivateProperties");
}
parserOpts.plugins.push("classProperties", "classPrivateProperties");
}

@@ -23,0 +21,0 @@ });

{
"name": "@babel/plugin-transform-class-properties",
"version": "7.27.1",
"version": "7.28.6",
"description": "This plugin transforms static class properties as well as properties declared with the property initializer syntax",

@@ -20,4 +20,4 @@ "repository": {

"dependencies": {
"@babel/helper-create-class-features-plugin": "^7.27.1",
"@babel/helper-plugin-utils": "^7.27.1"
"@babel/helper-create-class-features-plugin": "^7.28.6",
"@babel/helper-plugin-utils": "^7.28.6"
},

@@ -28,3 +28,3 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/core": "^7.28.6",
"@babel/helper-plugin-test-runner": "^7.27.1"

@@ -31,0 +31,0 @@ },

Sorry, the diff of this file is not supported yet