@patternfly/ast-helpers
Advanced tools
Comparing version 0.0.11 to 0.0.13
@@ -674,3 +674,3 @@ const acorn = require('acorn') | ||
parseTSTypeofType() { | ||
parseTSTypeQuery() { | ||
const node = this.startNode() | ||
@@ -682,2 +682,11 @@ this.next() | ||
parseTSTypeofType() { | ||
const typeQuery = this.parseTSTypeQuery() | ||
if (this.eat(tt.bracketL)) { | ||
const node = this.startNode() | ||
return this.parseTSIndexedAccessType(node, typeQuery) | ||
} | ||
return typeQuery | ||
} | ||
parseTSImportType(isTypeOf) { | ||
@@ -684,0 +693,0 @@ const node = this.startNode() |
@@ -6,2 +6,21 @@ # Change Log | ||
## 0.0.13 (2021-10-26) | ||
**Note:** Version bump only for package @patternfly/ast-helpers | ||
## 0.0.12 (2021-10-21) | ||
### Bug Fixes | ||
* **ts:** parse type a = typeof b[c] ([#2739](https://github.com/patternfly/patternfly-org/issues/2739)) ([36000a2](https://github.com/patternfly/patternfly-org/commit/36000a253733a88639b374f188751798e90d4696)) | ||
## 0.0.11 (2021-10-20) | ||
@@ -8,0 +27,0 @@ |
{ | ||
"name": "@patternfly/ast-helpers", | ||
"description": "Acorn AST helpers for working with live code", | ||
"version": "0.0.11", | ||
"version": "0.0.13", | ||
"author": "Red Hat", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "510f4d60eea567a9e66d6cb2ef000c4004eb5d93" | ||
"gitHead": "98a9f5e3059ab33fbdff43ef21edd083e00a34f9" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
43085
1308
1