Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-class-properties

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.21.4-esm.2 to 7.21.4-esm.3

17

lib/index.js

@@ -1,9 +0,15 @@

import { declare } from "@babel/helper-plugin-utils";
import { createClassFeaturePlugin, FEATURES } from "@babel/helper-create-class-features-plugin";
export default declare((api, options) => {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
var _default = (0, _helperPluginUtils.declare)((api, options) => {
api.assertVersion(7);
return createClassFeaturePlugin({
return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({
name: "proposal-class-properties",
api,
feature: FEATURES.fields,
feature: _helperCreateClassFeaturesPlugin.FEATURES.fields,
loose: options.loose,

@@ -15,3 +21,4 @@ manipulateOptions(opts, parserOpts) {

});
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-class-properties",
"version": "7.21.4-esm.2",
"version": "7.21.4-esm.3",
"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.21.4-esm.2",
"@babel/helper-plugin-utils": "7.21.4-esm.2"
"@babel/helper-create-class-features-plugin": "7.21.4-esm.3",
"@babel/helper-plugin-utils": "7.21.4-esm.3"
},

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

"devDependencies": {
"@babel/core": "7.21.4-esm.2",
"@babel/helper-plugin-test-runner": "7.21.4-esm.2"
"@babel/core": "7.21.4-esm.3",
"@babel/helper-plugin-test-runner": "7.21.4-esm.3"
},

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

Sorry, the diff of this file is not supported yet

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