From f40fcba710f7a0d4e82e5458334dca97d994c94a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2020 12:47:59 +0300 Subject: [PATCH] Bump angular-html-parser from 1.3.0 to 1.4.0 (#7461) * Bump angular-html-parser from 1.3.0 to 1.4.0 Bumps [angular-html-parser](https://github.com/ikatyang/angular-html-parser) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/ikatyang/angular-html-parser/releases) - [Changelog](https://github.com/ikatyang/angular-html-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/ikatyang/angular-html-parser/compare/v1.3.0...v1.4.0) Signed-off-by: dependabot-preview[bot] * add test for #5810 closes #5810 Co-authored-by: Georgii Dolzhykov --- package.json | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +++++++++++++++++++ tests/html_basics/tr-without-tbody-5810.html | 4 ++++ yarn.lock | 8 ++++---- 4 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 tests/html_basics/tr-without-tbody-5810.html diff --git a/package.json b/package.json index 857d46470..3cda50f30 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@iarna/toml": "2.2.3", "@typescript-eslint/typescript-estree": "2.17.0", "angular-estree-parser": "1.1.5", - "angular-html-parser": "1.3.0", + "angular-html-parser": "1.4.0", "camelcase": "5.3.1", "chalk": "3.0.0", "cjk-regex": "2.0.0", diff --git a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap index 83fd2e1cb..c7b79f413 100644 --- a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap @@ -478,6 +478,26 @@ printWidth: 80 ================================================================================ `; +exports[`tr-without-tbody-5810.html 1`] = ` +====================================options===================================== +parsers: ["html"] +printWidth: 80 + | printWidth +=====================================input====================================== + + +
+
+ +=====================================output===================================== + + +
+
+ +================================================================================ +`; + exports[`void-elements.html 1`] = ` ====================================options===================================== parsers: ["html"] diff --git a/tests/html_basics/tr-without-tbody-5810.html b/tests/html_basics/tr-without-tbody-5810.html new file mode 100644 index 000000000..ff6ffe7aa --- /dev/null +++ b/tests/html_basics/tr-without-tbody-5810.html @@ -0,0 +1,4 @@ + + +
+
diff --git a/yarn.lock b/yarn.lock index b5357bc6d..b9e4d2b90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1456,10 +1456,10 @@ angular-estree-parser@1.1.5: lines-and-columns "^1.1.6" tslib "^1.9.3" -angular-html-parser@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/angular-html-parser/-/angular-html-parser-1.3.0.tgz#2b87c3c1b7535a972a00e35604221df3c51e6c6e" - integrity sha512-FCLuM8ZUt30qwiV5KlW8uWL9cwlS2loOIGq8wUQFypkJ1QZqJk829yxTsvp2DvCMZ7uLwfjIaIrKV5N2+RLiSQ== +angular-html-parser@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/angular-html-parser/-/angular-html-parser-1.4.0.tgz#4080989e46cad183264f950fb475590888d31104" + integrity sha512-5KyzzYOeZV9g9ahXw4rbi8IIbMjUdXoarXJ0CfbWue5U1YsvMnjMZJ3oadpU8ZtnIx1zR/dsyt+FLJx2U65d2Q== dependencies: tslib "^1.9.3"