ember-template-recast
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -0,1 +1,14 @@ | ||
## v3.3.2 (2020-01-03) | ||
#### :bug: Bug Fix | ||
* [#195](https://github.com/ember-template-lint/ember-template-recast/pull/195) Ensure `StringLiteral`'s and `TextNode`'s are properly escaped. ([@tylerturdenpants](https://github.com/tylerturdenpants)) | ||
#### :house: Internal | ||
* [#183](https://github.com/ember-template-lint/ember-template-recast/pull/183) Ensure attributes, params, hash are only joined with whitespace. ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 3 | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
- Ryan Mark ([@tylerturdenpants](https://github.com/tylerturdenpants)) | ||
- [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) | ||
## v3.3.1 (2019-12-16) | ||
@@ -2,0 +15,0 @@ |
{ | ||
"name": "ember-template-recast", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Non-destructive template transformer.", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@glimmer/syntax": "^0.44.0", | ||
"@glimmer/syntax": "^0.45.2", | ||
"async-promise-queue": "^1.0.5", | ||
@@ -47,3 +47,3 @@ "colors": "^1.3.3", | ||
"eslint-config-prettier": "^6.5.0", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
@@ -50,0 +50,0 @@ "execa": "^3.2.0", |
@@ -254,2 +254,8 @@ const { preprocess, print: _print, traverse } = require('@glimmer/syntax'); | ||
if (joinWith.trim() !== '') { | ||
// if the autodetection above resulted in some non whitespace | ||
// values, reset to `' '` | ||
joinWith = ' '; | ||
} | ||
nodeInfo.hashSource = ast.hash.pairs | ||
@@ -283,2 +289,8 @@ .map(pair => { | ||
} | ||
if (joinWith.trim() !== '') { | ||
// if the autodetection above resulted in some non whitespace | ||
// values, reset to `' '` | ||
joinWith = ' '; | ||
} | ||
nodeInfo.paramsSource = ast.params.map(param => this.print(param)).join(joinWith); | ||
@@ -379,2 +391,8 @@ | ||
if (joinOpenPartsWith.trim() !== '') { | ||
// if the autodetection above resulted in some non whitespace | ||
// values, reset to `' '` | ||
joinOpenPartsWith = ' '; | ||
} | ||
let openPartsSource = originalOpenParts | ||
@@ -381,0 +399,0 @@ .map(part => this.sourceForLoc(part.loc)) |
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
64784
1269
+ Added@glimmer/interfaces@0.45.3(transitive)
+ Added@glimmer/syntax@0.45.3(transitive)
+ Added@glimmer/util@0.45.3(transitive)
+ Added@simple-dom/interface@1.4.0(transitive)
- Removed@glimmer/interfaces@0.44.0(transitive)
- Removed@glimmer/syntax@0.44.0(transitive)
- Removed@glimmer/util@0.44.0(transitive)
Updated@glimmer/syntax@^0.45.2