tailwindcss 3.4.17 → 3.4.19

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/peers/index.js CHANGED
@@ -54982,66 +54982,27 @@ var require_syntax = __commonJS({
54982
54982
  var require_package = __commonJS({
54983
54983
  "node_modules/css-tree/package.json"(exports2, module2) {
54984
54984
  module2.exports = {
54985
- _args: [
54986
- [
54987
- "css-tree@2.3.1",
54988
- "/home/runner/work/tailwindcss/tailwindcss"
54989
- ]
54990
- ],
54991
- _development: true,
54992
- _from: "css-tree@2.3.1",
54993
- _id: "css-tree@2.3.1",
54994
- _inBundle: false,
54995
- _integrity: "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
54996
- _location: "/css-tree",
54997
- _phantomChildren: {},
54998
- _requested: {
54999
- type: "version",
55000
- registry: true,
55001
- raw: "css-tree@2.3.1",
55002
- name: "css-tree",
55003
- escapedName: "css-tree",
55004
- rawSpec: "2.3.1",
55005
- saveSpec: null,
55006
- fetchSpec: "2.3.1"
55007
- },
55008
- _requiredBy: [
55009
- "/svgo"
55010
- ],
55011
- _resolved: "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
55012
- _spec: "2.3.1",
55013
- _where: "/home/runner/work/tailwindcss/tailwindcss",
55014
- author: {
55015
- name: "Roman Dvornov",
55016
- email: "rdvornov@gmail.com",
55017
- url: "https://github.com/lahmatiy"
55018
- },
55019
- browser: {
55020
- "./cjs/data.cjs": "./dist/data.cjs",
55021
- "./cjs/version.cjs": "./dist/version.cjs",
55022
- "./lib/data.js": "./dist/data.js",
55023
- "./lib/version.js": "./dist/version.js"
55024
- },
55025
- bugs: {
55026
- url: "https://github.com/csstree/csstree/issues"
55027
- },
55028
- dependencies: {
55029
- "mdn-data": "2.0.30",
55030
- "source-map-js": "^1.0.1"
55031
- },
54985
+ name: "css-tree",
54986
+ version: "2.3.1",
55032
54987
  description: "A tool set for CSS: fast detailed parser (CSS \u2192 AST), walker (AST traversal), generator (AST \u2192 CSS) and lexer (validation and matching) based on specs and browser implementations",
55033
- devDependencies: {
55034
- c8: "^7.12.0",
55035
- clap: "^2.0.1",
55036
- esbuild: "^0.14.53",
55037
- eslint: "^8.4.1",
55038
- "json-to-ast": "^2.1.0",
55039
- mocha: "^9.2.2",
55040
- rollup: "^2.68.0"
55041
- },
55042
- engines: {
55043
- node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
55044
- },
54988
+ author: "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
54989
+ license: "MIT",
54990
+ repository: "csstree/csstree",
54991
+ keywords: [
54992
+ "css",
54993
+ "ast",
54994
+ "tokenizer",
54995
+ "parser",
54996
+ "walker",
54997
+ "lexer",
54998
+ "generator",
54999
+ "utils",
55000
+ "syntax",
55001
+ "validation"
55002
+ ],
55003
+ type: "module",
55004
+ module: "./lib/index.js",
55005
+ main: "./cjs/index.cjs",
55045
55006
  exports: {
55046
55007
  ".": {
55047
55008
  import: "./lib/index.js",
@@ -55094,58 +55055,57 @@ var require_package = __commonJS({
55094
55055
  require: "./cjs/utils/index.cjs"
55095
55056
  }
55096
55057
  },
55097
- files: [
55098
- "data",
55099
- "dist",
55100
- "cjs",
55101
- "!cjs/__tests",
55102
- "lib",
55103
- "!lib/__tests"
55104
- ],
55105
- homepage: "https://github.com/csstree/csstree#readme",
55106
- jsdelivr: "dist/csstree.esm.js",
55107
- keywords: [
55108
- "css",
55109
- "ast",
55110
- "tokenizer",
55111
- "parser",
55112
- "walker",
55113
- "lexer",
55114
- "generator",
55115
- "utils",
55116
- "syntax",
55117
- "validation"
55118
- ],
55119
- license: "MIT",
55120
- main: "./cjs/index.cjs",
55121
- module: "./lib/index.js",
55122
- name: "css-tree",
55123
- repository: {
55124
- type: "git",
55125
- url: "git+https://github.com/csstree/csstree.git"
55058
+ browser: {
55059
+ "./cjs/data.cjs": "./dist/data.cjs",
55060
+ "./cjs/version.cjs": "./dist/version.cjs",
55061
+ "./lib/data.js": "./dist/data.js",
55062
+ "./lib/version.js": "./dist/version.js"
55126
55063
  },
55064
+ unpkg: "dist/csstree.esm.js",
55065
+ jsdelivr: "dist/csstree.esm.js",
55127
55066
  scripts: {
55067
+ watch: "npm run build -- --watch",
55128
55068
  build: "npm run bundle && npm run esm-to-cjs --",
55129
55069
  "build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
55130
55070
  bundle: "node scripts/bundle",
55131
55071
  "bundle-and-test": "npm run bundle && npm run test:dist",
55132
- coverage: "c8 --exclude lib/__tests --reporter=lcovonly npm test",
55133
55072
  "esm-to-cjs": "node scripts/esm-to-cjs.cjs",
55134
55073
  "esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
55135
- hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null",
55136
55074
  lint: "eslint lib scripts && node scripts/review-syntax-patch --lint && node scripts/update-docs --lint",
55137
55075
  "lint-and-test": "npm run lint && npm test",
55138
- prepublishOnly: "npm run lint-and-test && npm run build-and-test",
55076
+ "update:docs": "node scripts/update-docs",
55139
55077
  "review:syntax-patch": "node scripts/review-syntax-patch",
55140
55078
  test: "mocha lib/__tests --reporter ${REPORTER:-progress}",
55141
55079
  "test:cjs": "mocha cjs/__tests --reporter ${REPORTER:-progress}",
55142
55080
  "test:dist": "mocha dist/__tests --reporter ${REPORTER:-progress}",
55143
- "update:docs": "node scripts/update-docs",
55144
- watch: "npm run build -- --watch"
55081
+ coverage: "c8 --exclude lib/__tests --reporter=lcovonly npm test",
55082
+ prepublishOnly: "npm run lint-and-test && npm run build-and-test",
55083
+ hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null"
55145
55084
  },
55146
- type: "module",
55147
- unpkg: "dist/csstree.esm.js",
55148
- version: "2.3.1"
55085
+ dependencies: {
55086
+ "mdn-data": "2.0.30",
55087
+ "source-map-js": "^1.0.1"
55088
+ },
55089
+ devDependencies: {
55090
+ c8: "^7.12.0",
55091
+ clap: "^2.0.1",
55092
+ esbuild: "^0.14.53",
55093
+ eslint: "^8.4.1",
55094
+ "json-to-ast": "^2.1.0",
55095
+ mocha: "^9.2.2",
55096
+ rollup: "^2.68.0"
55097
+ },
55098
+ engines: {
55099
+ node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
55100
+ },
55101
+ files: [
55102
+ "data",
55103
+ "dist",
55104
+ "cjs",
55105
+ "!cjs/__tests",
55106
+ "lib",
55107
+ "!lib/__tests"
55108
+ ]
55149
55109
  };
55150
55110
  }
55151
55111
  });
@@ -55333,65 +55293,37 @@ var require_cjs = __commonJS({
55333
55293
  var require_package2 = __commonJS({
55334
55294
  "node_modules/csso/package.json"(exports2, module2) {
55335
55295
  module2.exports = {
55336
- _args: [
55337
- [
55338
- "csso@5.0.5",
55339
- "/home/runner/work/tailwindcss/tailwindcss"
55340
- ]
55296
+ name: "csso",
55297
+ version: "5.0.5",
55298
+ description: "CSS minifier with structural optimisations",
55299
+ author: "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
55300
+ maintainers: [
55301
+ {
55302
+ name: "Roman Dvornov",
55303
+ email: "rdvornov@gmail.com",
55304
+ "github-username": "lahmatiy"
55305
+ }
55341
55306
  ],
55342
- _development: true,
55343
- _from: "csso@5.0.5",
55344
- _id: "csso@5.0.5",
55345
- _inBundle: false,
55346
- _integrity: "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",
55347
- _location: "/csso",
55348
- _phantomChildren: {
55349
- "source-map-js": "1.2.1"
55350
- },
55351
- _requested: {
55352
- type: "version",
55353
- registry: true,
55354
- raw: "csso@5.0.5",
55355
- name: "csso",
55356
- escapedName: "csso",
55357
- rawSpec: "5.0.5",
55358
- saveSpec: null,
55359
- fetchSpec: "5.0.5"
55360
- },
55361
- _requiredBy: [
55362
- "/svgo"
55307
+ repository: "css/csso",
55308
+ license: "MIT",
55309
+ keywords: [
55310
+ "css",
55311
+ "compress",
55312
+ "minifier",
55313
+ "minify",
55314
+ "optimise",
55315
+ "optimisation",
55316
+ "csstree"
55363
55317
  ],
55364
- _resolved: "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",
55365
- _spec: "5.0.5",
55366
- _where: "/home/runner/work/tailwindcss/tailwindcss",
55367
- author: {
55368
- name: "Sergey Kryzhanovsky",
55369
- email: "skryzhanovsky@ya.ru",
55370
- url: "https://github.com/afelix"
55371
- },
55318
+ type: "module",
55319
+ unpkg: "dist/csso.esm.js",
55320
+ jsdelivr: "dist/csso.esm.js",
55372
55321
  browser: {
55373
55322
  "./cjs/version.cjs": "./dist/version.cjs",
55374
55323
  "./lib/version.js": "./dist/version.js"
55375
55324
  },
55376
- bugs: {
55377
- url: "https://github.com/css/csso/issues"
55378
- },
55379
- dependencies: {
55380
- "css-tree": "~2.2.0"
55381
- },
55382
- description: "CSS minifier with structural optimisations",
55383
- devDependencies: {
55384
- c8: "^7.10.0",
55385
- esbuild: "^0.14.54",
55386
- eslint: "^7.24.0",
55387
- mocha: "^9.2.2",
55388
- rollup: "^2.60.2",
55389
- "source-map-js": "^1.0.1"
55390
- },
55391
- engines: {
55392
- node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
55393
- npm: ">=7.0.0"
55394
- },
55325
+ main: "./cjs/index.cjs",
55326
+ module: "./lib/index.js",
55395
55327
  exports: {
55396
55328
  ".": {
55397
55329
  import: "./lib/index.js",
@@ -55404,56 +55336,43 @@ var require_package2 = __commonJS({
55404
55336
  "./dist/*": "./dist/*.js",
55405
55337
  "./package.json": "./package.json"
55406
55338
  },
55407
- files: [
55408
- "dist",
55409
- "!dist/test",
55410
- "cjs",
55411
- "lib"
55412
- ],
55413
- homepage: "https://github.com/css/csso#readme",
55414
- jsdelivr: "dist/csso.esm.js",
55415
- keywords: [
55416
- "css",
55417
- "compress",
55418
- "minifier",
55419
- "minify",
55420
- "optimise",
55421
- "optimisation",
55422
- "csstree"
55423
- ],
55424
- license: "MIT",
55425
- main: "./cjs/index.cjs",
55426
- maintainers: [
55427
- {
55428
- name: "Roman Dvornov",
55429
- email: "rdvornov@gmail.com"
55430
- }
55431
- ],
55432
- module: "./lib/index.js",
55433
- name: "csso",
55434
- repository: {
55435
- type: "git",
55436
- url: "git+https://github.com/css/csso.git"
55437
- },
55438
55339
  scripts: {
55340
+ test: "mocha test --reporter ${REPORTER:-progress}",
55341
+ "test:cjs": "mocha cjs-test --reporter ${REPORTER:-progress}",
55342
+ "test:dist": "mocha dist/test --reporter ${REPORTER:-progress}",
55343
+ lint: "eslint lib scripts test",
55344
+ "lint-and-test": "npm run lint && npm test",
55439
55345
  build: "npm run bundle && npm run esm-to-cjs",
55440
55346
  "build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
55441
55347
  bundle: "node scripts/bundle",
55442
55348
  "bundle-and-test": "npm run bundle && npm run test:dist",
55443
- coverage: "c8 --reporter=lcovonly npm test",
55444
55349
  "esm-to-cjs": "node scripts/esm-to-cjs.cjs",
55445
55350
  "esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
55446
- hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null",
55447
- lint: "eslint lib scripts test",
55448
- "lint-and-test": "npm run lint && npm test",
55351
+ coverage: "c8 --reporter=lcovonly npm test",
55449
55352
  prepublishOnly: "npm run lint-and-test && npm run build-and-test",
55450
- test: "mocha test --reporter ${REPORTER:-progress}",
55451
- "test:cjs": "mocha cjs-test --reporter ${REPORTER:-progress}",
55452
- "test:dist": "mocha dist/test --reporter ${REPORTER:-progress}"
55353
+ hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null"
55453
55354
  },
55454
- type: "module",
55455
- unpkg: "dist/csso.esm.js",
55456
- version: "5.0.5"
55355
+ dependencies: {
55356
+ "css-tree": "~2.2.0"
55357
+ },
55358
+ devDependencies: {
55359
+ c8: "^7.10.0",
55360
+ esbuild: "^0.14.54",
55361
+ eslint: "^7.24.0",
55362
+ mocha: "^9.2.2",
55363
+ rollup: "^2.60.2",
55364
+ "source-map-js": "^1.0.1"
55365
+ },
55366
+ engines: {
55367
+ node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
55368
+ npm: ">=7.0.0"
55369
+ },
55370
+ files: [
55371
+ "dist",
55372
+ "!dist/test",
55373
+ "cjs",
55374
+ "lib"
55375
+ ]
55457
55376
  };
55458
55377
  }
55459
55378
  });
@@ -75529,67 +75448,27 @@ var require_syntax2 = __commonJS({
75529
75448
  var require_package3 = __commonJS({
75530
75449
  "node_modules/csso/node_modules/css-tree/package.json"(exports2, module2) {
75531
75450
  module2.exports = {
75532
- _args: [
75533
- [
75534
- "css-tree@2.2.1",
75535
- "/home/runner/work/tailwindcss/tailwindcss"
75536
- ]
75537
- ],
75538
- _development: true,
75539
- _from: "css-tree@2.2.1",
75540
- _id: "css-tree@2.2.1",
75541
- _inBundle: false,
75542
- _integrity: "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
75543
- _location: "/csso/css-tree",
75544
- _phantomChildren: {},
75545
- _requested: {
75546
- type: "version",
75547
- registry: true,
75548
- raw: "css-tree@2.2.1",
75549
- name: "css-tree",
75550
- escapedName: "css-tree",
75551
- rawSpec: "2.2.1",
75552
- saveSpec: null,
75553
- fetchSpec: "2.2.1"
75554
- },
75555
- _requiredBy: [
75556
- "/csso"
75557
- ],
75558
- _resolved: "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",
75559
- _spec: "2.2.1",
75560
- _where: "/home/runner/work/tailwindcss/tailwindcss",
75561
- author: {
75562
- name: "Roman Dvornov",
75563
- email: "rdvornov@gmail.com",
75564
- url: "https://github.com/lahmatiy"
75565
- },
75566
- browser: {
75567
- "./cjs/data.cjs": "./dist/data.cjs",
75568
- "./cjs/version.cjs": "./dist/version.cjs",
75569
- "./lib/data.js": "./dist/data.js",
75570
- "./lib/version.js": "./dist/version.js"
75571
- },
75572
- bugs: {
75573
- url: "https://github.com/csstree/csstree/issues"
75574
- },
75575
- dependencies: {
75576
- "mdn-data": "2.0.28",
75577
- "source-map-js": "^1.0.1"
75578
- },
75451
+ name: "css-tree",
75452
+ version: "2.2.1",
75579
75453
  description: "A tool set for CSS: fast detailed parser (CSS \u2192 AST), walker (AST traversal), generator (AST \u2192 CSS) and lexer (validation and matching) based on specs and browser implementations",
75580
- devDependencies: {
75581
- c8: "^7.7.1",
75582
- clap: "^2.0.1",
75583
- esbuild: "^0.14.53",
75584
- eslint: "^8.4.1",
75585
- "json-to-ast": "^2.1.0",
75586
- mocha: "^9.1.4",
75587
- rollup: "^2.68.0"
75588
- },
75589
- engines: {
75590
- node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
75591
- npm: ">=7.0.0"
75592
- },
75454
+ author: "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
75455
+ license: "MIT",
75456
+ repository: "csstree/csstree",
75457
+ keywords: [
75458
+ "css",
75459
+ "ast",
75460
+ "tokenizer",
75461
+ "parser",
75462
+ "walker",
75463
+ "lexer",
75464
+ "generator",
75465
+ "utils",
75466
+ "syntax",
75467
+ "validation"
75468
+ ],
75469
+ type: "module",
75470
+ module: "./lib/index.js",
75471
+ main: "./cjs/index.cjs",
75593
75472
  exports: {
75594
75473
  ".": {
75595
75474
  import: "./lib/index.js",
@@ -75642,58 +75521,58 @@ var require_package3 = __commonJS({
75642
75521
  require: "./cjs/utils/index.cjs"
75643
75522
  }
75644
75523
  },
75645
- files: [
75646
- "data",
75647
- "dist",
75648
- "cjs",
75649
- "!cjs/__tests",
75650
- "lib",
75651
- "!lib/__tests"
75652
- ],
75653
- homepage: "https://github.com/csstree/csstree#readme",
75654
- jsdelivr: "dist/csstree.esm.js",
75655
- keywords: [
75656
- "css",
75657
- "ast",
75658
- "tokenizer",
75659
- "parser",
75660
- "walker",
75661
- "lexer",
75662
- "generator",
75663
- "utils",
75664
- "syntax",
75665
- "validation"
75666
- ],
75667
- license: "MIT",
75668
- main: "./cjs/index.cjs",
75669
- module: "./lib/index.js",
75670
- name: "css-tree",
75671
- repository: {
75672
- type: "git",
75673
- url: "git+https://github.com/csstree/csstree.git"
75524
+ browser: {
75525
+ "./cjs/data.cjs": "./dist/data.cjs",
75526
+ "./cjs/version.cjs": "./dist/version.cjs",
75527
+ "./lib/data.js": "./dist/data.js",
75528
+ "./lib/version.js": "./dist/version.js"
75674
75529
  },
75530
+ unpkg: "dist/csstree.esm.js",
75531
+ jsdelivr: "dist/csstree.esm.js",
75675
75532
  scripts: {
75533
+ watch: "npm run build -- --watch",
75676
75534
  build: "npm run bundle && npm run esm-to-cjs --",
75677
75535
  "build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
75678
75536
  bundle: "node scripts/bundle",
75679
75537
  "bundle-and-test": "npm run bundle && npm run test:dist",
75680
- coverage: "c8 --exclude lib/__tests --reporter=lcovonly npm test",
75681
75538
  "esm-to-cjs": "node scripts/esm-to-cjs.cjs",
75682
75539
  "esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
75683
- hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null",
75684
75540
  lint: "eslint lib scripts && node scripts/review-syntax-patch --lint && node scripts/update-docs --lint",
75685
75541
  "lint-and-test": "npm run lint && npm test",
75686
- prepublishOnly: "npm run lint-and-test && npm run build-and-test",
75542
+ "update:docs": "node scripts/update-docs",
75687
75543
  "review:syntax-patch": "node scripts/review-syntax-patch",
75688
75544
  test: "mocha lib/__tests --reporter ${REPORTER:-progress}",
75689
75545
  "test:cjs": "mocha cjs/__tests --reporter ${REPORTER:-progress}",
75690
75546
  "test:dist": "mocha dist/__tests --reporter ${REPORTER:-progress}",
75691
- "update:docs": "node scripts/update-docs",
75692
- watch: "npm run build -- --watch"
75547
+ coverage: "c8 --exclude lib/__tests --reporter=lcovonly npm test",
75548
+ prepublishOnly: "npm run lint-and-test && npm run build-and-test",
75549
+ hydrogen: "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null"
75693
75550
  },
75694
- type: "module",
75695
- unpkg: "dist/csstree.esm.js",
75696
- version: "2.2.1"
75551
+ dependencies: {
75552
+ "mdn-data": "2.0.28",
75553
+ "source-map-js": "^1.0.1"
75554
+ },
75555
+ devDependencies: {
75556
+ c8: "^7.7.1",
75557
+ clap: "^2.0.1",
75558
+ esbuild: "^0.14.53",
75559
+ eslint: "^8.4.1",
75560
+ "json-to-ast": "^2.1.0",
75561
+ mocha: "^9.1.4",
75562
+ rollup: "^2.68.0"
75563
+ },
75564
+ engines: {
75565
+ node: "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
75566
+ npm: ">=7.0.0"
75567
+ },
75568
+ files: [
75569
+ "data",
75570
+ "dist",
75571
+ "cjs",
75572
+ "!cjs/__tests",
75573
+ "lib",
75574
+ "!lib/__tests"
75575
+ ]
75697
75576
  };
75698
75577
  }
75699
75578
  });
@@ -43,10 +43,13 @@ async function loadPostCssPlugins(customPostCssPath) {
43
43
  config.plugins = []
44
44
  }
45
45
 
46
+ // We have to await these because in v5 and v6 of postcss-load-config
47
+ // these functions return promises while they don't in v4. Awaiting a
48
+ // non-promise is basically a no-op so this is safe to do.
46
49
  return {
47
50
  file,
48
- plugins: loadPlugins(config, file),
49
- options: loadOptions(config, file),
51
+ plugins: await loadPlugins(config, file),
52
+ options: await loadOptions(config, file),
50
53
  }
51
54
  })()
52
55
  : await postcssrc()
@@ -409,8 +409,8 @@ export let variantPlugins = {
409
409
  matchVariant(
410
410
  'supports',
411
411
  (value = '') => {
412
- let check = normalize(value)
413
- let isRaw = /^\w*\s*\(/.test(check)
412
+ let check = value.startsWith('--') ? value : normalize(value)
413
+ let isRaw = /^[\w-]*\s*\(/.test(check)
414
414
 
415
415
  // Chrome has a bug where `(condition1)or(condition2)` is not valid
416
416
  // But `(condition1) or (condition2)` is supported.
@@ -143,7 +143,14 @@ function applyImportant(matches, classCandidate) {
143
143
  className === classCandidate ? `!${className}` : className
144
144
  )
145
145
 
146
- r.selector = ast.toString()
146
+ let newSelector = ast.toString()
147
+
148
+ if (newSelector.trim() === '') {
149
+ r.remove()
150
+ return
151
+ }
152
+
153
+ r.selector = newSelector
147
154
 
148
155
  r.walkDecls((d) => (d.important = true))
149
156
  })
@@ -35,23 +35,8 @@ export function loadConfig(path: string): Config {
35
35
  let config = (function () {
36
36
  if (!path) return {}
37
37
 
38
- // Always use jiti for now. There is a a bug that occurs in Node v22.12+
39
- // where imported files return invalid results
40
- return lazyJiti()(path)
41
-
42
- // Always use jiti for ESM or TS files
43
- if (
44
- path &&
45
- (path.endsWith('.mjs') ||
46
- path.endsWith('.ts') ||
47
- path.endsWith('.cts') ||
48
- path.endsWith('.mts'))
49
- ) {
50
- return lazyJiti()(path)
51
- }
52
-
53
38
  try {
54
- return path ? require(path) : {}
39
+ return require(path)
55
40
  } catch {
56
41
  return lazyJiti()(path)
57
42
  }
@@ -54,6 +54,9 @@ function getTailwindConfig(configOrPath) {
54
54
 
55
55
  // It has changed (based on timestamps), or first run
56
56
  for (let file of newDeps) {
57
+ // When loaded transitively through a TypeScript file `require.cache`
58
+ // may be undefined. Happens in Node 22.18+.
59
+ if (!require.cache) continue
57
60
  delete require.cache[file]
58
61
  }
59
62
  let newConfig = validateConfig(resolveConfig(loadConfig(userConfigPath)))