@rushstack/tree-pattern
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "0.2.1", | ||
"tag": "@rushstack/tree-pattern_v0.2.1", | ||
"date": "Wed, 30 Sep 2020 18:39:17 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Update to build with @rushstack/heft-node-rig" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "0.2.0", | ||
@@ -7,0 +19,0 @@ "tag": "@rushstack/tree-pattern_v0.2.0", |
# Change Log - @rushstack/tree-pattern | ||
This log was last generated on Wed, 30 Sep 2020 06:53:53 GMT and should not be manually modified. | ||
This log was last generated on Wed, 30 Sep 2020 18:39:17 GMT and should not be manually modified. | ||
## 0.2.1 | ||
Wed, 30 Sep 2020 18:39:17 GMT | ||
### Patches | ||
- Update to build with @rushstack/heft-node-rig | ||
## 0.2.0 | ||
@@ -6,0 +13,0 @@ Wed, 30 Sep 2020 06:53:53 GMT |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.9.22" | ||
"packageVersion": "7.10.0" | ||
} | ||
] | ||
} |
@@ -97,2 +97,4 @@ "use strict"; | ||
} | ||
// Avoid "Element implicitly has an 'any' type" (TS7053) | ||
const castedCaptures = captures; | ||
if (pattern instanceof TreePatternArg) { | ||
@@ -104,3 +106,3 @@ if (pattern.subtree !== undefined) { | ||
} | ||
captures[pattern.keyName] = root; | ||
castedCaptures[pattern.keyName] = root; | ||
return true; | ||
@@ -118,3 +120,3 @@ } | ||
for (const key of Object.getOwnPropertyNames(tempCaptures)) { | ||
captures[key] = tempCaptures[key]; | ||
castedCaptures[key] = tempCaptures[key]; | ||
} | ||
@@ -121,0 +123,0 @@ return true; |
{ | ||
"name": "@rushstack/tree-pattern", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A fast, lightweight pattern matcher for tree structures such as an Abstract Syntax Tree (AST)", | ||
@@ -16,5 +16,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@microsoft/rush-stack-compiler-3.9": "0.4.21", | ||
"@rushstack/eslint-config": "1.4.0", | ||
"@rushstack/heft": "0.8.0", | ||
"@rushstack/eslint-config": "2.1.2", | ||
"@rushstack/heft": "0.14.0", | ||
"@rushstack/heft-node-rig": "0.1.0", | ||
"@types/heft-jest": "1.0.1", | ||
@@ -21,0 +21,0 @@ "eslint": "~7.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
40818
525