Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-3883 update stylelint v17 (#6906)

vicgonzalez25665780e56722
diff --git a/package-lock.json b/package-lock.json
index 83f680a85..5c09de659 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -139,8 +139,8 @@
"sass-loader": "^17.0.0",
"shelljs": "^0.10.0",
"stylelint": "^17.14.1",
- "stylelint-config-standard-scss": "^16.0.0",
- "stylelint-high-performance-animation": "^1.11.0",
+ "stylelint-config-standard-scss": "^17.0.0",
+ "stylelint-high-performance-animation": "^2.0.0",
"tar": "^7.5.20",
"terser-webpack-plugin": "^5.6.1",
"uuid": "^14.0.1",
@@ -11559,6 +11559,8 @@
},
"node_modules/is-plain-object": {
"version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
+ "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -13082,6 +13084,8 @@
},
"node_modules/known-css-properties": {
"version": "0.37.0",
+ "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.37.0.tgz",
+ "integrity": "sha512-JCDrsP4Z1Sb9JwG0aJ8Eo2r7k4Ou5MwmThS/6lcIe1ICyb7UBJKGRIUUdqc2ASdE/42lgz6zFUnzAIhtXnBVrQ==",
"dev": true,
"license": "MIT"
},
@@ -15351,6 +15355,8 @@
},
"node_modules/postcss-media-query-parser": {
"version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz",
+ "integrity": "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==",
"dev": true,
"license": "MIT"
},
@@ -15710,6 +15716,8 @@
},
"node_modules/postcss-resolve-nested-selector": {
"version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.6.tgz",
+ "integrity": "sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==",
"dev": true,
"license": "MIT"
},
@@ -15740,6 +15748,8 @@
},
"node_modules/postcss-scss": {
"version": "4.0.9",
+ "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.9.tgz",
+ "integrity": "sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==",
"dev": true,
"funding": [
{
@@ -17890,7 +17900,9 @@
}
},
"node_modules/stylelint-config-recommended": {
- "version": "17.0.0",
+ "version": "18.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-18.0.0.tgz",
+ "integrity": "sha512-mxgT2XY6YZ3HWWe3Di8umG6aBmWmHTblTgu/f10rqFXnyWxjKWwNdjSWkgkwCtxIKnqjSJzvFmPT5yabVIRxZg==",
"dev": true,
"funding": [
{
@@ -17904,27 +17916,29 @@
],
"license": "MIT",
"engines": {
- "node": ">=18.12.0"
+ "node": ">=20.19.0"
},
"peerDependencies": {
- "stylelint": "^16.23.0"
+ "stylelint": "^17.0.0"
}
},
"node_modules/stylelint-config-recommended-scss": {
- "version": "16.0.2",
+ "version": "17.0.1",
+ "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-17.0.1.tgz",
+ "integrity": "sha512-x5DVehzJudcwF0od3sGpgkln2PLLranFE7twwbp7dqDINCyZvwzFkMc6TLhNOvazRiVBJYATQLouJY0xPGB8WA==",
"dev": true,
"license": "MIT",
"dependencies": {
"postcss-scss": "^4.0.9",
- "stylelint-config-recommended": "^17.0.0",
- "stylelint-scss": "^6.12.1"
+ "stylelint-config-recommended": "^18.0.0",
+ "stylelint-scss": "^7.0.0"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"postcss": "^8.3.3",
- "stylelint": "^16.24.0"
+ "stylelint": "^17.0.0"
},
"peerDependenciesMeta": {
"postcss": {
@@ -17933,7 +17947,9 @@
}
},
"node_modules/stylelint-config-standard": {
- "version": "39.0.1",
+ "version": "40.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-40.0.0.tgz",
+ "integrity": "sha512-EznGJxOUhtWck2r6dJpbgAdPATIzvpLdK9+i5qPd4Lx70es66TkBPljSg4wN3Qnc6c4h2n+WbUrUynQ3fanjHw==",
"dev": true,
"funding": [
{
@@ -17947,29 +17963,31 @@
],
"license": "MIT",
"dependencies": {
- "stylelint-config-recommended": "^17.0.0"
+ "stylelint-config-recommended": "^18.0.0"
},
"engines": {
- "node": ">=18.12.0"
+ "node": ">=20.19.0"
},
"peerDependencies": {
- "stylelint": "^16.23.0"
+ "stylelint": "^17.0.0"
}
},
"node_modules/stylelint-config-standard-scss": {
- "version": "16.0.0",
+ "version": "17.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-17.0.0.tgz",
+ "integrity": "sha512-uLJS6xgOCBw5EMsDW7Ukji8l28qRoMnkRch15s0qwZpskXvWt9oPzMmcYM307m9GN4MxuWLsQh4I6hU9yI53cQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "stylelint-config-recommended-scss": "^16.0.1",
- "stylelint-config-standard": "^39.0.0"
+ "stylelint-config-recommended-scss": "^17.0.0",
+ "stylelint-config-standard": "^40.0.0"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"postcss": "^8.3.3",
- "stylelint": "^16.23.1"
+ "stylelint": "^17.0.0"
},
"peerDependenciesMeta": {
"postcss": {
@@ -17978,35 +17996,109 @@
}
},
"node_modules/stylelint-high-performance-animation": {
- "version": "1.11.0",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/stylelint-high-performance-animation/-/stylelint-high-performance-animation-2.0.0.tgz",
+ "integrity": "sha512-wzxxfxJFyL7UKc91427EHmi6gNRXB0cBdsyCfIuXZFRb6Xv1qw8elNbF61e/tJRoRcavAGsZICivVsHCD3Mhug==",
"dev": true,
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
},
"peerDependencies": {
- "stylelint": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
+ "stylelint": "^17.0.0"
}
},
"node_modules/stylelint-scss": {
- "version": "6.14.0",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-7.2.0.tgz",
+ "integrity": "sha512-6E79Bachv0Iz0gqRUZgdqdXCsiq26DWBWIBNHYtjTmAp3wJu6cp/I37VfW7BPntmh2puF3bY09XWl4HZGrLhzw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "css-tree": "^3.0.1",
+ "@csstools/css-calc": "^3.2.1",
+ "@csstools/css-parser-algorithms": "^4.0.0",
+ "@csstools/css-syntax-patches-for-csstree": "^1.1.4",
+ "@csstools/css-tokenizer": "^4.0.0",
+ "css-tree": "^3.2.1",
"is-plain-object": "^5.0.0",
"known-css-properties": "^0.37.0",
- "mdn-data": "^2.25.0",
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.6",
"postcss-selector-parser": "^7.1.1",
"postcss-value-parser": "^4.2.0"
},
"engines": {
- "node": ">=18.12.0"
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "stylelint": "^16.8.2 || ^17.0.0"
+ }
+ },
+ "node_modules/stylelint-scss/node_modules/@csstools/css-calc": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.3.0.tgz",
+ "integrity": "sha512-c5ihYsPkdG6JCkU2zTMm4+k6r7RXuGxtWYhu5DHMIiF1FHzrfmHL5so11AoFpUv/tu61xfcmT4AmKoFfMPoqdQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^4.0.0",
+ "@csstools/css-tokenizer": "^4.0.0"
+ }
+ },
+ "node_modules/stylelint-scss/node_modules/@csstools/css-parser-algorithms": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz",
+ "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
},
"peerDependencies": {
- "stylelint": "^16.8.2"
+ "@csstools/css-tokenizer": "^4.0.0"
+ }
+ },
+ "node_modules/stylelint-scss/node_modules/@csstools/css-tokenizer": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz",
+ "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.19.0"
}
},
"node_modules/stylelint/node_modules/@csstools/css-calc": {
diff --git a/package.json b/package.json
index 4cccb9d41..2c75449bf 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,7 @@
"generatePreviews": "node ./tasks/build-options/fetchPreviewSnapshots.py",
"linkcheck": "node ./tasks/link-check",
"lint": "run-s lint:js lint:scss",
- "lint:scss": "npx stylelint ./web/scss/**/*.scss",
+ "lint:scss": "npx stylelint \"./web/scss/**/*.scss\"",
"lint:js": "npx eslint .",
"preinstall": "node tasks/util/checkNodeVersion.js",
"postinstall": "husky",
@@ -143,8 +143,8 @@
"sass-loader": "^17.0.0",
"shelljs": "^0.10.0",
"stylelint": "^17.14.1",
- "stylelint-config-standard-scss": "^16.0.0",
- "stylelint-high-performance-animation": "^1.11.0",
+ "stylelint-config-standard-scss": "^17.0.0",
+ "stylelint-high-performance-animation": "^2.0.0",
"tar": "^7.5.20",
"terser-webpack-plugin": "^5.6.1",
"uuid": "^14.0.1",