Comparing version 0.20.5 to 0.21.0
@@ -339,2 +339,4 @@ "use strict"; | ||
} | ||
case "OptionalIndexedAccessType": | ||
return node.optional && parent.type === "IndexedAccessType"; | ||
case "IntersectionTypeAnnotation": | ||
@@ -341,0 +343,0 @@ case "UnionTypeAnnotation": |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237438
5692
+ Addedast-types@0.15.2(transitive)
- Removedast-types@0.14.2(transitive)
Updatedast-types@0.15.2