Skip to content

Commit

Permalink
[FIX] Switch to maintained fork of "css" package
Browse files Browse the repository at this point in the history
This had been first attempted in 0abe66a but later reverted by 3b6c459
due to adobe/css-tools#77, reapplying since
the issue is now fixed.

---

This solves the issue of having outdated and potential insecure
transitive dependencies.

There are no known behavior changes, so this is considered a
non-breaking change / fix.

See: reworkcss/css#163
See: SamVerschueren/decode-uri-component#6
  • Loading branch information
ryenus committed Jan 16, 2023
1 parent 9c32719 commit a748ebe
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 75 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
@@ -1,7 +1,7 @@
"use strict";

const path = require("path");
const css = require("css");
const css = require("@adobe/css-tools");;


const diff = require("./diff");
Expand Down
90 changes: 18 additions & 72 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 @@ -83,7 +83,7 @@
},
"dependencies": {
"clone": "^2.1.2",
"css": "^3.0.0",
"@adobe/css-tools": "^4.0.2",
"mime": "^1.6.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/test-diff.js
Expand Up @@ -2,7 +2,7 @@
"use strict";

const assert = require("assert");
const css = require("css");
const css = require("@adobe/css-tools");;
const fs = require("fs");
const path = require("path");

Expand Down

0 comments on commit a748ebe

Please sign in to comment.