@tramvai/cli 5.49.1 → 6.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/__migrations__/d2023-02-01b-tramvai-config-refactoring.js +78 -80
  2. package/__migrations__/d2025-04-11b-tramvai-config-remove-modern.js +13 -0
  3. package/bin/spawn.js +76 -4
  4. package/lib/api/analyze/index.d.ts +0 -1
  5. package/lib/api/analyze/index.d.ts.map +1 -1
  6. package/lib/api/analyze/index.js +2 -2
  7. package/lib/api/analyze/index.js.map +1 -1
  8. package/lib/api/build/application.d.ts.map +1 -1
  9. package/lib/api/build/application.js +2 -5
  10. package/lib/api/build/application.js.map +1 -1
  11. package/lib/api/build/child-app.d.ts.map +1 -1
  12. package/lib/api/build/child-app.js +1 -5
  13. package/lib/api/build/child-app.js.map +1 -1
  14. package/lib/api/build/index.d.ts +0 -2
  15. package/lib/api/build/index.d.ts.map +1 -1
  16. package/lib/api/build/index.js.map +1 -1
  17. package/lib/api/build/module.d.ts.map +1 -1
  18. package/lib/api/build/module.js +1 -3
  19. package/lib/api/build/module.js.map +1 -1
  20. package/lib/api/index.d.ts.map +1 -1
  21. package/lib/api/index.js +0 -4
  22. package/lib/api/index.js.map +1 -1
  23. package/lib/api/start/application.experimental.d.ts +7 -0
  24. package/lib/api/start/application.experimental.d.ts.map +1 -0
  25. package/lib/api/start/application.experimental.js +275 -0
  26. package/lib/api/start/application.experimental.js.map +1 -0
  27. package/lib/api/start/index.d.ts +1 -1
  28. package/lib/api/start/index.d.ts.map +1 -1
  29. package/lib/api/start/index.js +17 -6
  30. package/lib/api/start/index.js.map +1 -1
  31. package/lib/api/start/utils/banner.d.ts.map +1 -1
  32. package/lib/api/start/utils/banner.js +0 -1
  33. package/lib/api/start/utils/banner.js.map +1 -1
  34. package/lib/api/start/utils/tips/tips.d.ts.map +1 -1
  35. package/lib/api/start/utils/tips/tips.js +0 -8
  36. package/lib/api/start/utils/tips/tips.js.map +1 -1
  37. package/lib/builder/webpack/devServer/pool/process/pool.d.ts.map +1 -1
  38. package/lib/builder/webpack/devServer/pool/process/pool.js +0 -2
  39. package/lib/builder/webpack/devServer/pool/process/pool.js.map +1 -1
  40. package/lib/builder/webpack/devServer/server.d.ts.map +1 -1
  41. package/lib/builder/webpack/devServer/server.js +4 -0
  42. package/lib/builder/webpack/devServer/server.js.map +1 -1
  43. package/lib/builder/webpack/devServer/setup.d.ts.map +1 -1
  44. package/lib/builder/webpack/devServer/setup.js +3 -1
  45. package/lib/builder/webpack/devServer/setup.js.map +1 -1
  46. package/lib/builder/webpack/index.d.ts.map +1 -1
  47. package/lib/builder/webpack/index.js +3 -5
  48. package/lib/builder/webpack/index.js.map +1 -1
  49. package/lib/builder/webpack/providers/analyze/shared.d.ts.map +1 -1
  50. package/lib/builder/webpack/providers/analyze/shared.js +5 -9
  51. package/lib/builder/webpack/providers/analyze/shared.js.map +1 -1
  52. package/lib/builder/webpack/providers/build/client.d.ts.map +1 -1
  53. package/lib/builder/webpack/providers/build/client.js +0 -1
  54. package/lib/builder/webpack/providers/build/client.js.map +1 -1
  55. package/lib/builder/webpack/providers/build/clientShared.d.ts.map +1 -1
  56. package/lib/builder/webpack/providers/build/clientShared.js +4 -6
  57. package/lib/builder/webpack/providers/build/clientShared.js.map +1 -1
  58. package/lib/builder/webpack/providers/client.d.ts.map +1 -1
  59. package/lib/builder/webpack/providers/client.js +10 -22
  60. package/lib/builder/webpack/providers/client.js.map +1 -1
  61. package/lib/builder/webpack/providers/server.d.ts.map +1 -1
  62. package/lib/builder/webpack/providers/server.js +10 -9
  63. package/lib/builder/webpack/providers/server.js.map +1 -1
  64. package/lib/builder/webpack/providers/shared.d.ts.map +1 -1
  65. package/lib/builder/webpack/providers/shared.js +2 -8
  66. package/lib/builder/webpack/providers/shared.js.map +1 -1
  67. package/lib/builder/webpack/tokens.d.ts +4 -139
  68. package/lib/builder/webpack/tokens.d.ts.map +1 -1
  69. package/lib/builder/webpack/tokens.js +1 -4
  70. package/lib/builder/webpack/tokens.js.map +1 -1
  71. package/lib/builder/webpack/utils/copyStatsJsonFile.d.ts.map +1 -1
  72. package/lib/builder/webpack/utils/copyStatsJsonFile.js +0 -11
  73. package/lib/builder/webpack/utils/copyStatsJsonFile.js.map +1 -1
  74. package/lib/cli/CLI.d.ts +2 -2
  75. package/lib/cli/CLI.d.ts.map +1 -1
  76. package/lib/cli/CLI.js +2 -2
  77. package/lib/cli/CLI.js.map +1 -1
  78. package/lib/cli/bin-init.js +0 -2
  79. package/lib/cli/bin-init.js.map +1 -1
  80. package/lib/cli/index.d.ts.map +1 -1
  81. package/lib/cli/index.js +28 -18
  82. package/lib/cli/index.js.map +1 -1
  83. package/lib/cli/runCLI.d.ts +3 -0
  84. package/lib/cli/runCLI.d.ts.map +1 -1
  85. package/lib/cli/runCLI.js +18 -6
  86. package/lib/cli/runCLI.js.map +1 -1
  87. package/lib/commands/add/command.d.ts +1 -4
  88. package/lib/commands/add/command.d.ts.map +1 -1
  89. package/lib/commands/add/command.js +3 -2
  90. package/lib/commands/add/command.js.map +1 -1
  91. package/lib/commands/analyze/command.d.ts +1 -1
  92. package/lib/commands/analyze/command.d.ts.map +1 -1
  93. package/lib/commands/analyze/command.js +11 -13
  94. package/lib/commands/analyze/command.js.map +1 -1
  95. package/lib/commands/benchmark/command.d.ts +1 -1
  96. package/lib/commands/benchmark/command.d.ts.map +1 -1
  97. package/lib/commands/benchmark/command.js +8 -9
  98. package/lib/commands/benchmark/command.js.map +1 -1
  99. package/lib/commands/build/build.d.ts.map +1 -1
  100. package/lib/commands/build/build.js +1 -0
  101. package/lib/commands/build/build.js.map +1 -1
  102. package/lib/commands/build/command.d.ts +2 -2
  103. package/lib/commands/build/command.d.ts.map +1 -1
  104. package/lib/commands/build/command.js +53 -28
  105. package/lib/commands/build/command.js.map +1 -1
  106. package/lib/commands/createApp.d.ts.map +1 -1
  107. package/lib/commands/createApp.js +0 -1
  108. package/lib/commands/createApp.js.map +1 -1
  109. package/lib/commands/generate/command.d.ts +1 -1
  110. package/lib/commands/generate/command.d.ts.map +1 -1
  111. package/lib/commands/generate/command.js +3 -2
  112. package/lib/commands/generate/command.js.map +1 -1
  113. package/lib/commands/lint/command.d.ts +1 -1
  114. package/lib/commands/lint/command.d.ts.map +1 -1
  115. package/lib/commands/lint/command.js +3 -2
  116. package/lib/commands/lint/command.js.map +1 -1
  117. package/lib/commands/new/command.d.ts +0 -1
  118. package/lib/commands/new/command.d.ts.map +1 -1
  119. package/lib/commands/new/command.js +0 -1
  120. package/lib/commands/new/command.js.map +1 -1
  121. package/lib/commands/new/new.d.ts.map +1 -1
  122. package/lib/commands/new/new.js +28 -3
  123. package/lib/commands/new/new.js.map +1 -1
  124. package/lib/commands/new/steps/installDependencies.js +3 -3
  125. package/lib/commands/new/steps/installDependencies.js.map +1 -1
  126. package/lib/commands/start/command.d.ts +2 -2
  127. package/lib/commands/start/command.d.ts.map +1 -1
  128. package/lib/commands/start/command.js +57 -22
  129. package/lib/commands/start/command.js.map +1 -1
  130. package/lib/commands/start/start.d.ts +1 -1
  131. package/lib/commands/start/start.d.ts.map +1 -1
  132. package/lib/commands/start/start.js +2 -1
  133. package/lib/commands/start/start.js.map +1 -1
  134. package/lib/commands/start-prod/command.d.ts +1 -1
  135. package/lib/commands/start-prod/command.d.ts.map +1 -1
  136. package/lib/commands/start-prod/command.js +11 -13
  137. package/lib/commands/start-prod/command.js.map +1 -1
  138. package/lib/commands/static/application.d.ts.map +1 -1
  139. package/lib/commands/static/application.js +0 -1
  140. package/lib/commands/static/application.js.map +1 -1
  141. package/lib/commands/static/command.d.ts +1 -1
  142. package/lib/commands/static/command.d.ts.map +1 -1
  143. package/lib/commands/static/command.js +7 -3
  144. package/lib/commands/static/command.js.map +1 -1
  145. package/lib/commands/update/command.d.ts +7 -5
  146. package/lib/commands/update/command.d.ts.map +1 -1
  147. package/lib/commands/update/command.js +11 -3
  148. package/lib/commands/update/command.js.map +1 -1
  149. package/lib/commands/update/dependantLibs.d.ts +2 -1
  150. package/lib/commands/update/dependantLibs.d.ts.map +1 -1
  151. package/lib/commands/update/dependantLibs.js +17 -4
  152. package/lib/commands/update/dependantLibs.js.map +1 -1
  153. package/lib/commands/update/update.d.ts +2 -1
  154. package/lib/commands/update/update.d.ts.map +1 -1
  155. package/lib/commands/update/update.js +6 -6
  156. package/lib/commands/update/update.js.map +1 -1
  157. package/lib/commands/update/updatePackageJson.d.ts +1 -1
  158. package/lib/commands/update/updatePackageJson.d.ts.map +1 -1
  159. package/lib/commands/update/updatePackageJson.js +10 -14
  160. package/lib/commands/update/updatePackageJson.js.map +1 -1
  161. package/lib/config/configManager.d.ts +0 -1
  162. package/lib/config/configManager.d.ts.map +1 -1
  163. package/lib/config/configManager.js +2 -17
  164. package/lib/config/configManager.js.map +1 -1
  165. package/lib/config/validate.d.ts.map +1 -1
  166. package/lib/config/validate.js +8 -1
  167. package/lib/config/validate.js.map +1 -1
  168. package/lib/di/providers/index.d.ts +0 -1
  169. package/lib/di/providers/index.d.ts.map +1 -1
  170. package/lib/di/providers/index.js +0 -1
  171. package/lib/di/providers/index.js.map +1 -1
  172. package/lib/di/tokens/config.d.ts +2 -0
  173. package/lib/di/tokens/config.d.ts.map +1 -1
  174. package/lib/di/tokens/index.d.ts +0 -1
  175. package/lib/di/tokens/index.d.ts.map +1 -1
  176. package/lib/di/tokens/index.js +0 -1
  177. package/lib/di/tokens/index.js.map +1 -1
  178. package/lib/external/config.d.ts.map +1 -1
  179. package/lib/external/config.js.map +1 -1
  180. package/lib/library/babel/index.d.ts +3 -53
  181. package/lib/library/babel/index.d.ts.map +1 -1
  182. package/lib/library/babel/index.js +3 -139
  183. package/lib/library/babel/index.js.map +1 -1
  184. package/lib/library/swc/index.d.ts +3 -3
  185. package/lib/library/swc/index.d.ts.map +1 -1
  186. package/lib/library/swc/index.js +4 -114
  187. package/lib/library/swc/index.js.map +1 -1
  188. package/lib/library/typescript/index.d.ts +0 -23
  189. package/lib/library/typescript/index.d.ts.map +1 -1
  190. package/lib/library/typescript/index.js +1 -2
  191. package/lib/library/typescript/index.js.map +1 -1
  192. package/lib/library/webpack/application/client/common.d.ts.map +1 -1
  193. package/lib/library/webpack/application/client/common.js +45 -10
  194. package/lib/library/webpack/application/client/common.js.map +1 -1
  195. package/lib/library/webpack/application/client/dev.js +2 -2
  196. package/lib/library/webpack/application/client/dev.js.map +1 -1
  197. package/lib/library/webpack/application/client/prod.d.ts.map +1 -1
  198. package/lib/library/webpack/application/client/prod.js +1 -2
  199. package/lib/library/webpack/application/client/prod.js.map +1 -1
  200. package/lib/library/webpack/application/common.d.ts.map +1 -1
  201. package/lib/library/webpack/application/common.js +4 -5
  202. package/lib/library/webpack/application/common.js.map +1 -1
  203. package/lib/library/webpack/application/server/common.js +1 -1
  204. package/lib/library/webpack/application/server/common.js.map +1 -1
  205. package/lib/library/webpack/application/server/dev.js +1 -1
  206. package/lib/library/webpack/application/server/dev.js.map +1 -1
  207. package/lib/library/webpack/application/server/prod.js +1 -1
  208. package/lib/library/webpack/application/server/prod.js.map +1 -1
  209. package/lib/library/webpack/blocks/css.d.ts.map +1 -1
  210. package/lib/library/webpack/blocks/css.js +15 -11
  211. package/lib/library/webpack/blocks/css.js.map +1 -1
  212. package/lib/library/webpack/blocks/optimize.js +2 -2
  213. package/lib/library/webpack/blocks/optimize.js.map +1 -1
  214. package/lib/library/webpack/blocks/pwa/client.d.ts.map +1 -1
  215. package/lib/library/webpack/blocks/pwa/client.js +11 -63
  216. package/lib/library/webpack/blocks/pwa/client.js.map +1 -1
  217. package/lib/library/webpack/blocks/pwa/shared.d.ts.map +1 -1
  218. package/lib/library/webpack/blocks/pwa/shared.js +2 -3
  219. package/lib/library/webpack/blocks/pwa/shared.js.map +1 -1
  220. package/lib/library/webpack/blocks/resolve.d.ts.map +1 -1
  221. package/lib/library/webpack/blocks/resolve.js +3 -2
  222. package/lib/library/webpack/blocks/resolve.js.map +1 -1
  223. package/lib/library/webpack/blocks/serverInline.d.ts.map +1 -1
  224. package/lib/library/webpack/blocks/serverInline.js +1 -2
  225. package/lib/library/webpack/blocks/serverInline.js.map +1 -1
  226. package/lib/library/webpack/blocks/sourcemaps.d.ts +1 -1
  227. package/lib/library/webpack/blocks/sourcemaps.d.ts.map +1 -1
  228. package/lib/library/webpack/blocks/sourcemaps.js +4 -2
  229. package/lib/library/webpack/blocks/sourcemaps.js.map +1 -1
  230. package/lib/library/webpack/child-app/client/common.d.ts.map +1 -1
  231. package/lib/library/webpack/child-app/client/common.js +8 -3
  232. package/lib/library/webpack/child-app/client/common.js.map +1 -1
  233. package/lib/library/webpack/child-app/client/dev.d.ts.map +1 -1
  234. package/lib/library/webpack/child-app/client/dev.js +5 -1
  235. package/lib/library/webpack/child-app/client/dev.js.map +1 -1
  236. package/lib/library/webpack/child-app/client/prod.d.ts.map +1 -1
  237. package/lib/library/webpack/child-app/client/prod.js +4 -0
  238. package/lib/library/webpack/child-app/client/prod.js.map +1 -1
  239. package/lib/library/webpack/child-app/common.d.ts.map +1 -1
  240. package/lib/library/webpack/child-app/common.js +4 -9
  241. package/lib/library/webpack/child-app/common.js.map +1 -1
  242. package/lib/library/webpack/child-app/server/dev.d.ts.map +1 -1
  243. package/lib/library/webpack/child-app/server/dev.js +4 -0
  244. package/lib/library/webpack/child-app/server/dev.js.map +1 -1
  245. package/lib/library/webpack/child-app/server/prod.d.ts.map +1 -1
  246. package/lib/library/webpack/child-app/server/prod.js +4 -0
  247. package/lib/library/webpack/child-app/server/prod.js.map +1 -1
  248. package/lib/library/webpack/common/client/prod.js +1 -1
  249. package/lib/library/webpack/common/client/prod.js.map +1 -1
  250. package/lib/library/webpack/common/main.d.ts.map +1 -1
  251. package/lib/library/webpack/common/main.js +1 -2
  252. package/lib/library/webpack/common/main.js.map +1 -1
  253. package/lib/library/webpack/constants/stats.d.ts.map +1 -1
  254. package/lib/library/webpack/constants/stats.js +2 -0
  255. package/lib/library/webpack/constants/stats.js.map +1 -1
  256. package/lib/library/webpack/loaders/image-loader/getImageMiniatureURL.js +1 -1
  257. package/lib/library/webpack/loaders/image-loader/getImageMiniatureURL.js.map +1 -1
  258. package/lib/library/webpack/module/client/common.js +1 -1
  259. package/lib/library/webpack/module/client/common.js.map +1 -1
  260. package/lib/library/webpack/module/externals.js +1 -1
  261. package/lib/library/webpack/module/externals.js.map +1 -1
  262. package/lib/library/webpack/module/server/common.js +1 -1
  263. package/lib/library/webpack/module/server/common.js.map +1 -1
  264. package/lib/library/webpack/plugins/RuntimePathPlugin.d.ts.map +1 -1
  265. package/lib/library/webpack/plugins/RuntimePathPlugin.js +7 -3
  266. package/lib/library/webpack/plugins/RuntimePathPlugin.js.map +1 -1
  267. package/lib/library/webpack/utils/threadLoader.d.ts.map +1 -1
  268. package/lib/library/webpack/utils/threadLoader.js +20 -3
  269. package/lib/library/webpack/utils/threadLoader.js.map +1 -1
  270. package/lib/library/webpack/utils/transpiler.d.ts +0 -1
  271. package/lib/library/webpack/utils/transpiler.d.ts.map +1 -1
  272. package/lib/library/webpack/utils/transpiler.js +2 -6
  273. package/lib/library/webpack/utils/transpiler.js.map +1 -1
  274. package/lib/models/analytics/utils.d.ts +16 -0
  275. package/lib/models/analytics/utils.d.ts.map +1 -0
  276. package/lib/models/analytics/utils.js +88 -0
  277. package/lib/models/analytics/utils.js.map +1 -0
  278. package/lib/models/command.d.ts +1 -1
  279. package/lib/models/command.d.ts.map +1 -1
  280. package/lib/models/command.js +2 -8
  281. package/lib/models/command.js.map +1 -1
  282. package/lib/models/context.d.ts +4 -4
  283. package/lib/models/context.d.ts.map +1 -1
  284. package/lib/models/context.js +3 -2
  285. package/lib/models/context.js.map +1 -1
  286. package/lib/models/logger.js +1 -1
  287. package/lib/models/logger.js.map +1 -1
  288. package/lib/models/task.d.ts.map +1 -1
  289. package/lib/models/task.js +1 -7
  290. package/lib/models/task.js.map +1 -1
  291. package/lib/schema/autogeneratedSchema.json +161 -20
  292. package/lib/schema/topLevelSchema.d.ts +14 -0
  293. package/lib/schema/topLevelSchema.d.ts.map +1 -1
  294. package/lib/schema/topLevelSchema.js +14 -0
  295. package/lib/schema/topLevelSchema.js.map +1 -1
  296. package/lib/typings/build/Builder.d.ts +2 -6
  297. package/lib/typings/build/Builder.d.ts.map +1 -1
  298. package/lib/typings/configEntry/application.d.ts +11 -6
  299. package/lib/typings/configEntry/application.d.ts.map +1 -1
  300. package/lib/typings/configEntry/cli.d.ts +13 -0
  301. package/lib/typings/configEntry/cli.d.ts.map +1 -1
  302. package/lib/typings/projectType.d.ts +5 -0
  303. package/lib/typings/projectType.d.ts.map +1 -1
  304. package/lib/typings/public.d.ts +0 -1
  305. package/lib/typings/public.d.ts.map +1 -1
  306. package/lib/typings/public.js +0 -2
  307. package/lib/typings/public.js.map +1 -1
  308. package/lib/typings/target.d.ts +1 -1
  309. package/lib/typings/target.d.ts.map +1 -1
  310. package/lib/utils/commands/dependencies/findTramvaiVersion.d.ts +1 -1
  311. package/lib/utils/commands/dependencies/findTramvaiVersion.d.ts.map +1 -1
  312. package/lib/utils/commands/dependencies/findTramvaiVersion.js +4 -11
  313. package/lib/utils/commands/dependencies/findTramvaiVersion.js.map +1 -1
  314. package/lib/utils/commands/dependencies/getLatestPackageVersion.d.ts +1 -1
  315. package/lib/utils/commands/dependencies/getLatestPackageVersion.d.ts.map +1 -1
  316. package/lib/utils/commands/dependencies/getLatestPackageVersion.js +7 -3
  317. package/lib/utils/commands/dependencies/getLatestPackageVersion.js.map +1 -1
  318. package/lib/utils/cpu-profile.d.ts +3 -0
  319. package/lib/utils/cpu-profile.d.ts.map +1 -1
  320. package/lib/utils/cpu-profile.js +8 -4
  321. package/lib/utils/cpu-profile.js.map +1 -1
  322. package/lib/utils/safeRequire.d.ts +1 -1
  323. package/lib/utils/safeRequire.d.ts.map +1 -1
  324. package/lib/utils/safeRequire.js +13 -3
  325. package/lib/utils/safeRequire.js.map +1 -1
  326. package/package.json +26 -32
  327. package/schema.json +175 -20
  328. package/src/api/analyze/index.ts +2 -3
  329. package/src/api/benchmark/__integration__/__fixtures__/tramvai.json +3 -0
  330. package/src/api/build/__integration__/__fixtures__/tramvai.json +4 -2
  331. package/src/api/build/__integration__/build.test.ts +0 -1
  332. package/src/api/build/application.ts +2 -5
  333. package/src/api/build/child-app.ts +1 -5
  334. package/src/api/build/index.ts +0 -2
  335. package/src/api/build/module.ts +1 -3
  336. package/src/api/index.ts +1 -10
  337. package/src/api/start/__integration__/__fixtures__/app/server.tsx +1 -0
  338. package/src/api/start/__integration__/__fixtures__/package.json +0 -3
  339. package/src/api/start/__integration__/__fixtures__/tramvai.json +3 -0
  340. package/src/api/start/__integration__/start.test.ts +10 -1
  341. package/src/api/start/application.experimental.ts +305 -0
  342. package/src/api/start/index.ts +20 -5
  343. package/src/api/start/utils/banner.ts +0 -1
  344. package/src/api/start/utils/tips/tips.ts +0 -9
  345. package/src/builder/webpack/devServer/pool/process/pool.ts +0 -2
  346. package/src/builder/webpack/devServer/server.ts +5 -0
  347. package/src/builder/webpack/devServer/setup.ts +1 -0
  348. package/src/builder/webpack/index.ts +3 -5
  349. package/src/builder/webpack/providers/analyze/shared.ts +6 -10
  350. package/src/builder/webpack/providers/build/client.ts +0 -1
  351. package/src/builder/webpack/providers/build/clientShared.ts +5 -11
  352. package/src/builder/webpack/providers/client.ts +16 -29
  353. package/src/builder/webpack/providers/server.ts +15 -10
  354. package/src/builder/webpack/providers/shared.ts +2 -9
  355. package/src/builder/webpack/tokens.ts +0 -9
  356. package/src/builder/webpack/utils/copyStatsJsonFile.ts +0 -17
  357. package/src/cli/CLI.ts +6 -4
  358. package/src/cli/bin-init.ts +0 -2
  359. package/src/cli/index.ts +36 -18
  360. package/src/cli/runCLI.ts +26 -6
  361. package/src/commands/add/command.ts +3 -2
  362. package/src/commands/analyze/command.ts +12 -14
  363. package/src/commands/benchmark/command.ts +9 -10
  364. package/src/commands/build/build.ts +2 -0
  365. package/src/commands/build/command.ts +58 -29
  366. package/src/commands/createApp.ts +0 -2
  367. package/src/commands/generate/command.ts +3 -2
  368. package/src/commands/lint/command.ts +3 -2
  369. package/src/commands/new/command.ts +0 -2
  370. package/src/commands/new/new.ts +39 -7
  371. package/src/commands/new/steps/installDependencies.ts +3 -3
  372. package/src/commands/new/templates/packageManagerConfig/yarnPackageManagerConfig/_yarnrc.yml.hbs +9 -0
  373. package/src/commands/new/templates/shared/_gitignore.hbs +10 -0
  374. package/src/commands/new/templates/shared/_prettierrc.js.hbs +1 -1
  375. package/src/commands/new/templates/shared/package.json.hbs +5 -1
  376. package/src/commands/start/command.ts +62 -23
  377. package/src/commands/start/start.ts +7 -1
  378. package/src/commands/start-prod/command.ts +12 -14
  379. package/src/commands/static/application.ts +0 -1
  380. package/src/commands/static/command.ts +7 -3
  381. package/src/commands/update/command.ts +12 -3
  382. package/src/commands/update/dependantLibs.ts +23 -8
  383. package/src/commands/update/update.ts +7 -6
  384. package/src/commands/update/updatePackageJson.spec.ts +66 -3
  385. package/src/commands/update/updatePackageJson.ts +28 -16
  386. package/src/config/__integration__/__fixtures__/relative/src/index.ts +0 -0
  387. package/src/config/__integration__/__fixtures__/relative/src/polyfill.ts +0 -0
  388. package/src/config/__integration__/validate.test.ts +94 -0
  389. package/src/config/configManager.ts +2 -19
  390. package/src/config/validate.ts +8 -1
  391. package/src/di/providers/index.ts +0 -1
  392. package/src/di/tokens/index.ts +0 -1
  393. package/src/external/config.ts +1 -0
  394. package/src/library/babel/index.ts +3 -166
  395. package/src/library/swc/__integration__/__snapshots__/swc.build.test.ts.snap +61 -236
  396. package/src/library/swc/__integration__/__snapshots__/swc.start.test.ts.snap +19 -18
  397. package/src/library/swc/__integration__/swc.build.test.ts +1 -13
  398. package/src/library/swc/__integration__/swc.start.test.ts +4 -1
  399. package/src/library/swc/index.ts +3 -139
  400. package/src/library/typescript/index.ts +1 -3
  401. package/src/library/webpack/application/client/common.ts +71 -9
  402. package/src/library/webpack/application/client/dev.ts +2 -2
  403. package/src/library/webpack/application/client/prod.ts +1 -2
  404. package/src/library/webpack/application/common.ts +9 -5
  405. package/src/library/webpack/application/server/common.ts +1 -1
  406. package/src/library/webpack/application/server/dev.ts +1 -1
  407. package/src/library/webpack/application/server/prod.ts +1 -1
  408. package/src/library/webpack/blocks/css.ts +17 -11
  409. package/src/library/webpack/blocks/optimize.ts +2 -2
  410. package/src/library/webpack/blocks/pwa/client.ts +14 -70
  411. package/src/library/webpack/blocks/pwa/shared.ts +1 -3
  412. package/src/library/webpack/blocks/resolve.ts +3 -2
  413. package/src/library/webpack/blocks/serverInline.ts +1 -2
  414. package/src/library/webpack/blocks/sourcemaps.ts +4 -2
  415. package/src/library/webpack/child-app/client/common.ts +9 -3
  416. package/src/library/webpack/child-app/client/dev.ts +6 -1
  417. package/src/library/webpack/child-app/client/prod.ts +5 -0
  418. package/src/library/webpack/child-app/common.ts +8 -12
  419. package/src/library/webpack/child-app/server/dev.ts +5 -0
  420. package/src/library/webpack/child-app/server/prod.ts +5 -0
  421. package/src/library/webpack/common/client/prod.ts +1 -1
  422. package/src/library/webpack/common/main.ts +1 -5
  423. package/src/library/webpack/constants/stats.ts +2 -0
  424. package/src/library/webpack/loaders/image-loader/getImageMiniatureURL.ts +1 -1
  425. package/src/library/webpack/module/client/common.ts +1 -1
  426. package/src/library/webpack/module/externals.ts +1 -1
  427. package/src/library/webpack/module/server/common.ts +1 -1
  428. package/src/library/webpack/plugins/RuntimePathPlugin.ts +8 -3
  429. package/src/library/webpack/utils/threadLoader.ts +21 -0
  430. package/src/library/webpack/utils/transpiler.ts +3 -7
  431. package/src/models/analytics/utils.ts +126 -0
  432. package/src/models/command.ts +4 -12
  433. package/src/models/config.spec.ts +6 -2
  434. package/src/models/context.ts +4 -5
  435. package/src/models/logger.ts +1 -1
  436. package/src/models/task.ts +1 -7
  437. package/src/schema/autogeneratedSchema.json +161 -20
  438. package/src/schema/topLevelSchema.js +14 -0
  439. package/src/schema/tramvai.spec.ts +3 -1
  440. package/src/typings/build/Builder.ts +3 -8
  441. package/src/typings/configEntry/application.ts +16 -7
  442. package/src/typings/configEntry/cli.ts +14 -0
  443. package/src/typings/projectType.ts +5 -0
  444. package/src/typings/public.ts +0 -2
  445. package/src/typings/target.ts +1 -1
  446. package/src/utils/commands/dependencies/findTramvaiVersion.ts +5 -12
  447. package/src/utils/commands/dependencies/getLatestPackageVersion.ts +11 -3
  448. package/src/utils/cpu-profile.ts +14 -4
  449. package/src/utils/safeRequire.spec.ts +36 -0
  450. package/src/utils/safeRequire.ts +12 -3
  451. package/lib/builder/webpack/providers/build/clientModern.d.ts +0 -3
  452. package/lib/builder/webpack/providers/build/clientModern.d.ts.map +0 -1
  453. package/lib/builder/webpack/providers/build/clientModern.js +0 -60
  454. package/lib/builder/webpack/providers/build/clientModern.js.map +0 -1
  455. package/lib/di/providers/analytics.d.ts +0 -3
  456. package/lib/di/providers/analytics.d.ts.map +0 -1
  457. package/lib/di/providers/analytics.js +0 -20
  458. package/lib/di/providers/analytics.js.map +0 -1
  459. package/lib/di/tokens/analytics.d.ts +0 -14
  460. package/lib/di/tokens/analytics.d.ts.map +0 -1
  461. package/lib/di/tokens/analytics.js +0 -8
  462. package/lib/di/tokens/analytics.js.map +0 -1
  463. package/lib/library/babel/plugins/create-token-pure.d.ts +0 -7
  464. package/lib/library/babel/plugins/create-token-pure.d.ts.map +0 -1
  465. package/lib/library/babel/plugins/create-token-pure.js +0 -39
  466. package/lib/library/babel/plugins/create-token-pure.js.map +0 -1
  467. package/lib/library/babel/plugins/fill-action-name.d.ts +0 -3
  468. package/lib/library/babel/plugins/fill-action-name.d.ts.map +0 -1
  469. package/lib/library/babel/plugins/fill-action-name.js +0 -107
  470. package/lib/library/babel/plugins/fill-action-name.js.map +0 -1
  471. package/lib/library/babel/plugins/fill-declare-action-name.d.ts +0 -6
  472. package/lib/library/babel/plugins/fill-declare-action-name.d.ts.map +0 -1
  473. package/lib/library/babel/plugins/fill-declare-action-name.js +0 -94
  474. package/lib/library/babel/plugins/fill-declare-action-name.js.map +0 -1
  475. package/lib/library/babel/plugins/lazy-component/lazy-component.d.ts +0 -7
  476. package/lib/library/babel/plugins/lazy-component/lazy-component.d.ts.map +0 -1
  477. package/lib/library/babel/plugins/lazy-component/lazy-component.js +0 -75
  478. package/lib/library/babel/plugins/lazy-component/lazy-component.js.map +0 -1
  479. package/lib/library/babel/plugins/lazy-component/legacy-universal-replace.d.ts +0 -14
  480. package/lib/library/babel/plugins/lazy-component/legacy-universal-replace.d.ts.map +0 -1
  481. package/lib/library/babel/plugins/lazy-component/legacy-universal-replace.js +0 -53
  482. package/lib/library/babel/plugins/lazy-component/legacy-universal-replace.js.map +0 -1
  483. package/lib/library/babel/plugins/lazy-component/properties/chunkName.d.ts +0 -3
  484. package/lib/library/babel/plugins/lazy-component/properties/chunkName.d.ts.map +0 -1
  485. package/lib/library/babel/plugins/lazy-component/properties/chunkName.js +0 -133
  486. package/lib/library/babel/plugins/lazy-component/properties/chunkName.js.map +0 -1
  487. package/lib/library/babel/plugins/lazy-component/properties/importAsync.d.ts +0 -3
  488. package/lib/library/babel/plugins/lazy-component/properties/importAsync.d.ts.map +0 -1
  489. package/lib/library/babel/plugins/lazy-component/properties/importAsync.js +0 -11
  490. package/lib/library/babel/plugins/lazy-component/properties/importAsync.js.map +0 -1
  491. package/lib/library/babel/plugins/lazy-component/properties/isReady.d.ts +0 -3
  492. package/lib/library/babel/plugins/lazy-component/properties/isReady.d.ts.map +0 -1
  493. package/lib/library/babel/plugins/lazy-component/properties/isReady.js +0 -14
  494. package/lib/library/babel/plugins/lazy-component/properties/isReady.js.map +0 -1
  495. package/lib/library/babel/plugins/lazy-component/properties/requireAsync.d.ts +0 -3
  496. package/lib/library/babel/plugins/lazy-component/properties/requireAsync.d.ts.map +0 -1
  497. package/lib/library/babel/plugins/lazy-component/properties/requireAsync.js +0 -15
  498. package/lib/library/babel/plugins/lazy-component/properties/requireAsync.js.map +0 -1
  499. package/lib/library/babel/plugins/lazy-component/properties/requireSync.d.ts +0 -3
  500. package/lib/library/babel/plugins/lazy-component/properties/requireSync.d.ts.map +0 -1
  501. package/lib/library/babel/plugins/lazy-component/properties/requireSync.js +0 -16
  502. package/lib/library/babel/plugins/lazy-component/properties/requireSync.js.map +0 -1
  503. package/lib/library/babel/plugins/lazy-component/properties/resolve.d.ts +0 -3
  504. package/lib/library/babel/plugins/lazy-component/properties/resolve.d.ts.map +0 -1
  505. package/lib/library/babel/plugins/lazy-component/properties/resolve.js +0 -14
  506. package/lib/library/babel/plugins/lazy-component/properties/resolve.js.map +0 -1
  507. package/lib/library/babel/plugins/lazy-component/properties/types.d.ts +0 -14
  508. package/lib/library/babel/plugins/lazy-component/properties/types.d.ts.map +0 -1
  509. package/lib/library/babel/plugins/lazy-component/properties/types.js +0 -3
  510. package/lib/library/babel/plugins/lazy-component/properties/types.js.map +0 -1
  511. package/lib/library/babel/plugins/lazy-component/properties/utils/webpackComments.d.ts +0 -14
  512. package/lib/library/babel/plugins/lazy-component/properties/utils/webpackComments.d.ts.map +0 -1
  513. package/lib/library/babel/plugins/lazy-component/properties/utils/webpackComments.js +0 -57
  514. package/lib/library/babel/plugins/lazy-component/properties/utils/webpackComments.js.map +0 -1
  515. package/lib/library/babel/plugins/provider-stack.d.ts +0 -4
  516. package/lib/library/babel/plugins/provider-stack.d.ts.map +0 -1
  517. package/lib/library/babel/plugins/provider-stack.js +0 -63
  518. package/lib/library/babel/plugins/provider-stack.js.map +0 -1
  519. package/lib/library/babel/plugins/react-compiler.d.ts +0 -13
  520. package/lib/library/babel/plugins/react-compiler.d.ts.map +0 -1
  521. package/lib/library/babel/plugins/react-compiler.js +0 -27
  522. package/lib/library/babel/plugins/react-compiler.js.map +0 -1
  523. package/lib/library/babel/plugins/react-element-info-unique.d.ts +0 -26
  524. package/lib/library/babel/plugins/react-element-info-unique.d.ts.map +0 -1
  525. package/lib/library/babel/plugins/react-element-info-unique.js +0 -112
  526. package/lib/library/babel/plugins/react-element-info-unique.js.map +0 -1
  527. package/lib/library/babel/plugins/types.h.d.ts +0 -7
  528. package/lib/library/babel/plugins/types.h.d.ts.map +0 -1
  529. package/lib/library/babel/plugins/types.h.js +0 -3
  530. package/lib/library/babel/plugins/types.h.js.map +0 -1
  531. package/lib/library/webpack/plugins/AutoPublicPathPlugin.d.ts +0 -4
  532. package/lib/library/webpack/plugins/AutoPublicPathPlugin.d.ts.map +0 -1
  533. package/lib/library/webpack/plugins/AutoPublicPathPlugin.js +0 -23
  534. package/lib/library/webpack/plugins/AutoPublicPathPlugin.js.map +0 -1
  535. package/lib/library/webpack/plugins/ModuleFederationFixRange.d.ts +0 -24
  536. package/lib/library/webpack/plugins/ModuleFederationFixRange.d.ts.map +0 -1
  537. package/lib/library/webpack/plugins/ModuleFederationFixRange.js +0 -127
  538. package/lib/library/webpack/plugins/ModuleFederationFixRange.js.map +0 -1
  539. package/lib/library/webpack/plugins/ModuleFederationIgnoreEntries.d.ts +0 -15
  540. package/lib/library/webpack/plugins/ModuleFederationIgnoreEntries.d.ts.map +0 -1
  541. package/lib/library/webpack/plugins/ModuleFederationIgnoreEntries.js +0 -49
  542. package/lib/library/webpack/plugins/ModuleFederationIgnoreEntries.js.map +0 -1
  543. package/lib/library/webpack/plugins/PolyfillCondition.d.ts +0 -8
  544. package/lib/library/webpack/plugins/PolyfillCondition.d.ts.map +0 -1
  545. package/lib/library/webpack/plugins/PolyfillCondition.js +0 -46
  546. package/lib/library/webpack/plugins/PolyfillCondition.js.map +0 -1
  547. package/lib/library/webpack/plugins/PwaIconsPlugin.d.ts +0 -12
  548. package/lib/library/webpack/plugins/PwaIconsPlugin.d.ts.map +0 -1
  549. package/lib/library/webpack/plugins/PwaIconsPlugin.js +0 -78
  550. package/lib/library/webpack/plugins/PwaIconsPlugin.js.map +0 -1
  551. package/lib/library/webpack/plugins/WebManifestPlugin.d.ts +0 -13
  552. package/lib/library/webpack/plugins/WebManifestPlugin.d.ts.map +0 -1
  553. package/lib/library/webpack/plugins/WebManifestPlugin.js +0 -47
  554. package/lib/library/webpack/plugins/WebManifestPlugin.js.map +0 -1
  555. package/lib/library/webpack/utils/polyfills/const.d.ts +0 -3
  556. package/lib/library/webpack/utils/polyfills/const.d.ts.map +0 -1
  557. package/lib/library/webpack/utils/polyfills/const.js +0 -49
  558. package/lib/library/webpack/utils/polyfills/const.js.map +0 -1
  559. package/lib/library/webpack/utils/polyfills/polyfillCondition.d.ts +0 -8
  560. package/lib/library/webpack/utils/polyfills/polyfillCondition.d.ts.map +0 -1
  561. package/lib/library/webpack/utils/polyfills/polyfillCondition.js +0 -51
  562. package/lib/library/webpack/utils/polyfills/polyfillCondition.js.map +0 -1
  563. package/lib/library/webpack/utils/polyfills/specToFeature.d.ts +0 -7
  564. package/lib/library/webpack/utils/polyfills/specToFeature.d.ts.map +0 -1
  565. package/lib/library/webpack/utils/polyfills/specToFeature.js +0 -207
  566. package/lib/library/webpack/utils/polyfills/specToFeature.js.map +0 -1
  567. package/lib/models/analytics.d.ts +0 -31
  568. package/lib/models/analytics.d.ts.map +0 -1
  569. package/lib/models/analytics.js +0 -79
  570. package/lib/models/analytics.js.map +0 -1
  571. package/lib/typings/pwa/index.d.ts +0 -80
  572. package/lib/typings/pwa/index.d.ts.map +0 -1
  573. package/lib/typings/pwa/index.js +0 -3
  574. package/lib/typings/pwa/index.js.map +0 -1
  575. package/lib/utils/sentry.d.ts +0 -2
  576. package/lib/utils/sentry.d.ts.map +0 -1
  577. package/lib/utils/sentry.js +0 -27
  578. package/lib/utils/sentry.js.map +0 -1
  579. package/src/builder/webpack/providers/build/clientModern.ts +0 -64
  580. package/src/di/providers/analytics.ts +0 -22
  581. package/src/di/tokens/analytics.ts +0 -8
  582. package/src/library/babel/plugins/__fixtures__/create-token-pure/already-has-comment.ts +0 -5
  583. package/src/library/babel/plugins/__fixtures__/create-token-pure/do-nothing.ts +0 -10
  584. package/src/library/babel/plugins/__fixtures__/create-token-pure/from-core.ts +0 -5
  585. package/src/library/babel/plugins/__fixtures__/create-token-pure/from-dippy.ts +0 -5
  586. package/src/library/babel/plugins/__fixtures__/create-token-pure/many-imports.ts +0 -9
  587. package/src/library/babel/plugins/__fixtures__/fill-declare-action-name/import-mixed.ts +0 -17
  588. package/src/library/babel/plugins/__fixtures__/fill-declare-action-name/import-with-name.ts +0 -28
  589. package/src/library/babel/plugins/__fixtures__/fill-declare-action-name/import-without-name.ts +0 -25
  590. package/src/library/babel/plugins/__fixtures__/fill-declare-action-name/require-with-name.ts +0 -21
  591. package/src/library/babel/plugins/__fixtures__/fill-declare-action-name/require-without-name.ts +0 -19
  592. package/src/library/babel/plugins/__fixtures__/lazy-component/base.ts +0 -3
  593. package/src/library/babel/plugins/__fixtures__/lazy-component/cmp.tsx +0 -7
  594. package/src/library/babel/plugins/__fixtures__/lazy-component/comments.ts +0 -7
  595. package/src/library/babel/plugins/__fixtures__/lazy-component/dynamic.ts +0 -3
  596. package/src/library/babel/plugins/__fixtures__/lazy-component/inner/first.tsx +0 -7
  597. package/src/library/babel/plugins/__fixtures__/lazy-component/inner/path/cmp.tsx +0 -7
  598. package/src/library/babel/plugins/__fixtures__/lazy-component/inner/second.tsx +0 -7
  599. package/src/library/babel/plugins/__fixtures__/lazy-component/inner/third.tsx +0 -7
  600. package/src/library/babel/plugins/__fixtures__/lazy-component/lazy+hmr.ts +0 -3
  601. package/src/library/babel/plugins/__fixtures__/lazy-component/long-import.ts +0 -3
  602. package/src/library/babel/plugins/__fixtures__/lazy-component/not-lazy-import.ts +0 -7
  603. package/src/library/babel/plugins/__fixtures__/lazy-component/not-lazy.ts +0 -8
  604. package/src/library/babel/plugins/__fixtures__/legacy-universal-replace/cmp.tsx +0 -7
  605. package/src/library/babel/plugins/__fixtures__/legacy-universal-replace/not-universal.ts +0 -8
  606. package/src/library/babel/plugins/__fixtures__/legacy-universal-replace/platform-legacy.ts +0 -5
  607. package/src/library/babel/plugins/__fixtures__/legacy-universal-replace/react-universal.ts +0 -3
  608. package/src/library/babel/plugins/__fixtures__/legacy-universal-replace/tramvai/react/index.es.ts +0 -3
  609. package/src/library/babel/plugins/__fixtures__/provider-stack/add-stack.ts +0 -22
  610. package/src/library/babel/plugins/__fixtures__/provider-stack/check-function-name.ts +0 -10
  611. package/src/library/babel/plugins/__fixtures__/provider-stack/do-nothing.ts +0 -16
  612. package/src/library/babel/plugins/__fixtures__/provider-stack/error-in-scope.ts +0 -24
  613. package/src/library/babel/plugins/__fixtures__/provider-stack/inside-await.ts +0 -12
  614. package/src/library/babel/plugins/__fixtures__/provider-stack/module-decorator.ts +0 -27
  615. package/src/library/babel/plugins/__snapshots__/create-token-pure.spec.ts.snap +0 -108
  616. package/src/library/babel/plugins/__snapshots__/fill-declare-action-name.spec.ts.snap +0 -266
  617. package/src/library/babel/plugins/__snapshots__/provider-stack.spec.ts.snap +0 -381
  618. package/src/library/babel/plugins/create-token-pure.spec.ts +0 -39
  619. package/src/library/babel/plugins/create-token-pure.ts +0 -47
  620. package/src/library/babel/plugins/fill-action-name.ts +0 -126
  621. package/src/library/babel/plugins/fill-declare-action-name.spec.ts +0 -37
  622. package/src/library/babel/plugins/fill-declare-action-name.ts +0 -110
  623. package/src/library/babel/plugins/lazy-component/__snapshots__/lazy-component.spec.ts.snap +0 -313
  624. package/src/library/babel/plugins/lazy-component/__snapshots__/legacy-universal-replace.spec.ts.snap +0 -114
  625. package/src/library/babel/plugins/lazy-component/lazy-component.spec.ts +0 -47
  626. package/src/library/babel/plugins/lazy-component/lazy-component.ts +0 -91
  627. package/src/library/babel/plugins/lazy-component/legacy-universal-replace.spec.ts +0 -34
  628. package/src/library/babel/plugins/lazy-component/legacy-universal-replace.ts +0 -88
  629. package/src/library/babel/plugins/lazy-component/properties/chunkName.ts +0 -185
  630. package/src/library/babel/plugins/lazy-component/properties/importAsync.ts +0 -8
  631. package/src/library/babel/plugins/lazy-component/properties/isReady.ts +0 -19
  632. package/src/library/babel/plugins/lazy-component/properties/requireAsync.ts +0 -20
  633. package/src/library/babel/plugins/lazy-component/properties/requireSync.ts +0 -21
  634. package/src/library/babel/plugins/lazy-component/properties/resolve.ts +0 -21
  635. package/src/library/babel/plugins/lazy-component/properties/types.ts +0 -20
  636. package/src/library/babel/plugins/lazy-component/properties/utils/webpackComments.ts +0 -61
  637. package/src/library/babel/plugins/provider-stack.spec.ts +0 -55
  638. package/src/library/babel/plugins/provider-stack.ts +0 -88
  639. package/src/library/babel/plugins/react-compiler.ts +0 -39
  640. package/src/library/babel/plugins/react-element-info-unique.ts +0 -144
  641. package/src/library/babel/plugins/types.h.ts +0 -8
  642. package/src/library/webpack/plugins/AutoPublicPathPlugin.ts +0 -23
  643. package/src/library/webpack/plugins/ModuleFederationFixRange.ts +0 -181
  644. package/src/library/webpack/plugins/ModuleFederationIgnoreEntries.ts +0 -59
  645. package/src/library/webpack/plugins/PolyfillCondition.ts +0 -62
  646. package/src/library/webpack/plugins/PwaIconsPlugin.ts +0 -94
  647. package/src/library/webpack/plugins/WebManifestPlugin.ts +0 -62
  648. package/src/library/webpack/utils/polyfills/__integration__/__snapshots__/condition.test.ts.snap +0 -1348
  649. package/src/library/webpack/utils/polyfills/__integration__/condition.test.ts +0 -128
  650. package/src/library/webpack/utils/polyfills/const.ts +0 -46
  651. package/src/library/webpack/utils/polyfills/polyfillCondition.ts +0 -63
  652. package/src/library/webpack/utils/polyfills/specToFeature.ts +0 -243
  653. package/src/models/analytics.ts +0 -116
  654. package/src/typings/pwa/index.ts +0 -83
  655. package/src/utils/sentry.ts +0 -25
  656. /package/src/commands/new/templates/{shared → packageManagerConfig/defaultPackageManagerConfig}/_npmrc.hbs +0 -0
