@projectwallace/css-parser 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,104 +1,110 @@
1
1
  {
2
- "name": "@projectwallace/css-parser",
3
- "version": "0.15.0",
4
- "description": "High-performance CSS lexer and parser, optimized for CSS inspection and analysis",
5
- "keywords": [
6
- "ast",
7
- "css",
8
- "lexer",
9
- "parser",
10
- "tokenizer"
11
- ],
12
- "homepage": "https://github.com/projectwallace/css-parser",
13
- "license": "MIT",
14
- "author": "Bart Veneman <bart@projectwallace.com>",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/projectwallace/css-parser.git"
18
- },
19
- "files": [
20
- "dist"
21
- ],
22
- "type": "module",
23
- "main": "./dist/index.js",
24
- "module": "./dist/index.js",
25
- "types": "./dist/index.d.ts",
26
- "exports": {
27
- ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js"
30
- },
31
- "./package.json": "./package.json",
32
- "./tokenizer": {
33
- "types": "./dist/tokenize.d.ts",
34
- "import": "./dist/tokenize.js"
35
- },
36
- "./parse": {
37
- "types": "./dist/parse.d.ts",
38
- "import": "./dist/parse.js"
39
- },
40
- "./parse-selector": {
41
- "types": "./dist/parse-selector.d.ts",
42
- "import": "./dist/parse-selector.js"
43
- },
44
- "./parse-atrule-prelude": {
45
- "types": "./dist/parse-atrule-prelude.d.ts",
46
- "import": "./dist/parse-atrule-prelude.js"
47
- },
48
- "./parse-declaration": {
49
- "types": "./dist/parse-declaration.d.ts",
50
- "import": "./dist/parse-declaration.js"
51
- },
52
- "./parse-value": {
53
- "types": "./dist/parse-value.d.ts",
54
- "import": "./dist/parse-value.js"
55
- },
56
- "./parse-anplusb": {
57
- "types": "./dist/parse-anplusb.d.ts",
58
- "import": "./dist/parse-anplusb.js"
59
- },
60
- "./parse-dimension": {
61
- "types": "./dist/parse-dimension.d.ts",
62
- "import": "./dist/parse-dimension.js"
63
- },
64
- "./walker": {
65
- "types": "./dist/walk.d.ts",
66
- "import": "./dist/walk.js"
67
- },
68
- "./nodes": {
69
- "types": "./dist/constants.d.ts",
70
- "import": "./dist/constants.js"
71
- }
72
- },
73
- "scripts": {
74
- "test": "vitest",
75
- "test-coverage": "vitest --coverage",
76
- "test-build": "npm run build && vitest run --config vitest.config.build.ts",
77
- "build": "tsdown",
78
- "benchmark": "npm run build && node benchmark/index.ts",
79
- "benchmark:memory": "npm run build && node --expose-gc benchmark/memory.ts",
80
- "lint": "oxlint --config .oxlintrc.json && oxfmt --check",
81
- "check": "tsc --noEmit",
82
- "knip": "knip",
83
- "precommit": "npm run test -- --run; npm run lint; npm run check"
84
- },
85
- "devDependencies": {
86
- "@codecov/rollup-plugin": "^2.0.1",
87
- "@projectwallace/preset-oxlint": "^0.0.10",
88
- "@types/node": "^24.10.1",
89
- "@vitest/coverage-v8": "^4.1.5",
90
- "bootstrap": "^5.3.8",
91
- "css-tree": "^3.1.0",
92
- "knip": "^6.11.0",
93
- "oxfmt": "^0.47.0",
94
- "oxlint": "^1.62.0",
95
- "postcss": "^8.5.6",
96
- "publint": "^0.3.18",
97
- "tailwindcss": "^2.2.8",
98
- "tinybench": "^6.0.1",
99
- "tsdown": "^0.21.0",
100
- "typescript": "^6.0.3",
101
- "vitest": "^4.1.5"
102
- },
103
- "issues": "https://github.com/projectwallace/css-parser/issues"
104
- }
2
+ "name": "@projectwallace/css-parser",
3
+ "version": "0.16.0",
4
+ "description": "High-performance CSS lexer and parser, optimized for CSS inspection and analysis",
5
+ "keywords": [
6
+ "ast",
7
+ "css",
8
+ "lexer",
9
+ "parser",
10
+ "tokenizer"
11
+ ],
12
+ "homepage": "https://github.com/projectwallace/css-parser",
13
+ "license": "MIT",
14
+ "author": "Bart Veneman <bart@projectwallace.com>",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/projectwallace/css-parser.git"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "type": "module",
23
+ "main": "./dist/index.js",
24
+ "module": "./dist/index.js",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.js"
30
+ },
31
+ "./package.json": "./package.json",
32
+ "./tokenizer": {
33
+ "types": "./dist/tokenize.d.ts",
34
+ "import": "./dist/tokenize.js"
35
+ },
36
+ "./parse": {
37
+ "types": "./dist/parse.d.ts",
38
+ "import": "./dist/parse.js"
39
+ },
40
+ "./parse-selector": {
41
+ "types": "./dist/parse-selector.d.ts",
42
+ "import": "./dist/parse-selector.js"
43
+ },
44
+ "./parse-atrule-prelude": {
45
+ "types": "./dist/parse-atrule-prelude.d.ts",
46
+ "import": "./dist/parse-atrule-prelude.js"
47
+ },
48
+ "./parse-declaration": {
49
+ "types": "./dist/parse-declaration.d.ts",
50
+ "import": "./dist/parse-declaration.js"
51
+ },
52
+ "./parse-value": {
53
+ "types": "./dist/parse-value.d.ts",
54
+ "import": "./dist/parse-value.js"
55
+ },
56
+ "./parse-anplusb": {
57
+ "types": "./dist/parse-anplusb.d.ts",
58
+ "import": "./dist/parse-anplusb.js"
59
+ },
60
+ "./parse-dimension": {
61
+ "types": "./dist/parse-dimension.d.ts",
62
+ "import": "./dist/parse-dimension.js"
63
+ },
64
+ "./walker": {
65
+ "types": "./dist/walk.d.ts",
66
+ "import": "./dist/walk.js"
67
+ },
68
+ "./nodes": {
69
+ "types": "./dist/constants.d.ts",
70
+ "import": "./dist/constants.js"
71
+ }
72
+ },
73
+ "publishConfig": {
74
+ "access": "public",
75
+ "provenance": true
76
+ },
77
+ "devDependencies": {
78
+ "@codecov/rollup-plugin": "^2.0.1",
79
+ "@projectwallace/preset-oxlint": "^0.0.10",
80
+ "@types/node": "^24.10.1",
81
+ "@vitest/coverage-v8": "^4.1.5",
82
+ "bootstrap": "^5.3.8",
83
+ "css-tree": "^3.1.0",
84
+ "knip": "^6.11.0",
85
+ "oxfmt": "^0.49.0",
86
+ "oxlint": "^1.62.0",
87
+ "postcss": "^8.5.6",
88
+ "publint": "^0.3.18",
89
+ "tailwindcss": "^2.2.8",
90
+ "tinybench": "^6.0.1",
91
+ "tsdown": "^0.22.0",
92
+ "typescript": "^6.0.3",
93
+ "vitest": "^4.1.5"
94
+ },
95
+ "engines": {
96
+ "pnpm": ">=11.0.0"
97
+ },
98
+ "issues": "https://github.com/projectwallace/css-parser/issues",
99
+ "scripts": {
100
+ "test": "vitest",
101
+ "test-coverage": "vitest --coverage",
102
+ "test-build": "pnpm run build && vitest run --config vitest.config.build.ts",
103
+ "build": "tsdown",
104
+ "benchmark": "pnpm run build && node --expose-gc benchmark/index.ts",
105
+ "lint": "oxlint --config .oxlintrc.json && oxfmt --check",
106
+ "check": "tsc --noEmit",
107
+ "knip": "knip",
108
+ "precommit": "pnpm run test -- --run; pnpm run lint; pnpm run check"
109
+ }
110
+ }