Skip to content

Commit 0abe66a

Browse files
committed
[FIX] Switch to maintained fork of "css" package
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
1 parent 40028fc commit 0abe66a

File tree

4 files changed

+21
-75
lines changed

4 files changed

+21
-75
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
const path = require("path");
4-
const css = require("css");
4+
const css = require("@adobe/css-tools");
55

66

77
const diff = require("./diff");

package-lock.json

Lines changed: 18 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
"url": "git@github.com:SAP/less-openui5.git"
8383
},
8484
"dependencies": {
85+
"@adobe/css-tools": "^4.0.1",
8586
"clone": "^2.1.2",
86-
"css": "^3.0.0",
8787
"mime": "^1.6.0"
8888
},
8989
"devDependencies": {

test/test-diff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"use strict";
33

44
const assert = require("assert");
5-
const css = require("css");
5+
const css = require("@adobe/css-tools");
66
const fs = require("fs");
77
const path = require("path");
88

0 commit comments

Comments
 (0)