@angular-devkit/schematics
Advanced tools
Comparing version 17.3.7 to 17.3.8
{ | ||
"name": "@angular-devkit/schematics", | ||
"version": "17.3.7", | ||
"version": "17.3.8", | ||
"description": "Angular Schematics - Library", | ||
@@ -21,3 +21,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@angular-devkit/core": "17.3.7", | ||
"@angular-devkit/core": "17.3.8", | ||
"jsonc-parser": "3.2.1", | ||
@@ -24,0 +24,0 @@ "magic-string": "0.30.8", |
@@ -45,3 +45,6 @@ "use strict"; | ||
catch (e) { | ||
if (e instanceof TypeError) { | ||
// The second part should not be needed. But Jest does not support instanceof correctly. | ||
// See: https://github.com/jestjs/jest/issues/2549 | ||
if (e instanceof TypeError || | ||
e.code === 'ERR_ENCODING_INVALID_ENCODED_DATA') { | ||
return entry; | ||
@@ -48,0 +51,0 @@ } |
@@ -230,3 +230,6 @@ "use strict"; | ||
catch (e) { | ||
if (e instanceof TypeError) { | ||
// The second part should not be needed. But Jest does not support instanceof correctly. | ||
// See: https://github.com/jestjs/jest/issues/2549 | ||
if (e instanceof TypeError || | ||
e.code === 'ERR_ENCODING_INVALID_ENCODED_DATA') { | ||
throw new Error(`Failed to decode "${path}" as UTF-8 text.`); | ||
@@ -233,0 +236,0 @@ } |
255019
6080
+ Added@angular-devkit/core@17.3.8(transitive)
- Removed@angular-devkit/core@17.3.7(transitive)
Updated@angular-devkit/core@17.3.8