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

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.20.5 to 0.21.0

2

lib/fast-path.js

@@ -339,2 +339,4 @@ "use strict";

}
case "OptionalIndexedAccessType":
return node.optional && parent.type === "IndexedAccessType";
case "IntersectionTypeAnnotation":

@@ -341,0 +343,0 @@ case "UnionTypeAnnotation":

2

main.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.run = exports.prettyPrint = exports.print = exports.types = exports.parse = void 0;
exports.run = exports.prettyPrint = exports.print = exports.visit = exports.types = exports.parse = void 0;
var tslib_1 = require("tslib");

@@ -5,0 +5,0 @@ var fs_1 = tslib_1.__importDefault(require("fs"));

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

@@ -45,3 +45,3 @@ "keywords": [

"dependencies": {
"ast-types": "0.14.2",
"ast-types": "0.15.2",
"esprima": "~4.0.0",

@@ -56,3 +56,3 @@ "source-map": "~0.6.1",

"@types/esprima": "4.0.2",
"@types/glob": "7.1.3",
"@types/glob": "7.2.0",
"@types/mocha": "8.2.0",

@@ -64,9 +64,9 @@ "@types/node": "16.4.0",

"flow-parser": "0.156.0",
"glob": "7.1.6",
"glob": "7.2.0",
"lint-staged": "^10.2.6",
"mocha": "8.2.1",
"mocha": "9.0.2",
"prettier": "^2.0.5",
"reify": "0.20.12",
"ts-emit-clean": "1.0.0",
"typescript": "^3.9.7"
"typescript": "^4.3.5"
},

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

@@ -22,2 +22,4 @@ "use strict";

"classProperties",
"classStaticBlock",
"decimal",
"decorators-legacy",

@@ -31,2 +33,3 @@ "doExpressions",

"functionSent",
"importAssertions",
"importMeta",

@@ -38,4 +41,11 @@ "nullishCoalescingOperator",

"optionalChaining",
["pipelineOperator", { proposal: "minimal" }],
["pipelineOperator", {
proposal: "minimal",
}],
["recordAndTuple", {
syntaxType: "hash",
}],
"throwExpressions",
"topLevelAwait",
"v8intrinsic",
]

@@ -42,0 +52,0 @@ };

Sorry, the diff of this file is too big to display

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