@@ -1,1348 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`polyfills polyfill condition should generate max browser versions dict: browserVersions 1`] = `
4
- {
5
- "chrome": {
6
- "spec": "es.object.has-own",
7
- "version": "93",
8
- },
9
- "chrome-android": {
10
- "spec": "es.object.has-own",
11
- "version": "93",
12
- },
13
- "edge": {
14
- "spec": "es.object.has-own",
15
- "version": "93",
16
- },
17
- "firefox": {
18
- "spec": "es.array.includes",
19
- "version": "102",
20
- },
21
- "ios": {
22
- "spec": "es.array.at",
23
- "version": "15.4",
24
- },
25
- "opera": {
26
- "spec": "es.object.has-own",
27
- "version": "79",
28
- },
29
- "opera_mobile": {
30
- "spec": "es.object.has-own",
31
- "version": "66",
32
- },
33
- "safari": {
34
- "spec": "es.array.at",
35
- "version": "15.4",
36
- },
37
- "samsung": {
38
- "spec": "es.object.has-own",
39
- "version": "17.0",
40
- },
41
- }
42
- `;
43
-
44
- exports[`polyfills polyfill condition should generate valid polyfill condition: polyfillCondition 1`] = `"!(Object.hasOwn) || !('at' in window.Array.prototype) || !('includes' in window.Array.prototype)"`;
45
-
46
- exports[`polyfills spec to feature generator all feature expresssion should be valid: expressionsResult 1`] = `
47
- {
48
- "es.aggregate-error": true,
49
- "es.array": true,
50
- "es.array-buffer": true,
51
- "es.array-buffer.constructor": true,
52
- "es.array-buffer.detached": true,
53
- "es.array-buffer.is-view": true,
54
- "es.array-buffer.slice": true,
55
- "es.array-buffer.transfer": true,
56
- "es.array-buffer.transfer-to-fixed-length": true,
57
- "es.array.at": true,
58
- "es.array.concat": true,
59
- "es.array.copy-within": true,
60
- "es.array.every": true,
61
- "es.array.fill": true,
62
- "es.array.filter": true,
63
- "es.array.find": true,
64
- "es.array.find-index": true,
65
- "es.array.find-last": true,
66
- "es.array.find-last-index": true,
67
- "es.array.flat": true,
68
- "es.array.flat-map": true,
69
- "es.array.for-each": true,
70
- "es.array.from": true,
71
- "es.array.includes": true,
72
- "es.array.index-of": true,
73
- "es.array.is-array": true,
74
- "es.array.join": true,
75
- "es.array.last-index-of": true,
76
- "es.array.map": true,
77
- "es.array.of": true,
78
- "es.array.reduce": true,
79
- "es.array.reduce-right": true,
80
- "es.array.reverse": true,
81
- "es.array.slice": true,
82
- "es.array.some": true,
83
- "es.array.sort": true,
84
- "es.array.splice": true,
85
- "es.array.to-reversed": true,
86
- "es.array.to-sorted": true,
87
- "es.array.to-spliced": true,
88
- "es.array.unshift": true,
89
- "es.array.with": true,
90
- "es.async-disposable-stack": false,
91
- "es.data-view": true,
92
- "es.date": true,
93
- "es.date.get-year": true,
94
- "es.date.now": true,
95
- "es.date.set-year": true,
96
- "es.date.to-gmt-string": true,
97
- "es.date.to-iso-string": true,
98
- "es.date.to-json": true,
99
- "es.date.to-string": true,
100
- "es.disposable-stack": false,
101
- "es.error.cause": true,
102
- "es.escape": true,
103
- "es.function": true,
104
- "es.function.bind": true,
105
- "es.function.name": true,
106
- "es.global-this": true,
107
- "es.iterator": true,
108
- "es.json": true,
109
- "es.json.stringify": true,
110
- "es.map": true,
111
- "es.map.group-by": true,
112
- "es.math": true,
113
- "es.math.acosh": true,
114
- "es.math.asinh": true,
115
- "es.math.atanh": true,
116
- "es.math.cbrt": true,
117
- "es.math.clz32": true,
118
- "es.math.cosh": true,
119
- "es.math.expm1": true,
120
- "es.math.fround": true,
121
- "es.math.hypot": true,
122
- "es.math.imul": true,
123
- "es.math.log10": true,
124
- "es.math.log1p": true,
125
- "es.math.log2": true,
126
- "es.math.sign": true,
127
- "es.math.sinh": true,
128
- "es.math.tanh": true,
129
- "es.math.trunc": true,
130
- "es.number": true,
131
- "es.number.constructor": true,
132
- "es.number.epsilon": true,
133
- "es.number.is-finite": true,
134
- "es.number.is-integer": true,
135
- "es.number.is-nan": true,
136
- "es.number.is-safe-integer": true,
137
- "es.number.max-safe-integer": true,
138
- "es.number.min-safe-integer": true,
139
- "es.number.parse-float": true,
140
- "es.number.parse-int": true,
141
- "es.number.to-exponential": true,
142
- "es.number.to-fixed": true,
143
- "es.number.to-precision": true,
144
- "es.object": true,
145
- "es.object.assign": true,
146
- "es.object.create": true,
147
- "es.object.define-getter": true,
148
- "es.object.define-properties": true,
149
- "es.object.define-property": true,
150
- "es.object.define-setter": true,
151
- "es.object.entries": true,
152
- "es.object.freeze": true,
153
- "es.object.from-entries": true,
154
- "es.object.get-own-property-descriptor": true,
155
- "es.object.get-own-property-descriptors": true,
156
- "es.object.get-own-property-names": true,
157
- "es.object.get-prototype-of": true,
158
- "es.object.group-by": true,
159
- "es.object.has-own": true,
160
- "es.object.is": true,
161
- "es.object.is-extensible": true,
162
- "es.object.is-frozen": true,
163
- "es.object.is-sealed": true,
164
- "es.object.keys": true,
165
- "es.object.lookup-getter": true,
166
- "es.object.lookup-setter": true,
167
- "es.object.prevent-extensions": true,
168
- "es.object.proto": true,
169
- "es.object.seal": true,
170
- "es.object.set-prototype-of": true,
171
- "es.object.values": true,
172
- "es.observable": false,
173
- "es.parse-float": true,
174
- "es.parse-int": true,
175
- "es.promise": true,
176
- "es.promise.all-settled": true,
177
- "es.promise.any": true,
178
- "es.promise.finally": true,
179
- "es.promise.try": true,
180
- "es.promise.with-resolvers": true,
181
- "es.reflect-tag": true,
182
- "es.reflect.apply": true,
183
- "es.reflect.construct": true,
184
- "es.reflect.define-property": true,
185
- "es.reflect.delete-property": true,
186
- "es.reflect.get": true,
187
- "es.reflect.get-own-property-descriptor": true,
188
- "es.reflect.get-prototype-of": true,
189
- "es.reflect.has": true,
190
- "es.reflect.is-extensible": true,
191
- "es.reflect.own-keys": true,
192
- "es.reflect.prevent-extensions": true,
193
- "es.reflect.set": true,
194
- "es.reflect.set-prototype-of": true,
195
- "es.regexp": true,
196
- "es.regexp.constructor": true,
197
- "es.regexp.dot-all": true,
198
- "es.regexp.exec": true,
199
- "es.regexp.flags": true,
200
- "es.regexp.sticky": true,
201
- "es.regexp.test": true,
202
- "es.regexp.to-string": true,
203
- "es.set": true,
204
- "es.string": true,
205
- "es.string.anchor": true,
206
- "es.string.big": true,
207
- "es.string.blink": true,
208
- "es.string.bold": true,
209
- "es.string.code-point-at": true,
210
- "es.string.ends-with": true,
211
- "es.string.fixed": true,
212
- "es.string.fontcolor": true,
213
- "es.string.fontsize": true,
214
- "es.string.from-code-point": true,
215
- "es.string.includes": true,
216
- "es.string.is-well-formed": true,
217
- "es.string.italics": true,
218
- "es.string.link": true,
219
- "es.string.match": true,
220
- "es.string.match-all": true,
221
- "es.string.pad-end": true,
222
- "es.string.pad-start": true,
223
- "es.string.raw": true,
224
- "es.string.repeat": true,
225
- "es.string.replace": true,
226
- "es.string.replace-all": true,
227
- "es.string.search": true,
228
- "es.string.small": true,
229
- "es.string.split": true,
230
- "es.string.starts-with": true,
231
- "es.string.strike": true,
232
- "es.string.sub": true,
233
- "es.string.substr": true,
234
- "es.string.sup": true,
235
- "es.string.to-well-formed": true,
236
- "es.string.trim": true,
237
- "es.string.trim-end": true,
238
- "es.string.trim-start": true,
239
- "es.suppressed-error": false,
240
- "es.symbol": true,
241
- "es.symbol.description": true,
242
- "es.symbol.has-instance": true,
243
- "es.symbol.is-concat-spreadable": true,
244
- "es.symbol.match": true,
245
- "es.symbol.match-all": true,
246
- "es.symbol.replace": true,
247
- "es.symbol.search": true,
248
- "es.symbol.species": true,
249
- "es.symbol.split": true,
250
- "es.symbol.to-primitive": true,
251
- "es.symbol.to-string-tag": true,
252
- "es.symbol.unscopables": true,
253
- "es.typed-array": true,
254
- "es.typed-array.at": true,
255
- "es.typed-array.copy-within": true,
256
- "es.typed-array.every": true,
257
- "es.typed-array.fill": true,
258
- "es.typed-array.filter": true,
259
- "es.typed-array.find": true,
260
- "es.typed-array.find-index": true,
261
- "es.typed-array.find-last": true,
262
- "es.typed-array.find-last-index": true,
263
- "es.typed-array.float32-array": true,
264
- "es.typed-array.float64-array": true,
265
- "es.typed-array.for-each": true,
266
- "es.typed-array.from": true,
267
- "es.typed-array.includes": true,
268
- "es.typed-array.index-of": true,
269
- "es.typed-array.int16-array": true,
270
- "es.typed-array.int32-array": true,
271
- "es.typed-array.int8-array": true,
272
- "es.typed-array.join": true,
273
- "es.typed-array.last-index-of": true,
274
- "es.typed-array.map": true,
275
- "es.typed-array.of": true,
276
- "es.typed-array.reduce": true,
277
- "es.typed-array.reduce-right": true,
278
- "es.typed-array.reverse": true,
279
- "es.typed-array.set": true,
280
- "es.typed-array.slice": true,
281
- "es.typed-array.some": true,
282
- "es.typed-array.sort": true,
283
- "es.typed-array.subarray": true,
284
- "es.typed-array.to-locale-string": true,
285
- "es.typed-array.to-reversed": true,
286
- "es.typed-array.to-sorted": true,
287
- "es.typed-array.to-string": true,
288
- "es.typed-array.uint16-array": true,
289
- "es.typed-array.uint32-array": true,
290
- "es.typed-array.uint8-array": true,
291
- "es.typed-array.uint8-clamped-array": true,
292
- "es.typed-array.with": true,
293
- "es.uint8-array": true,
294
- "es.unescape": true,
295
- "es.weak-map": true,
296
- "es.weak-set": true,
297
- "es.web.immediate": false,
298
- "esnext.aggregate-error": true,
299
- "esnext.array": true,
300
- "esnext.array-buffer": true,
301
- "esnext.array-buffer.constructor": true,
302
- "esnext.array-buffer.detached": true,
303
- "esnext.array-buffer.is-view": true,
304
- "esnext.array-buffer.slice": true,
305
- "esnext.array-buffer.transfer": true,
306
- "esnext.array-buffer.transfer-to-fixed-length": true,
307
- "esnext.array.at": true,
308
- "esnext.array.concat": true,
309
- "esnext.array.copy-within": true,
310
- "esnext.array.every": true,
311
- "esnext.array.fill": true,
312
- "esnext.array.filter": true,
313
- "esnext.array.filter-reject": false,
314
- "esnext.array.find": true,
315
- "esnext.array.find-index": true,
316
- "esnext.array.find-last": true,
317
- "esnext.array.find-last-index": true,
318
- "esnext.array.flat": true,
319
- "esnext.array.flat-map": true,
320
- "esnext.array.for-each": true,
321
- "esnext.array.from": true,
322
- "esnext.array.from-async": true,
323
- "esnext.array.group": false,
324
- "esnext.array.group-by": false,
325
- "esnext.array.group-by-to-map": false,
326
- "esnext.array.group-to-map": false,
327
- "esnext.array.includes": true,
328
- "esnext.array.index-of": true,
329
- "esnext.array.is-array": true,
330
- "esnext.array.is-template-object": false,
331
- "esnext.array.join": true,
332
- "esnext.array.last-index": false,
333
- "esnext.array.last-index-of": true,
334
- "esnext.array.last-item": false,
335
- "esnext.array.map": true,
336
- "esnext.array.of": true,
337
- "esnext.array.reduce": true,
338
- "esnext.array.reduce-right": true,
339
- "esnext.array.reverse": true,
340
- "esnext.array.slice": true,
341
- "esnext.array.some": true,
342
- "esnext.array.sort": true,
343
- "esnext.array.splice": true,
344
- "esnext.array.to-reversed": true,
345
- "esnext.array.to-sorted": true,
346
- "esnext.array.to-spliced": true,
347
- "esnext.array.unique-by": false,
348
- "esnext.array.unshift": true,
349
- "esnext.array.with": true,
350
- "esnext.async-disposable-stack": false,
351
- "esnext.async-disposable-stack.constructor": false,
352
- "esnext.async-iterator": false,
353
- "esnext.bigint.range": false,
354
- "esnext.composite-key": false,
355
- "esnext.composite-symbol": false,
356
- "esnext.data-view": true,
357
- "esnext.data-view.get-float16": false,
358
- "esnext.data-view.get-uint8-clamped": false,
359
- "esnext.data-view.set-float16": false,
360
- "esnext.data-view.set-uint8-clamped": false,
361
- "esnext.date": true,
362
- "esnext.date.get-year": true,
363
- "esnext.date.now": true,
364
- "esnext.date.set-year": true,
365
- "esnext.date.to-gmt-string": true,
366
- "esnext.date.to-iso-string": true,
367
- "esnext.date.to-json": true,
368
- "esnext.date.to-string": true,
369
- "esnext.disposable-stack": false,
370
- "esnext.disposable-stack.constructor": false,
371
- "esnext.error.cause": true,
372
- "esnext.error.is-error": false,
373
- "esnext.escape": true,
374
- "esnext.function": true,
375
- "esnext.function.bind": true,
376
- "esnext.function.demethodize": false,
377
- "esnext.function.is-callable": false,
378
- "esnext.function.is-constructor": false,
379
- "esnext.function.name": true,
380
- "esnext.function.un-this": false,
381
- "esnext.global-this": true,
382
- "esnext.iterator": true,
383
- "esnext.json": true,
384
- "esnext.json.is-raw-json": true,
385
- "esnext.json.parse": true,
386
- "esnext.json.raw-json": true,
387
- "esnext.json.stringify": true,
388
- "esnext.map": true,
389
- "esnext.map.delete-all": false,
390
- "esnext.map.emplace": false,
391
- "esnext.map.every": false,
392
- "esnext.map.filter": false,
393
- "esnext.map.find": false,
394
- "esnext.map.find-key": false,
395
- "esnext.map.from": false,
396
- "esnext.map.get-or-insert": false,
397
- "esnext.map.get-or-insert-computed": false,
398
- "esnext.map.group-by": true,
399
- "esnext.map.includes": false,
400
- "esnext.map.key-by": false,
401
- "esnext.map.key-of": false,
402
- "esnext.map.map-keys": false,
403
- "esnext.map.map-values": false,
404
- "esnext.map.merge": false,
405
- "esnext.map.of": false,
406
- "esnext.map.reduce": false,
407
- "esnext.map.some": false,
408
- "esnext.map.update": false,
409
- "esnext.math": true,
410
- "esnext.math.acosh": true,
411
- "esnext.math.asinh": true,
412
- "esnext.math.atanh": true,
413
- "esnext.math.cbrt": true,
414
- "esnext.math.clamp": false,
415
- "esnext.math.clz32": true,
416
- "esnext.math.cosh": true,
417
- "esnext.math.deg-per-rad": false,
418
- "esnext.math.degrees": false,
419
- "esnext.math.expm1": true,
420
- "esnext.math.f16round": false,
421
- "esnext.math.fround": true,
422
- "esnext.math.fscale": false,
423
- "esnext.math.hypot": true,
424
- "esnext.math.iaddh": false,
425
- "esnext.math.imul": true,
426
- "esnext.math.imulh": false,
427
- "esnext.math.isubh": false,
428
- "esnext.math.log10": true,
429
- "esnext.math.log1p": true,
430
- "esnext.math.log2": true,
431
- "esnext.math.rad-per-deg": false,
432
- "esnext.math.radians": false,
433
- "esnext.math.scale": false,
434
- "esnext.math.seeded-prng": false,
435
- "esnext.math.sign": true,
436
- "esnext.math.signbit": false,
437
- "esnext.math.sinh": true,
438
- "esnext.math.sum-precise": false,
439
- "esnext.math.tanh": true,
440
- "esnext.math.trunc": true,
441
- "esnext.math.umulh": false,
442
- "esnext.number": true,
443
- "esnext.number.constructor": true,
444
- "esnext.number.epsilon": true,
445
- "esnext.number.from-string": false,
446
- "esnext.number.is-finite": true,
447
- "esnext.number.is-integer": true,
448
- "esnext.number.is-nan": true,
449
- "esnext.number.is-safe-integer": true,
450
- "esnext.number.max-safe-integer": true,
451
- "esnext.number.min-safe-integer": true,
452
- "esnext.number.parse-float": true,
453
- "esnext.number.parse-int": true,
454
- "esnext.number.range": false,
455
- "esnext.number.to-exponential": true,
456
- "esnext.number.to-fixed": true,
457
- "esnext.number.to-precision": true,
458
- "esnext.object": true,
459
- "esnext.object.assign": true,
460
- "esnext.object.create": true,
461
- "esnext.object.define-getter": true,
462
- "esnext.object.define-properties": true,
463
- "esnext.object.define-property": true,
464
- "esnext.object.define-setter": true,
465
- "esnext.object.entries": true,
466
- "esnext.object.freeze": true,
467
- "esnext.object.from-entries": true,
468
- "esnext.object.get-own-property-descriptor": true,
469
- "esnext.object.get-own-property-descriptors": true,
470
- "esnext.object.get-own-property-names": true,
471
- "esnext.object.get-prototype-of": true,
472
- "esnext.object.group-by": true,
473
- "esnext.object.has-own": true,
474
- "esnext.object.is": true,
475
- "esnext.object.is-extensible": true,
476
- "esnext.object.is-frozen": true,
477
- "esnext.object.is-sealed": true,
478
- "esnext.object.keys": true,
479
- "esnext.object.lookup-getter": true,
480
- "esnext.object.lookup-setter": true,
481
- "esnext.object.prevent-extensions": true,
482
- "esnext.object.proto": true,
483
- "esnext.object.seal": true,
484
- "esnext.object.set-prototype-of": true,
485
- "esnext.object.values": true,
486
- "esnext.observable": false,
487
- "esnext.parse-float": true,
488
- "esnext.parse-int": true,
489
- "esnext.promise": true,
490
- "esnext.promise.all-settled": true,
491
- "esnext.promise.any": true,
492
- "esnext.promise.finally": true,
493
- "esnext.promise.try": true,
494
- "esnext.promise.with-resolvers": true,
495
- "esnext.reflect-tag": true,
496
- "esnext.reflect.apply": true,
497
- "esnext.reflect.construct": true,
498
- "esnext.reflect.define-metadata": false,
499
- "esnext.reflect.define-property": true,
500
- "esnext.reflect.delete-metadata": false,
501
- "esnext.reflect.delete-property": true,
502
- "esnext.reflect.get": true,
503
- "esnext.reflect.get-metadata": false,
504
- "esnext.reflect.get-metadata-keys": false,
505
- "esnext.reflect.get-own-metadata": false,
506
- "esnext.reflect.get-own-metadata-keys": false,
507
- "esnext.reflect.get-own-property-descriptor": true,
508
- "esnext.reflect.get-prototype-of": true,
509
- "esnext.reflect.has": true,
510
- "esnext.reflect.has-metadata": false,
511
- "esnext.reflect.has-own-metadata": false,
512
- "esnext.reflect.is-extensible": true,
513
- "esnext.reflect.metadata": false,
514
- "esnext.reflect.own-keys": true,
515
- "esnext.reflect.prevent-extensions": true,
516
- "esnext.reflect.set": true,
517
- "esnext.reflect.set-prototype-of": true,
518
- "esnext.regexp": true,
519
- "esnext.regexp.constructor": true,
520
- "esnext.regexp.dot-all": true,
521
- "esnext.regexp.escape": false,
522
- "esnext.regexp.exec": true,
523
- "esnext.regexp.flags": true,
524
- "esnext.regexp.sticky": true,
525
- "esnext.regexp.test": true,
526
- "esnext.regexp.to-string": true,
527
- "esnext.set": true,
528
- "esnext.set.add-all": false,
529
- "esnext.set.delete-all": false,
530
- "esnext.set.difference": false,
531
- "esnext.set.every": false,
532
- "esnext.set.filter": false,
533
- "esnext.set.find": false,
534
- "esnext.set.from": false,
535
- "esnext.set.intersection": false,
536
- "esnext.set.is-disjoint-from": false,
537
- "esnext.set.is-subset-of": false,
538
- "esnext.set.is-superset-of": false,
539
- "esnext.set.join": false,
540
- "esnext.set.map": false,
541
- "esnext.set.of": false,
542
- "esnext.set.reduce": false,
543
- "esnext.set.some": false,
544
- "esnext.set.symmetric-difference": false,
545
- "esnext.set.union": false,
546
- "esnext.string": true,
547
- "esnext.string.anchor": true,
548
- "esnext.string.at": true,
549
- "esnext.string.big": true,
550
- "esnext.string.blink": true,
551
- "esnext.string.bold": true,
552
- "esnext.string.code-point-at": true,
553
- "esnext.string.code-points": false,
554
- "esnext.string.cooked": false,
555
- "esnext.string.dedent": false,
556
- "esnext.string.ends-with": true,
557
- "esnext.string.fixed": true,
558
- "esnext.string.fontcolor": true,
559
- "esnext.string.fontsize": true,
560
- "esnext.string.from-code-point": true,
561
- "esnext.string.includes": true,
562
- "esnext.string.is-well-formed": true,
563
- "esnext.string.italics": false,
564
- "esnext.string.link": true,
565
- "esnext.string.match": true,
566
- "esnext.string.match-all": true,
567
- "esnext.string.pad-end": true,
568
- "esnext.string.pad-start": true,
569
- "esnext.string.raw": true,
570
- "esnext.string.repeat": true,
571
- "esnext.string.replace": true,
572
- "esnext.string.replace-all": true,
573
- "esnext.string.search": true,
574
- "esnext.string.small": true,
575
- "esnext.string.split": true,
576
- "esnext.string.starts-with": true,
577
- "esnext.string.strike": true,
578
- "esnext.string.sub": true,
579
- "esnext.string.substr": true,
580
- "esnext.string.sup": true,
581
- "esnext.string.to-well-formed": true,
582
- "esnext.string.trim": true,
583
- "esnext.string.trim-end": true,
584
- "esnext.string.trim-start": true,
585
- "esnext.suppressed-error": false,
586
- "esnext.suppressed-error.constructor": false,
587
- "esnext.symbol": true,
588
- "esnext.symbol.async-dispose": true,
589
- "esnext.symbol.custom-matcher": false,
590
- "esnext.symbol.description": true,
591
- "esnext.symbol.dispose": true,
592
- "esnext.symbol.has-instance": true,
593
- "esnext.symbol.is-concat-spreadable": true,
594
- "esnext.symbol.is-registered": false,
595
- "esnext.symbol.is-registered-symbol": false,
596
- "esnext.symbol.is-well-known": false,
597
- "esnext.symbol.is-well-known-symbol": false,
598
- "esnext.symbol.match": true,
599
- "esnext.symbol.match-all": true,
600
- "esnext.symbol.matcher": false,
601
- "esnext.symbol.metadata": false,
602
- "esnext.symbol.metadata-key": false,
603
- "esnext.symbol.observable": false,
604
- "esnext.symbol.pattern-match": false,
605
- "esnext.symbol.replace": true,
606
- "esnext.symbol.search": true,
607
- "esnext.symbol.species": true,
608
- "esnext.symbol.split": true,
609
- "esnext.symbol.to-primitive": true,
610
- "esnext.symbol.to-string-tag": true,
611
- "esnext.symbol.unscopables": true,
612
- "esnext.typed-array": true,
613
- "esnext.typed-array.at": true,
614
- "esnext.typed-array.copy-within": true,
615
- "esnext.typed-array.every": true,
616
- "esnext.typed-array.fill": true,
617
- "esnext.typed-array.filter": true,
618
- "esnext.typed-array.filter-reject": false,
619
- "esnext.typed-array.find": true,
620
- "esnext.typed-array.find-index": true,
621
- "esnext.typed-array.find-last": true,
622
- "esnext.typed-array.find-last-index": true,
623
- "esnext.typed-array.float32-array": true,
624
- "esnext.typed-array.float64-array": true,
625
- "esnext.typed-array.for-each": true,
626
- "esnext.typed-array.from": true,
627
- "esnext.typed-array.from-async": false,
628
- "esnext.typed-array.group-by": false,
629
- "esnext.typed-array.includes": true,
630
- "esnext.typed-array.index-of": true,
631
- "esnext.typed-array.int16-array": true,
632
- "esnext.typed-array.int32-array": true,
633
- "esnext.typed-array.int8-array": true,
634
- "esnext.typed-array.join": true,
635
- "esnext.typed-array.last-index-of": true,
636
- "esnext.typed-array.map": true,
637
- "esnext.typed-array.of": true,
638
- "esnext.typed-array.reduce": true,
639
- "esnext.typed-array.reduce-right": true,
640
- "esnext.typed-array.reverse": true,
641
- "esnext.typed-array.set": true,
642
- "esnext.typed-array.slice": true,
643
- "esnext.typed-array.some": true,
644
- "esnext.typed-array.sort": true,
645
- "esnext.typed-array.subarray": true,
646
- "esnext.typed-array.to-locale-string": true,
647
- "esnext.typed-array.to-reversed": true,
648
- "esnext.typed-array.to-sorted": true,
649
- "esnext.typed-array.to-spliced": false,
650
- "esnext.typed-array.to-string": true,
651
- "esnext.typed-array.uint16-array": true,
652
- "esnext.typed-array.uint32-array": true,
653
- "esnext.typed-array.uint8-array": true,
654
- "esnext.typed-array.uint8-clamped-array": true,
655
- "esnext.typed-array.unique-by": false,
656
- "esnext.typed-array.with": true,
657
- "esnext.uint8-array": true,
658
- "esnext.uint8-array.from-base64": false,
659
- "esnext.uint8-array.from-hex": false,
660
- "esnext.uint8-array.set-from-base64": false,
661
- "esnext.uint8-array.set-from-hex": false,
662
- "esnext.uint8-array.to-base64": false,
663
- "esnext.uint8-array.to-hex": false,
664
- "esnext.unescape": true,
665
- "esnext.weak-map": true,
666
- "esnext.weak-map.delete-all": false,
667
- "esnext.weak-map.emplace": false,
668
- "esnext.weak-map.from": false,
669
- "esnext.weak-map.get-or-insert": false,
670
- "esnext.weak-map.get-or-insert-computed": false,
671
- "esnext.weak-map.of": false,
672
- "esnext.weak-set": true,
673
- "esnext.weak-set.add-all": false,
674
- "esnext.weak-set.delete-all": false,
675
- "esnext.weak-set.from": false,
676
- "esnext.weak-set.of": false,
677
- "esnext.web.immediate": false,
678
- "web.atob": true,
679
- "web.btoa": true,
680
- "web.dom-exception": true,
681
- "web.dom-exception.constructor": true,
682
- "web.immediate": false,
683
- "web.queue-microtask": true,
684
- "web.self": true,
685
- "web.structured-clone": true,
686
- "web.timers": true,
687
- "web.url": true,
688
- "web.url-search-params": true,
689
- "web.url-search-params.delete": true,
690
- "web.url-search-params.has": true,
691
- "web.url-search-params.size": true,
692
- "web.url.can-parse": true,
693
- "web.url.parse": true,
694
- "web.url.to-json": true,
695
- }
696
- `;
697
-
698
- exports[`polyfills spec to feature generator should generate feature: expression dictionary: featureDict 1`] = `
699
- {
700
- "es.aggregate-error": "window.AggregateError",
701
- "es.array": "window.Array",
702
- "es.array-buffer": "window.ArrayBuffer",
703
- "es.array-buffer.constructor": "'constructor' in window.ArrayBuffer.prototype",
704
- "es.array-buffer.detached": "'detached' in window.ArrayBuffer.prototype",
705
- "es.array-buffer.is-view": "ArrayBuffer.isView",
706
- "es.array-buffer.slice": "'slice' in window.ArrayBuffer.prototype",
707
- "es.array-buffer.transfer": "'transfer' in window.ArrayBuffer.prototype",
708
- "es.array-buffer.transfer-to-fixed-length": "'transferToFixedLength' in window.ArrayBuffer.prototype",
709
- "es.array.at": "'at' in window.Array.prototype",
710
- "es.array.concat": "'concat' in window.Array.prototype",
711
- "es.array.copy-within": "'copyWithin' in window.Array.prototype",
712
- "es.array.every": "'every' in window.Array.prototype",
713
- "es.array.fill": "'fill' in window.Array.prototype",
714
- "es.array.filter": "'filter' in window.Array.prototype",
715
- "es.array.find": "'find' in window.Array.prototype",
716
- "es.array.find-index": "'findIndex' in window.Array.prototype",
717
- "es.array.find-last": "'findLast' in window.Array.prototype",
718
- "es.array.find-last-index": "'findLastIndex' in window.Array.prototype",
719
- "es.array.flat": "'flat' in window.Array.prototype",
720
- "es.array.flat-map": "'flatMap' in window.Array.prototype",
721
- "es.array.for-each": "'forEach' in window.Array.prototype",
722
- "es.array.from": "Array.from",
723
- "es.array.includes": "'includes' in window.Array.prototype",
724
- "es.array.index-of": "'indexOf' in window.Array.prototype",
725
- "es.array.is-array": "Array.isArray",
726
- "es.array.join": "'join' in window.Array.prototype",
727
- "es.array.last-index-of": "'lastIndexOf' in window.Array.prototype",
728
- "es.array.map": "'map' in window.Array.prototype",
729
- "es.array.of": "Array.of",
730
- "es.array.reduce": "'reduce' in window.Array.prototype",
731
- "es.array.reduce-right": "'reduceRight' in window.Array.prototype",
732
- "es.array.reverse": "'reverse' in window.Array.prototype",
733
- "es.array.slice": "'slice' in window.Array.prototype",
734
- "es.array.some": "'some' in window.Array.prototype",
735
- "es.array.sort": "'sort' in window.Array.prototype",
736
- "es.array.splice": "'splice' in window.Array.prototype",
737
- "es.array.to-reversed": "'toReversed' in window.Array.prototype",
738
- "es.array.to-sorted": "'toSorted' in window.Array.prototype",
739
- "es.array.to-spliced": "'toSpliced' in window.Array.prototype",
740
- "es.array.unshift": "'unshift' in window.Array.prototype",
741
- "es.array.with": "'with' in window.Array.prototype",
742
- "es.async-disposable-stack": "window.AsyncDisposableStack",
743
- "es.data-view": "window.DataView",
744
- "es.date": "window.Date",
745
- "es.date.get-year": "'getYear' in window.Date.prototype",
746
- "es.date.now": "Date.now",
747
- "es.date.set-year": "'setYear' in window.Date.prototype",
748
- "es.date.to-gmt-string": "'toGMTString' in window.Date.prototype",
749
- "es.date.to-iso-string": "'toISOString' in window.Date.prototype",
750
- "es.date.to-json": "'toJSON' in window.Date.prototype",
751
- "es.date.to-string": "window.Date.toString",
752
- "es.disposable-stack": "window.DisposableStack",
753
- "es.error.cause": "window.URIError",
754
- "es.escape": "window.escape",
755
- "es.function": "window.Function",
756
- "es.function.bind": "'bind' in window.Function.prototype",
757
- "es.function.name": "'name' in window.Function.prototype",
758
- "es.global-this": "window.globalThis",
759
- "es.iterator": "window.Iterator",
760
- "es.json": "window.JSON",
761
- "es.json.stringify": "window.JSON.stringify",
762
- "es.map": "window.Map",
763
- "es.map.group-by": "Map.groupBy",
764
- "es.math": "window.Math",
765
- "es.math.acosh": "Math.acosh",
766
- "es.math.asinh": "Math.asinh",
767
- "es.math.atanh": "Math.atanh",
768
- "es.math.cbrt": "Math.cbrt",
769
- "es.math.clz32": "Math.clz32",
770
- "es.math.cosh": "Math.cosh",
771
- "es.math.expm1": "Math.expm1",
772
- "es.math.fround": "Math.fround",
773
- "es.math.hypot": "Math.hypot",
774
- "es.math.imul": "Math.imul",
775
- "es.math.log10": "Math.log10",
776
- "es.math.log1p": "Math.log1p",
777
- "es.math.log2": "Math.log2",
778
- "es.math.sign": "Math.sign",
779
- "es.math.sinh": "Math.sinh",
780
- "es.math.tanh": "Math.tanh",
781
- "es.math.trunc": "Math.trunc",
782
- "es.number": "window.Number",
783
- "es.number.constructor": "window.Number.constructor",
784
- "es.number.epsilon": "Number.EPSILON",
785
- "es.number.is-finite": "Number.isFinite",
786
- "es.number.is-integer": "Number.isInteger",
787
- "es.number.is-nan": "Number.isNaN",
788
- "es.number.is-safe-integer": "Number.isSafeInteger",
789
- "es.number.max-safe-integer": "Number.MAX_SAFE_INTEGER",
790
- "es.number.min-safe-integer": "Number.MIN_SAFE_INTEGER",
791
- "es.number.parse-float": "Number.parseFloat",
792
- "es.number.parse-int": "Number.parseInt",
793
- "es.number.to-exponential": "'toExponential' in window.Number.prototype",
794
- "es.number.to-fixed": "'toFixed' in window.Number.prototype",
795
- "es.number.to-precision": "'toPrecision' in window.Number.prototype",
796
- "es.object": "window.Object",
797
- "es.object.assign": "Object.assign",
798
- "es.object.create": "Object.create",
799
- "es.object.define-getter": "'__defineGetter__' in window.Object.prototype",
800
- "es.object.define-properties": "Object.defineProperties",
801
- "es.object.define-property": "Object.defineProperty",
802
- "es.object.define-setter": "'__defineSetter__' in window.Object.prototype",
803
- "es.object.entries": "Object.entries",
804
- "es.object.freeze": "Object.freeze",
805
- "es.object.from-entries": "Object.fromEntries",
806
- "es.object.get-own-property-descriptor": "Object.getOwnPropertyDescriptor",
807
- "es.object.get-own-property-descriptors": "Object.getOwnPropertyDescriptors",
808
- "es.object.get-own-property-names": "Object.getOwnPropertyNames",
809
- "es.object.get-prototype-of": "Object.getPrototypeOf",
810
- "es.object.group-by": "Object.groupBy",
811
- "es.object.has-own": "Object.hasOwn",
812
- "es.object.is": "Object.is",
813
- "es.object.is-extensible": "Object.isExtensible",
814
- "es.object.is-frozen": "Object.isFrozen",
815
- "es.object.is-sealed": "Object.isSealed",
816
- "es.object.keys": "Object.keys",
817
- "es.object.lookup-getter": "'__lookupGetter__' in window.Object.prototype",
818
- "es.object.lookup-setter": "'__lookupSetter__' in window.Object.prototype",
819
- "es.object.prevent-extensions": "Object.preventExtensions",
820
- "es.object.proto": "'__proto__' in window.Object.prototype",
821
- "es.object.seal": "Object.seal",
822
- "es.object.set-prototype-of": "Object.setPrototypeOf",
823
- "es.object.values": "Object.values",
824
- "es.observable": "window.Observable",
825
- "es.parse-float": "window.parseFloat",
826
- "es.parse-int": "window.parseInt",
827
- "es.promise": "window.Promise",
828
- "es.promise.all-settled": "Promise.allSettled",
829
- "es.promise.any": "Promise.any",
830
- "es.promise.finally": "'finally' in window.Promise.prototype",
831
- "es.promise.try": "Promise.try",
832
- "es.promise.with-resolvers": "Promise.withResolvers",
833
- "es.reflect-tag": "window.Reflect",
834
- "es.reflect.apply": "Reflect.apply",
835
- "es.reflect.construct": "Reflect.construct",
836
- "es.reflect.define-property": "Reflect.defineProperty",
837
- "es.reflect.delete-property": "Reflect.deleteProperty",
838
- "es.reflect.get": "Reflect.get",
839
- "es.reflect.get-own-property-descriptor": "Reflect.getOwnPropertyDescriptor",
840
- "es.reflect.get-prototype-of": "Reflect.getPrototypeOf",
841
- "es.reflect.has": "Reflect.has",
842
- "es.reflect.is-extensible": "Reflect.isExtensible",
843
- "es.reflect.own-keys": "Reflect.ownKeys",
844
- "es.reflect.prevent-extensions": "Reflect.preventExtensions",
845
- "es.reflect.set": "Reflect.set",
846
- "es.reflect.set-prototype-of": "Reflect.setPrototypeOf",
847
- "es.regexp": "window.RegExp",
848
- "es.regexp.constructor": "window.RegExp.constructor",
849
- "es.regexp.dot-all": "'dotAll' in window.RegExp.prototype",
850
- "es.regexp.exec": "'exec' in window.RegExp.prototype",
851
- "es.regexp.flags": "'flags' in window.RegExp.prototype",
852
- "es.regexp.sticky": "'sticky' in window.RegExp.prototype",
853
- "es.regexp.test": "'test' in window.RegExp.prototype",
854
- "es.regexp.to-string": "window.RegExp.toString",
855
- "es.set": "window.Set",
856
- "es.string": "window.String",
857
- "es.string.anchor": "'anchor' in window.String.prototype",
858
- "es.string.big": "'big' in window.String.prototype",
859
- "es.string.blink": "'blink' in window.String.prototype",
860
- "es.string.bold": "'bold' in window.String.prototype",
861
- "es.string.code-point-at": "'codePointAt' in window.String.prototype",
862
- "es.string.ends-with": "'endsWith' in window.String.prototype",
863
- "es.string.fixed": "'fixed' in window.String.prototype",
864
- "es.string.fontcolor": "'fontcolor' in window.String.prototype",
865
- "es.string.fontsize": "'fontsize' in window.String.prototype",
866
- "es.string.from-code-point": "String.fromCodePoint",
867
- "es.string.includes": "'includes' in window.String.prototype",
868
- "es.string.is-well-formed": "'isWellFormed' in window.String.prototype",
869
- "es.string.italics": "'italics' in window.String.prototype",
870
- "es.string.link": "'link' in window.String.prototype",
871
- "es.string.match": "'match' in window.String.prototype",
872
- "es.string.match-all": "'matchAll' in window.String.prototype",
873
- "es.string.pad-end": "'padEnd' in window.String.prototype",
874
- "es.string.pad-start": "'padStart' in window.String.prototype",
875
- "es.string.raw": "String.raw",
876
- "es.string.repeat": "'repeat' in window.String.prototype",
877
- "es.string.replace": "'replace' in window.String.prototype",
878
- "es.string.replace-all": "'replaceAll' in window.String.prototype",
879
- "es.string.search": "'search' in window.String.prototype",
880
- "es.string.small": "'small' in window.String.prototype",
881
- "es.string.split": "'split' in window.String.prototype",
882
- "es.string.starts-with": "'startsWith' in window.String.prototype",
883
- "es.string.strike": "'strike' in window.String.prototype",
884
- "es.string.sub": "'sub' in window.String.prototype",
885
- "es.string.substr": "'substr' in window.String.prototype",
886
- "es.string.sup": "'sup' in window.String.prototype",
887
- "es.string.to-well-formed": "'toWellFormed' in window.String.prototype",
888
- "es.string.trim": "'trim' in window.String.prototype",
889
- "es.string.trim-end": "'trimEnd' in window.String.prototype",
890
- "es.string.trim-start": "'trimLeft' in window.String.prototype",
891
- "es.suppressed-error": "window.SuppressedError",
892
- "es.symbol": "window.Symbol",
893
- "es.symbol.description": "'description' in window.Symbol.prototype",
894
- "es.symbol.has-instance": "Symbol.hasInstance",
895
- "es.symbol.is-concat-spreadable": "Symbol.isConcatSpreadable",
896
- "es.symbol.match": "Symbol.match",
897
- "es.symbol.match-all": "Symbol.matchAll",
898
- "es.symbol.replace": "Symbol.replace",
899
- "es.symbol.search": "Symbol.search",
900
- "es.symbol.species": "Symbol.species",
901
- "es.symbol.split": "Symbol.split",
902
- "es.symbol.to-primitive": "Symbol.toPrimitive",
903
- "es.symbol.to-string-tag": "Symbol.toStringTag",
904
- "es.symbol.unscopables": "Symbol.unscopables",
905
- "es.typed-array": "window.Int8Array",
906
- "es.typed-array.at": "'at' in window.Int8Array.prototype",
907
- "es.typed-array.copy-within": "'copyWithin' in window.Int8Array.prototype",
908
- "es.typed-array.every": "'every' in window.Int8Array.prototype",
909
- "es.typed-array.fill": "'fill' in window.Int8Array.prototype",
910
- "es.typed-array.filter": "'filter' in window.Int8Array.prototype",
911
- "es.typed-array.find": "'find' in window.Int8Array.prototype",
912
- "es.typed-array.find-index": "'findIndex' in window.Int8Array.prototype",
913
- "es.typed-array.find-last": "'findLast' in window.Int8Array.prototype",
914
- "es.typed-array.find-last-index": "'findLastIndex' in window.Int8Array.prototype",
915
- "es.typed-array.float32-array": "window.Float32Array",
916
- "es.typed-array.float64-array": "window.Float64Array",
917
- "es.typed-array.for-each": "'forEach' in window.Int8Array.prototype",
918
- "es.typed-array.from": "Int8Array.from",
919
- "es.typed-array.includes": "'includes' in window.Int8Array.prototype",
920
- "es.typed-array.index-of": "'indexOf' in window.Int8Array.prototype",
921
- "es.typed-array.int16-array": "window.Int16Array",
922
- "es.typed-array.int32-array": "window.Int32Array",
923
- "es.typed-array.int8-array": "window.Int8Array",
924
- "es.typed-array.join": "'join' in window.Int8Array.prototype",
925
- "es.typed-array.last-index-of": "'lastIndexOf' in window.Int8Array.prototype",
926
- "es.typed-array.map": "'map' in window.Int8Array.prototype",
927
- "es.typed-array.of": "Int8Array.of",
928
- "es.typed-array.reduce": "'reduce' in window.Int8Array.prototype",
929
- "es.typed-array.reduce-right": "'reduceRight' in window.Int8Array.prototype",
930
- "es.typed-array.reverse": "'reverse' in window.Int8Array.prototype",
931
- "es.typed-array.set": "'set' in window.Int8Array.prototype",
932
- "es.typed-array.slice": "'slice' in window.Int8Array.prototype",
933
- "es.typed-array.some": "'some' in window.Int8Array.prototype",
934
- "es.typed-array.sort": "'sort' in window.Int8Array.prototype",
935
- "es.typed-array.subarray": "'subarray' in window.Int8Array.prototype",
936
- "es.typed-array.to-locale-string": "'toLocaleString' in window.Int8Array.prototype",
937
- "es.typed-array.to-reversed": "'toReversed' in window.Int8Array.prototype",
938
- "es.typed-array.to-sorted": "'toSorted' in window.Int8Array.prototype",
939
- "es.typed-array.to-string": "'toString' in window.Int8Array.prototype",
940
- "es.typed-array.uint16-array": "window.Uint16Array",
941
- "es.typed-array.uint32-array": "window.Uint32Array",
942
- "es.typed-array.uint8-array": "window.Uint8Array",
943
- "es.typed-array.uint8-clamped-array": "window.Uint8ClampedArray",
944
- "es.typed-array.with": "'with' in window.Int8Array.prototype",
945
- "es.uint8-array": "window.Uint8Array",
946
- "es.unescape": "window.unescape",
947
- "es.weak-map": "window.WeakMap",
948
- "es.weak-set": "window.WeakSet",
949
- "es.web.immediate": "window.setImmediate",
950
- "esnext.aggregate-error": "window.AggregateError",
951
- "esnext.array": "window.Array",
952
- "esnext.array-buffer": "window.ArrayBuffer",
953
- "esnext.array-buffer.constructor": "'constructor' in window.ArrayBuffer.prototype",
954
- "esnext.array-buffer.detached": "'detached' in window.ArrayBuffer.prototype",
955
- "esnext.array-buffer.is-view": "ArrayBuffer.isView",
956
- "esnext.array-buffer.slice": "'slice' in window.ArrayBuffer.prototype",
957
- "esnext.array-buffer.transfer": "'transfer' in window.ArrayBuffer.prototype",
958
- "esnext.array-buffer.transfer-to-fixed-length": "'transferToFixedLength' in window.ArrayBuffer.prototype",
959
- "esnext.array.at": "'at' in window.Array.prototype",
960
- "esnext.array.concat": "'concat' in window.Array.prototype",
961
- "esnext.array.copy-within": "'copyWithin' in window.Array.prototype",
962
- "esnext.array.every": "'every' in window.Array.prototype",
963
- "esnext.array.fill": "'fill' in window.Array.prototype",
964
- "esnext.array.filter": "'filter' in window.Array.prototype",
965
- "esnext.array.filter-reject": "'filterReject' in window.Array.prototype",
966
- "esnext.array.find": "'find' in window.Array.prototype",
967
- "esnext.array.find-index": "'findIndex' in window.Array.prototype",
968
- "esnext.array.find-last": "'findLast' in window.Array.prototype",
969
- "esnext.array.find-last-index": "'findLastIndex' in window.Array.prototype",
970
- "esnext.array.flat": "'flat' in window.Array.prototype",
971
- "esnext.array.flat-map": "'flatMap' in window.Array.prototype",
972
- "esnext.array.for-each": "'forEach' in window.Array.prototype",
973
- "esnext.array.from": "Array.from",
974
- "esnext.array.from-async": "Array.fromAsync",
975
- "esnext.array.group": "'group' in window.Array.prototype",
976
- "esnext.array.group-by": "'groupBy' in window.Array.prototype",
977
- "esnext.array.group-by-to-map": "'groupByToMap' in window.Array.prototype",
978
- "esnext.array.group-to-map": "'groupToMap' in window.Array.prototype",
979
- "esnext.array.includes": "'includes' in window.Array.prototype",
980
- "esnext.array.index-of": "'indexOf' in window.Array.prototype",
981
- "esnext.array.is-array": "Array.isArray",
982
- "esnext.array.is-template-object": "Array.isTemplateObject",
983
- "esnext.array.join": "'join' in window.Array.prototype",
984
- "esnext.array.last-index": "'lastIndex' in window.Array.prototype",
985
- "esnext.array.last-index-of": "'lastIndexOf' in window.Array.prototype",
986
- "esnext.array.last-item": "'lastItem' in window.Array.prototype",
987
- "esnext.array.map": "'map' in window.Array.prototype",
988
- "esnext.array.of": "Array.of",
989
- "esnext.array.reduce": "'reduce' in window.Array.prototype",
990
- "esnext.array.reduce-right": "'reduceRight' in window.Array.prototype",
991
- "esnext.array.reverse": "'reverse' in window.Array.prototype",
992
- "esnext.array.slice": "'slice' in window.Array.prototype",
993
- "esnext.array.some": "'some' in window.Array.prototype",
994
- "esnext.array.sort": "'sort' in window.Array.prototype",
995
- "esnext.array.splice": "'splice' in window.Array.prototype",
996
- "esnext.array.to-reversed": "'toReversed' in window.Array.prototype",
997
- "esnext.array.to-sorted": "'toSorted' in window.Array.prototype",
998
- "esnext.array.to-spliced": "'toSpliced' in window.Array.prototype",
999
- "esnext.array.unique-by": "'uniqueBy' in window.Array.prototype",
1000
- "esnext.array.unshift": "'unshift' in window.Array.prototype",
1001
- "esnext.array.with": "'with' in window.Array.prototype",
1002
- "esnext.async-disposable-stack": "window.AsyncDisposableStack",
1003
- "esnext.async-disposable-stack.constructor": "window.AsyncDisposableStack && window.AsyncDisposableStack.constructor",
1004
- "esnext.async-iterator": "window.AsyncIterator",
1005
- "esnext.bigint.range": "BigInt.range",
1006
- "esnext.composite-key": "window.compositeKey",
1007
- "esnext.composite-symbol": "window.compositeSymbol",
1008
- "esnext.data-view": "window.DataView",
1009
- "esnext.data-view.get-float16": "'getFloat16' in window.DataView.prototype",
1010
- "esnext.data-view.get-uint8-clamped": "'getUint8Clamped' in window.DataView.prototype",
1011
- "esnext.data-view.set-float16": "'setFloat16' in window.DataView.prototype",
1012
- "esnext.data-view.set-uint8-clamped": "'setUint8Clamped' in window.DataView.prototype",
1013
- "esnext.date": "window.Date",
1014
- "esnext.date.get-year": "'getYear' in window.Date.prototype",
1015
- "esnext.date.now": "Date.now",
1016
- "esnext.date.set-year": "'setYear' in window.Date.prototype",
1017
- "esnext.date.to-gmt-string": "'toGMTString' in window.Date.prototype",
1018
- "esnext.date.to-iso-string": "'toISOString' in window.Date.prototype",
1019
- "esnext.date.to-json": "'toJSON' in window.Date.prototype",
1020
- "esnext.date.to-string": "window.Date.toString",
1021
- "esnext.disposable-stack": "window.DisposableStack",
1022
- "esnext.disposable-stack.constructor": "window.DisposableStack && window.DisposableStack.constructor",
1023
- "esnext.error.cause": "window.URIError",
1024
- "esnext.error.is-error": "Error.isError",
1025
- "esnext.escape": "window.escape",
1026
- "esnext.function": "window.Function",
1027
- "esnext.function.bind": "'bind' in window.Function.prototype",
1028
- "esnext.function.demethodize": "'demethodize' in window.Function.prototype",
1029
- "esnext.function.is-callable": "Function.isCallable",
1030
- "esnext.function.is-constructor": "Function.isConstructor",
1031
- "esnext.function.name": "'name' in window.Function.prototype",
1032
- "esnext.function.un-this": "'unThis' in window.Function.prototype",
1033
- "esnext.global-this": "window.globalThis",
1034
- "esnext.iterator": "window.Iterator",
1035
- "esnext.json": "window.JSON",
1036
- "esnext.json.is-raw-json": "JSON.isRawJSON",
1037
- "esnext.json.parse": "JSON.parse",
1038
- "esnext.json.raw-json": "JSON.rawJSON",
1039
- "esnext.json.stringify": "window.JSON.stringify",
1040
- "esnext.map": "window.Map",
1041
- "esnext.map.delete-all": "window.Map.deleteAll",
1042
- "esnext.map.emplace": "window.Map.emplace",
1043
- "esnext.map.every": "window.Map.every",
1044
- "esnext.map.filter": "window.Map.filter",
1045
- "esnext.map.find": "window.Map.find",
1046
- "esnext.map.find-key": "window.Map.findKey",
1047
- "esnext.map.from": "Map.from",
1048
- "esnext.map.get-or-insert": "window.Map.getOrInsert",
1049
- "esnext.map.get-or-insert-computed": "window.Map.getOrInsertComputed",
1050
- "esnext.map.group-by": "Map.groupBy",
1051
- "esnext.map.includes": "window.Map.includes",
1052
- "esnext.map.key-by": "Map.keyBy",
1053
- "esnext.map.key-of": "window.Map.keyOf",
1054
- "esnext.map.map-keys": "window.Map.mapKeys",
1055
- "esnext.map.map-values": "window.Map.mapValues",
1056
- "esnext.map.merge": "window.Map.merge",
1057
- "esnext.map.of": "Map.of",
1058
- "esnext.map.reduce": "window.Map.reduce",
1059
- "esnext.map.some": "window.Map.some",
1060
- "esnext.map.update": "window.Map.update",
1061
- "esnext.math": "window.Math",
1062
- "esnext.math.acosh": "Math.acosh",
1063
- "esnext.math.asinh": "Math.asinh",
1064
- "esnext.math.atanh": "Math.atanh",
1065
- "esnext.math.cbrt": "Math.cbrt",
1066
- "esnext.math.clamp": "Math.clamp",
1067
- "esnext.math.clz32": "Math.clz32",
1068
- "esnext.math.cosh": "Math.cosh",
1069
- "esnext.math.deg-per-rad": "Math.DEG_PER_RAD",
1070
- "esnext.math.degrees": "Math.degrees",
1071
- "esnext.math.expm1": "Math.expm1",
1072
- "esnext.math.f16round": "Math.f16round",
1073
- "esnext.math.fround": "Math.fround",
1074
- "esnext.math.fscale": "Math.fscale",
1075
- "esnext.math.hypot": "Math.hypot",
1076
- "esnext.math.iaddh": "Math.iaddh",
1077
- "esnext.math.imul": "Math.imul",
1078
- "esnext.math.imulh": "Math.imulh",
1079
- "esnext.math.isubh": "Math.isubh",
1080
- "esnext.math.log10": "Math.log10",
1081
- "esnext.math.log1p": "Math.log1p",
1082
- "esnext.math.log2": "Math.log2",
1083
- "esnext.math.rad-per-deg": "Math.RAD_PER_DEG",
1084
- "esnext.math.radians": "Math.radians",
1085
- "esnext.math.scale": "Math.scale",
1086
- "esnext.math.seeded-prng": "Math.seededPRNG",
1087
- "esnext.math.sign": "Math.sign",
1088
- "esnext.math.signbit": "Math.signbit",
1089
- "esnext.math.sinh": "Math.sinh",
1090
- "esnext.math.sum-precise": "Math.sumPrecise",
1091
- "esnext.math.tanh": "Math.tanh",
1092
- "esnext.math.trunc": "Math.trunc",
1093
- "esnext.math.umulh": "Math.umulh",
1094
- "esnext.number": "window.Number",
1095
- "esnext.number.constructor": "window.Number.constructor",
1096
- "esnext.number.epsilon": "Number.EPSILON",
1097
- "esnext.number.from-string": "Number.fromString",
1098
- "esnext.number.is-finite": "Number.isFinite",
1099
- "esnext.number.is-integer": "Number.isInteger",
1100
- "esnext.number.is-nan": "Number.isNaN",
1101
- "esnext.number.is-safe-integer": "Number.isSafeInteger",
1102
- "esnext.number.max-safe-integer": "Number.MAX_SAFE_INTEGER",
1103
- "esnext.number.min-safe-integer": "Number.MIN_SAFE_INTEGER",
1104
- "esnext.number.parse-float": "Number.parseFloat",
1105
- "esnext.number.parse-int": "Number.parseInt",
1106
- "esnext.number.range": "Number.range",
1107
- "esnext.number.to-exponential": "'toExponential' in window.Number.prototype",
1108
- "esnext.number.to-fixed": "'toFixed' in window.Number.prototype",
1109
- "esnext.number.to-precision": "'toPrecision' in window.Number.prototype",
1110
- "esnext.object": "window.Object",
1111
- "esnext.object.assign": "Object.assign",
1112
- "esnext.object.create": "Object.create",
1113
- "esnext.object.define-getter": "'__defineGetter__' in window.Object.prototype",
1114
- "esnext.object.define-properties": "Object.defineProperties",
1115
- "esnext.object.define-property": "Object.defineProperty",
1116
- "esnext.object.define-setter": "'__defineSetter__' in window.Object.prototype",
1117
- "esnext.object.entries": "Object.entries",
1118
- "esnext.object.freeze": "Object.freeze",
1119
- "esnext.object.from-entries": "Object.fromEntries",
1120
- "esnext.object.get-own-property-descriptor": "Object.getOwnPropertyDescriptor",
1121
- "esnext.object.get-own-property-descriptors": "Object.getOwnPropertyDescriptors",
1122
- "esnext.object.get-own-property-names": "Object.getOwnPropertyNames",
1123
- "esnext.object.get-prototype-of": "Object.getPrototypeOf",
1124
- "esnext.object.group-by": "Object.groupBy",
1125
- "esnext.object.has-own": "Object.hasOwn",
1126
- "esnext.object.is": "Object.is",
1127
- "esnext.object.is-extensible": "Object.isExtensible",
1128
- "esnext.object.is-frozen": "Object.isFrozen",
1129
- "esnext.object.is-sealed": "Object.isSealed",
1130
- "esnext.object.keys": "Object.keys",
1131
- "esnext.object.lookup-getter": "'__lookupGetter__' in window.Object.prototype",
1132
- "esnext.object.lookup-setter": "'__lookupSetter__' in window.Object.prototype",
1133
- "esnext.object.prevent-extensions": "Object.preventExtensions",
1134
- "esnext.object.proto": "'__proto__' in window.Object.prototype",
1135
- "esnext.object.seal": "Object.seal",
1136
- "esnext.object.set-prototype-of": "Object.setPrototypeOf",
1137
- "esnext.object.values": "Object.values",
1138
- "esnext.observable": "window.Observable",
1139
- "esnext.parse-float": "window.parseFloat",
1140
- "esnext.parse-int": "window.parseInt",
1141
- "esnext.promise": "window.Promise",
1142
- "esnext.promise.all-settled": "Promise.allSettled",
1143
- "esnext.promise.any": "Promise.any",
1144
- "esnext.promise.finally": "'finally' in window.Promise.prototype",
1145
- "esnext.promise.try": "Promise.try",
1146
- "esnext.promise.with-resolvers": "Promise.withResolvers",
1147
- "esnext.reflect-tag": "window.Reflect",
1148
- "esnext.reflect.apply": "Reflect.apply",
1149
- "esnext.reflect.construct": "Reflect.construct",
1150
- "esnext.reflect.define-metadata": "Reflect.defineMetadata",
1151
- "esnext.reflect.define-property": "Reflect.defineProperty",
1152
- "esnext.reflect.delete-metadata": "Reflect.deleteMetadata",
1153
- "esnext.reflect.delete-property": "Reflect.deleteProperty",
1154
- "esnext.reflect.get": "Reflect.get",
1155
- "esnext.reflect.get-metadata": "Reflect.getMetadata",
1156
- "esnext.reflect.get-metadata-keys": "Reflect.getMetadataKeys",
1157
- "esnext.reflect.get-own-metadata": "Reflect.getOwnMetadata",
1158
- "esnext.reflect.get-own-metadata-keys": "Reflect.getOwnMetadataKeys",
1159
- "esnext.reflect.get-own-property-descriptor": "Reflect.getOwnPropertyDescriptor",
1160
- "esnext.reflect.get-prototype-of": "Reflect.getPrototypeOf",
1161
- "esnext.reflect.has": "Reflect.has",
1162
- "esnext.reflect.has-metadata": "Reflect.hasMetadata",
1163
- "esnext.reflect.has-own-metadata": "Reflect.hasOwnMetadata",
1164
- "esnext.reflect.is-extensible": "Reflect.isExtensible",
1165
- "esnext.reflect.metadata": "Reflect.metadata",
1166
- "esnext.reflect.own-keys": "Reflect.ownKeys",
1167
- "esnext.reflect.prevent-extensions": "Reflect.preventExtensions",
1168
- "esnext.reflect.set": "Reflect.set",
1169
- "esnext.reflect.set-prototype-of": "Reflect.setPrototypeOf",
1170
- "esnext.regexp": "window.RegExp",
1171
- "esnext.regexp.constructor": "window.RegExp.constructor",
1172
- "esnext.regexp.dot-all": "'dotAll' in window.RegExp.prototype",
1173
- "esnext.regexp.escape": "RegExp.escape",
1174
- "esnext.regexp.exec": "'exec' in window.RegExp.prototype",
1175
- "esnext.regexp.flags": "'flags' in window.RegExp.prototype",
1176
- "esnext.regexp.sticky": "'sticky' in window.RegExp.prototype",
1177
- "esnext.regexp.test": "'test' in window.RegExp.prototype",
1178
- "esnext.regexp.to-string": "window.RegExp.toString",
1179
- "esnext.set": "window.Set",
1180
- "esnext.set.add-all": "window.Set.addAll",
1181
- "esnext.set.delete-all": "window.Set.deleteAll",
1182
- "esnext.set.difference": "window.Set.difference",
1183
- "esnext.set.every": "window.Set.every",
1184
- "esnext.set.filter": "window.Set.filter",
1185
- "esnext.set.find": "window.Set.find",
1186
- "esnext.set.from": "Set.from",
1187
- "esnext.set.intersection": "window.Set.intersection",
1188
- "esnext.set.is-disjoint-from": "window.Set.isDisjointFrom",
1189
- "esnext.set.is-subset-of": "window.Set.isSubsetOf",
1190
- "esnext.set.is-superset-of": "window.Set.isSupersetOf",
1191
- "esnext.set.join": "window.Set.join",
1192
- "esnext.set.map": "window.Set.map",
1193
- "esnext.set.of": "Set.of",
1194
- "esnext.set.reduce": "window.Set.reduce",
1195
- "esnext.set.some": "window.Set.some",
1196
- "esnext.set.symmetric-difference": "window.Set.symmetricDifference",
1197
- "esnext.set.union": "window.Set.union",
1198
- "esnext.string": "window.String",
1199
- "esnext.string.anchor": "'anchor' in window.String.prototype",
1200
- "esnext.string.at": "'at' in window.String.prototype",
1201
- "esnext.string.big": "'big' in window.String.prototype",
1202
- "esnext.string.blink": "'blink' in window.String.prototype",
1203
- "esnext.string.bold": "'bold' in window.String.prototype",
1204
- "esnext.string.code-point-at": "'codePointAt' in window.String.prototype",
1205
- "esnext.string.code-points": "'codePoints' in window.String.prototype",
1206
- "esnext.string.cooked": "String.cooked",
1207
- "esnext.string.dedent": "String.dedent",
1208
- "esnext.string.ends-with": "'endsWith' in window.String.prototype",
1209
- "esnext.string.fixed": "'fixed' in window.String.prototype",
1210
- "esnext.string.fontcolor": "'fontcolor' in window.String.prototype",
1211
- "esnext.string.fontsize": "'fontsize' in window.String.prototype",
1212
- "esnext.string.from-code-point": "String.fromCodePoint",
1213
- "esnext.string.includes": "'includes' in window.String.prototype",
1214
- "esnext.string.is-well-formed": "'isWellFormed' in window.String.prototype",
1215
- "esnext.string.italics": "'italic' in window.String.prototype",
1216
- "esnext.string.link": "'link' in window.String.prototype",
1217
- "esnext.string.match": "'match' in window.String.prototype",
1218
- "esnext.string.match-all": "'matchAll' in window.String.prototype",
1219
- "esnext.string.pad-end": "'padEnd' in window.String.prototype",
1220
- "esnext.string.pad-start": "'padStart' in window.String.prototype",
1221
- "esnext.string.raw": "String.raw",
1222
- "esnext.string.repeat": "'repeat' in window.String.prototype",
1223
- "esnext.string.replace": "'replace' in window.String.prototype",
1224
- "esnext.string.replace-all": "'replaceAll' in window.String.prototype",
1225
- "esnext.string.search": "'search' in window.String.prototype",
1226
- "esnext.string.small": "'small' in window.String.prototype",
1227
- "esnext.string.split": "'split' in window.String.prototype",
1228
- "esnext.string.starts-with": "'startsWith' in window.String.prototype",
1229
- "esnext.string.strike": "'strike' in window.String.prototype",
1230
- "esnext.string.sub": "'sub' in window.String.prototype",
1231
- "esnext.string.substr": "'substr' in window.String.prototype",
1232
- "esnext.string.sup": "'sup' in window.String.prototype",
1233
- "esnext.string.to-well-formed": "'toWellFormed' in window.String.prototype",
1234
- "esnext.string.trim": "'trim' in window.String.prototype",
1235
- "esnext.string.trim-end": "'trimEnd' in window.String.prototype",
1236
- "esnext.string.trim-start": "'trimLeft' in window.String.prototype",
1237
- "esnext.suppressed-error": "window.SuppressedError",
1238
- "esnext.suppressed-error.constructor": "window.SuppressedError && window.SuppressedError.constructor",
1239
- "esnext.symbol": "window.Symbol",
1240
- "esnext.symbol.async-dispose": "Symbol.asyncDispose",
1241
- "esnext.symbol.custom-matcher": "Symbol.customMatcher",
1242
- "esnext.symbol.description": "'description' in window.Symbol.prototype",
1243
- "esnext.symbol.dispose": "Symbol.dispose",
1244
- "esnext.symbol.has-instance": "Symbol.hasInstance",
1245
- "esnext.symbol.is-concat-spreadable": "Symbol.isConcatSpreadable",
1246
- "esnext.symbol.is-registered": "Symbol.isRegistered",
1247
- "esnext.symbol.is-registered-symbol": "Symbol.isRegisteredSymbol",
1248
- "esnext.symbol.is-well-known": "Symbol.isWellKnown",
1249
- "esnext.symbol.is-well-known-symbol": "Symbol.isWellKnownSymbol",
1250
- "esnext.symbol.match": "Symbol.match",
1251
- "esnext.symbol.match-all": "Symbol.matchAll",
1252
- "esnext.symbol.matcher": "Symbol.matcher",
1253
- "esnext.symbol.metadata": "Symbol.metadata",
1254
- "esnext.symbol.metadata-key": "Symbol.metadataKey",
1255
- "esnext.symbol.observable": "Symbol.observable",
1256
- "esnext.symbol.pattern-match": "Symbol.patternMatch",
1257
- "esnext.symbol.replace": "Symbol.replace",
1258
- "esnext.symbol.search": "Symbol.search",
1259
- "esnext.symbol.species": "Symbol.species",
1260
- "esnext.symbol.split": "Symbol.split",
1261
- "esnext.symbol.to-primitive": "Symbol.toPrimitive",
1262
- "esnext.symbol.to-string-tag": "Symbol.toStringTag",
1263
- "esnext.symbol.unscopables": "Symbol.unscopables",
1264
- "esnext.typed-array": "window.Int8Array",
1265
- "esnext.typed-array.at": "'at' in window.Int8Array.prototype",
1266
- "esnext.typed-array.copy-within": "'copyWithin' in window.Int8Array.prototype",
1267
- "esnext.typed-array.every": "'every' in window.Int8Array.prototype",
1268
- "esnext.typed-array.fill": "'fill' in window.Int8Array.prototype",
1269
- "esnext.typed-array.filter": "'filter' in window.Int8Array.prototype",
1270
- "esnext.typed-array.filter-reject": "window.Int8Array.filterReject",
1271
- "esnext.typed-array.find": "'find' in window.Int8Array.prototype",
1272
- "esnext.typed-array.find-index": "'findIndex' in window.Int8Array.prototype",
1273
- "esnext.typed-array.find-last": "'findLast' in window.Int8Array.prototype",
1274
- "esnext.typed-array.find-last-index": "'findLastIndex' in window.Int8Array.prototype",
1275
- "esnext.typed-array.float32-array": "window.Float32Array",
1276
- "esnext.typed-array.float64-array": "window.Float64Array",
1277
- "esnext.typed-array.for-each": "'forEach' in window.Int8Array.prototype",
1278
- "esnext.typed-array.from": "Int8Array.from",
1279
- "esnext.typed-array.from-async": "Int8Array.fromAsync",
1280
- "esnext.typed-array.group-by": "window.Int8Array.groupBy",
1281
- "esnext.typed-array.includes": "'includes' in window.Int8Array.prototype",
1282
- "esnext.typed-array.index-of": "'indexOf' in window.Int8Array.prototype",
1283
- "esnext.typed-array.int16-array": "window.Int16Array",
1284
- "esnext.typed-array.int32-array": "window.Int32Array",
1285
- "esnext.typed-array.int8-array": "window.Int8Array",
1286
- "esnext.typed-array.join": "'join' in window.Int8Array.prototype",
1287
- "esnext.typed-array.last-index-of": "'lastIndexOf' in window.Int8Array.prototype",
1288
- "esnext.typed-array.map": "'map' in window.Int8Array.prototype",
1289
- "esnext.typed-array.of": "Int8Array.of",
1290
- "esnext.typed-array.reduce": "'reduce' in window.Int8Array.prototype",
1291
- "esnext.typed-array.reduce-right": "'reduceRight' in window.Int8Array.prototype",
1292
- "esnext.typed-array.reverse": "'reverse' in window.Int8Array.prototype",
1293
- "esnext.typed-array.set": "'set' in window.Int8Array.prototype",
1294
- "esnext.typed-array.slice": "'slice' in window.Int8Array.prototype",
1295
- "esnext.typed-array.some": "'some' in window.Int8Array.prototype",
1296
- "esnext.typed-array.sort": "'sort' in window.Int8Array.prototype",
1297
- "esnext.typed-array.subarray": "'subarray' in window.Int8Array.prototype",
1298
- "esnext.typed-array.to-locale-string": "'toLocaleString' in window.Int8Array.prototype",
1299
- "esnext.typed-array.to-reversed": "'toReversed' in window.Int8Array.prototype",
1300
- "esnext.typed-array.to-sorted": "'toSorted' in window.Int8Array.prototype",
1301
- "esnext.typed-array.to-spliced": "window.Int8Array.toSpliced",
1302
- "esnext.typed-array.to-string": "'toString' in window.Int8Array.prototype",
1303
- "esnext.typed-array.uint16-array": "window.Uint16Array",
1304
- "esnext.typed-array.uint32-array": "window.Uint32Array",
1305
- "esnext.typed-array.uint8-array": "window.Uint8Array",
1306
- "esnext.typed-array.uint8-clamped-array": "window.Uint8ClampedArray",
1307
- "esnext.typed-array.unique-by": "window.Int8Array.uniqueBy",
1308
- "esnext.typed-array.with": "'with' in window.Int8Array.prototype",
1309
- "esnext.uint8-array": "window.Uint8Array",
1310
- "esnext.uint8-array.from-base64": "Uint8Array.fromBase64",
1311
- "esnext.uint8-array.from-hex": "Uint8Array.fromHex",
1312
- "esnext.uint8-array.set-from-base64": "window.Uint8Array.setFromBase",
1313
- "esnext.uint8-array.set-from-hex": "window.Uint8Array.setFromHex",
1314
- "esnext.uint8-array.to-base64": "window.Uint8Array.toBase",
1315
- "esnext.uint8-array.to-hex": "window.Uint8Array.toHex",
1316
- "esnext.unescape": "window.unescape",
1317
- "esnext.weak-map": "window.WeakMap",
1318
- "esnext.weak-map.delete-all": "window.WeakMap && 'deleteAll' in window.WeakMap.prototype",
1319
- "esnext.weak-map.emplace": "window.WeakMap && 'emplace' in window.WeakMap.prototype",
1320
- "esnext.weak-map.from": "WeakMap.from",
1321
- "esnext.weak-map.get-or-insert": "window.WeakMap && 'getOrInsert' in window.WeakMap.prototype",
1322
- "esnext.weak-map.get-or-insert-computed": "window.WeakMap && 'getOrInsertComputed' in window.WeakMap.prototype",
1323
- "esnext.weak-map.of": "WeakMap.of",
1324
- "esnext.weak-set": "window.WeakSet",
1325
- "esnext.weak-set.add-all": "window.WeakSet && 'addAll' in window.WeakSet.prototype",
1326
- "esnext.weak-set.delete-all": "window.WeakSet && 'deleteAll' in window.WeakSet.prototype",
1327
- "esnext.weak-set.from": "WeakSet.from",
1328
- "esnext.weak-set.of": "WeakSet.of",
1329
- "esnext.web.immediate": "window.setImmediate",
1330
- "web.atob": "window.atob",
1331
- "web.btoa": "window.btoa",
1332
- "web.dom-exception": "window.DOMException",
1333
- "web.dom-exception.constructor": "window.DOMException.constructor",
1334
- "web.immediate": "window.setImmediate",
1335
- "web.queue-microtask": "window.queueMicrotask",
1336
- "web.self": "window.self",
1337
- "web.structured-clone": "window.structuredClone",
1338
- "web.timers": "window.setTimeout",
1339
- "web.url": "window.URL",
1340
- "web.url-search-params": "window.URLSearchParams",
1341
- "web.url-search-params.delete": "'delete' in window.URLSearchParams.prototype",
1342
- "web.url-search-params.has": "'has' in window.URLSearchParams.prototype",
1343
- "web.url-search-params.size": "'size' in window.URLSearchParams.prototype",
1344
- "web.url.can-parse": "URL.canParse",
1345
- "web.url.parse": "URL.parse",
1346
- "web.url.to-json": "'toJSON' in window.URL.prototype",
1347
- }
1348
- `;