Commit ab0b1f9d authored by David Sveningsson's avatar David Sveningsson
Browse files

fix(deps): update dependency @html-validate/stylish to v2


Signed-off-by: HTML-validate's avatarHTML-validate <gitlab@html-validate.org>
parent cbd22269
Pipeline #327842896 passed with stages
in 10 minutes
......@@ -9,7 +9,7 @@
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.10.0",
"@html-validate/stylish": "^1.0.0",
"@html-validate/stylish": "^2.0.0",
"@sidvind/better-ajv-errors": "^0.9.0",
"acorn-walk": "^8.0.0",
"ajv": "^8.0.0",
......@@ -2507,16 +2507,15 @@
}
},
"node_modules/@html-validate/stylish": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-1.0.0.tgz",
"integrity": "sha512-NW6TZ7/GA+Z+1fNGDqkxutHQEsDivuN6ZM9ALMqSsDuO1QHJ4Ws1hAecwzvDezwSEXArLcqXd1RqZCYi3GA6KQ==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-2.0.0.tgz",
"integrity": "sha512-lmI4sUZGHpxfWyPtKKrcIbwBbDLXSb+XPEYS1USc46ZzXx/VsnsVqbk3pPIUdEPhd4v72xGS8HDAy/+8wZzlbQ==",
"dependencies": {
"chalk": "^4.0.0",
"strip-ansi": "^6.0.0",
"kleur": "^4.0.0",
"text-table": "^0.2.0"
},
"engines": {
"node": ">= 10.0"
"node": ">= 12.0"
}
},
"node_modules/@istanbuljs/load-nyc-config": {
......@@ -13682,6 +13681,19 @@
"node": ">= 12.0"
}
},
"node_modules/npm-pkg-lint/node_modules/@html-validate/stylish": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-1.0.1.tgz",
"integrity": "sha512-fx1eJv6N00JYxYXxR3yP53jm33ZBoLGEwv2x6Q2KIg7Uz3I9/+Bpl5tJtja7CdxD+ueq1SDNhsiYZ4KDwuHe8Q==",
"dev": true,
"dependencies": {
"kleur": "^4.0.0",
"text-table": "^0.2.0"
},
"engines": {
"node": ">= 10.0"
}
},
"node_modules/npm-pkg-lint/node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
......@@ -19614,6 +19626,7 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"dev": true,
"dependencies": {
"ansi-regex": "^5.0.0"
},
......@@ -19625,6 +19638,7 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"dev": true,
"engines": {
"node": ">=8"
}
......@@ -22753,12 +22767,11 @@
}
},
"@html-validate/stylish": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-1.0.0.tgz",
"integrity": "sha512-NW6TZ7/GA+Z+1fNGDqkxutHQEsDivuN6ZM9ALMqSsDuO1QHJ4Ws1hAecwzvDezwSEXArLcqXd1RqZCYi3GA6KQ==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-2.0.0.tgz",
"integrity": "sha512-lmI4sUZGHpxfWyPtKKrcIbwBbDLXSb+XPEYS1USc46ZzXx/VsnsVqbk3pPIUdEPhd4v72xGS8HDAy/+8wZzlbQ==",
"requires": {
"chalk": "^4.0.0",
"strip-ansi": "^6.0.0",
"kleur": "^4.0.0",
"text-table": "^0.2.0"
}
},
......@@ -33323,6 +33336,16 @@
"tmp": "^0.2.0"
},
"dependencies": {
"@html-validate/stylish": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@html-validate/stylish/-/stylish-1.0.1.tgz",
"integrity": "sha512-fx1eJv6N00JYxYXxR3yP53jm33ZBoLGEwv2x6Q2KIg7Uz3I9/+Bpl5tJtja7CdxD+ueq1SDNhsiYZ4KDwuHe8Q==",
"dev": true,
"requires": {
"kleur": "^4.0.0",
"text-table": "^0.2.0"
}
},
"argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
......@@ -35790,6 +35813,7 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.0"
},
......@@ -35797,7 +35821,8 @@
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"dev": true
}
}
},
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`stylish formatter should generate output 1`] = `
"</></>
</>first.html</>
</> <dim>1:6</> <red>error</> An error <dim>foo</></>
</> <dim>2:5</> <yellow>warning</> A warning <dim>bar</></>
</></>
</>second.html</>
</> <dim>1:4</> <red>error</> Lorem ipsum is not allowed <dim>no-lorem-ipsum</></>
</></>
</><red><bold>✖ 3 problems (2 errors, 1 warning)</></></>
</><red><bold></></></>
"</>
first.html
<dim>1:6</> <red>error</> An error <dim>foo</>
<dim>2:5</> <yellow>warning</> A warning <dim>bar</>
second.html
<dim>1:4</> <red>error</> Lorem ipsum is not allowed <dim>no-lorem-ipsum</>
<red><bold>✖ 3 problems (2 errors, 1 warning)
</></></>
<bold>More information</>:
https://example.net/rule/foo.html
https://example.net/rule/bar.html
......@@ -20,13 +20,13 @@ exports[`stylish formatter should generate output 1`] = `
`;
exports[`stylish formatter should handle edge cases 1`] = `
"</></>
</>edge-cases.html</>
</> <dim>1:1</> <yellow>warning</> Has invalid severity <dim>invalid-severity</></>
</> <dim>2:2</> <red>error</> Escape <script language=\\"jabbascript\\"> & <span id='foo'> <dim>special-characters</></>
</></>
</><red><bold>✖ 2 problems (1 error, 1 warning)</></></>
</><red><bold></></></>"
"</>
edge-cases.html
<dim>1:1</> <yellow>warning</> Has invalid severity <dim>invalid-severity</>
<dim>2:2</> <red>error</> Escape <script language=\\"jabbascript\\"> & <span id='foo'> <dim>special-characters</>
<red><bold>✖ 2 problems (1 error, 1 warning)
</></></>"
`;
exports[`stylish formatter should handle empty messages 1`] = `""`;
......@@ -34,23 +34,23 @@ exports[`stylish formatter should handle empty messages 1`] = `""`;
exports[`stylish formatter should handle empty result 1`] = `""`;
exports[`stylish formatter should handle missing rule url 1`] = `
"</></>
</>missing-url.html</>
</> <dim>1:6</> <red>error</> An error <dim>foo</></>
</> <dim>2:5</> <yellow>warning</> A warning <dim>bar</></>
</></>
</><red><bold>✖ 2 problems (2 errors, 0 warnings)</></></>
</><red><bold></></></>"
"</>
missing-url.html
<dim>1:6</> <red>error</> An error <dim>foo</>
<dim>2:5</> <yellow>warning</> A warning <dim>bar</>
<red><bold>✖ 2 problems (2 errors, 0 warnings)
</></></>"
`;
exports[`stylish formatter should handle missing source 1`] = `
"</></>
</>missing-source.html</>
</> <dim>1:6</> <red>error</> An error <dim>foo</></>
</> <dim>2:5</> <yellow>warning</> A warning <dim>bar</></>
</></>
</><red><bold>✖ 2 problems (2 errors, 0 warnings)</></></>
</><red><bold></></></>
"</>
missing-source.html
<dim>1:6</> <red>error</> An error <dim>foo</>
<dim>2:5</> <yellow>warning</> A warning <dim>bar</>
<red><bold>✖ 2 problems (2 errors, 0 warnings)
</></></>
<bold>More information</>:
https://example.net/rule/foo.html
https://example.net/rule/bar.html
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment