@geastack/geatsc-plugin-gea 0.1.7 → 0.1.8
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/dist/analyze-alpha.d.ts +5 -0
- package/dist/analyze-alpha.js +76 -0
- package/dist/analyze-classes.d.ts +1 -0
- package/dist/analyze-classes.js +157 -0
- package/dist/analyze-css-ranges.d.ts +4 -0
- package/dist/analyze-css-ranges.js +115 -0
- package/dist/analyze-css.d.ts +8 -0
- package/dist/analyze-css.js +205 -0
- package/dist/analyze-literals.d.ts +2 -0
- package/dist/analyze-literals.js +267 -0
- package/dist/analyze-nodes.d.ts +4 -0
- package/dist/analyze-nodes.js +68 -0
- package/dist/analyze-renderer.d.ts +23 -0
- package/dist/analyze-renderer.js +403 -0
- package/dist/analyze.js +96 -16
- package/dist/cpp-mounted-lowering.js +11 -4
- package/dist/cpp-template-renderer.js +8 -4
- package/package.json +1 -1
- package/dist/-NP7j5y6zEGfb48-aK3wn/ssr/23fbbdae81af26e87d246f446f815f660e81e53b +0 -79
- package/dist/-NP7j5y6zEGfb48-aK3wn/ssr/59153b257f04899cba3d8da7aae3a13eca53db3a +0 -139
- package/dist/-NP7j5y6zEGfb48-aK3wn/ssr/9c52a561e913859b228048d14258ca97ce5bc6fc +0 -404
- package/dist/1yUrernzFGvnD_UiGpODP/ssr/43c969357d970eeea3541112252bd0319306d26f +0 -139
- package/dist/1yUrernzFGvnD_UiGpODP/ssr/ff4f5dd49754b903bf7df8c76f224fdf47c89c43 +0 -34
- package/dist/2evGr4YiGGLwh8BcRdP1x/ssr/2316df84a5e605fe5471accef12a570d21a6bd30 +0 -35
- package/dist/2evGr4YiGGLwh8BcRdP1x/ssr/5f39ab2a4e90987ec6e4045c5114bce1a5fc14ae +0 -102
- package/dist/2evGr4YiGGLwh8BcRdP1x/ssr/ab618ae21be2876b4568653392e65b0a4b1ab56e +0 -79
- package/dist/2evGr4YiGGLwh8BcRdP1x/ssr/e4727d7ca269b50b91b8260d7898b028b9e0945c +0 -112
- package/dist/2udtPdx7yAlQpzafoE6a-/ssr/1551e51d8538a1ce7d446ac04118f809c12a7817 +0 -139
- package/dist/2udtPdx7yAlQpzafoE6a-/ssr/21e2db1e7d3c32ae96ba9bc18cfe6b49d6f7f4de +0 -404
- package/dist/2udtPdx7yAlQpzafoE6a-/ssr/de992b492417dd88edce52e7197c5931c67f8389 +0 -79
- package/dist/4HcqBc5bhbrMN3jFFtr65/ssr/d69aa00df5d21622a3fa9aaf4a2cb45944083c40 +0 -39
- package/dist/9eW08p1LAN6_2lZNhX9eP/ssr/23c7f7307b5680c5a7d96fc0a82e6e1e8c2c1fd2 +0 -34
- package/dist/9eW08p1LAN6_2lZNhX9eP/ssr/7c0d8d8ea9008ff3623a192d6b38960460465a50 +0 -139
- package/dist/AVLcYCvqUpF21yMe3Tx-r/ssr/e8f51f49edd0b97e264cf6d6e25a868d1c250d3d +0 -25
- package/dist/Be5iBpotrvIsllJqMA6KT/ssr/1551e51d8538a1ce7d446ac04118f809c12a7817 +0 -139
- package/dist/Be5iBpotrvIsllJqMA6KT/ssr/4c084051b9d4169ad96a6b59f6fd5a96671eab10 +0 -34
- package/dist/EPvNZFehOdH8QZjTVoPlG/ssr/b91e7517a5a2df69ef39a1367c8b69f789dcf118 +0 -39
- package/dist/FwgGYSmqV0WrEEX07ydjs/ssr/fdf09350f609ff32af14ed729f201a2e6902bbcf +0 -21
- package/dist/LaKzuqDMX4cySj1p5vDdC/ssr/65e171df90da73b30a9dc1f7793226106a5f0322 +0 -34
- package/dist/LaKzuqDMX4cySj1p5vDdC/ssr/aede2ec11eeae586fc230eb30958f32a5f4e8668 +0 -139
- package/dist/NcTRr0JnhN5nl_pzpsOVg/ssr/626cac44356697cce230d37c8c078b2c6708c154 +0 -36
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/1551e51d8538a1ce7d446ac04118f809c12a7817 +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/23c7f7307b5680c5a7d96fc0a82e6e1e8c2c1fd2 +0 -34
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/43c969357d970eeea3541112252bd0319306d26f +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/4c084051b9d4169ad96a6b59f6fd5a96671eab10 +0 -34
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/59153b257f04899cba3d8da7aae3a13eca53db3a +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/65e171df90da73b30a9dc1f7793226106a5f0322 +0 -34
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/697dfad789a99337f9df2180d60c14de0796b752 +0 -34
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/7c0d8d8ea9008ff3623a192d6b38960460465a50 +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/900b3ec663a9e3d7c19349c9bf17b8d2d2525a4f +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/aede2ec11eeae586fc230eb30958f32a5f4e8668 +0 -139
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/ca0a6932d82d3ba17f6cd4e135ab8335dab346f9 +0 -34
- package/dist/PMAdQgsm6P76j-oFIBZIW/ssr/ff4f5dd49754b903bf7df8c76f224fdf47c89c43 +0 -34
- package/dist/P_HMStnmsLmpNcFckYzq5/ssr/c7406768a381df35307ae8ddfb8822a8dae87568 +0 -51
- package/dist/WulBW6K8Lzl3jfPJwbxb9/ssr/ec4b36c8fa636d5be86395d27e8a934002dbffc0 +0 -36
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/089829f285c81a30df83f8731458b5454e6ee470 +0 -92
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/122edb337296bd7cea56b46c35604d5a845dffe2 +0 -36
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/1d16166dbcc4eaea7c00286371598583095383b9 +0 -19
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/24044b464527dc868fce555f70aafc11c56d118e +0 -670
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/aa73cfad60857f2c64ecf1ddee4764e02b57669f +0 -25
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/bd0d20a72ba440ecf5591d942d3785f14181490b +0 -51
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/c07e72f4e4e8ff594448f83c34077d3e343494f8 +0 -6
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/c4fb4f2ef8b24961cec0e0c02348053492cb132e +0 -512
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/cf21a805df8522d52c4eef0a8de76b08c11567c3 +0 -92
- package/dist/eD_8YoB-hZaQRYCaS-xEn/ssr/f3b65916442f85ddc463a233fa896575f3f142ef +0 -16
- package/dist/gea-static-css-codegen-goakhz/app/index.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/app/styles.css +0 -55
- package/dist/gea-static-css-codegen-goakhz/out/dist/gea-ir.json +0 -11
- package/dist/gea-static-css-codegen-goakhz/out/dist/index.css +0 -56
- package/dist/gea-static-css-codegen-goakhz/out/dist/index.js +0 -4
- package/dist/gea-static-css-codegen-goakhz/out/gea-embedded-compat-src/index.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/out/gea-embedded-compat-src/styles.css +0 -55
- package/dist/gea-static-css-codegen-goakhz/out/gea-embedded-compat-src/tsconfig.json +0 -30
- package/dist/gea-static-css-codegen-goakhz/out/gea-embedded-compat.vite.config.mjs +0 -60
- package/dist/gea-static-css-codegen-goakhz/out/gea-style-registration.cppfrag +0 -43
- package/dist/gea-static-css-codegen-goakhz/out/gea-type-hints.d.ts +0 -15
- package/dist/gea-static-css-codegen-goakhz/out/gea-vite-bundle.js +0 -5
- package/dist/gea-static-css-codegen-goakhz/out/gea_dynamic_proxy.h +0 -862
- package/dist/gea-static-css-codegen-goakhz/out/gea_embedded_app_config.h +0 -1
- package/dist/gea-static-css-codegen-goakhz/out/gea_embedded_assets_generated.cpp +0 -9
- package/dist/gea-static-css-codegen-goakhz/out/gea_embedded_font_generated.cpp +0 -35
- package/dist/gea-static-css-codegen-goakhz/out/gea_embedded_font_generated.h +0 -5
- package/dist/gea-static-css-codegen-goakhz/out/gea_eval.h +0 -1376
- package/dist/gea-static-css-codegen-goakhz/out/gea_native_class_prototype.h +0 -44
- package/dist/gea-static-css-codegen-goakhz/out/gea_runtime.h +0 -29424
- package/dist/gea-static-css-codegen-goakhz/out/gea_runtime_builtins.cpp +0 -55
- package/dist/gea-static-css-codegen-goakhz/out/geatsc-sources.txt +0 -1
- package/dist/gea-static-css-codegen-goakhz/out/generated_support.hpp +0 -5
- package/dist/gea-static-css-codegen-goakhz/out/index.cpp +0 -112
- package/dist/gea-static-css-codegen-goakhz/out/module-graph/gea-module-graph.json +0 -32
- package/dist/gea-static-css-codegen-goakhz/out/module-graph/sources/56c92bf95266168f.original.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/out/module-graph/sources/56c92bf95266168f.transformed.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/out-tape/dist/gea-ir.json +0 -11
- package/dist/gea-static-css-codegen-goakhz/out-tape/dist/index.css +0 -56
- package/dist/gea-static-css-codegen-goakhz/out-tape/dist/index.js +0 -4
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-embedded-compat-src/index.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-embedded-compat-src/styles.css +0 -55
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-embedded-compat-src/tsconfig.json +0 -30
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-embedded-compat.vite.config.mjs +0 -60
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-style-registration.cppfrag +0 -265
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-type-hints.d.ts +0 -15
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea-vite-bundle.js +0 -5
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_dynamic_proxy.h +0 -862
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_embedded_app_config.h +0 -1
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_embedded_assets_generated.cpp +0 -9
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_embedded_font_generated.cpp +0 -35
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_embedded_font_generated.h +0 -5
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_eval.h +0 -1376
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_native_class_prototype.h +0 -44
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_runtime.h +0 -29424
- package/dist/gea-static-css-codegen-goakhz/out-tape/gea_runtime_builtins.cpp +0 -55
- package/dist/gea-static-css-codegen-goakhz/out-tape/geatsc-sources.txt +0 -1
- package/dist/gea-static-css-codegen-goakhz/out-tape/generated_support.hpp +0 -5
- package/dist/gea-static-css-codegen-goakhz/out-tape/index.cpp +0 -334
- package/dist/gea-static-css-codegen-goakhz/out-tape/module-graph/gea-module-graph.json +0 -32
- package/dist/gea-static-css-codegen-goakhz/out-tape/module-graph/sources/42bc0eefc7e52b81.original.ts +0 -4
- package/dist/gea-static-css-codegen-goakhz/out-tape/module-graph/sources/42bc0eefc7e52b81.transformed.ts +0 -4
- package/dist/h94K5c3qghA6vDHPx6P0k/ssr/fe91f58af94e2b38c5ed8e1e9d949e427ebecaa7 +0 -23
- package/dist/hB98muH78k5qottCCypDO/ssr/697dfad789a99337f9df2180d60c14de0796b752 +0 -34
- package/dist/hB98muH78k5qottCCypDO/ssr/900b3ec663a9e3d7c19349c9bf17b8d2d2525a4f +0 -139
- package/dist/iwx7OQt5hBKU3MKsghm16/ssr/1838a1af713fc047a7495c90adb4d0044d7bd0fb +0 -404
- package/dist/iwx7OQt5hBKU3MKsghm16/ssr/7c0d8d8ea9008ff3623a192d6b38960460465a50 +0 -139
- package/dist/iwx7OQt5hBKU3MKsghm16/ssr/e7abefa1a7bb85850541105d3636e2258300def9 +0 -79
- package/dist/kMGx0IhJHsXpKfLsZrXRT/ssr/aede2ec11eeae586fc230eb30958f32a5f4e8668 +0 -139
- package/dist/kMGx0IhJHsXpKfLsZrXRT/ssr/ca54bfb32df5a2a0076b557c2661881300cb8f20 +0 -79
- package/dist/kMGx0IhJHsXpKfLsZrXRT/ssr/ebeec3b992ceed7f0a244a48191cebfa16f7f4ba +0 -404
- package/dist/manQ8xv5xtsKQT4qdqSaZ/ssr/2316df84a5e605fe5471accef12a570d21a6bd30 +0 -35
- package/dist/manQ8xv5xtsKQT4qdqSaZ/ssr/ab618ae21be2876b4568653392e65b0a4b1ab56e +0 -79
- package/dist/manQ8xv5xtsKQT4qdqSaZ/ssr/d41aa4c047efd13b4b830a76b16a32a841277683 +0 -60
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/001c70fd +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/022a2803 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/06fe4d08 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/07151fbd +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/07771caa +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0971d06e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/09bfe338 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0bf53df3 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0c015148 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0c6e767f +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0cd8df7b +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0f2bdced +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/0fc03a60 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/10843df3 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/12df1558 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/16bc7411 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/16e244d8 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/16f04851 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1725d0c2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1873f7af +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/199c6adf +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1b50acf6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1d944c1e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1db7a276 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1f19f8b8 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1f28d656 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/1f2afa74 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/25939ca0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/28b3b847 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/28d22b13 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/2b7a6563 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/2c7032b2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/2d2c654b +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/2f07de9e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/2f398cf0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/310a7cbf +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3197b860 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/328c7b94 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/32b57adc +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3335c5d9 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3345a15a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/337fdcc4 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/33837c7c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/33fcc9a6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/368c53b2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3770b5de +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/37906e42 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/397d8890 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3be2b1d1 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3e317272 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3ea2f67c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3ead819c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/3febb303 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/403b35b1 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/452fcec7 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/488499f4 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/4901157a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/4960ee46 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/4bdd0e00 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/4dd70ec6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/4f26dca7 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/50c2034d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/51a3b44c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/53ada900 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/54a444b6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/54d5d82a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/56134f25 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/576277fe +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/5ab9563e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/5d0d348d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/5eb13c1c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/5f14c51e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6065d137 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6108e67b +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6359b2db +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/641751de +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/65830823 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6607c66f +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/67491ab6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/678bf3c3 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6b621650 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6bab87b2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6bef57cd +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6bfcaf55 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/6fb1faf5 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/704982c1 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/70bd223d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/713e2f98 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/72792991 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7489c061 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/754dcf74 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/762f241b +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/76509729 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/778b0471 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7c74a728 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7ca6f993 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7cc80b65 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7db099ab +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7f3355c1 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7f461a6d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/7f8ef6cb +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/80db73e0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/834288ba +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/83aa9e8a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/86057db4 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/88431186 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/8a106967 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/8a7d4707 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/8ced2208 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/8ed495c2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/91ed3647 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/91f3ca78 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/92f71cd3 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/95801705 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/96e6a91c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9811bfb2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9820b474 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/98c6b497 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/98df2b49 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9b2df099 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9b4b2e23 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9c67183c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9cd5bdc2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9ec7cca2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/9ee28efd +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a0eb0352 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a17ef08b +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a1ec3147 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a31ed471 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a5114801 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/a57df313 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/aa5c32fa +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ab00fadd +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/abddd0b0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ad0c9346 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ad52bf33 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/aea170ba +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/af6de656 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b13bc492 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b4362914 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b4651268 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b73794ba +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b7606b37 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b87722c9 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/b976adc7 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ba08612f +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/bb46e6db +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/bcc9b75c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/bf1d1eae +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/bfd62855 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/c16db228 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/c718787d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/c96b0e21 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/c97e7ed6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/cab9b6e0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/cc1b39b9 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/cc8de427 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/cdc96293 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/cf4aeb53 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/d0689011 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/d1ef02e5 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/d591d627 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/d60c251a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/d7669b73 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/db79ae8e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/dd4619af +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/de155aa2 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/df71a83d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e009e7b6 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e169f60e +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e2194904 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e38718d0 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e438591f +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e544931a +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e5a20c19 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e5e701f1 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e6187cfb +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e6666360 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e738940d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e839a53d +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e8b75115 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/e9483a67 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ec9fcbd3 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/ee3392a9 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/eef123f8 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f05961cb +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f2523c2c +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f35d58df +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f39fb0de +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f52b32a4 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f8209a58 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f86c38a9 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/f932f412 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/faec17be +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/fbd30599 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/fc4288d7 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/fc4c38db +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/fcbe8296 +0 -0
- package/dist/node-compile-cache/v24.8.0-arm64-ef5a0af0-501/fd140002 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/001c70fd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/022a2803 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0494239d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/06fe4d08 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/07151fbd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/07771caa +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0885c048 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0971d06e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/09bfe338 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0bbe5ac8 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0bf53df3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0c015148 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0c6e767f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0cd8df7b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0dddc6a9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0f2bdced +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/0fc03a60 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/10843df3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/12df1558 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/16bc7411 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/16e244d8 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/16f04851 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1725d0c2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1873f7af +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/199c6adf +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1b50acf6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1d944c1e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1db7a276 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1f19f8b8 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1f28d656 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/1f2afa74 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2295757a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/25939ca0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/287d1a99 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/28b3b847 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/28d22b13 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2a13385d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2b7a6563 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2d2c654b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2d785f25 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2f07de9e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/2f398cf0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/310a7cbf +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3197b860 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/31f0158b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/328c7b94 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/32b57adc +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3335c5d9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3345a15a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/337fdcc4 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/33837c7c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/33fcc9a6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/368c53b2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3770b5de +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/37906e42 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/397d8890 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/39a5e68f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3be2b1d1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3e317272 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3ea2f67c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3ead819c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3f442e5e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/3febb303 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/403b35b1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/40d69bd7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/430ed88d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/452fcec7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/488499f4 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4901157a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4960ee46 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4b3ad891 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4bdd0e00 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4c678d09 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4dd70ec6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/4f26dca7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/50c2034d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/51a3b44c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/53ada900 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/54a444b6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/54d5d82a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/56134f25 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/576277fe +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/5ab9563e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/5d0d348d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/5eb13c1c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/5f14c51e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/5f4c84b1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6065d137 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6108e67b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6359b2db +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/641751de +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/65830823 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6607c66f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/67491ab6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/678bf3c3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6b621650 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6bab87b2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6bef57cd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6bfcaf55 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/6fb1faf5 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/704982c1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/70a69bf6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/70bd223d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/713e2f98 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/72792991 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7421f1fd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7489c061 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/754dcf74 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/762f241b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/76509729 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/772f5e05 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/778b0471 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7a55d10e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7c74a728 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7ca6f993 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7cc80b65 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7db099ab +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7f3355c1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7f461a6d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/7f8ef6cb +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/80db73e0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/812021d8 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/824be018 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/834288ba +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/83aa9e8a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/85466330 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/85e01f44 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/86057db4 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/87d11a8c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/88431186 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8a106967 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8a7d4707 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8c64cee2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8ced2208 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8ed495c2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/8f038bcf +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/91ed3647 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/91f3ca78 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/92f71cd3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/95801705 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/96e6a91c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9811bfb2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9820b474 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/98c6b497 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/98df2b49 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9b2df099 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9b4b2e23 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9c01e7e5 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9c67183c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9cd5bdc2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9ec7cca2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/9ee28efd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a0eb0352 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a17ef08b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a1ec3147 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a31ed471 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a34ce3ce +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a5114801 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a57df313 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/a92ebcce +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/aa5c32fa +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ab00fadd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/abddd0b0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ad0c9346 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ad52bf33 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/aea170ba +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/af6de656 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/afc20422 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b0bb39dd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b13bc492 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b4362914 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b4651268 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b714fef0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b73794ba +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b7606b37 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b87722c9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b94a1a99 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/b976adc7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ba08612f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/bb46e6db +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/bcc9b75c +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/bd401749 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/bf1d1eae +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/bfd62855 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c16db228 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c18497c3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c2141bb6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c66017ce +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c6e39e15 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c718787d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c71e90f5 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c7fcbbd1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c96b0e21 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/c97e7ed6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cab9b6e0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cb4c15f7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cc1b39b9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cc8de427 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cdc96293 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/cf4aeb53 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d04d73d7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d0689011 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d1ef02e5 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d591d627 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d60c251a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d7669b73 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/d7c7f01b +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/db79ae8e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/dc0dadbd +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/dd4619af +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/de155aa2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/de207318 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/df71a83d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e009e7b6 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e169f60e +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e2194904 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e38718d0 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e438591f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e544931a +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e5a20c19 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e5e701f1 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e6187cfb +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e6666360 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e738940d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e839a53d +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e8b75115 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/e9483a67 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/eabeeda2 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ec9fcbd3 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ee3392a9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/ee876eed +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/eef123f8 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f05961cb +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f1faa880 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f35d58df +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f39fb0de +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f52b32a4 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f8209a58 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f86c38a9 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/f932f412 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/faec17be +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fbd30599 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fc4288d7 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fc4c38db +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fc751f1f +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fcbe8296 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fd140002 +0 -0
- package/dist/node-compile-cache/v25.2.1-arm64-392347a2-501/fdb88884 +0 -0
- package/dist/oTPBYvWGyjGOv36AhpQ3m/ssr/0d1d1d07cff1e82a4d590d0e504efc0f18d737af +0 -36
- package/dist/phJRXCFasjFb7u65E0flu/ssr/e6f1b969a5cf71e64f6b9ca77b8f4cde2b636394 +0 -47
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/1551e51d8538a1ce7d446ac04118f809c12a7817 +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/1838a1af713fc047a7495c90adb4d0044d7bd0fb +0 -404
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/21e2db1e7d3c32ae96ba9bc18cfe6b49d6f7f4de +0 -404
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/23fbbdae81af26e87d246f446f815f660e81e53b +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/2e77b3176bcc94b837b2fd2c3e41141d2b6956b7 +0 -404
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/43c969357d970eeea3541112252bd0319306d26f +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/59153b257f04899cba3d8da7aae3a13eca53db3a +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/5d8dc43f6b3753185e7737c14ef24bf26da43af5 +0 -404
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/7c0d8d8ea9008ff3623a192d6b38960460465a50 +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/7ed25d2ced4d280f7044980460a23ad29fca0a98 +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/900b3ec663a9e3d7c19349c9bf17b8d2d2525a4f +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/9c52a561e913859b228048d14258ca97ce5bc6fc +0 -404
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/abcc68a07eed30627022ab8e603941e2ebec9393 +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/aede2ec11eeae586fc230eb30958f32a5f4e8668 +0 -139
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/ca54bfb32df5a2a0076b557c2661881300cb8f20 +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/de992b492417dd88edce52e7197c5931c67f8389 +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/e7abefa1a7bb85850541105d3636e2258300def9 +0 -79
- package/dist/tDaxFMpb4x1fz5Jm9zxqp/ssr/ebeec3b992ceed7f0a244a48191cebfa16f7f4ba +0 -404
- package/dist/ulvGBjS4sZYMxmtGmPTo4/ssr/2e77b3176bcc94b837b2fd2c3e41141d2b6956b7 +0 -404
- package/dist/ulvGBjS4sZYMxmtGmPTo4/ssr/7ed25d2ced4d280f7044980460a23ad29fca0a98 +0 -79
- package/dist/ulvGBjS4sZYMxmtGmPTo4/ssr/900b3ec663a9e3d7c19349c9bf17b8d2d2525a4f +0 -139
- package/dist/v1EXKfentfkmtHUX08xff/ssr/43c969357d970eeea3541112252bd0319306d26f +0 -139
- package/dist/v1EXKfentfkmtHUX08xff/ssr/5d8dc43f6b3753185e7737c14ef24bf26da43af5 +0 -404
- package/dist/v1EXKfentfkmtHUX08xff/ssr/abcc68a07eed30627022ab8e603941e2ebec9393 +0 -79
- package/dist/xcrun_db +0 -0
- package/dist/y1oFOj2blCIdp1eApSfGi/ssr/59153b257f04899cba3d8da7aae3a13eca53db3a +0 -139
- package/dist/y1oFOj2blCIdp1eApSfGi/ssr/ca0a6932d82d3ba17f6cd4e135ab8335dab346f9 +0 -34
- package/dist/zw-q3AR_Xib7L_DuJprSb/ssr/0d1d1d07cff1e82a4d590d0e504efc0f18d737af +0 -36
- package/dist/zw-q3AR_Xib7L_DuJprSb/ssr/626cac44356697cce230d37c8c078b2c6708c154 +0 -36
- package/dist/zw-q3AR_Xib7L_DuJprSb/ssr/ec4b36c8fa636d5be86395d27e8a934002dbffc0 +0 -36
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type ts from 'typescript';
|
|
2
|
+
export declare function colorAlphaObserver(features: Set<string>, resolve?: (node: ts.Expression) => string[] | undefined): {
|
|
3
|
+
property(name: string | undefined, value: string | undefined, expression?: ts.Expression): void;
|
|
4
|
+
finish(): void;
|
|
5
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// These two fields start at 255. Only a complete opaque-colour proof removes
|
|
2
|
+
// them; background alpha has a transparent default and remains independently live.
|
|
3
|
+
export function colorAlphaObserver(features, resolve) {
|
|
4
|
+
const variables = new Map();
|
|
5
|
+
const text = [], border = [];
|
|
6
|
+
const values = (value, expression) => value !== undefined ? [value] : expression ? resolve?.(expression) : undefined;
|
|
7
|
+
const strip = (value) => value.trim().replace(/\s*!important\s*$/i, '').trim();
|
|
8
|
+
const wide = /^(?:initial|inherit|unset|revert|revert-layer)$/i;
|
|
9
|
+
const opaqueHex = /^(?:#[\da-f]{3}|#[\da-f]{6}|#[\da-f]{3}f|#[\da-f]{6}ff)$/i;
|
|
10
|
+
const opaque = (value, allowCurrent, seen = new Set()) => {
|
|
11
|
+
value = strip(value);
|
|
12
|
+
if (wide.test(value) || opaqueHex.test(value))
|
|
13
|
+
return true;
|
|
14
|
+
if (/^currentcolor$/i.test(value))
|
|
15
|
+
return allowCurrent;
|
|
16
|
+
const variable = value.match(/^var\(\s*(--[\w-]+)\s*(?:,\s*([^()]+))?\)$/i);
|
|
17
|
+
if (!variable || seen.has(variable[1]))
|
|
18
|
+
return false;
|
|
19
|
+
seen.add(variable[1]);
|
|
20
|
+
const definitions = variables.get(variable[1]);
|
|
21
|
+
if (!definitions?.length)
|
|
22
|
+
return variable[2] !== undefined && opaque(variable[2], allowCurrent, new Set(seen));
|
|
23
|
+
return definitions.every(group => group !== undefined && group.every(item => opaque(item, allowCurrent, new Set(seen)))) &&
|
|
24
|
+
(variable[2] === undefined || opaque(variable[2], allowCurrent, new Set(seen)));
|
|
25
|
+
};
|
|
26
|
+
const all = (groups, allowCurrent) => groups.every(group => group !== undefined && group.every(value => opaque(value, allowCurrent)));
|
|
27
|
+
return {
|
|
28
|
+
property(name, value, expression) {
|
|
29
|
+
if (!name) {
|
|
30
|
+
features.add('css-text-alpha');
|
|
31
|
+
features.add('css-border-alpha');
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const candidates = values(value, expression);
|
|
35
|
+
if (name.startsWith('--')) {
|
|
36
|
+
const definitions = variables.get(name) ?? [];
|
|
37
|
+
definitions.push(candidates);
|
|
38
|
+
variables.set(name, definitions);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
name = name.replace(/[A-Z]/g, c => `-${c.toLowerCase()}`).toLowerCase();
|
|
42
|
+
if (name === 'color')
|
|
43
|
+
text.push(candidates);
|
|
44
|
+
if (/^border(?:-(?:top|right|bottom|left|block|inline)(?:-start|-end)?)?-color$/.test(name)) {
|
|
45
|
+
border.push(candidates?.flatMap(value => /var\(/i.test(value) ? [value] : strip(value).split(/\s+/)));
|
|
46
|
+
}
|
|
47
|
+
if (/^border(?:-(?:top|right|bottom|left|block|inline)(?:-start|-end)?)?$/.test(name)) {
|
|
48
|
+
border.push(candidates?.flatMap(value => {
|
|
49
|
+
value = strip(value);
|
|
50
|
+
if (wide.test(value))
|
|
51
|
+
return [value];
|
|
52
|
+
// A fully known simple shorthand can omit its width/style tokens.
|
|
53
|
+
// Functions/variables expanding an entire shorthand remain opaque.
|
|
54
|
+
if (/[()]/.test(value))
|
|
55
|
+
return [value];
|
|
56
|
+
const colors = value.split(/\s+/).filter(part => !/^(?:none|hidden|solid|dotted|dashed|double|groove|ridge|inset|outset|thin|medium|thick|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px|em|rem|vw|vh|vmin|vmax|%)?)$/i.test(part));
|
|
57
|
+
return colors.length ? colors : ['currentcolor'];
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
// Native-style spellings and arbitrary CSS-wide mutation are conservative.
|
|
61
|
+
if (name === 'color-alpha')
|
|
62
|
+
features.add('css-text-alpha');
|
|
63
|
+
if (name === 'border-alpha' || name === 'all')
|
|
64
|
+
features.add('css-border-alpha');
|
|
65
|
+
if (name === 'all')
|
|
66
|
+
features.add('css-text-alpha');
|
|
67
|
+
},
|
|
68
|
+
finish() {
|
|
69
|
+
const textOpaque = !features.has('css-text-alpha') && all(text, true);
|
|
70
|
+
if (!textOpaque)
|
|
71
|
+
features.add('css-text-alpha');
|
|
72
|
+
if (!all(border, textOpaque))
|
|
73
|
+
features.add('css-border-alpha');
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function analyzeClassCapacity(files: Map<string, string>, opaque: boolean): number | undefined;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import ts from 'typescript';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
const atom = { count: 1, start: true, end: true, empty: false };
|
|
4
|
+
const space = /[\x00-\x20]/;
|
|
5
|
+
function literal(value) {
|
|
6
|
+
const parts = value.split(/[\x00-\x20]+/).filter(Boolean);
|
|
7
|
+
return { count: Math.min(4, parts.length), start: !!value && !space.test(value[0]), end: !!value && !space.test(value.at(-1)), empty: !value };
|
|
8
|
+
}
|
|
9
|
+
function unique(shapes) {
|
|
10
|
+
return [...new Map(shapes.map(s => [`${s.count}/${s.start}/${s.end}/${s.empty}`, s])).values()];
|
|
11
|
+
}
|
|
12
|
+
function join(left, right) {
|
|
13
|
+
return unique(left.flatMap(a => right.map(b => ({
|
|
14
|
+
count: Math.min(4, a.count + b.count - (a.end && b.start ? 1 : 0)),
|
|
15
|
+
start: a.empty ? b.start : a.start,
|
|
16
|
+
end: b.empty ? a.end : b.end,
|
|
17
|
+
empty: a.empty && b.empty,
|
|
18
|
+
}))));
|
|
19
|
+
}
|
|
20
|
+
// A positive proof selects inline capacity; no proof keeps the existing four
|
|
21
|
+
// slots. Overflow remains supported, so capacity never truncates class names.
|
|
22
|
+
export function analyzeClassCapacity(files, opaque) {
|
|
23
|
+
if (opaque)
|
|
24
|
+
return undefined;
|
|
25
|
+
const sources = new Map([...files].filter(([file]) => !/\.css$/i.test(file)).map(([file, text]) => [file, ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, /\.[jt]sx$/i.test(file) ? ts.ScriptKind.TSX : ts.ScriptKind.TS)]));
|
|
26
|
+
let checker;
|
|
27
|
+
const getChecker = () => {
|
|
28
|
+
if (checker)
|
|
29
|
+
return checker;
|
|
30
|
+
// Use the already-discovered graph only. External packages cannot provide
|
|
31
|
+
// a numeric proof here, and this pass neither loads libraries nor emits.
|
|
32
|
+
const host = {
|
|
33
|
+
getSourceFile: file => sources.get(path.resolve(file)),
|
|
34
|
+
getDefaultLibFileName: () => '', writeFile: () => { },
|
|
35
|
+
getCurrentDirectory: () => '/', getDirectories: () => [],
|
|
36
|
+
getCanonicalFileName: file => file, useCaseSensitiveFileNames: () => true,
|
|
37
|
+
getNewLine: () => '\n', fileExists: file => sources.has(path.resolve(file)),
|
|
38
|
+
readFile: file => files.get(path.resolve(file)),
|
|
39
|
+
resolveModuleNames: (names, containingFile) => names.map(name => {
|
|
40
|
+
if (!name.startsWith('.'))
|
|
41
|
+
return undefined;
|
|
42
|
+
const base = path.resolve(path.dirname(containingFile), name);
|
|
43
|
+
const candidates = [base, ...['.ts', '.tsx', '.js', '.jsx', '.mjs'].map(ext => base + ext),
|
|
44
|
+
...['index.ts', 'index.tsx', 'index.js', 'index.jsx'].map(file => path.join(base, file))];
|
|
45
|
+
const resolved = candidates.find(file => sources.has(file));
|
|
46
|
+
if (!resolved)
|
|
47
|
+
return undefined;
|
|
48
|
+
return { resolvedFileName: resolved, extension: /\.tsx$/i.test(resolved) ? ts.Extension.Tsx : /\.jsx$/i.test(resolved) ? ts.Extension.Jsx : /\.[cm]?js$/i.test(resolved) ? ts.Extension.Js : ts.Extension.Ts };
|
|
49
|
+
}),
|
|
50
|
+
};
|
|
51
|
+
checker = ts.createProgram([...sources.keys()], { noLib: true, target: ts.ScriptTarget.ESNext, module: ts.ModuleKind.ESNext, moduleResolution: ts.ModuleResolutionKind.Bundler, jsx: ts.JsxEmit.Preserve, strict: true, allowJs: true }, host).getTypeChecker();
|
|
52
|
+
return checker;
|
|
53
|
+
};
|
|
54
|
+
const scalarShapes = (node) => {
|
|
55
|
+
if (ts.isParenthesizedExpression(node))
|
|
56
|
+
return scalarShapes(node.expression);
|
|
57
|
+
// Assertions are not a source proof. Unknown values must not acquire a
|
|
58
|
+
// smaller class capacity merely because a caller asserted a type.
|
|
59
|
+
if (ts.isAsExpression(node) || ts.isTypeAssertionExpression(node) || ts.isNonNullExpression(node))
|
|
60
|
+
return undefined;
|
|
61
|
+
if (ts.isStringLiteralLike(node))
|
|
62
|
+
return [literal(node.text)];
|
|
63
|
+
if (ts.isNumericLiteral(node) || ts.isBigIntLiteral(node))
|
|
64
|
+
return [atom];
|
|
65
|
+
if (ts.isConditionalExpression(node)) {
|
|
66
|
+
const a = scalarShapes(node.whenTrue), b = scalarShapes(node.whenFalse);
|
|
67
|
+
return a && b ? unique([...a, ...b]) : undefined;
|
|
68
|
+
}
|
|
69
|
+
if (ts.isTemplateExpression(node)) {
|
|
70
|
+
let result = [literal(node.head.text)];
|
|
71
|
+
for (const part of node.templateSpans) {
|
|
72
|
+
const value = scalarShapes(part.expression);
|
|
73
|
+
if (!value)
|
|
74
|
+
return undefined;
|
|
75
|
+
result = join(join(result, value), [literal(part.literal.text)]);
|
|
76
|
+
}
|
|
77
|
+
return result;
|
|
78
|
+
}
|
|
79
|
+
if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {
|
|
80
|
+
const a = scalarShapes(node.left), b = scalarShapes(node.right);
|
|
81
|
+
return a && b ? join(a, b) : undefined;
|
|
82
|
+
}
|
|
83
|
+
const type = getChecker().getTypeAtLocation(node);
|
|
84
|
+
const parts = type.isUnion() ? type.types : [type];
|
|
85
|
+
if (parts.every(t => !!(t.flags & (ts.TypeFlags.NumberLike | ts.TypeFlags.BigIntLike | ts.TypeFlags.BooleanLike))))
|
|
86
|
+
return [atom];
|
|
87
|
+
return undefined;
|
|
88
|
+
};
|
|
89
|
+
const classCount = (node) => {
|
|
90
|
+
if (ts.isParenthesizedExpression(node))
|
|
91
|
+
return classCount(node.expression);
|
|
92
|
+
if (ts.isObjectLiteralExpression(node)) {
|
|
93
|
+
let count = 0;
|
|
94
|
+
for (const property of node.properties) {
|
|
95
|
+
if (!ts.isPropertyAssignment(property) && !ts.isShorthandPropertyAssignment(property))
|
|
96
|
+
return undefined;
|
|
97
|
+
if (ts.isComputedPropertyName(property.name))
|
|
98
|
+
return undefined;
|
|
99
|
+
const name = property.name;
|
|
100
|
+
if (!ts.isIdentifier(name) && !ts.isStringLiteralLike(name) && !ts.isNumericLiteral(name))
|
|
101
|
+
return undefined;
|
|
102
|
+
count += literal(name.text).count;
|
|
103
|
+
}
|
|
104
|
+
return count;
|
|
105
|
+
}
|
|
106
|
+
if (ts.isConditionalExpression(node)) {
|
|
107
|
+
const a = classCount(node.whenTrue), b = classCount(node.whenFalse);
|
|
108
|
+
return a !== undefined && b !== undefined ? Math.max(a, b) : undefined;
|
|
109
|
+
}
|
|
110
|
+
const shapes = scalarShapes(node);
|
|
111
|
+
return shapes && Math.max(...shapes.map(s => s.count));
|
|
112
|
+
};
|
|
113
|
+
let maximum = 0, unknown = false;
|
|
114
|
+
const dangerous = /^(?:className|classList|attributes|getAttributeNode|setAttributeNode|setAttribute|setAttributeNS|setClassName|innerHTML|outerHTML|insertAdjacentHTML|DOMParser|eval|Function|Proxy|Reflect|Object|VirtualList|VirtualListElement|createList|createVirtualList)$/;
|
|
115
|
+
const visit = (node) => {
|
|
116
|
+
if (unknown)
|
|
117
|
+
return;
|
|
118
|
+
// Casts can hide arbitrary class strings through aliases in another file.
|
|
119
|
+
if (ts.isAsExpression(node) || ts.isTypeAssertionExpression(node) || ts.isNonNullExpression(node))
|
|
120
|
+
unknown = true;
|
|
121
|
+
if (ts.isIdentifier(node) && dangerous.test(node.text) && !(ts.isJsxAttribute(node.parent) && node.parent.name === node))
|
|
122
|
+
unknown = true;
|
|
123
|
+
if (ts.isStringLiteralLike(node) && (dangerous.test(node.text) || /^(?:class|list|virtual-list)$/.test(node.text)) && !ts.isJsxAttribute(node.parent))
|
|
124
|
+
unknown = true;
|
|
125
|
+
if (ts.isJsxSpreadAttribute(node))
|
|
126
|
+
unknown = true;
|
|
127
|
+
if (ts.isJsxAttribute(node) && (ts.isJsxNamespacedName(node.name) || node.name.getText() === 'classList'))
|
|
128
|
+
unknown = true;
|
|
129
|
+
if (ts.isJsxOpeningElement(node) || ts.isJsxSelfClosingElement(node)) {
|
|
130
|
+
if (/^(?:list|virtual-list|input|textarea|select)$/i.test(node.tagName.getText()))
|
|
131
|
+
unknown = true;
|
|
132
|
+
}
|
|
133
|
+
if (ts.isPropertyAccessExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === 'Object' && /^(?:assign|defineProperty|defineProperties|setPrototypeOf)$/.test(node.name.text))
|
|
134
|
+
unknown = true;
|
|
135
|
+
// A computed DOM member may name className/classList or a mutation method.
|
|
136
|
+
// Numeric indexes cannot name those members; ordinary array access is safe.
|
|
137
|
+
if (ts.isElementAccessExpression(node) && (!node.argumentExpression ||
|
|
138
|
+
(!ts.isStringLiteralLike(node.argumentExpression) && !(getChecker().getTypeAtLocation(node.argumentExpression).flags & ts.TypeFlags.NumberLike))))
|
|
139
|
+
unknown = true;
|
|
140
|
+
if (ts.isJsxAttribute(node) && /^(?:class|className)$/.test(node.name.getText())) {
|
|
141
|
+
const init = node.initializer;
|
|
142
|
+
const count = !init ? 0 : ts.isStringLiteral(init) ? literal(init.text).count
|
|
143
|
+
: ts.isJsxExpression(init) && init.expression ? classCount(init.expression) : undefined;
|
|
144
|
+
if (count === undefined)
|
|
145
|
+
unknown = true;
|
|
146
|
+
else
|
|
147
|
+
maximum = Math.max(maximum, count);
|
|
148
|
+
}
|
|
149
|
+
ts.forEachChild(node, visit);
|
|
150
|
+
};
|
|
151
|
+
for (const source of sources.values()) {
|
|
152
|
+
if (source.parseDiagnostics?.length)
|
|
153
|
+
return undefined;
|
|
154
|
+
visit(source);
|
|
155
|
+
}
|
|
156
|
+
return unknown || maximum >= 4 ? undefined : Math.max(1, maximum);
|
|
157
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// Bounds are build facts. Keep the unit separate: numeric/native-style values
|
|
2
|
+
// are raw pixels, whereas authored px lengths scale with the target CSS DPR.
|
|
3
|
+
const families = ['padding', 'gap', 'border', 'radius', 'font', 'line-height', 'flex'];
|
|
4
|
+
const defaults = /^(?:initial|inherit|unset|revert|revert-layer)$/;
|
|
5
|
+
const number = /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/;
|
|
6
|
+
export function cssRangeObserver(features) {
|
|
7
|
+
const bounds = new Map(families.map(name => [name, { raw: name === 'flex' ? 1 : 0, px: name === 'font' ? 16 : 0, unknown: false }]));
|
|
8
|
+
let opaque = false;
|
|
9
|
+
let lineMultiplier = 0;
|
|
10
|
+
const unknown = (...names) => { for (const name of names)
|
|
11
|
+
bounds.get(name).unknown = true; };
|
|
12
|
+
const length = (name, value, count = 1) => {
|
|
13
|
+
if (value !== undefined && defaults.test(value))
|
|
14
|
+
return;
|
|
15
|
+
const parts = value?.split(/\s+/);
|
|
16
|
+
if (!parts?.length || parts.length > count) {
|
|
17
|
+
unknown(name);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
for (const part of parts) {
|
|
21
|
+
const match = part.match(/^([+]?(?:\d+(?:\.\d*)?|\.\d+))(px)?$/);
|
|
22
|
+
if (!match || !Number.isFinite(Number(match[1]))) {
|
|
23
|
+
unknown(name);
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
26
|
+
const unit = match[2] ? 'px' : 'raw';
|
|
27
|
+
bounds.get(name)[unit] = Math.max(bounds.get(name)[unit], Math.ceil(Number(match[1])));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
return {
|
|
31
|
+
unknown() { opaque = true; },
|
|
32
|
+
selector(css) { if (/@(?:-webkit-)?keyframes\b|@property\b/i.test(css))
|
|
33
|
+
opaque = true; },
|
|
34
|
+
property(name, value) {
|
|
35
|
+
if (!name) {
|
|
36
|
+
opaque = true;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
name = name.replace(/[A-Z]/g, letter => `-${letter.toLowerCase()}`).toLowerCase();
|
|
40
|
+
value = value?.trim().toLowerCase().replace(/\s*!important$/, '');
|
|
41
|
+
if (name === 'all' || /^(?:-webkit-)?(?:animation|transition)(?:-|$)/.test(name)) {
|
|
42
|
+
opaque = true;
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
if (/^padding(?:-|$)/.test(name))
|
|
46
|
+
length('padding', value, 4);
|
|
47
|
+
if (/^(?:grid-)?(?:(?:row|column)-)?gap$/.test(name))
|
|
48
|
+
length('gap', value === 'normal' ? '0' : value, 2);
|
|
49
|
+
if (/^border(?:-(?:top-left|top-right|bottom-left|bottom-right|start-start|start-end|end-start|end-end))?-radius$/.test(name))
|
|
50
|
+
length('radius', value, 4);
|
|
51
|
+
if (/^border(?:-(?:top|right|bottom|left|block|inline)(?:-(?:start|end))?)?-width$/.test(name)) {
|
|
52
|
+
length('border', value?.replace(/\bthin\b/g, '1px').replace(/\bmedium\b/g, '3px').replace(/\bthick\b/g, '5px'), 4);
|
|
53
|
+
}
|
|
54
|
+
if (/^border(?:-(?:top|right|bottom|left|block|inline)(?:-(?:start|end))?)?$/.test(name)) {
|
|
55
|
+
if (value === undefined || /[()]/.test(value))
|
|
56
|
+
unknown('border');
|
|
57
|
+
else if (!defaults.test(value)) {
|
|
58
|
+
const tokens = value.split(/\s+/);
|
|
59
|
+
const widths = tokens.filter(token => /^(?:[+.-]?\d|thin$|medium$|thick$)/.test(token));
|
|
60
|
+
if (widths.length > 1)
|
|
61
|
+
unknown('border');
|
|
62
|
+
else
|
|
63
|
+
length('border', widths[0]?.replace(/^thin$/, '1px').replace(/^medium$/, '3px').replace(/^thick$/, '5px') ?? (tokens.some(t => /^(?:none|hidden)$/.test(t)) ? '0' : '3px'));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
if (name === 'font-size')
|
|
67
|
+
length('font', value);
|
|
68
|
+
if (name === 'font' && (value === undefined || !defaults.test(value)))
|
|
69
|
+
unknown('font', 'line-height');
|
|
70
|
+
if (name === 'line-height' && value !== 'normal' && !(value !== undefined && defaults.test(value))) {
|
|
71
|
+
if (value !== undefined && number.test(value))
|
|
72
|
+
lineMultiplier = Math.max(lineMultiplier, Math.ceil(Number(value)));
|
|
73
|
+
else
|
|
74
|
+
length('line-height', value);
|
|
75
|
+
}
|
|
76
|
+
if (name === 'flex-grow' || name === 'flex-shrink') {
|
|
77
|
+
if (value === undefined || (!defaults.test(value) && !number.test(value)))
|
|
78
|
+
unknown('flex');
|
|
79
|
+
else if (!defaults.test(value))
|
|
80
|
+
length('flex', value);
|
|
81
|
+
}
|
|
82
|
+
if (name === 'flex' && !/^(?:none|auto|initial|inherit|unset|revert|revert-layer)$/.test(value ?? '')) {
|
|
83
|
+
const parts = value?.split(/\s+/);
|
|
84
|
+
if (!parts?.length || parts.length > 3 || !number.test(parts[0]))
|
|
85
|
+
unknown('flex');
|
|
86
|
+
else {
|
|
87
|
+
length('flex', parts[0]);
|
|
88
|
+
if (parts.length > 1 && number.test(parts[1]))
|
|
89
|
+
length('flex', parts[1]);
|
|
90
|
+
else if (parts.length > 2 || (parts.length === 2 && !/^(?:auto|content|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px|%))$/.test(parts[1])))
|
|
91
|
+
unknown('flex');
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
finish() {
|
|
96
|
+
features.add('css-ranges-v1');
|
|
97
|
+
if (opaque) {
|
|
98
|
+
features.add('css-ranges-unknown');
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const font = bounds.get('font'), line = bounds.get('line-height');
|
|
102
|
+
if (lineMultiplier) {
|
|
103
|
+
line.unknown ||= font.unknown || !Number.isFinite(lineMultiplier);
|
|
104
|
+
line.raw = Math.max(line.raw, font.raw * lineMultiplier);
|
|
105
|
+
line.px = Math.max(line.px, font.px * lineMultiplier);
|
|
106
|
+
}
|
|
107
|
+
for (const [name, bound] of bounds)
|
|
108
|
+
if (!bound.unknown) {
|
|
109
|
+
for (const unit of ['raw', 'px'])
|
|
110
|
+
if (Number.isSafeInteger(bound[unit]))
|
|
111
|
+
features.add(`css-range-${name}-${unit}-${bound[unit]}`);
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type ts from 'typescript';
|
|
2
|
+
import { type StyleUsageObserver } from './analyze-renderer.js';
|
|
3
|
+
export declare const cssAnalysisVersion = "css-analysis-v15";
|
|
4
|
+
export declare const cssFeatures: readonly ["css-pseudo-elements", "css-text-alpha", "css-border-alpha", "css-animations", "css-transforms", "css-grid", "css-floats", "css-writing-mode", "css-border-relief", "css-blink", "css-order", "css-percent-radius", "css-percent-gap", "css-opacity", "css-text-decoration", "css-text-transform", "css-visibility", "css-pointer-events", "css-mask", "css-image-fit", "css-filters", "css-box-shadow", "css-flex-wrap", "css-justify-items", "css-align-content", "css-align-self", "css-min-width", "css-height-expressions", "css-z-index", "css-aspect-ratio", "css-margin-trim", "css-containment", "css-justify-self", "css-flex-line-count", "css-box-expressions", "css-axis-gap", "css-corner-radius", "css-first-line", "css-side-borders", "css-background-layers", "css-line-height-expressions", "css-scrolling", "css-flex-basis-expressions", "css-custom-property-lengths", "css-max-height", "css-flex-basis", "css-overflow-axes", "css-position-top", "css-position-top-percent", "css-position-right", "css-position-right-percent", "css-position-bottom", "css-position-bottom-percent", "css-position-left", "css-position-left-percent"];
|
|
5
|
+
export declare function addUnknownCssFeatures(features: Set<string>): void;
|
|
6
|
+
export declare function cssUsageObserver(features: Set<string>, resolve?: (node: ts.Expression) => string[] | undefined): StyleUsageObserver & {
|
|
7
|
+
finish(): void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { colorAlphaObserver } from './analyze-alpha.js';
|
|
2
|
+
import { colorVariableAnalysis } from './analyze-renderer.js';
|
|
3
|
+
export const cssAnalysisVersion = 'css-analysis-v15';
|
|
4
|
+
export const cssFeatures = ['css-pseudo-elements', 'css-text-alpha', 'css-border-alpha', 'css-animations', 'css-transforms', 'css-grid', 'css-floats', 'css-writing-mode', 'css-border-relief', 'css-blink', 'css-order', 'css-percent-radius', 'css-percent-gap', 'css-opacity', 'css-text-decoration', 'css-text-transform', 'css-visibility', 'css-pointer-events', 'css-mask', 'css-image-fit', 'css-filters', 'css-box-shadow', 'css-flex-wrap', 'css-justify-items', 'css-align-content', 'css-align-self', 'css-min-width', 'css-height-expressions', 'css-z-index', 'css-aspect-ratio', 'css-margin-trim', 'css-containment', 'css-justify-self', 'css-flex-line-count', 'css-box-expressions', 'css-axis-gap', 'css-corner-radius', 'css-first-line', 'css-side-borders', 'css-background-layers', 'css-line-height-expressions', 'css-scrolling', 'css-flex-basis-expressions', 'css-custom-property-lengths', 'css-max-height', 'css-flex-basis', 'css-overflow-axes', 'css-position-top', 'css-position-top-percent', 'css-position-right', 'css-position-right-percent', 'css-position-bottom', 'css-position-bottom-percent', 'css-position-left', 'css-position-left-percent'];
|
|
5
|
+
export function addUnknownCssFeatures(features) {
|
|
6
|
+
for (const feature of cssFeatures)
|
|
7
|
+
features.add(feature);
|
|
8
|
+
}
|
|
9
|
+
// These are build facts, not application options. Unknown values retain the
|
|
10
|
+
// entire affected family; unknown property names retain all CSS semantics.
|
|
11
|
+
// In particular, a dynamic width does not enable transforms or grid layout.
|
|
12
|
+
export function cssUsageObserver(features, resolve) {
|
|
13
|
+
const colors = colorVariableAnalysis();
|
|
14
|
+
const alpha = colorAlphaObserver(features, resolve);
|
|
15
|
+
const deferredColors = [];
|
|
16
|
+
return {
|
|
17
|
+
unknown: () => { colors.unknown(); addUnknownCssFeatures(features); },
|
|
18
|
+
finish() {
|
|
19
|
+
alpha.finish();
|
|
20
|
+
for (const [feature, value] of deferredColors)
|
|
21
|
+
if (!colors.isColor(value))
|
|
22
|
+
features.add(feature);
|
|
23
|
+
},
|
|
24
|
+
selector: css => {
|
|
25
|
+
if (/::?(?:before|after)\b/i.test(css))
|
|
26
|
+
features.add('css-pseudo-elements');
|
|
27
|
+
if (/::?first-line\b/i.test(css))
|
|
28
|
+
features.add('css-first-line');
|
|
29
|
+
if (/@(?:-webkit-)?keyframes\b/i.test(css))
|
|
30
|
+
features.add('css-animations');
|
|
31
|
+
},
|
|
32
|
+
property(name, value, expression) {
|
|
33
|
+
alpha.property(name, value, expression);
|
|
34
|
+
colors.property(name, value);
|
|
35
|
+
if (!name) {
|
|
36
|
+
addUnknownCssFeatures(features);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (name === 'content')
|
|
40
|
+
features.add('css-pseudo-elements');
|
|
41
|
+
if (name.startsWith('--')) {
|
|
42
|
+
// Quoted CSS strings remain raw text; the length parser never unquotes
|
|
43
|
+
// them. Unknown values still keep the length cache automatically.
|
|
44
|
+
const quoted = value !== undefined && /^(?:"(?:[^"\\\r\n]|\\[^\r\n])*"|'(?:[^'\\\r\n]|\\[^\r\n])*')(?:\s*!important)?$/i.test(value.trim());
|
|
45
|
+
if (!quoted)
|
|
46
|
+
deferredColors.push(['css-custom-property-lengths', value]);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const originalValue = value;
|
|
50
|
+
name = name.replace(/[A-Z]/g, c => `-${c.toLowerCase()}`).toLowerCase();
|
|
51
|
+
value = value?.trim().toLowerCase();
|
|
52
|
+
// Only a proven literal without percentages or functions can omit these
|
|
53
|
+
// alternate representations. var/calc and dynamic values retain them.
|
|
54
|
+
// Equal literal edges need one stored value. Unknown functions/variables
|
|
55
|
+
// may expand to multiple values, and longhands can mutate just one edge.
|
|
56
|
+
const parts = value?.replace(/\s*!important$/, '').split(/\s+/);
|
|
57
|
+
// Preserve each authored physical edge. Logical insets may map to any
|
|
58
|
+
// edge; functions, percentages and unknown values retain percent storage.
|
|
59
|
+
const positionSides = /^(?:top|right|bottom|left)$/.test(name) ? [name]
|
|
60
|
+
: /^inset(?:-|$)/.test(name) ? ['top', 'right', 'bottom', 'left'] : [];
|
|
61
|
+
const fixedPosition = !!parts?.length && parts.length <= 4 && parts.every(part => /^(?:(?:auto|initial|inherit|unset|revert|revert-layer)|[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:px)?)$/.test(part));
|
|
62
|
+
for (const side of positionSides) {
|
|
63
|
+
features.add(`css-position-${side}`);
|
|
64
|
+
if (!fixedPosition)
|
|
65
|
+
features.add(`css-position-${side}-percent`);
|
|
66
|
+
}
|
|
67
|
+
const uniformLength = !!parts?.length && parts.length <= 4 &&
|
|
68
|
+
parts.every(part => part === parts[0]) &&
|
|
69
|
+
/^(?:(?:normal|initial|inherit|unset|revert|revert-layer)|[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:px|em|rem|vw|vh|vmin|vmax|%)?)$/.test(parts[0]);
|
|
70
|
+
if (/^(?:grid-)?(?:row|column)-gap$/.test(name) ||
|
|
71
|
+
(/^(?:grid-)?gap$/.test(name) && (!uniformLength || parts.length > 2)))
|
|
72
|
+
features.add('css-axis-gap');
|
|
73
|
+
if ((name === 'border-radius' && !uniformLength) ||
|
|
74
|
+
/^border-(?:top-left|top-right|bottom-left|bottom-right|start-start|start-end|end-start|end-end)-radius$/.test(name))
|
|
75
|
+
features.add('css-corner-radius');
|
|
76
|
+
const mayUsePercent = value === undefined || /[%()]/.test(value);
|
|
77
|
+
if (/^border(?:-(?:top-left|top-right|bottom-left|bottom-right))?-radius$/.test(name) && mayUsePercent)
|
|
78
|
+
features.add('css-percent-radius');
|
|
79
|
+
if (/^(?:grid-)?(?:(?:row|column)-)?gap$/.test(name) && mayUsePercent)
|
|
80
|
+
features.add('css-percent-gap');
|
|
81
|
+
if (/^(?:-webkit-)?(?:animation|transition)(?:-|$)/.test(name))
|
|
82
|
+
features.add('css-animations');
|
|
83
|
+
if (name === 'blink-interval')
|
|
84
|
+
features.add('css-blink');
|
|
85
|
+
if (name === 'order')
|
|
86
|
+
features.add('css-order');
|
|
87
|
+
if (name === 'opacity')
|
|
88
|
+
features.add('css-opacity');
|
|
89
|
+
if (name === 'text-decoration' || name === 'text-decoration-line')
|
|
90
|
+
features.add('css-text-decoration');
|
|
91
|
+
if (name === 'text-transform')
|
|
92
|
+
features.add('css-text-transform');
|
|
93
|
+
if (name === 'visibility')
|
|
94
|
+
features.add('css-visibility');
|
|
95
|
+
if (name === 'pointer-events')
|
|
96
|
+
features.add('css-pointer-events');
|
|
97
|
+
if (name === 'mask' || name === 'mask-image' || name === '-webkit-mask' || name === '-webkit-mask-image')
|
|
98
|
+
features.add('css-mask');
|
|
99
|
+
if (name === 'object-fit')
|
|
100
|
+
features.add('css-image-fit');
|
|
101
|
+
if (name === 'filter' || name === '-webkit-filter')
|
|
102
|
+
features.add('css-filters');
|
|
103
|
+
if (name === 'box-shadow' || name === '-webkit-box-shadow')
|
|
104
|
+
features.add('css-box-shadow');
|
|
105
|
+
if (name === 'flex-wrap' || name === 'flex-flow')
|
|
106
|
+
features.add('css-flex-wrap');
|
|
107
|
+
if (name === 'justify-items' || name === 'place-items')
|
|
108
|
+
features.add('css-justify-items');
|
|
109
|
+
if (name === 'align-content' || name === 'place-content')
|
|
110
|
+
features.add('css-align-content');
|
|
111
|
+
if (name === 'align-self' || name === 'place-self')
|
|
112
|
+
features.add('css-align-self');
|
|
113
|
+
if (/^min-(?:width|inline-size|block-size)$/.test(name))
|
|
114
|
+
features.add('css-min-width');
|
|
115
|
+
// Only simple literal heights prove that no deferred expression is needed.
|
|
116
|
+
// Intrinsic keywords, functions, unknown values and logical sizes retain it.
|
|
117
|
+
if (name === 'block-size' || name === 'inline-size' ||
|
|
118
|
+
(name === 'height' && (value === undefined || !/^(?:(?:auto|initial|inherit|unset|revert|revert-layer)|[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:px|%)?)(?:\s*!important)?$/.test(value))))
|
|
119
|
+
features.add('css-height-expressions');
|
|
120
|
+
if (/^max-(?:height|block-size|inline-size)$/.test(name))
|
|
121
|
+
features.add('css-max-height');
|
|
122
|
+
if (name === 'z-index')
|
|
123
|
+
features.add('css-z-index');
|
|
124
|
+
if (name === 'aspect-ratio')
|
|
125
|
+
features.add('css-aspect-ratio');
|
|
126
|
+
if (name === 'margin-trim')
|
|
127
|
+
features.add('css-margin-trim');
|
|
128
|
+
if (name === 'contain' || name === 'content-visibility')
|
|
129
|
+
features.add('css-containment');
|
|
130
|
+
if (name === 'justify-self' || name === 'place-self')
|
|
131
|
+
features.add('css-justify-self');
|
|
132
|
+
if (name === 'flex-line-count')
|
|
133
|
+
features.add('css-flex-line-count');
|
|
134
|
+
// Only fixed pixel/zero edges and CSS-wide defaults can omit deferred
|
|
135
|
+
// lengths. Percentages, relative units, functions and dynamic values keep
|
|
136
|
+
// their storage. Include logical shorthands and longhands conservatively.
|
|
137
|
+
if (/^(?:margin|padding)(?:-|$)/.test(name) && name !== 'margin-trim') {
|
|
138
|
+
const fixed = value?.replace(/\s*!important$/, '').split(/\s+/).every(part => /^(?:(?:auto|initial|inherit|unset|revert|revert-layer)|[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:px)?)$/.test(part));
|
|
139
|
+
if (!fixed)
|
|
140
|
+
features.add('css-box-expressions');
|
|
141
|
+
}
|
|
142
|
+
// CSS couples the axes: visible computes to auto next to hidden.
|
|
143
|
+
// Longhands can combine through the cascade, so retain them unless a
|
|
144
|
+
// whole-axis proof is available. A literal shorthand controls both axes.
|
|
145
|
+
if (/^overflow(?:-[xy]|-inline|-block)$/.test(name)) {
|
|
146
|
+
features.add('css-scrolling');
|
|
147
|
+
features.add('css-overflow-axes');
|
|
148
|
+
}
|
|
149
|
+
if (name === 'overflow') {
|
|
150
|
+
const axes = value?.replace(/\s*!important$/, '').split(/\s+/);
|
|
151
|
+
if (!axes?.length || axes.length > 2 || !axes.every(axis => axis === axes[0]) || !/^(?:visible|hidden|clip|auto|scroll|initial|inherit|unset|revert|revert-layer)$/.test(axes[0]))
|
|
152
|
+
features.add('css-overflow-axes');
|
|
153
|
+
const known = !!axes?.length && axes.length <= 2 && axes.every(axis => /^(?:visible|hidden|clip|initial|inherit|unset|revert|revert-layer)$/.test(axis));
|
|
154
|
+
if (!known || (axes.includes('visible') && axes.includes('hidden')))
|
|
155
|
+
features.add('css-scrolling');
|
|
156
|
+
}
|
|
157
|
+
// Local background attachment can observe overflowing content even
|
|
158
|
+
// without a scroll control, so preserve its geometry as well.
|
|
159
|
+
if (/^(?:scroll|overscroll)-/.test(name) || name === 'background-attachment')
|
|
160
|
+
features.add('css-scrolling');
|
|
161
|
+
if (name === 'background' && !/^(?:none|initial|inherit|unset|revert|revert-layer)(?:\s*!important)?$/.test(value ?? ''))
|
|
162
|
+
deferredColors.push(['css-scrolling', originalValue]);
|
|
163
|
+
const cssWide = value !== undefined && /^(?:initial|inherit|unset|revert|revert-layer)(?:\s*!important)?$/.test(value);
|
|
164
|
+
if (/^border-(?:top|right|bottom|left|block|inline)(?:-|$)/.test(name) && !name.endsWith('-radius'))
|
|
165
|
+
features.add('css-side-borders');
|
|
166
|
+
if (name === 'border-width' && !cssWide && !(parts?.length && parts.length <= 4 && parts.every(part => part === parts[0]) && /^(?:thin|medium|thick|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px|em|rem|vw|vh|vmin|vmax)?)$/.test(parts[0])))
|
|
167
|
+
features.add('css-side-borders');
|
|
168
|
+
if (name === 'border-style' && !cssWide && !(parts?.length && parts.length <= 4 && parts.every(part => part === parts[0]) && /^(?:none|hidden|solid|dotted|dashed|double|groove|ridge|inset|outset)$/.test(parts[0])))
|
|
169
|
+
features.add('css-side-borders');
|
|
170
|
+
if (name === 'border-color' && !cssWide)
|
|
171
|
+
deferredColors.push(['css-side-borders', originalValue]);
|
|
172
|
+
if (/^background-(?:image|clip|size|position|repeat|attachment|origin)(?:-|$)/.test(name))
|
|
173
|
+
features.add('css-background-layers');
|
|
174
|
+
if (name === 'background' && !cssWide && !/^none(?:\s*!important)?$/.test(value ?? ''))
|
|
175
|
+
deferredColors.push(['css-background-layers', originalValue]);
|
|
176
|
+
if ((name === 'line-height' && !cssWide && (value === undefined || !/^(?:normal|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px)?)(?:\s*!important)?$/.test(value))) || (name === 'font' && !cssWide))
|
|
177
|
+
features.add('css-line-height-expressions');
|
|
178
|
+
// Numeric one/two-factor shorthands and defaults use the implicit auto
|
|
179
|
+
// scalar basis. Any explicit basis or unknown shorthand keeps the field.
|
|
180
|
+
if (name === 'flex-basis' || (name === 'flex' && (value === undefined || !/^(?:(?:none|auto|initial|inherit|unset|revert|revert-layer)|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:\s+[+]?(?:\d+(?:\.\d*)?|\.\d+))?)(?:\s*!important)?$/.test(value))))
|
|
181
|
+
features.add('css-flex-basis');
|
|
182
|
+
// Fixed pixel bases and numeric flex shorthand need no deferred value.
|
|
183
|
+
// Functions, percentages, relative units and dynamic values retain it.
|
|
184
|
+
if (name === 'flex-basis' && (value === undefined || !/^(?:(?:auto|content|initial|inherit|unset|revert|revert-layer)|[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px)?)(?:\s*!important)?$/.test(value)))
|
|
185
|
+
features.add('css-flex-basis-expressions');
|
|
186
|
+
if (name === 'flex' && !cssWide && (value === undefined || !/^(?:none|auto|(?:[+]?(?:\d+(?:\.\d*)?|\.\d+)\s+){0,2}(?:[+]?(?:\d+(?:\.\d*)?|\.\d+)(?:px)?|auto|content))(?:\s*!important)?$/.test(value)))
|
|
187
|
+
features.add('css-flex-basis-expressions');
|
|
188
|
+
if (name === 'all') {
|
|
189
|
+
addUnknownCssFeatures(features);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
if (/^(?:-webkit-)?(?:transform(?:-origin|-style)?|perspective(?:-origin)?|translate|rotate|scale|backface-visibility)$/.test(name))
|
|
193
|
+
features.add('css-transforms');
|
|
194
|
+
if (/^grid(?:-|$)/.test(name) || (name === 'display' && (value === undefined || /(?:grid|var\s*\()/i.test(value))))
|
|
195
|
+
features.add('css-grid');
|
|
196
|
+
if (name === 'float' || name === 'clear')
|
|
197
|
+
features.add('css-floats');
|
|
198
|
+
if (name === 'writing-mode' || name === 'direction')
|
|
199
|
+
features.add('css-writing-mode');
|
|
200
|
+
if (/^border(?:-(?:top|right|bottom|left))?(?:-style)?$/.test(name) &&
|
|
201
|
+
(value === undefined || /(?:inset|outset|groove|ridge|var\s*\()/i.test(value)))
|
|
202
|
+
features.add('css-border-relief');
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
}
|