diff --git a/package.json b/package.json index 9fb4e7ba2..f57204948 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "acorn": "8.17.0", "acorn-jsx": "5.3.2", "angular-estree-parser": "15.5.0", - "angular-html-parser": "10.8.0", + "angular-html-parser": "10.9.0", "camelcase": "9.0.0", "ci-info": "4.4.0", "cjk-regex": "3.4.0", diff --git a/tests/unit/__snapshots__/angular-blocks.js.snap b/tests/unit/__snapshots__/angular-blocks.js.snap new file mode 100644 index 000000000..ad8ba0951 --- /dev/null +++ b/tests/unit/__snapshots__/angular-blocks.js.snap @@ -0,0 +1,18 @@ +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing + +exports[`angular blocks 1`] = ` +[ + "@if", + "@else", + "@for", + "@switch", + "@case", + "@default", + "@empty", + "@defer", + "@placeholder", + "@loading", + "@error", + "@content", +] +`; diff --git a/tests/unit/angular-blocks.js b/tests/unit/angular-blocks.js new file mode 100644 index 000000000..77337a43b --- /dev/null +++ b/tests/unit/angular-blocks.js @@ -0,0 +1,6 @@ +import { SUPPORTED_ANGULAR_BLOCKS } from "angular-html-parser"; + +// Snapshot to notify changes +test("angular blocks", () => { + expect(SUPPORTED_ANGULAR_BLOCKS).toMatchSnapshot(); +}); diff --git a/yarn.lock b/yarn.lock index 4055d877d..1a359928a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2921,10 +2921,10 @@ __metadata: languageName: node linkType: hard -"angular-html-parser@npm:10.8.0": - version: 10.8.0 - resolution: "angular-html-parser@npm:10.8.0" - checksum: 10/1417dbd93bec0b3b176a56ded0084cd07d67056327bce98faf9f9fda3fcde156c3c98cc975cfe8e5c4abbc3db47a2a3466be45c19df8e1a0531b3c949f7d4cb2 +"angular-html-parser@npm:10.9.0": + version: 10.9.0 + resolution: "angular-html-parser@npm:10.9.0" + checksum: 10/395e8ad229467f78d0cb5b3388a43befc54b09cd6c0ef0686b010206a3000fa2e2acafd67d45d2e4ff8946f67efec9cfae81e5dc513938a5267103a65a45404e languageName: node linkType: hard @@ -7938,7 +7938,7 @@ __metadata: acorn: "npm:8.17.0" acorn-jsx: "npm:5.3.2" angular-estree-parser: "npm:15.5.0" - angular-html-parser: "npm:10.8.0" + angular-html-parser: "npm:10.9.0" base64-arraybuffer-es6: "npm:3.1.0" browserslist: "npm:4.28.4" browserslist-to-esbuild: "npm:2.1.1"