@geastack/geatsc-plugin-gea 0.1.7 → 0.1.9
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/dist/host-shims.js +7 -0
- package/package.json +3 -2
- 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,403 @@
|
|
|
1
|
+
import ts from 'typescript';
|
|
2
|
+
export const rendererAnalysisVersion = 'renderer-analysis-v1';
|
|
3
|
+
const rendererFeatures = ['renderer-circles', 'renderer-transforms', 'renderer-linear-gradients', 'renderer-radial-gradients'];
|
|
4
|
+
export function addUnknownRendererFeatures(features) {
|
|
5
|
+
for (const feature of rendererFeatures)
|
|
6
|
+
features.add(feature);
|
|
7
|
+
}
|
|
8
|
+
// Proof shared by CSS storage and renderer cache selection. Custom-property
|
|
9
|
+
// identifiers are case-sensitive; missing/aliased/opaque definitions retain
|
|
10
|
+
// support. The atom-like proof is intentionally limited to literal colors.
|
|
11
|
+
export function colorVariableAnalysis() {
|
|
12
|
+
const colors = new Map();
|
|
13
|
+
let opaque = false;
|
|
14
|
+
const color = (value) => value !== undefined && /^(?:#(?:[\da-f]{3}|[\da-f]{4}|[\da-f]{6}|[\da-f]{8})|transparent|currentcolor)$/i.test(value.trim().replace(/\s*!important\s*$/i, ''));
|
|
15
|
+
return {
|
|
16
|
+
property(name, value) {
|
|
17
|
+
if (!name) {
|
|
18
|
+
opaque = true;
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (name.startsWith('--'))
|
|
22
|
+
colors.set(name, (colors.get(name) ?? true) && color(value));
|
|
23
|
+
},
|
|
24
|
+
unknown() { opaque = true; },
|
|
25
|
+
isColor(value) {
|
|
26
|
+
if (color(value))
|
|
27
|
+
return true;
|
|
28
|
+
const match = value?.trim().replace(/\s*!important\s*$/i, '').match(/^var\(\s*(--[\w-]+)\s*(?:,\s*([^()]+))?\)$/i);
|
|
29
|
+
return !opaque && !!match && colors.get(match[1]) === true && (match[2] === undefined || color(match[2]));
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function rendererVariableAnalysis(features) {
|
|
34
|
+
const colors = colorVariableAnalysis();
|
|
35
|
+
const backgrounds = [];
|
|
36
|
+
return {
|
|
37
|
+
property: colors.property,
|
|
38
|
+
unknown: colors.unknown,
|
|
39
|
+
background(value) { backgrounds.push(value); },
|
|
40
|
+
finish() {
|
|
41
|
+
if (backgrounds.some(value => !colors.isColor(value))) {
|
|
42
|
+
features.add('renderer-linear-gradients');
|
|
43
|
+
features.add('renderer-radial-gradients');
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function addRendererFeatures(file, text, features, observer, variables) {
|
|
49
|
+
const allStyles = () => {
|
|
50
|
+
observer?.unknown();
|
|
51
|
+
for (const feature of rendererFeatures.slice(1))
|
|
52
|
+
features.add(feature);
|
|
53
|
+
};
|
|
54
|
+
const gradients = (value, unknown = false) => {
|
|
55
|
+
if (unknown || /(?:^|[^\w-])(?:repeating-)?linear-gradient\s*\(/i.test(value))
|
|
56
|
+
features.add('renderer-linear-gradients');
|
|
57
|
+
if (unknown || /(?:^|[^\w-])(?:repeating-)?radial-gradient\s*\(/i.test(value))
|
|
58
|
+
features.add('renderer-radial-gradients');
|
|
59
|
+
};
|
|
60
|
+
const property = (name, value, expression) => {
|
|
61
|
+
observer?.property(name, value, expression);
|
|
62
|
+
if (!name) {
|
|
63
|
+
allStyles();
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const cssName = name.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`).toLowerCase();
|
|
67
|
+
if (/^(?:-webkit-)?(?:transform|perspective|translate|rotate|scale)$/.test(cssName)) {
|
|
68
|
+
if (value?.trim().toLowerCase() !== 'none')
|
|
69
|
+
features.add('renderer-transforms');
|
|
70
|
+
}
|
|
71
|
+
if (/^(?:background(?:-image)?|border-image(?:-source)?|mask(?:-image)?)$/.test(cssName)) {
|
|
72
|
+
if (value !== undefined && /var\s*\(/i.test(value) && variables)
|
|
73
|
+
variables.background(value);
|
|
74
|
+
else
|
|
75
|
+
gradients(value ?? '', value === undefined || /var\s*\(/i.test(value));
|
|
76
|
+
}
|
|
77
|
+
// Custom properties can later supply a background or transform value.
|
|
78
|
+
if (cssName.startsWith('--') && value !== undefined)
|
|
79
|
+
gradients(value);
|
|
80
|
+
};
|
|
81
|
+
const css = (value) => {
|
|
82
|
+
value = value.replace(/\/\*[\s\S]*?\*\//g, '');
|
|
83
|
+
// CSS escapes can occur in property names and values as well as glyph
|
|
84
|
+
// content. Decode them so an icon escape doesn't force every CSS family.
|
|
85
|
+
value = value.replace(/\\(?:([0-9a-f]{1,6})\s?|([^\r\n]))/gi, (_match, hex, character) => {
|
|
86
|
+
if (!hex)
|
|
87
|
+
return character ?? '';
|
|
88
|
+
const code = Number.parseInt(hex, 16);
|
|
89
|
+
return String.fromCodePoint(code > 0 && code <= 0x10ffff ? code : 0xfffd);
|
|
90
|
+
});
|
|
91
|
+
observer?.selector?.(value);
|
|
92
|
+
gradients(value);
|
|
93
|
+
for (const match of value.matchAll(/(?:^|[;{])\s*([\w-]+)\s*:\s*([^;{}]*)/g))
|
|
94
|
+
property(match[1].startsWith('--') ? match[1] : match[1].toLowerCase(), match[2]);
|
|
95
|
+
};
|
|
96
|
+
if (/\.css$/i.test(file)) {
|
|
97
|
+
css(text);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, /\.[jt]sx$/i.test(file) ? ts.ScriptKind.TSX : ts.ScriptKind.TS);
|
|
101
|
+
const constants = new Map();
|
|
102
|
+
const ambiguousConstants = new Set();
|
|
103
|
+
const bindingCounts = new Map();
|
|
104
|
+
const bind = (name) => {
|
|
105
|
+
if (ts.isIdentifier(name)) {
|
|
106
|
+
const count = (bindingCounts.get(name.text) ?? 0) + 1;
|
|
107
|
+
bindingCounts.set(name.text, count);
|
|
108
|
+
if (count > 1)
|
|
109
|
+
ambiguousConstants.add(name.text);
|
|
110
|
+
}
|
|
111
|
+
else
|
|
112
|
+
for (const part of name.elements)
|
|
113
|
+
if (ts.isBindingElement(part))
|
|
114
|
+
bind(part.name);
|
|
115
|
+
};
|
|
116
|
+
const collect = (node) => {
|
|
117
|
+
if (ts.isVariableDeclaration(node) || ts.isParameter(node))
|
|
118
|
+
bind(node.name);
|
|
119
|
+
else if ((ts.isImportClause(node) || ts.isImportSpecifier(node) || ts.isNamespaceImport(node) ||
|
|
120
|
+
ts.isFunctionDeclaration(node) || ts.isClassDeclaration(node)) && node.name)
|
|
121
|
+
bind(node.name);
|
|
122
|
+
if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.initializer &&
|
|
123
|
+
ts.isVariableDeclarationList(node.parent) && (node.parent.flags & ts.NodeFlags.Const)) {
|
|
124
|
+
constants.set(node.name.text, node.initializer);
|
|
125
|
+
}
|
|
126
|
+
ts.forEachChild(node, collect);
|
|
127
|
+
};
|
|
128
|
+
collect(source);
|
|
129
|
+
const unwrap = (node) => {
|
|
130
|
+
while (ts.isParenthesizedExpression(node) || ts.isAsExpression(node) || ts.isTypeAssertionExpression(node) || ts.isSatisfiesExpression(node))
|
|
131
|
+
node = node.expression;
|
|
132
|
+
return node;
|
|
133
|
+
};
|
|
134
|
+
const literal = (node, seen = new Set()) => {
|
|
135
|
+
if (!node)
|
|
136
|
+
return undefined;
|
|
137
|
+
node = unwrap(node);
|
|
138
|
+
if (ts.isStringLiteralLike(node) || ts.isNumericLiteral(node))
|
|
139
|
+
return node.text;
|
|
140
|
+
if (ts.isIdentifier(node) && !ambiguousConstants.has(node.text) && !seen.has(node.text)) {
|
|
141
|
+
seen.add(node.text);
|
|
142
|
+
return literal(constants.get(node.text), seen);
|
|
143
|
+
}
|
|
144
|
+
if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.PlusToken) {
|
|
145
|
+
const left = literal(node.left, new Set(seen)), right = literal(node.right, new Set(seen));
|
|
146
|
+
if (left !== undefined && right !== undefined)
|
|
147
|
+
return left + right;
|
|
148
|
+
}
|
|
149
|
+
return undefined;
|
|
150
|
+
};
|
|
151
|
+
const member = (node) => {
|
|
152
|
+
if (ts.isPropertyAccessExpression(node))
|
|
153
|
+
return node.name.text;
|
|
154
|
+
if (ts.isElementAccessExpression(node))
|
|
155
|
+
return literal(node.argumentExpression);
|
|
156
|
+
return undefined;
|
|
157
|
+
};
|
|
158
|
+
const isStyleTarget = (node, seen = new Set()) => {
|
|
159
|
+
node = unwrap(node);
|
|
160
|
+
if (member(node) === 'style')
|
|
161
|
+
return true;
|
|
162
|
+
if (ts.isIdentifier(node) && constants.has(node.text) && !ambiguousConstants.has(node.text) && !seen.has(node.text)) {
|
|
163
|
+
seen.add(node.text);
|
|
164
|
+
return isStyleTarget(constants.get(node.text), seen);
|
|
165
|
+
}
|
|
166
|
+
return false;
|
|
167
|
+
};
|
|
168
|
+
const styleObjectBindings = new Set();
|
|
169
|
+
const styleObject = (expression, seen = new Set()) => {
|
|
170
|
+
expression = unwrap(expression);
|
|
171
|
+
if (ts.isIdentifier(expression))
|
|
172
|
+
styleObjectBindings.add(expression.text);
|
|
173
|
+
if (ts.isIdentifier(expression) && constants.has(expression.text) && !ambiguousConstants.has(expression.text) && !seen.has(expression.text)) {
|
|
174
|
+
seen.add(expression.text);
|
|
175
|
+
styleObject(constants.get(expression.text), seen);
|
|
176
|
+
}
|
|
177
|
+
else if (ts.isObjectLiteralExpression(expression)) {
|
|
178
|
+
for (const item of expression.properties) {
|
|
179
|
+
if (ts.isSpreadAssignment(item)) {
|
|
180
|
+
styleObject(item.expression, new Set(seen));
|
|
181
|
+
continue;
|
|
182
|
+
}
|
|
183
|
+
if (!ts.isPropertyAssignment(item) && !ts.isShorthandPropertyAssignment(item)) {
|
|
184
|
+
allStyles();
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
187
|
+
const name = ts.isComputedPropertyName(item.name) ? literal(item.name.expression) : item.name.text;
|
|
188
|
+
property(name, literal(ts.isPropertyAssignment(item) ? item.initializer : item.name), ts.isPropertyAssignment(item) ? item.initializer : item.name);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
else if (ts.isConditionalExpression(expression)) {
|
|
192
|
+
styleObject(expression.whenTrue, new Set(seen));
|
|
193
|
+
styleObject(expression.whenFalse, new Set(seen));
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
const value = literal(expression);
|
|
197
|
+
if (value === undefined)
|
|
198
|
+
allStyles();
|
|
199
|
+
else
|
|
200
|
+
css(value);
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
const isStyleObjectReference = (expression, seen = new Set()) => {
|
|
204
|
+
expression = unwrap(expression);
|
|
205
|
+
if (!ts.isIdentifier(expression) || seen.has(expression.text))
|
|
206
|
+
return false;
|
|
207
|
+
if (styleObjectBindings.has(expression.text))
|
|
208
|
+
return true;
|
|
209
|
+
seen.add(expression.text);
|
|
210
|
+
const initializer = constants.get(expression.text);
|
|
211
|
+
return !!initializer && isStyleObjectReference(initializer, seen);
|
|
212
|
+
};
|
|
213
|
+
const argumentContainsStyle = (expression) => {
|
|
214
|
+
if (ts.isExpression(expression) && isStyleObjectReference(expression))
|
|
215
|
+
return true;
|
|
216
|
+
let found = false;
|
|
217
|
+
ts.forEachChild(expression, child => { if (argumentContainsStyle(child))
|
|
218
|
+
found = true; });
|
|
219
|
+
return found;
|
|
220
|
+
};
|
|
221
|
+
const opaqueCallable = (node, seen = new Set()) => {
|
|
222
|
+
node = unwrap(node);
|
|
223
|
+
if (ts.isIdentifier(node) && !seen.has(node.text) && constants.has(node.text)) {
|
|
224
|
+
seen.add(node.text);
|
|
225
|
+
return opaqueCallable(constants.get(node.text), seen);
|
|
226
|
+
}
|
|
227
|
+
if (ts.isElementAccessExpression(node) && member(node) === undefined)
|
|
228
|
+
return true;
|
|
229
|
+
if (ts.isPropertyAccessExpression(node) || ts.isElementAccessExpression(node))
|
|
230
|
+
return opaqueCallable(node.expression, seen);
|
|
231
|
+
return false;
|
|
232
|
+
};
|
|
233
|
+
const circleMethods = new Set(['arc', 'arcTo', 'ellipse', 'roundRect', 'fillCircle', 'fillCircles', 'fillCirclesRgb565', 'fillCirclesRgb565Uniform', 'fillCirclesRgb565WorldYSorted', 'fillCircleBox', 'fillEllipse', 'fillEllipseBatch', 'fillRoundedRectBoxesRgb565']);
|
|
234
|
+
const visit = (node) => {
|
|
235
|
+
if (ts.isIdentifier(node) && /^__gea_/.test(node.text) && node.text !== '__gea_Display')
|
|
236
|
+
observer?.unknownRanges?.();
|
|
237
|
+
// These factories/hosts can inject native defaults or change length scaling
|
|
238
|
+
// outside the authored CSS range proof. Type-only imports cannot do so.
|
|
239
|
+
if (ts.isImportDeclaration(node) && ts.isStringLiteral(node.moduleSpecifier) &&
|
|
240
|
+
/^(?:gea-embedded|@geastack\/(?:core|engine)|@geajs\/core)(?:\/|$)/.test(node.moduleSpecifier.text) &&
|
|
241
|
+
node.importClause && !node.importClause.isTypeOnly) {
|
|
242
|
+
const bindings = node.importClause.namedBindings;
|
|
243
|
+
if (node.importClause.name || !bindings || !ts.isNamedImports(bindings) ||
|
|
244
|
+
bindings.elements.some(item => !item.isTypeOnly && !/^(?:Component|Store|mount)$/.test((item.propertyName ?? item.name).text)))
|
|
245
|
+
observer?.unknownRanges?.();
|
|
246
|
+
}
|
|
247
|
+
if (ts.isIdentifier(node) && /^(?:setDevicePixelRatio|setViewportMetrics|devicePixelRatio|__gea_StyleSheet|createVirtualList|createInput|createTextInput|VirtualList|VirtualListElement|TextInput|VirtualKeyboard)$/.test(node.text))
|
|
248
|
+
observer?.unknownRanges?.();
|
|
249
|
+
if ((ts.isStringLiteralLike(node) && /^(?:virtual-list|input|textarea|select)$/i.test(node.text)) ||
|
|
250
|
+
((ts.isJsxOpeningElement(node) || ts.isJsxSelfClosingElement(node)) && /^(?:virtual-list|input|textarea|select)$/i.test(node.tagName.getText(source))))
|
|
251
|
+
observer?.unknownRanges?.();
|
|
252
|
+
// Native controls can introduce scrollable descendants without authored
|
|
253
|
+
// overflow CSS. Literal tag/factory use retains state; dynamic factories
|
|
254
|
+
// and computed calls are opaque and keep all families below.
|
|
255
|
+
if ((ts.isIdentifier(node) && /^(?:createVirtualList|createInput|createTextInput|VirtualList|VirtualListElement|TextInput|VirtualKeyboard)$/.test(node.text)) ||
|
|
256
|
+
(ts.isStringLiteralLike(node) && /^(?:virtual-list|input|textarea|select)$/i.test(node.text)) ||
|
|
257
|
+
((ts.isJsxOpeningElement(node) || ts.isJsxSelfClosingElement(node)) && /^(?:virtual-list|input|textarea|select)$/i.test(node.tagName.getText(source)))) {
|
|
258
|
+
features.add('css-scrolling');
|
|
259
|
+
features.add('css-overflow-axes');
|
|
260
|
+
observer?.property('inset', undefined);
|
|
261
|
+
}
|
|
262
|
+
// Imperative animation APIs can mutate arbitrary style fields. Observe
|
|
263
|
+
// references as well as calls so aliases cannot bypass the proof. Frame
|
|
264
|
+
// scheduling (requestAnimationFrame) is independent and stays available.
|
|
265
|
+
if (ts.isIdentifier(node) && /^(?:animate|KeyframeEffect|Animation|AnimationEngine|DeclarativeAnimations|Reflect)$/.test(node.text))
|
|
266
|
+
allStyles();
|
|
267
|
+
if (ts.isBindingElement(node) && /^(?:createElement|createElementNS|animate|setAttribute|insertRule|replaceSync)$/.test(node.propertyName?.getText(source).replace(/^['"]|['"]$/g, '') ?? node.name.getText(source)))
|
|
268
|
+
allStyles();
|
|
269
|
+
if (ts.isBindingElement(node) && node.propertyName && ts.isComputedPropertyName(node.propertyName) && literal(node.propertyName.expression) === undefined)
|
|
270
|
+
allStyles();
|
|
271
|
+
if (ts.isTaggedTemplateExpression(node) && ts.isTemplateExpression(node.template))
|
|
272
|
+
allStyles();
|
|
273
|
+
// Literal CSS also covers CSS templates, DOM setters and imported helpers.
|
|
274
|
+
if (ts.isStringLiteralLike(node))
|
|
275
|
+
css(node.text);
|
|
276
|
+
if (ts.isPropertyAccessExpression(node) || ts.isElementAccessExpression(node)) {
|
|
277
|
+
const name = member(node);
|
|
278
|
+
if (name && /^(?:setDevicePixelRatio|setViewportMetrics|devicePixelRatio)$/.test(name))
|
|
279
|
+
observer?.unknownRanges?.();
|
|
280
|
+
if (name && circleMethods.has(name))
|
|
281
|
+
features.add('renderer-circles');
|
|
282
|
+
if (name === 'dataset' || name === 'animate')
|
|
283
|
+
allStyles();
|
|
284
|
+
if (name && /^(?:setAttribute|insertRule|replaceSync)$/.test(name) && !(ts.isCallExpression(node.parent) && node.parent.expression === node))
|
|
285
|
+
allStyles();
|
|
286
|
+
if (name && /^(?:getOwnPropertyDescriptor|getOwnPropertyDescriptors|getPrototypeOf|setPrototypeOf|defineProperty|defineProperties)$/.test(name))
|
|
287
|
+
allStyles();
|
|
288
|
+
if ((name === 'createElement' || name === 'createElementNS') && !(ts.isCallExpression(node.parent) && node.parent.expression === node))
|
|
289
|
+
allStyles();
|
|
290
|
+
if (name === 'style') {
|
|
291
|
+
const parent = node.parent;
|
|
292
|
+
const knownMember = (ts.isPropertyAccessExpression(parent) || ts.isElementAccessExpression(parent)) && parent.expression === node;
|
|
293
|
+
const knownAssignment = ts.isBinaryExpression(parent) && parent.left === node;
|
|
294
|
+
if (!knownMember && !knownAssignment)
|
|
295
|
+
observer?.unknown();
|
|
296
|
+
}
|
|
297
|
+
if (name === 'setProperty' && !(ts.isCallExpression(node.parent) && node.parent.expression === node))
|
|
298
|
+
observer?.unknown();
|
|
299
|
+
}
|
|
300
|
+
// Native declarative animations can write style fields through data-anim.
|
|
301
|
+
if (ts.isJsxAttribute(node) && node.name.getText(source) === 'data-anim')
|
|
302
|
+
allStyles();
|
|
303
|
+
if (ts.isJsxAttribute(node) && node.name.getText(source) === 'dir')
|
|
304
|
+
observer?.property('direction', undefined);
|
|
305
|
+
if (ts.isJsxAttribute(node) && node.name.getText(source) === 'style' && node.initializer) {
|
|
306
|
+
if (ts.isJsxExpression(node.initializer) && node.initializer.expression)
|
|
307
|
+
styleObject(node.initializer.expression);
|
|
308
|
+
}
|
|
309
|
+
if (ts.isJsxSpreadAttribute(node)) {
|
|
310
|
+
const value = unwrap(node.expression);
|
|
311
|
+
if (ts.isObjectLiteralExpression(value)) {
|
|
312
|
+
for (const item of value.properties)
|
|
313
|
+
if (ts.isPropertyAssignment(item) && item.name.getText(source) === 'style')
|
|
314
|
+
styleObject(item.initializer);
|
|
315
|
+
}
|
|
316
|
+
else
|
|
317
|
+
allStyles();
|
|
318
|
+
}
|
|
319
|
+
// Property names are relevant even for aliases of el.style. This deliberately
|
|
320
|
+
// errs toward keeping a cache when an unrelated object has a style key.
|
|
321
|
+
if (ts.isPropertyAssignment(node)) {
|
|
322
|
+
const name = ts.isComputedPropertyName(node.name) ? literal(node.name.expression) : node.name.getText(source).replace(/^['"]|['"]$/g, '');
|
|
323
|
+
if (name === 'data-anim')
|
|
324
|
+
allStyles();
|
|
325
|
+
if (name !== undefined)
|
|
326
|
+
property(name, literal(node.initializer), node.initializer);
|
|
327
|
+
if (name === 'style')
|
|
328
|
+
styleObject(node.initializer);
|
|
329
|
+
}
|
|
330
|
+
if (ts.isBinaryExpression(node) && node.operatorToken.kind === ts.SyntaxKind.EqualsToken) {
|
|
331
|
+
const name = member(node.left);
|
|
332
|
+
if (name === 'dir')
|
|
333
|
+
observer?.property('direction', undefined);
|
|
334
|
+
if (name === 'innerHTML' || name === 'outerHTML' || name === 'adoptedStyleSheets')
|
|
335
|
+
allStyles();
|
|
336
|
+
if (name === 'style' || name === 'cssText')
|
|
337
|
+
styleObject(node.right);
|
|
338
|
+
else if (ts.isPropertyAccessExpression(node.left) || ts.isElementAccessExpression(node.left)) {
|
|
339
|
+
if (name !== undefined || isStyleTarget(node.left.expression))
|
|
340
|
+
property(name, literal(node.right), node.right);
|
|
341
|
+
else if (isStyleObjectReference(node.left.expression))
|
|
342
|
+
observer?.unknown();
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
if (ts.isCallExpression(node)) {
|
|
346
|
+
if (opaqueCallable(node.expression))
|
|
347
|
+
allStyles();
|
|
348
|
+
// A helper receiving a style object can mutate it through aliases,
|
|
349
|
+
// Object.assign or computed keys that this source scan cannot resolve.
|
|
350
|
+
if (node.arguments.some(argumentContainsStyle))
|
|
351
|
+
observer?.unknown();
|
|
352
|
+
const name = member(node.expression);
|
|
353
|
+
if ((ts.isPropertyAccessExpression(node.expression) || ts.isElementAccessExpression(node.expression)) && isStyleTarget(node.expression.expression) && name !== 'setProperty' && name !== 'removeProperty')
|
|
354
|
+
observer?.unknownRanges?.();
|
|
355
|
+
if (node.expression.kind === ts.SyntaxKind.ImportKeyword && literal(node.arguments[0]) === undefined) {
|
|
356
|
+
addUnknownRendererFeatures(features);
|
|
357
|
+
observer?.unknown();
|
|
358
|
+
}
|
|
359
|
+
if (name && circleMethods.has(name))
|
|
360
|
+
features.add('renderer-circles');
|
|
361
|
+
if (name === 'createLinearGradient')
|
|
362
|
+
features.add('renderer-linear-gradients');
|
|
363
|
+
if (name === 'createRadialGradient')
|
|
364
|
+
features.add('renderer-radial-gradients');
|
|
365
|
+
if (name === 'registerProperty')
|
|
366
|
+
allStyles();
|
|
367
|
+
if ((name === 'createElement' || name === 'createElementNS') && literal(node.arguments[name === 'createElementNS' ? 1 : 0]) === undefined)
|
|
368
|
+
allStyles();
|
|
369
|
+
if (name === 'createElement' && literal(node.arguments[0]) === 'style')
|
|
370
|
+
allStyles();
|
|
371
|
+
if (name === 'setAttribute' && literal(node.arguments[0]) === 'dir')
|
|
372
|
+
observer?.property('direction', undefined);
|
|
373
|
+
if (name === 'setProperty')
|
|
374
|
+
property(literal(node.arguments[0]), literal(node.arguments[1]), node.arguments[1]);
|
|
375
|
+
if (name === 'setAttribute' && (!literal(node.arguments[0]) || literal(node.arguments[0]) === 'data-anim'))
|
|
376
|
+
allStyles();
|
|
377
|
+
if (name === 'setAttribute' && literal(node.arguments[0]) === 'style') {
|
|
378
|
+
if (node.arguments[1])
|
|
379
|
+
styleObject(node.arguments[1]);
|
|
380
|
+
else
|
|
381
|
+
allStyles();
|
|
382
|
+
}
|
|
383
|
+
if (name === 'assign' && node.arguments[0] && isStyleTarget(node.arguments[0])) {
|
|
384
|
+
for (const arg of node.arguments.slice(1))
|
|
385
|
+
styleObject(arg);
|
|
386
|
+
}
|
|
387
|
+
if (name === 'insertRule' || name === 'replaceSync' || name === 'replace') {
|
|
388
|
+
if (node.arguments[0])
|
|
389
|
+
styleObject(node.arguments[0]);
|
|
390
|
+
}
|
|
391
|
+
// Unknown computed method dispatch may be a canvas operation or style API.
|
|
392
|
+
if (ts.isElementAccessExpression(node.expression) && name === undefined) {
|
|
393
|
+
addUnknownRendererFeatures(features);
|
|
394
|
+
observer?.unknown();
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
ts.forEachChild(node, visit);
|
|
398
|
+
};
|
|
399
|
+
// Style object declarations can precede their JSX use. The first pass
|
|
400
|
+
// discovers those bindings; the second also sees earlier mutations.
|
|
401
|
+
visit(source);
|
|
402
|
+
visit(source);
|
|
403
|
+
}
|
package/dist/analyze.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { sourceLiteralResolver } from './analyze-literals.js';
|
|
1
2
|
import fs from 'node:fs';
|
|
3
|
+
import { analyzeClassCapacity } from './analyze-classes.js';
|
|
4
|
+
import ts from 'typescript';
|
|
2
5
|
import path from 'node:path';
|
|
6
|
+
import { createRequire } from 'node:module';
|
|
7
|
+
import { nodeAnalysisVersion, addNodeFeatures, addUnknownNodeFeatures } from './analyze-nodes.js';
|
|
8
|
+
import { cssRangeObserver } from './analyze-css-ranges.js';
|
|
9
|
+
import { cssAnalysisVersion, cssUsageObserver, addUnknownCssFeatures } from './analyze-css.js';
|
|
10
|
+
import { addRendererFeatures, addUnknownRendererFeatures, rendererAnalysisVersion, rendererVariableAnalysis } from './analyze-renderer.js';
|
|
3
11
|
export function capabilitiesToAnalyzePatch(capabilities) {
|
|
4
12
|
const features = [];
|
|
5
13
|
const bindings = [];
|
|
@@ -21,16 +29,47 @@ export function capabilitiesToAnalyzePatch(capabilities) {
|
|
|
21
29
|
// connection with "No server verification option set".
|
|
22
30
|
export function analyzeSourceHostBindings(entry) {
|
|
23
31
|
const bindings = new Set();
|
|
24
|
-
const features = new Set();
|
|
25
|
-
|
|
32
|
+
const features = new Set([rendererAnalysisVersion, cssAnalysisVersion, nodeAnalysisVersion]);
|
|
33
|
+
const discovery = discoverSourceFiles(entry);
|
|
34
|
+
const classSources = new Map();
|
|
35
|
+
let classUnknown = discovery.unknown;
|
|
36
|
+
const variables = rendererVariableAnalysis(features);
|
|
37
|
+
const literalSources = new Map([...discovery.files].filter(file => fs.existsSync(file)).map(file => [file, fs.readFileSync(file, 'utf8')]));
|
|
38
|
+
const css = cssUsageObserver(features, sourceLiteralResolver(literalSources, discovery.unknown));
|
|
39
|
+
const ranges = cssRangeObserver(features);
|
|
40
|
+
const observer = {
|
|
41
|
+
selector(value) { css.selector?.(value); ranges.selector?.(value); },
|
|
42
|
+
property(name, value, expression) { css.property(name, value, expression); ranges.property(name, value); variables.property(name, value); },
|
|
43
|
+
unknown() { classUnknown = true; css.unknown(); ranges.unknown(); variables.unknown(); addUnknownNodeFeatures(features); },
|
|
44
|
+
unknownRanges() { ranges.unknown(); },
|
|
45
|
+
};
|
|
46
|
+
if (discovery.unknown) {
|
|
47
|
+
variables.unknown();
|
|
48
|
+
ranges.unknown();
|
|
49
|
+
addUnknownNodeFeatures(features);
|
|
50
|
+
}
|
|
51
|
+
if (discovery.unknown) {
|
|
52
|
+
addUnknownRendererFeatures(features);
|
|
53
|
+
addUnknownCssFeatures(features);
|
|
54
|
+
}
|
|
55
|
+
for (const file of discovery.files) {
|
|
26
56
|
if (!fs.existsSync(file))
|
|
27
57
|
continue;
|
|
28
58
|
const text = fs.readFileSync(file, 'utf8');
|
|
59
|
+
classSources.set(file, text);
|
|
29
60
|
addBindingsForGeaEmbeddedImports(text, bindings);
|
|
30
61
|
addBindingsForEmbeddedHostNames(text, bindings);
|
|
31
62
|
addBindingsForHostGlobals(text, bindings);
|
|
32
63
|
addFeaturesForUrlSchemes(text, features);
|
|
64
|
+
addRendererFeatures(file, text, features, observer, variables);
|
|
65
|
+
addNodeFeatures(file, text, features);
|
|
33
66
|
}
|
|
67
|
+
const classCapacity = analyzeClassCapacity(classSources, classUnknown || features.has('node-inputs') || features.has('node-images'));
|
|
68
|
+
if (classCapacity !== undefined)
|
|
69
|
+
features.add(`node-class-capacity-v1-${classCapacity}`);
|
|
70
|
+
variables.finish();
|
|
71
|
+
css.finish();
|
|
72
|
+
ranges.finish();
|
|
34
73
|
return { bindings: [...bindings].sort(), features: [...features].sort() };
|
|
35
74
|
}
|
|
36
75
|
export function mergeAnalyzePatches(...patches) {
|
|
@@ -144,6 +183,7 @@ function addBindingsForEmbeddedHostNames(text, bindings) {
|
|
|
144
183
|
function discoverSourceFiles(entry) {
|
|
145
184
|
const visited = new Set();
|
|
146
185
|
const files = [];
|
|
186
|
+
let unknown = false;
|
|
147
187
|
function visit(file) {
|
|
148
188
|
const resolved = path.resolve(file);
|
|
149
189
|
// An entry that is a directory (a configure run without app metadata)
|
|
@@ -152,30 +192,68 @@ function discoverSourceFiles(entry) {
|
|
|
152
192
|
return;
|
|
153
193
|
visited.add(resolved);
|
|
154
194
|
const text = fs.readFileSync(resolved, 'utf8');
|
|
155
|
-
for (const specifier of
|
|
156
|
-
|
|
195
|
+
for (const specifier of /\.css$/i.test(resolved) ? [] : moduleSpecifiers(resolved, text)) {
|
|
196
|
+
// Framework host imports do not inject renderer instructions. Other
|
|
197
|
+
// external code may supply styles/components we cannot inspect here.
|
|
198
|
+
if (/^(?:gea-embedded|@geastack\/(?:core|engine)|@geajs\/core)(?:\/|$)/.test(specifier))
|
|
199
|
+
continue;
|
|
200
|
+
const dependency = specifier.startsWith('.') ? resolveRelativeModule(resolved, specifier) : resolvePackageModule(resolved, specifier);
|
|
157
201
|
if (dependency)
|
|
158
202
|
visit(dependency);
|
|
203
|
+
else
|
|
204
|
+
unknown = true;
|
|
205
|
+
}
|
|
206
|
+
if (/\.css$/i.test(resolved)) {
|
|
207
|
+
for (const match of text.replace(/\/\*[\s\S]*?\*\//g, '').matchAll(/@import\s+(?:url\(\s*(?:['"]([^'"]+)['"]|([^\s)]+))\s*\)|['"]([^'"]+)['"])/g)) {
|
|
208
|
+
const specifier = match[1] ?? match[2] ?? match[3];
|
|
209
|
+
const dependency = !/^(?:[a-z]+:|\/)/i.test(specifier) && resolveRelativeModule(resolved, specifier);
|
|
210
|
+
if (dependency)
|
|
211
|
+
visit(dependency);
|
|
212
|
+
else
|
|
213
|
+
unknown = true;
|
|
214
|
+
}
|
|
159
215
|
}
|
|
160
216
|
files.push(resolved);
|
|
161
217
|
}
|
|
162
218
|
visit(entry);
|
|
163
|
-
|
|
219
|
+
if (!files.length)
|
|
220
|
+
unknown = true;
|
|
221
|
+
return { files, unknown };
|
|
164
222
|
}
|
|
165
|
-
function
|
|
223
|
+
function moduleSpecifiers(file, text) {
|
|
224
|
+
const source = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, /\.[jt]sx$/i.test(file) ? ts.ScriptKind.TSX : ts.ScriptKind.TS);
|
|
166
225
|
const specifiers = [];
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
226
|
+
// An empty specifier deliberately fails resolution, retaining all features.
|
|
227
|
+
// A malformed or computed module boundary cannot establish absence of CSS.
|
|
228
|
+
if (source.parseDiagnostics?.length)
|
|
229
|
+
specifiers.push('');
|
|
230
|
+
const add = (expression) => {
|
|
231
|
+
specifiers.push(expression && ts.isStringLiteralLike(expression) ? expression.text : '');
|
|
232
|
+
};
|
|
233
|
+
const visit = (node) => {
|
|
234
|
+
if ((ts.isImportDeclaration(node) || ts.isExportDeclaration(node)) && node.moduleSpecifier)
|
|
235
|
+
add(node.moduleSpecifier);
|
|
236
|
+
if (ts.isImportEqualsDeclaration(node) && ts.isExternalModuleReference(node.moduleReference))
|
|
237
|
+
add(node.moduleReference.expression);
|
|
238
|
+
if (ts.isCallExpression(node) && (node.expression.kind === ts.SyntaxKind.ImportKeyword ||
|
|
239
|
+
(ts.isIdentifier(node.expression) && node.expression.text === 'require')))
|
|
240
|
+
add(node.arguments[0]);
|
|
241
|
+
ts.forEachChild(node, visit);
|
|
242
|
+
};
|
|
243
|
+
visit(source);
|
|
171
244
|
return specifiers;
|
|
172
245
|
}
|
|
173
|
-
function
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
246
|
+
function resolvePackageModule(importer, specifier) {
|
|
247
|
+
// CSS package imports must be traversed just like relative stylesheets. For
|
|
248
|
+
// opaque JS packages keep the conservative feature set instead of assuming
|
|
249
|
+
// their exports cannot render anything.
|
|
250
|
+
if (!/\.css$/i.test(specifier))
|
|
251
|
+
return null;
|
|
252
|
+
try {
|
|
253
|
+
return createRequire(importer).resolve(specifier);
|
|
254
|
+
}
|
|
255
|
+
catch {
|
|
256
|
+
return null;
|
|
179
257
|
}
|
|
180
258
|
}
|
|
181
259
|
function resolveRelativeModule(importer, specifier) {
|
|
@@ -189,6 +267,8 @@ function resolveRelativeModule(importer, specifier) {
|
|
|
189
267
|
function moduleCandidates(base) {
|
|
190
268
|
const extensions = ['', '.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'];
|
|
191
269
|
return [
|
|
270
|
+
// TypeScript's NodeNext imports commonly spell the emitted .js extension.
|
|
271
|
+
...(/\.[cm]?jsx?$/.test(base) ? [base.replace(/\.js$/, '.ts'), base.replace(/\.jsx?$/, '.tsx'), base.replace(/\.mjs$/, '.mts'), base.replace(/\.cjs$/, '.cts')] : []),
|
|
192
272
|
...extensions.map((extension) => `${base}${extension}`),
|
|
193
273
|
...extensions.filter(Boolean).map((extension) => path.join(base, `index${extension}`)),
|
|
194
274
|
];
|
|
@@ -591,7 +591,7 @@ function lowerRowPxLengthStyleExpression(expr, propertyName, itemName, field, co
|
|
|
591
591
|
return {
|
|
592
592
|
expr: loweredRowAsNumber(lowered),
|
|
593
593
|
shape: { kind: 'literal', valueType: 'number' },
|
|
594
|
-
styleUnit:
|
|
594
|
+
styleUnit: 'px',
|
|
595
595
|
itemFields: lowered.itemFields,
|
|
596
596
|
storeFields: lowered.storeFields,
|
|
597
597
|
};
|
|
@@ -1702,7 +1702,7 @@ function lowerStorePxLengthStyleExpression(field, propertyName, storeFields) {
|
|
|
1702
1702
|
if (!ts.isPropertyAccessExpression(expr))
|
|
1703
1703
|
return null;
|
|
1704
1704
|
const lowered = lowerStoreFieldByName(expr.name.text, storeFieldLocalName(expr.name.text), storeFields);
|
|
1705
|
-
return lowered ? { ...lowered, shape: { kind: 'literal', valueType: 'number' }, styleUnit:
|
|
1705
|
+
return lowered ? { ...lowered, shape: { kind: 'literal', valueType: 'number' }, styleUnit: 'px' } : null;
|
|
1706
1706
|
}
|
|
1707
1707
|
function lowerStorePercentLengthStyleExpression(field, propertyName, storeFields) {
|
|
1708
1708
|
if (!stylePercentPropertyEnumForPropertyName(propertyName) || !field.expr)
|
|
@@ -1960,8 +1960,15 @@ function stylePropertyArgument(propertyName) {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
function styleApplyLines(node, propertyName, value, shape, styleUnit) {
|
|
1962
1962
|
const property = stylePropertyArgument(propertyName);
|
|
1963
|
-
if (styleUnit === 'px')
|
|
1964
|
-
|
|
1963
|
+
if (styleUnit === 'px') {
|
|
1964
|
+
const declaration = styleDeclarationEnumForPropertyName(propertyName);
|
|
1965
|
+
if (declaration)
|
|
1966
|
+
return [`gea::embedded::ui::StyleSheet::instance().applyPixelLengthProperty(${node}, ${property}, static_cast<double>(${value}));`];
|
|
1967
|
+
const translated = directNumberStyleApplyLine(node, propertyName, `(${value}) * gea::embedded::ui::devicePixelRatio()`);
|
|
1968
|
+
if (!translated)
|
|
1969
|
+
throw new Error(`No CSS pixel style apply for ${propertyName}`);
|
|
1970
|
+
return [translated];
|
|
1971
|
+
}
|
|
1965
1972
|
if (shape?.kind === 'literal' && shape.valueType === 'number') {
|
|
1966
1973
|
const direct = styleUnit === 'percent'
|
|
1967
1974
|
? directPercentStyleApplyLine(node, propertyName, value)
|
|
@@ -1581,7 +1581,7 @@ function lowerRowPxLengthStyleExpr(expr, propertyName, itemParam, indexParam, it
|
|
|
1581
1581
|
if (parts[0].kind !== 'expr' || parts[1].kind !== 'text' || parts[1].value !== 'px')
|
|
1582
1582
|
return null;
|
|
1583
1583
|
const lowered = lowerRowExpr(parts[0].value, itemParam, indexParam, itemKind, constants);
|
|
1584
|
-
return lowered ? { cpp: rowExprAsNumber(lowered), kind: 'number', styleUnit:
|
|
1584
|
+
return lowered ? { cpp: rowExprAsNumber(lowered), kind: 'number', styleUnit: 'px' } : null;
|
|
1585
1585
|
}
|
|
1586
1586
|
function lowerRowPercentLengthStyleExpr(expr, propertyName, itemParam, indexParam, itemKind, constants = new Map()) {
|
|
1587
1587
|
if (!expr || !stylePercentPropertyEnumForPropertyName(propertyName))
|
|
@@ -2125,7 +2125,7 @@ function lowerPxLengthStyleValue(expr, propertyName, storeFields, constants, pro
|
|
|
2125
2125
|
const value = lowerTemplateExpression(parts[0].value, storeFields, constants, propBindings);
|
|
2126
2126
|
if (!value)
|
|
2127
2127
|
return null;
|
|
2128
|
-
return { ...mergeLowered('number', loweredAsKind(value, 'number'), [value]), styleUnit:
|
|
2128
|
+
return { ...mergeLowered('number', loweredAsKind(value, 'number'), [value]), styleUnit: 'px' };
|
|
2129
2129
|
}
|
|
2130
2130
|
function lowerPercentLengthStyleValue(expr, propertyName, storeFields, constants, propBindings) {
|
|
2131
2131
|
if (!expr || !stylePercentPropertyEnumForPropertyName(propertyName))
|
|
@@ -2254,8 +2254,12 @@ function opacityNumberExpression(value) {
|
|
|
2254
2254
|
return `([](double __v) -> int { if (!std::isfinite(__v)) return 0; if (__v <= 1.0) __v *= 255.0; if (__v < 0.0) __v = 0.0; if (__v > 255.0) __v = 255.0; return static_cast<int>(__v + 0.5); })(static_cast<double>(${value}))`;
|
|
2255
2255
|
}
|
|
2256
2256
|
function styleNumberApplyLine(node, propertyName, value, styleUnit) {
|
|
2257
|
-
if (styleUnit === 'px')
|
|
2258
|
-
|
|
2257
|
+
if (styleUnit === 'px') {
|
|
2258
|
+
const declaration = styleDeclarationEnumForPropertyName(propertyName);
|
|
2259
|
+
return declaration
|
|
2260
|
+
? `gea::embedded::ui::StyleSheet::instance().applyPixelLengthProperty(${node}, gea::embedded::ui::StyleDeclaration::${declaration}, static_cast<double>(${value}));`
|
|
2261
|
+
: directNumberStyleApplyLine(node, propertyName, `(${value}) * gea::embedded::ui::devicePixelRatio()`);
|
|
2262
|
+
}
|
|
2259
2263
|
if (styleUnit === 'percent')
|
|
2260
2264
|
return directPercentStyleApplyLine(node, propertyName, value);
|
|
2261
2265
|
if (styleUnit === 'color')
|
package/dist/host-shims.js
CHANGED
|
@@ -3187,6 +3187,13 @@ export function createGeaHostShims() {
|
|
|
3187
3187
|
returnType: "std::string",
|
|
3188
3188
|
},
|
|
3189
3189
|
],
|
|
3190
|
+
json: [
|
|
3191
|
+
{
|
|
3192
|
+
receiverTypes: ["gea::host::FetchResponse"],
|
|
3193
|
+
emit: "([&]() { const std::string text = ({receiver}).text(); gea::json::Reader reader(text); gea::Value value = reader.readDynamicValue(); reader.finish(); return value; }())",
|
|
3194
|
+
returnType: "gea::Value",
|
|
3195
|
+
},
|
|
3196
|
+
],
|
|
3190
3197
|
...CSS_STYLE_DECLARATION_NATIVE_MEMBER_METHODS,
|
|
3191
3198
|
},
|
|
3192
3199
|
embeddedHostConstants: {
|