Skip to content

Commit 13b0fc8

Browse files
authored
Merge pull request #314 from oddbird/postcss
Use postcss instead of @adobe/css-tools for css parsing
2 parents e4ec1a7 + bd1c8e1 commit 13b0fc8

File tree

7 files changed

+596
-574
lines changed

7 files changed

+596
-574
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
// ],
3232

3333
// Indicates which provider should be used to instrument code for coverage
34-
// coverageProvider: "babel",
34+
coverageProvider: 'v8',
3535

3636
// A list of reporter names that Jest uses when writing coverage reports
3737
coverageReporters: ['text-summary', 'html'],

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@
6262
"prepack": "yarn run release"
6363
},
6464
"dependencies": {
65-
"@adobe/css-tools": "^4.4.3",
66-
"jest-diff": "^30.0.2",
67-
"lodash": "^4.17.21"
65+
"@prettier/sync": "^0.6.1",
66+
"jest-diff": "^30.0.3",
67+
"postcss": "^8.5.6",
68+
"prettier": "^3.6.2"
6869
},
6970
"peerDependencies": {
7071
"sass": ">=1.45.0",
@@ -79,35 +80,32 @@
7980
}
8081
},
8182
"devDependencies": {
82-
"@babel/core": "^7.27.4",
83+
"@babel/core": "^7.27.7",
8384
"@babel/eslint-parser": "^7.27.5",
8485
"@babel/preset-env": "^7.27.2",
8586
"@babel/preset-typescript": "^7.27.1",
86-
"@eslint/js": "^9.29.0",
87-
"@types/lodash": "^4.17.18",
87+
"@eslint/js": "^9.30.0",
8888
"babel-jest": "^30.0.2",
8989
"chai": "^4.5.0",
90-
"eslint": "^9.29.0",
90+
"eslint": "^9.30.0",
9191
"eslint-config-prettier": "^10.1.5",
92-
"eslint-import-resolver-typescript": "^4.4.3",
92+
"eslint-import-resolver-typescript": "^4.4.4",
9393
"eslint-plugin-import": "^2.32.0",
9494
"eslint-plugin-jest": "^29.0.1",
9595
"eslint-plugin-jest-dom": "^5.5.0",
9696
"eslint-plugin-simple-import-sort": "^12.1.1",
97-
"globals": "^16.2.0",
98-
"jest": "^30.0.2",
99-
"mocha": "^11.7.0",
97+
"globals": "^16.3.0",
98+
"jest": "^30.0.3",
99+
"mocha": "^11.7.1",
100100
"npm-run-all": "^4.1.5",
101-
"postcss": "^8.5.6",
102-
"prettier": "^3.6.0",
103101
"sass": "^1.89.2",
104102
"sass-embedded": "^1.89.2",
105103
"sassdoc": "^2.7.4",
106104
"sassdoc-theme-herman": "^6.0.2",
107105
"stylelint": "^16.21.0",
108106
"stylelint-config-standard-scss": "^15.0.1",
109107
"typescript": "^5.8.3",
110-
"typescript-eslint": "^8.34.1"
108+
"typescript-eslint": "^8.35.1"
111109
},
112110
"main": "./lib/index.js",
113111
"types": "./lib/index.d.ts",

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export const MODULE_NESTING_TOKEN = ' :: ';
44
export const SUMMARY_TOKEN = '# SUMMARY ';
55
export const END_SUMMARY_TOKEN = '----------';
66
export const TEST_TOKEN = 'Test: ';
7-
export const PASS_TOKEN = '✔ ';
7+
export const PASS_TOKEN = '✔';
88
export const FAIL_TOKEN = '✖ FAILED: [';
99
export const END_FAIL_TOKEN = ']';
10-
export const ASSERT_TOKEN = 'ASSERT: ';
10+
export const ASSERT_TOKEN = 'ASSERT:';
1111
export const FAILURE_DETAIL_TOKEN = '- ';
1212
export const FAILURE_TYPE_START_TOKEN = '[';
1313
export const FAILURE_TYPE_END_TOKEN = ']';

0 commit comments

Comments
 (0)