Skip to content

Commit

Permalink
Update clean-css to v5.3 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
korverdev committed Apr 6, 2023
1 parent 9e1d8e5 commit 5caba1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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
Expand Up @@ -75,7 +75,7 @@
},
"dependencies": {
"camel-case": "^4.1.2",
"clean-css": "5.2.0",
"clean-css": "~5.3.2",
"commander": "^9.4.1",
"entities": "^4.4.0",
"param-case": "^3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion tests/minifier.spec.js
Expand Up @@ -3426,7 +3426,7 @@ test('decode entity characters', async () => {
output = '<div style="font:&quot">foo&dollar;</div>';
expect(await minify(input, { minifyCSS: true })).toBe(output);
expect(await minify(input, { decodeEntities: false, minifyCSS: true })).toBe(output);
output = '<div style="font:monospace">foo$</div>';
output = '<div style=\'font:"monospace"\'>foo$</div>';
expect(await minify(input, { decodeEntities: true, minifyCSS: true })).toBe(output);

input = '<a href="/?foo=1&amp;bar=&lt;2&gt;">baz&lt;moo&gt;&copy;</a>';
Expand Down

0 comments on commit 5caba1b

Please sign in to comment.