Skip to content

Commit f533522

Browse files
committed
Upgrade the version of stylus used in dev
This also removes the optional peerDependency on stylus that was using an outdated range because Encore does not actually use stylus in any way but only stylus-loader. And stylus-loader already declares a required peerDependency on stylus, making package managers ensure its presence when stylus-loader is present.
1 parent 90d4b21 commit f533522

File tree

3 files changed

+15
-20
lines changed

3 files changed

+15
-20
lines changed

lib/features.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const features = {
3535
method: 'enableStylusLoader()',
3636
packages: [
3737
{ name: 'stylus-loader', enforce_version: true },
38-
{ name: 'stylus' }
3938
],
4039
description: 'load Stylus files'
4140
},

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"sass-loader": "^16.0.1",
8888
"sinon": "^14.0.0",
8989
"strip-ansi": "^6.0.0",
90-
"stylus": "^0.60.0",
90+
"stylus": "^0.63.0",
9191
"stylus-loader": "^7.0.0 || ^8.1.0",
9292
"svelte": "^3.50.0 || ^4.2.2",
9393
"svelte-loader": "^3.1.0",
@@ -120,7 +120,6 @@
120120
"postcss-loader": "^7.0.0 || ^8.1.0",
121121
"sass": "^1.17.0",
122122
"sass-loader": "^16.0.1",
123-
"stylus": "^0.58.1",
124123
"stylus-loader": "^7.0.0 || ^8.1.0",
125124
"ts-loader": "^9.0.0",
126125
"typescript": "^5.0.0",
@@ -191,9 +190,6 @@
191190
"sass-loader": {
192191
"optional": true
193192
},
194-
"stylus": {
195-
"optional": true
196-
},
197193
"stylus-loader": {
198194
"optional": true
199195
},

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@adobe/css-tools@~4.2.0":
6-
version "4.2.0"
7-
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.2.0.tgz#e1a84fca468f4b337816fcb7f0964beb620ba855"
8-
integrity sha512-E09FiIft46CmH5Qnjb0wsW54/YQd69LsxeKUOWawmws1XWvyFGURnAChH0mlr7YPFR1ofwvUQfcL0J3lMxXqPA==
5+
"@adobe/css-tools@~4.3.3":
6+
version "4.3.3"
7+
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.3.tgz#90749bde8b89cd41764224f5aac29cd4138f75ff"
8+
integrity sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==
99

1010
"@ampproject/remapping@^2.2.0", "@ampproject/remapping@^2.2.1":
1111
version "2.3.0"
@@ -6182,10 +6182,10 @@ sax@^1.2.4:
61826182
resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f"
61836183
integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==
61846184

6185-
sax@~1.2.4:
6186-
version "1.2.4"
6187-
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
6188-
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
6185+
sax@~1.3.0:
6186+
version "1.3.0"
6187+
resolved "https://registry.yarnpkg.com/sax/-/sax-1.3.0.tgz#a5dbe77db3be05c9d1ee7785dbd3ea9de51593d0"
6188+
integrity sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==
61896189

61906190
schema-utils@^3.0.0, schema-utils@^3.1.1, schema-utils@^3.2.0:
61916191
version "3.3.0"
@@ -6601,15 +6601,15 @@ stylehacks@^7.0.4:
66016601
fast-glob "^3.3.2"
66026602
normalize-path "^3.0.0"
66036603

6604-
stylus@^0.60.0:
6605-
version "0.60.0"
6606-
resolved "https://registry.yarnpkg.com/stylus/-/stylus-0.60.0.tgz#0d75f3772929185d580d164d9394b2dcbed21083"
6607-
integrity sha512-j2pBgEwzCu05yCuY4cmyp0FtPQQFBBAGB7TY7QaNl7eztiHwkxzwvIp5vjZJND/a1JNOka+ZW9ewVPFZpI3pcA==
6604+
stylus@^0.63.0:
6605+
version "0.63.0"
6606+
resolved "https://registry.yarnpkg.com/stylus/-/stylus-0.63.0.tgz#511e8d56f2005b09010fbc1f62561c7b6f72a490"
6607+
integrity sha512-OMlgrTCPzE/ibtRMoeLVhOY0RcNuNWh0rhAVqeKnk/QwcuUKQbnqhZ1kg2vzD8VU/6h3FoPTq4RJPHgLBvX6Bw==
66086608
dependencies:
6609-
"@adobe/css-tools" "~4.2.0"
6609+
"@adobe/css-tools" "~4.3.3"
66106610
debug "^4.3.2"
66116611
glob "^7.1.6"
6612-
sax "~1.2.4"
6612+
sax "~1.3.0"
66136613
source-map "^0.7.3"
66146614

66156615
supports-color@^5.3.0:

0 commit comments

Comments
 (0)