Skip to content

Commit

Permalink
chore: Upgrade @types/css-tree to remove @ts-ignore comment (svg#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne authored Jan 8, 2024
1 parent 3e9ad5e commit 4bb3d88
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
* @typedef {import('./types.js').XastChild} XastChild
*/

// @ts-ignore not defined in @types/csstree
const csstreeWalkSkip = csstree.walk.skip;

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/css-tree": "^2.3.4",
"@types/css-tree": "^2.3.5",
"@types/csso": "^5.0.4",
"@types/jest": "^29.5.5",
"del": "^6.0.0",
Expand Down
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1091,13 +1091,20 @@ __metadata:
languageName: node
linkType: hard

"@types/css-tree@npm:*, @types/css-tree@npm:^2.3.4":
"@types/css-tree@npm:*":
version: 2.3.4
resolution: "@types/css-tree@npm:2.3.4"
checksum: b06173d3ae048b74e7030cceae01d3d6e5589f7348e8e4b907427f91baeda76807bbde8c5be4c41e22b952268b46edcba7ab96e16efedb2d0b37ce2bf90d1835
languageName: node
linkType: hard

"@types/css-tree@npm:^2.3.5":
version: 2.3.5
resolution: "@types/css-tree@npm:2.3.5"
checksum: 0334d28a0fc313c237e172ca78687ed400aebf3ae4e2cb548e104de96f9c4f04a53ad162188c7f458f731c2f215439c0a3321ea20f71e1a6f76cf8f5865f8cda
languageName: node
linkType: hard

"@types/csso@npm:^5.0.4":
version: 5.0.4
resolution: "@types/csso@npm:5.0.4"
Expand Down Expand Up @@ -4611,7 +4618,7 @@ __metadata:
"@rollup/plugin-node-resolve": ^15.2.3
"@rollup/plugin-terser": ^0.4.4
"@trysound/sax": 0.2.0
"@types/css-tree": ^2.3.4
"@types/css-tree": ^2.3.5
"@types/csso": ^5.0.4
"@types/jest": ^29.5.5
commander: ^7.2.0
Expand Down

0 comments on commit 4bb3d88

Please sign in to comment.