ember-template-recast
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -0,1 +1,10 @@ | ||
## v3.1.2 (2019-08-15) | ||
#### :bug: Bug Fix | ||
* [#90](https://github.com/ember-template-lint/ember-template-recast/pull/90) Ensure proxy mapping is maintained during set/delete. ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 2 | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
- [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) | ||
## v3.1.1 (2019-07-11) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "ember-template-recast", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Non-destructive template transformer.", | ||
@@ -20,6 +20,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@glimmer/syntax": "^0.41.4", | ||
"@glimmer/syntax": "^0.42.0", | ||
"async-promise-queue": "^1.0.5", | ||
"colors": "^1.3.3", | ||
"commander": "^2.20.0", | ||
"commander": "^3.0.0", | ||
"globby": "^10.0.1", | ||
@@ -33,3 +33,3 @@ "ora": "^3.4.0", | ||
"common-tags": "^1.8.0", | ||
"eslint": "^6.0.1", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
@@ -41,3 +41,3 @@ "eslint-plugin-node": "^9.1.0", | ||
"qunit": "^2.9.2", | ||
"release-it": "^12.3.2", | ||
"release-it": "^12.3.5", | ||
"release-it-lerna-changelog": "^1.0.3" | ||
@@ -44,0 +44,0 @@ }, |
@@ -78,2 +78,6 @@ const { preprocess, print: _print } = require('@glimmer/syntax'); | ||
set: (target, property, value) => { | ||
if (propertyProxyMap.has(property)) { | ||
propertyProxyMap.set(property, value); | ||
} | ||
Reflect.set(target, property, value); | ||
@@ -91,2 +95,6 @@ | ||
deleteProperty: (target, property) => { | ||
if (propertyProxyMap.has(property)) { | ||
propertyProxyMap.delete(property); | ||
} | ||
let result = Reflect.deleteProperty(target, property); | ||
@@ -110,2 +118,3 @@ | ||
let value = node[key]; | ||
if (typeof value === 'object' && value !== null) { | ||
@@ -112,0 +121,0 @@ let propertyProxy = this.wrapNode({ node, key }, value); |
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
53791
1191
+ Added@glimmer/interfaces@0.42.2(transitive)
+ Added@glimmer/syntax@0.42.2(transitive)
+ Added@glimmer/util@0.42.2(transitive)
+ Addedcommander@3.0.2(transitive)
- Removed@glimmer/interfaces@0.41.4(transitive)
- Removed@glimmer/syntax@0.41.4(transitive)
- Removed@glimmer/util@0.41.4(transitive)
- Removedcommander@2.20.3(transitive)
Updated@glimmer/syntax@^0.42.0
Updatedcommander@^3.0.0