Socket
Socket
Sign inDemoInstall

ember-template-recast

Package Overview
Dependencies
Maintainers
7
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-recast - npm Package Compare versions

Comparing version 6.1.2 to 6.1.3

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

## v6.1.3 (2022-01-14)
#### :bug: Bug Fix
* [#725](https://github.com/ember-template-lint/ember-template-recast/pull/725) fix(print): fix print for NullLiteral ([@VincentMolinie](https://github.com/VincentMolinie))
#### Committers: 1
- Vincent Molinié ([@VincentMolinie](https://github.com/VincentMolinie))
## v6.1.2 (2021-12-10)

@@ -7,0 +16,0 @@

4

lib/parse-result.js

@@ -302,2 +302,3 @@ "use strict";

print(_ast = this._originalAst) {
var _a;
if (!_ast) {

@@ -862,6 +863,7 @@ return '';

case 'NumberLiteral':
case 'NullLiteral':
{
let { source } = nodeInfo;
if (dirtyFields.has('value')) {
source = ast.value.toString();
source = ((_a = ast.value) === null || _a === void 0 ? void 0 : _a.toString()) || '';
dirtyFields.delete('value');

@@ -868,0 +870,0 @@ }

{
"name": "ember-template-recast",
"version": "6.1.2",
"version": "6.1.3",
"description": "Non-destructive template transformer.",

@@ -49,9 +49,9 @@ "keywords": [

"devDependencies": {
"@types/jest": "^27.0.3",
"@types/jest": "^27.4.0",
"@types/workerpool": "^6.1.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.6.0",
"benchmark": "^2.1.4",
"broccoli-test-helper": "^2.0.0",
"eslint": "^8.4.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",

@@ -65,6 +65,6 @@ "eslint-plugin-node": "^11.1.0",

"prettier": "^2.5.1",
"release-it": "^14.11.8",
"release-it": "^14.12.1",
"release-it-lerna-changelog": "^4.0.1",
"ts-jest": "^26.5.6",
"typescript": "~4.5.2"
"typescript": "~4.5.4"
},

@@ -71,0 +71,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc