Socket
Socket
Sign inDemoInstall

recast

Package Overview
Dependencies
Maintainers
2
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recast - npm Package Compare versions

Comparing version 0.23.3 to 0.23.4

8

lib/fast-path.js

@@ -288,2 +288,10 @@ "use strict";

return false;
// Wrap e.g. `-1` in parentheses inside `(-1) ** 2`.
if (node.type === "UnaryExpression" &&
parent.type === "BinaryExpression" &&
name === "left" &&
parent.left === node &&
parent.operator === "**") {
return true;
}
switch (node.type) {

@@ -290,0 +298,0 @@ case "UnaryExpression":

2

package.json
{
"author": "Ben Newman <bn@cs.stanford.edu>",
"name": "recast",
"version": "0.23.3",
"version": "0.23.4",
"description": "JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator",

@@ -6,0 +6,0 @@ "keywords": [

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