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

@babel/plugin-transform-computed-properties

Package Overview
Dependencies
Maintainers
6
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.16.0 to 7.16.5

2

lib/index.js

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

if (prop.kind === "get" && prop.kind === "set") {
pushMutatorDefine(objId, prop, body);
pushMutatorDefine(objId, prop);
} else {

@@ -36,0 +36,0 @@ body.push(_core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.memberExpression(_core.types.cloneNode(objId), prop.key, prop.computed || _core.types.isLiteral(prop.key)), getValue(prop))));

{
"name": "@babel/plugin-transform-computed-properties",
"version": "7.16.0",
"version": "7.16.5",
"description": "Compile ES2015 computed properties to ES5",

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

"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
"@babel/helper-plugin-utils": "^7.16.5"
},

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

"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/helper-plugin-test-runner": "^7.16.0"
"@babel/core": "^7.16.5",
"@babel/helper-plugin-test-runner": "^7.16.5"
},

@@ -31,0 +31,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