Skip to content

Commit

Permalink
Bump log-symbols from 6.0.0 to 7.0.0 (#178)
Browse files Browse the repository at this point in the history
* Bump log-symbols from 6.0.0 to 7.0.0

Bumps [log-symbols](https://github.com/sindresorhus/log-symbols) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/log-symbols/releases)
- [Commits](sindresorhus/log-symbols@v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: log-symbols
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove log symbols from test.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Görtz <mail@marcgoertz.de>
  • Loading branch information
dependabot[bot] and mrcgrtz authored Sep 3, 2024
1 parent 1cbfdca commit 0347a0f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 41 deletions.
72 changes: 38 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
],
"dependencies": {
"ansi-escapes": "^7.0.0",
"log-symbols": "^6.0.0",
"log-symbols": "^7.0.0",
"picocolors": "^1.0.0",
"plur": "^5.1.0",
"string-width": "^7.0.0",
Expand Down
12 changes: 6 additions & 6 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@ test('output', () => {
disableHyperlinks();
const output = m(defaultFixture);
assert.match(stripAnsi(output), /first\.css:3:12\n/);
assert.match(stripAnsi(output), /✖ {3}3:12 {2}Unexpected leading zero {26}number-leading-zero/);
assert.match(stripAnsi(output), /3:12 {2}Unexpected leading zero {26}number-leading-zero/);
});

test('deprecations', () => {
disableHyperlinks();
const output = m(deprecationsFixture);
assert.match(stripAnsi(output), /Stylelint Configuration\n/);
assert.match(stripAnsi(output), /time-no-imperceptible has been deprecated and in 8.0 will be removed. Instead use time-min-milliseconds with 100 as its primary option./);
assert.match(stripAnsi(output), /block-no-single-line has been deprecated and in 8.0 will be removed. Instead use block-opening-brace-newline-after and block-closing-brace-newline-before with the always option./);
assert.match(stripAnsi(output), /time-no-imperceptible has been deprecated and in 8.0 will be removed. Instead use time-min-milliseconds with 100 as its primary option./);
assert.match(stripAnsi(output), /block-no-single-line has been deprecated and in 8.0 will be removed. Instead use block-opening-brace-newline-after and block-closing-brace-newline-before with the always option./);
assert.match(stripAnsi(output), /2 deprecations/);
});

test('invalid options', () => {
disableHyperlinks();
const output = m(invalidOptionsFixture);
assert.match(stripAnsi(output), /Stylelint Configuration\n/);
assert.match(stripAnsi(output), /Invalid option value snakeCase for rule value-keyword-case/);
assert.match(stripAnsi(output), /Unexpected option value always for rule no-unknown-animations/);
assert.match(stripAnsi(output), /Invalid option value snakeCase for rule value-keyword-case/);
assert.match(stripAnsi(output), /Unexpected option value always for rule no-unknown-animations/);
assert.match(stripAnsi(output), /2 invalid options/);
});

test('parse errors', () => {
disableHyperlinks();
const output = m(parseErrorFixture);
assert.match(stripAnsi(output), /first\.css:7:12\n/);
assert.match(stripAnsi(output), /✖ {2}7:12 {2}Unexpected token {2}parseError/);
assert.match(stripAnsi(output), /7:12 {2}Unexpected token {2}parseError/);
assert.match(stripAnsi(output), /1 error/);
});

Expand Down

0 comments on commit 0347a0f

Please sign in to comment.