Skip to content

Commit 6d9c70f

Browse files
committed
Lock postcss-nested to 5.0.1
Migrating to visitor API in 5.0.2 breaks a lot of things.
1 parent d81edb7 commit 6d9c70f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
"rebuild-fixtures": "npm run babelify && babel-node scripts/rebuildFixtures.js",
2424
"prepublishOnly": "npm run babelify && babel-node scripts/build.js",
2525
"style": "eslint .",
26-
"test": "jest --setupTestFrameworkScriptFile=\"./jest/customMatchers.js\"",
27-
"test:jit": "cross-env TAILWIND_MODE=build jest ./jit/tests --setupTestFrameworkScriptFile=\"./jit/tests/_customMatchers.js\"",
26+
"test": "cross-env TAILWIND_MODE=build jest",
2827
"posttest": "npm run style",
2928
"compat": "node scripts/compat.js --prepare",
3029
"compat:restore": "node scripts/compat.js --restore"
@@ -81,7 +80,7 @@
8180
"parse-glob": "^3.0.4",
8281
"postcss-functions": "^3",
8382
"postcss-js": "^3.0.3",
84-
"postcss-nested": "^5.0.5",
83+
"postcss-nested": "5.0.1",
8584
"postcss-selector-parser": "^6.0.4",
8685
"postcss-value-parser": "^4.1.0",
8786
"pretty-hrtime": "^1.0.3",
@@ -109,6 +108,9 @@
109108
},
110109
"jest": {
111110
"testTimeout": 30000,
111+
"setupFilesAfterEnv": [
112+
"<rootDir>/jest/customMatchers.js"
113+
],
112114
"testPathIgnorePatterns": [
113115
"<rootDir>/__tests__/fixtures/",
114116
"<rootDir>/__tests__/util/"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4851,10 +4851,10 @@ postcss-load-config@^3.0.0:
48514851
cosmiconfig "^7.0.0"
48524852
import-cwd "^3.0.0"
48534853

4854-
postcss-nested@^5.0.5:
4855-
version "5.0.5"
4856-
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.5.tgz"
4857-
integrity sha512-GSRXYz5bccobpTzLQZXOnSOfKl6TwVr5CyAQJUPub4nuRJSOECK5AqurxVgmtxP48p0Kc/ndY/YyS1yqldX0Ew==
4854+
postcss-nested@5.0.1:
4855+
version "5.0.1"
4856+
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.1.tgz#e7a77f7a806a09c8de0f2c163d8e3d09f00f3139"
4857+
integrity sha512-ZHNSAoHrMtbEzjq+Qs4R0gHijpXc6F1YUv4TGmGaz7rtfMvVJBbu5hMOH+CrhEaljQpEmx5N/P8i1pXTkbVAmg==
48584858
dependencies:
48594859
postcss-selector-parser "^6.0.4"
48604860

0 commit comments

Comments
 (0)