Socket
Socket
Sign inDemoInstall

@babel/helper-simple-access

Package Overview
Dependencies
Maintainers
6
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-simple-access - npm Package Compare versions

Comparing version 7.0.0-beta.40 to 7.0.0-beta.41

3

lib/index.js

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

if (path.node.prefix || path.parentPath.isExpressionStatement() && !path.isCompletionRecord()) {
path.replaceWith(t.assignmentExpression("+=", arg.node, t.numericLiteral(1)));
var operator = path.node.operator == "++" ? "+=" : "-=";
path.replaceWith(t.assignmentExpression(operator, arg.node, t.numericLiteral(1)));
} else {

@@ -36,0 +37,0 @@ var varName = path.scope.generateDeclaredUidIdentifier("old").name;

{
"name": "@babel/helper-simple-access",
"version": "7.0.0-beta.40",
"version": "7.0.0-beta.41",
"description": "Babel helper for ensuring that access to a given value is performed through simple accesses",

@@ -11,6 +11,6 @@ "author": "Logan Smyth <loganfsmyth@gmail.com>",

"dependencies": {
"@babel/template": "7.0.0-beta.40",
"@babel/types": "7.0.0-beta.40",
"@babel/template": "7.0.0-beta.41",
"@babel/types": "7.0.0-beta.41",
"lodash": "^4.2.0"
}
}
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