@flourish/sdk 5.1.0 → 5.2.1

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 (1157) hide show
  1. package/RELEASE_NOTES.md +8 -0
  2. package/bin/flourish.js +6 -6
  3. package/common/embed/credit.js +3 -2
  4. package/common/embed/customer_analytics.js +15 -11
  5. package/common/embed/embedding.d.ts +1 -1
  6. package/common/embed/embedding.js +92 -37
  7. package/common/embed/localizations.js +4 -4
  8. package/common/embed/parse_query_params.js +2 -1
  9. package/common/package.json +9 -3
  10. package/common/tsconfig.sdk.tsbuildinfo +1 -1
  11. package/common/utils/columns.js +27 -14
  12. package/common/utils/data.d.ts +1 -1
  13. package/common/utils/data.js +64 -30
  14. package/common/utils/json.js +8 -4
  15. package/common/utils/polyfills.js +1 -1
  16. package/common/utils/state.d.ts +7 -7
  17. package/common/utils/state.js +44 -29
  18. package/lib/cmd/assign-version-number.js +5 -5
  19. package/lib/cmd/build.js +1 -1
  20. package/lib/cmd/delete.js +2 -2
  21. package/lib/cmd/history.js +4 -2
  22. package/lib/cmd/list.js +13 -11
  23. package/lib/cmd/login.js +1 -1
  24. package/lib/cmd/publish.js +13 -14
  25. package/lib/cmd/register.js +3 -3
  26. package/lib/cmd/run.js +3 -3
  27. package/lib/cmd/upgrade/1-convert-config-to-yaml.js +14 -17
  28. package/lib/cmd/upgrade/2-convert-index-html.js +4 -4
  29. package/lib/cmd/upgrade/3-add-build-config.js +5 -5
  30. package/lib/cmd/upgrade/4-remove-autoheight-config.js +3 -3
  31. package/lib/cmd/upgrade/index.js +6 -6
  32. package/lib/common.js +12 -11
  33. package/lib/log.js +7 -7
  34. package/lib/sdk.js +35 -40
  35. package/lib/validate_config.js +30 -30
  36. package/package.json +6 -4
  37. package/rollup.config.mjs +1 -1
  38. package/server/comms_js.js +3 -3
  39. package/server/index.js +37 -39
  40. package/server/index_html.js +16 -9
  41. package/server/views/default_template_index.html +1 -0
  42. package/server/views/index.html +20 -4
  43. package/site/embedded.js +1 -1
  44. package/site/favicon.ico +0 -0
  45. package/site/fonts/canva-sans/WOFF/CanvaSans-Bold.woff +0 -0
  46. package/site/fonts/canva-sans/WOFF/CanvaSans-Bold.woff2 +0 -0
  47. package/site/fonts/canva-sans/WOFF/CanvaSans-Regular.woff +0 -0
  48. package/site/fonts/canva-sans/WOFF/CanvaSans-Regular.woff2 +0 -0
  49. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Bold.woff +0 -0
  50. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Bold.woff2 +0 -0
  51. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Regular.woff +0 -0
  52. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Regular.woff2 +0 -0
  53. package/site/fonts/canva-sans-variable/TTF/CanvaSans-VF.ttf +0 -0
  54. package/site/fonts/canva-sans-variable/TTF/CanvaSansDisplay-VF.ttf +0 -0
  55. package/site/fonts/canva-sans-variable/WOFF/CanvaSans-VF.woff +0 -0
  56. package/site/fonts/canva-sans-variable/WOFF/CanvaSansDisplay-VF.woff +0 -0
  57. package/site/fonts/canva-sans.css +53 -0
  58. package/site/images/bosh-white.svg +12 -0
  59. package/site/images/bosh.svg +10 -6
  60. package/site/images/canva.svg +27 -0
  61. package/site/images/flourish_logo.svg +20 -0
  62. package/site/images/flourish_logo_white.svg +20 -0
  63. package/site/images/icon-calendar.svg +3 -0
  64. package/site/images/icon-chart-bar.svg +3 -0
  65. package/site/images/icon-chart-line.svg +3 -0
  66. package/site/images/icon-chart-pie.svg +3 -0
  67. package/site/images/icon-chevron-down-small-white.svg +3 -0
  68. package/site/images/icon-editable.svg +1 -8
  69. package/site/images/icon-gift.svg +3 -0
  70. package/site/images/icon-grid-view-white.svg +3 -0
  71. package/site/images/icon-grid-view.svg +3 -0
  72. package/site/images/icon-number.svg +5 -0
  73. package/site/images/icon-presentation.svg +2 -2
  74. package/site/images/icon-presenter.svg +3 -0
  75. package/site/images/icon-private.svg +1 -1
  76. package/site/images/icon-star.svg +3 -0
  77. package/site/images/icon-table-border-all.svg +3 -0
  78. package/site/images/icon-table-white.svg +3 -0
  79. package/site/images/icon-table.svg +3 -0
  80. package/site/images/icon-text.svg +3 -0
  81. package/site/images/icon-upload-black.svg +3 -0
  82. package/site/images/icon-upload-cloud.svg +3 -0
  83. package/site/images/icon-upload.svg +2 -2
  84. package/site/images/icon-viewable.svg +1 -1
  85. package/site/images/instagram-logo.svg +1 -0
  86. package/site/images/linkedin-logo.svg +1 -0
  87. package/site/images/logo.png +0 -0
  88. package/site/images/logo.svg +20 -1
  89. package/site/images/made_with_flourish.svg +38 -4
  90. package/site/images/share_image.jpg +0 -0
  91. package/site/images/slide_visualisation.png +0 -0
  92. package/site/images/spinner_data.json +1 -0
  93. package/site/images/x-logo.svg +1 -0
  94. package/site/images/youtube-logo.svg +1 -0
  95. package/site/script.js +3 -3
  96. package/site/sdk.css +2 -2
  97. package/site/talk_to_server.js +6 -4
  98. package/skeleton/package.json +4 -0
  99. package/test/lib/sdk.js +13 -14
  100. package/test/lib/validate_config.js +83 -83
  101. package/my_template/node_modules/.package-lock.json +0 -525
  102. package/my_template/node_modules/@babel/code-frame/LICENSE +0 -22
  103. package/my_template/node_modules/@babel/code-frame/README.md +0 -19
  104. package/my_template/node_modules/@babel/code-frame/lib/index.js +0 -157
  105. package/my_template/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  106. package/my_template/node_modules/@babel/code-frame/package.json +0 -30
  107. package/my_template/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  108. package/my_template/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  109. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  110. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  111. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  112. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  113. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  114. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  115. package/my_template/node_modules/@babel/helper-validator-identifier/package.json +0 -28
  116. package/my_template/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
  117. package/my_template/node_modules/@babel/highlight/LICENSE +0 -22
  118. package/my_template/node_modules/@babel/highlight/README.md +0 -19
  119. package/my_template/node_modules/@babel/highlight/lib/index.js +0 -105
  120. package/my_template/node_modules/@babel/highlight/lib/index.js.map +0 -1
  121. package/my_template/node_modules/@babel/highlight/package.json +0 -29
  122. package/my_template/node_modules/@types/estree/LICENSE +0 -21
  123. package/my_template/node_modules/@types/estree/README.md +0 -15
  124. package/my_template/node_modules/@types/estree/flow.d.ts +0 -167
  125. package/my_template/node_modules/@types/estree/index.d.ts +0 -683
  126. package/my_template/node_modules/@types/estree/package.json +0 -26
  127. package/my_template/node_modules/@types/node/LICENSE +0 -21
  128. package/my_template/node_modules/@types/node/README.md +0 -15
  129. package/my_template/node_modules/@types/node/assert/strict.d.ts +0 -8
  130. package/my_template/node_modules/@types/node/assert.d.ts +0 -996
  131. package/my_template/node_modules/@types/node/async_hooks.d.ts +0 -539
  132. package/my_template/node_modules/@types/node/buffer.d.ts +0 -2362
  133. package/my_template/node_modules/@types/node/child_process.d.ts +0 -1540
  134. package/my_template/node_modules/@types/node/cluster.d.ts +0 -432
  135. package/my_template/node_modules/@types/node/console.d.ts +0 -415
  136. package/my_template/node_modules/@types/node/constants.d.ts +0 -19
  137. package/my_template/node_modules/@types/node/crypto.d.ts +0 -4456
  138. package/my_template/node_modules/@types/node/dgram.d.ts +0 -586
  139. package/my_template/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
  140. package/my_template/node_modules/@types/node/dns/promises.d.ts +0 -425
  141. package/my_template/node_modules/@types/node/dns.d.ts +0 -809
  142. package/my_template/node_modules/@types/node/dom-events.d.ts +0 -122
  143. package/my_template/node_modules/@types/node/domain.d.ts +0 -170
  144. package/my_template/node_modules/@types/node/events.d.ts +0 -879
  145. package/my_template/node_modules/@types/node/fs/promises.d.ts +0 -1239
  146. package/my_template/node_modules/@types/node/fs.d.ts +0 -4291
  147. package/my_template/node_modules/@types/node/globals.d.ts +0 -385
  148. package/my_template/node_modules/@types/node/globals.global.d.ts +0 -1
  149. package/my_template/node_modules/@types/node/http.d.ts +0 -1888
  150. package/my_template/node_modules/@types/node/http2.d.ts +0 -2382
  151. package/my_template/node_modules/@types/node/https.d.ts +0 -550
  152. package/my_template/node_modules/@types/node/index.d.ts +0 -88
  153. package/my_template/node_modules/@types/node/inspector.d.ts +0 -2747
  154. package/my_template/node_modules/@types/node/module.d.ts +0 -301
  155. package/my_template/node_modules/@types/node/net.d.ts +0 -949
  156. package/my_template/node_modules/@types/node/os.d.ts +0 -478
  157. package/my_template/node_modules/@types/node/package.json +0 -230
  158. package/my_template/node_modules/@types/node/path.d.ts +0 -191
  159. package/my_template/node_modules/@types/node/perf_hooks.d.ts +0 -639
  160. package/my_template/node_modules/@types/node/process.d.ts +0 -1539
  161. package/my_template/node_modules/@types/node/punycode.d.ts +0 -117
  162. package/my_template/node_modules/@types/node/querystring.d.ts +0 -141
  163. package/my_template/node_modules/@types/node/readline/promises.d.ts +0 -150
  164. package/my_template/node_modules/@types/node/readline.d.ts +0 -539
  165. package/my_template/node_modules/@types/node/repl.d.ts +0 -430
  166. package/my_template/node_modules/@types/node/stream/consumers.d.ts +0 -12
  167. package/my_template/node_modules/@types/node/stream/promises.d.ts +0 -83
  168. package/my_template/node_modules/@types/node/stream/web.d.ts +0 -350
  169. package/my_template/node_modules/@types/node/stream.d.ts +0 -1701
  170. package/my_template/node_modules/@types/node/string_decoder.d.ts +0 -67
  171. package/my_template/node_modules/@types/node/test.d.ts +0 -1382
  172. package/my_template/node_modules/@types/node/timers/promises.d.ts +0 -93
  173. package/my_template/node_modules/@types/node/timers.d.ts +0 -240
  174. package/my_template/node_modules/@types/node/tls.d.ts +0 -1210
  175. package/my_template/node_modules/@types/node/trace_events.d.ts +0 -182
  176. package/my_template/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  177. package/my_template/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  178. package/my_template/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  179. package/my_template/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  180. package/my_template/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  181. package/my_template/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  182. package/my_template/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  183. package/my_template/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  184. package/my_template/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  185. package/my_template/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  186. package/my_template/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  187. package/my_template/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  188. package/my_template/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  189. package/my_template/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  190. package/my_template/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  191. package/my_template/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  192. package/my_template/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  193. package/my_template/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
  194. package/my_template/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
  195. package/my_template/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  196. package/my_template/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  197. package/my_template/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  198. package/my_template/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  199. package/my_template/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  200. package/my_template/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  201. package/my_template/node_modules/@types/node/ts4.8/module.d.ts +0 -301
  202. package/my_template/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  203. package/my_template/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  204. package/my_template/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  205. package/my_template/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  206. package/my_template/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
  207. package/my_template/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  208. package/my_template/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  209. package/my_template/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  210. package/my_template/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  211. package/my_template/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  212. package/my_template/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  213. package/my_template/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  214. package/my_template/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  215. package/my_template/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  216. package/my_template/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  217. package/my_template/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  218. package/my_template/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  219. package/my_template/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  220. package/my_template/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  221. package/my_template/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  222. package/my_template/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  223. package/my_template/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  224. package/my_template/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  225. package/my_template/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  226. package/my_template/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  227. package/my_template/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  228. package/my_template/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  229. package/my_template/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  230. package/my_template/node_modules/@types/node/tty.d.ts +0 -208
  231. package/my_template/node_modules/@types/node/url.d.ts +0 -927
  232. package/my_template/node_modules/@types/node/util.d.ts +0 -2183
  233. package/my_template/node_modules/@types/node/v8.d.ts +0 -635
  234. package/my_template/node_modules/@types/node/vm.d.ts +0 -903
  235. package/my_template/node_modules/@types/node/wasi.d.ts +0 -158
  236. package/my_template/node_modules/@types/node/worker_threads.d.ts +0 -691
  237. package/my_template/node_modules/@types/node/zlib.d.ts +0 -517
  238. package/my_template/node_modules/@types/resolve/LICENSE +0 -21
  239. package/my_template/node_modules/@types/resolve/README.md +0 -16
  240. package/my_template/node_modules/@types/resolve/index.d.ts +0 -113
  241. package/my_template/node_modules/@types/resolve/package.json +0 -29
  242. package/my_template/node_modules/acorn/CHANGELOG.md +0 -620
  243. package/my_template/node_modules/acorn/LICENSE +0 -21
  244. package/my_template/node_modules/acorn/README.md +0 -269
  245. package/my_template/node_modules/acorn/bin/acorn +0 -4
  246. package/my_template/node_modules/acorn/dist/acorn.d.ts +0 -209
  247. package/my_template/node_modules/acorn/dist/acorn.js +0 -5186
  248. package/my_template/node_modules/acorn/dist/acorn.js.map +0 -1
  249. package/my_template/node_modules/acorn/dist/acorn.mjs +0 -5155
  250. package/my_template/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  251. package/my_template/node_modules/acorn/dist/acorn.mjs.map +0 -1
  252. package/my_template/node_modules/acorn/dist/bin.js +0 -64
  253. package/my_template/node_modules/acorn/package.json +0 -35
  254. package/my_template/node_modules/amdefine/LICENSE +0 -58
  255. package/my_template/node_modules/amdefine/README.md +0 -171
  256. package/my_template/node_modules/amdefine/amdefine.js +0 -301
  257. package/my_template/node_modules/amdefine/intercept.js +0 -36
  258. package/my_template/node_modules/amdefine/package.json +0 -16
  259. package/my_template/node_modules/ansi-styles/index.js +0 -165
  260. package/my_template/node_modules/ansi-styles/license +0 -9
  261. package/my_template/node_modules/ansi-styles/package.json +0 -56
  262. package/my_template/node_modules/ansi-styles/readme.md +0 -147
  263. package/my_template/node_modules/builtin-modules/builtin-modules.json +0 -43
  264. package/my_template/node_modules/builtin-modules/index.d.ts +0 -14
  265. package/my_template/node_modules/builtin-modules/index.js +0 -11
  266. package/my_template/node_modules/builtin-modules/license +0 -9
  267. package/my_template/node_modules/builtin-modules/package.json +0 -44
  268. package/my_template/node_modules/builtin-modules/readme.md +0 -44
  269. package/my_template/node_modules/builtin-modules/static.d.ts +0 -14
  270. package/my_template/node_modules/builtin-modules/static.js +0 -2
  271. package/my_template/node_modules/chalk/index.js +0 -228
  272. package/my_template/node_modules/chalk/index.js.flow +0 -93
  273. package/my_template/node_modules/chalk/license +0 -9
  274. package/my_template/node_modules/chalk/package.json +0 -71
  275. package/my_template/node_modules/chalk/readme.md +0 -314
  276. package/my_template/node_modules/chalk/templates.js +0 -128
  277. package/my_template/node_modules/chalk/types/index.d.ts +0 -97
  278. package/my_template/node_modules/clean-css/History.md +0 -1138
  279. package/my_template/node_modules/clean-css/LICENSE +0 -19
  280. package/my_template/node_modules/clean-css/README.md +0 -369
  281. package/my_template/node_modules/clean-css/bin/cleancss +0 -184
  282. package/my_template/node_modules/clean-css/index.js +0 -1
  283. package/my_template/node_modules/clean-css/lib/clean.js +0 -231
  284. package/my_template/node_modules/clean-css/lib/colors/hex-name-shortener.js +0 -186
  285. package/my_template/node_modules/clean-css/lib/colors/hsl.js +0 -67
  286. package/my_template/node_modules/clean-css/lib/colors/rgb.js +0 -16
  287. package/my_template/node_modules/clean-css/lib/imports/inliner.js +0 -399
  288. package/my_template/node_modules/clean-css/lib/properties/break-up.js +0 -335
  289. package/my_template/node_modules/clean-css/lib/properties/can-override.js +0 -142
  290. package/my_template/node_modules/clean-css/lib/properties/clone.js +0 -26
  291. package/my_template/node_modules/clean-css/lib/properties/compactable.js +0 -285
  292. package/my_template/node_modules/clean-css/lib/properties/every-combination.js +0 -28
  293. package/my_template/node_modules/clean-css/lib/properties/has-inherit.js +0 -10
  294. package/my_template/node_modules/clean-css/lib/properties/invalid-property-error.js +0 -10
  295. package/my_template/node_modules/clean-css/lib/properties/optimizer.js +0 -215
  296. package/my_template/node_modules/clean-css/lib/properties/override-compactor.js +0 -384
  297. package/my_template/node_modules/clean-css/lib/properties/populate-components.js +0 -32
  298. package/my_template/node_modules/clean-css/lib/properties/remove-unused.js +0 -10
  299. package/my_template/node_modules/clean-css/lib/properties/restore-from-optimizing.js +0 -60
  300. package/my_template/node_modules/clean-css/lib/properties/restore.js +0 -232
  301. package/my_template/node_modules/clean-css/lib/properties/shorthand-compactor.js +0 -134
  302. package/my_template/node_modules/clean-css/lib/properties/validator.js +0 -197
  303. package/my_template/node_modules/clean-css/lib/properties/vendor-prefixes.js +0 -26
  304. package/my_template/node_modules/clean-css/lib/properties/wrap-for-optimizing.js +0 -118
  305. package/my_template/node_modules/clean-css/lib/selectors/advanced.js +0 -86
  306. package/my_template/node_modules/clean-css/lib/selectors/clean-up.js +0 -89
  307. package/my_template/node_modules/clean-css/lib/selectors/extractor.js +0 -69
  308. package/my_template/node_modules/clean-css/lib/selectors/is-special.js +0 -5
  309. package/my_template/node_modules/clean-css/lib/selectors/merge-adjacent.js +0 -35
  310. package/my_template/node_modules/clean-css/lib/selectors/merge-media-queries.js +0 -64
  311. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-body.js +0 -61
  312. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-selector.js +0 -76
  313. package/my_template/node_modules/clean-css/lib/selectors/reduce-non-adjacent.js +0 -172
  314. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicate-media-queries.js +0 -21
  315. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicates.js +0 -41
  316. package/my_template/node_modules/clean-css/lib/selectors/reorderable.js +0 -99
  317. package/my_template/node_modules/clean-css/lib/selectors/restructure.js +0 -369
  318. package/my_template/node_modules/clean-css/lib/selectors/simple.js +0 -454
  319. package/my_template/node_modules/clean-css/lib/source-maps/track.js +0 -119
  320. package/my_template/node_modules/clean-css/lib/stringifier/helpers.js +0 -167
  321. package/my_template/node_modules/clean-css/lib/stringifier/one-time.js +0 -50
  322. package/my_template/node_modules/clean-css/lib/stringifier/simple.js +0 -22
  323. package/my_template/node_modules/clean-css/lib/stringifier/source-maps.js +0 -96
  324. package/my_template/node_modules/clean-css/lib/text/comments-processor.js +0 -131
  325. package/my_template/node_modules/clean-css/lib/text/escape-store.js +0 -53
  326. package/my_template/node_modules/clean-css/lib/text/expressions-processor.js +0 -117
  327. package/my_template/node_modules/clean-css/lib/text/free-text-processor.js +0 -98
  328. package/my_template/node_modules/clean-css/lib/text/urls-processor.js +0 -75
  329. package/my_template/node_modules/clean-css/lib/tokenizer/extract-properties.js +0 -193
  330. package/my_template/node_modules/clean-css/lib/tokenizer/extract-selectors.js +0 -17
  331. package/my_template/node_modules/clean-css/lib/tokenizer/tokenize.js +0 -297
  332. package/my_template/node_modules/clean-css/lib/urls/rebase.js +0 -30
  333. package/my_template/node_modules/clean-css/lib/urls/reduce.js +0 -154
  334. package/my_template/node_modules/clean-css/lib/urls/rewrite.js +0 -107
  335. package/my_template/node_modules/clean-css/lib/utils/clone-array.js +0 -12
  336. package/my_template/node_modules/clean-css/lib/utils/compatibility.js +0 -162
  337. package/my_template/node_modules/clean-css/lib/utils/input-source-map-tracker.js +0 -284
  338. package/my_template/node_modules/clean-css/lib/utils/object.js +0 -11
  339. package/my_template/node_modules/clean-css/lib/utils/quote-scanner.js +0 -119
  340. package/my_template/node_modules/clean-css/lib/utils/source-reader.js +0 -96
  341. package/my_template/node_modules/clean-css/lib/utils/source-tracker.js +0 -31
  342. package/my_template/node_modules/clean-css/lib/utils/split.js +0 -62
  343. package/my_template/node_modules/clean-css/node_modules/source-map/README.md +0 -510
  344. package/my_template/node_modules/clean-css/node_modules/source-map/build/assert-shim.js +0 -56
  345. package/my_template/node_modules/clean-css/node_modules/source-map/build/mini-require.js +0 -152
  346. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-source-map.jsm +0 -21
  347. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-utils.jsm +0 -18
  348. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-browser.js +0 -8
  349. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  350. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-utils.jsm +0 -21
  351. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-prefix.js +0 -8
  352. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-suffix.js +0 -3
  353. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/array-set.js +0 -107
  354. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64-vlq.js +0 -146
  355. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64.js +0 -73
  356. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/binary-search.js +0 -117
  357. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/mapping-list.js +0 -86
  358. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/quick-sort.js +0 -120
  359. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -1077
  360. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-generator.js +0 -399
  361. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-node.js +0 -414
  362. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/util.js +0 -370
  363. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map.js +0 -8
  364. package/my_template/node_modules/clean-css/node_modules/source-map/package.json +0 -68
  365. package/my_template/node_modules/clean-css/package.json +0 -53
  366. package/my_template/node_modules/color-convert/CHANGELOG.md +0 -54
  367. package/my_template/node_modules/color-convert/LICENSE +0 -21
  368. package/my_template/node_modules/color-convert/README.md +0 -68
  369. package/my_template/node_modules/color-convert/conversions.js +0 -868
  370. package/my_template/node_modules/color-convert/index.js +0 -78
  371. package/my_template/node_modules/color-convert/package.json +0 -46
  372. package/my_template/node_modules/color-convert/route.js +0 -97
  373. package/my_template/node_modules/color-name/.eslintrc.json +0 -43
  374. package/my_template/node_modules/color-name/LICENSE +0 -8
  375. package/my_template/node_modules/color-name/README.md +0 -11
  376. package/my_template/node_modules/color-name/index.js +0 -152
  377. package/my_template/node_modules/color-name/package.json +0 -25
  378. package/my_template/node_modules/color-name/test.js +0 -7
  379. package/my_template/node_modules/commander/History.md +0 -256
  380. package/my_template/node_modules/commander/LICENSE +0 -22
  381. package/my_template/node_modules/commander/Readme.md +0 -342
  382. package/my_template/node_modules/commander/index.js +0 -1103
  383. package/my_template/node_modules/commander/package.json +0 -33
  384. package/my_template/node_modules/copy-anything/LICENSE +0 -21
  385. package/my_template/node_modules/copy-anything/README.md +0 -130
  386. package/my_template/node_modules/copy-anything/dist/index.cjs +0 -52
  387. package/my_template/node_modules/copy-anything/dist/index.es.js +0 -48
  388. package/my_template/node_modules/copy-anything/dist/types/index.d.ts +0 -15
  389. package/my_template/node_modules/copy-anything/package.json +0 -98
  390. package/my_template/node_modules/errno/.jshintrc +0 -59
  391. package/my_template/node_modules/errno/.travis.yml +0 -19
  392. package/my_template/node_modules/errno/README.md +0 -145
  393. package/my_template/node_modules/errno/build.js +0 -43
  394. package/my_template/node_modules/errno/cli.js +0 -22
  395. package/my_template/node_modules/errno/custom.js +0 -57
  396. package/my_template/node_modules/errno/errno.js +0 -313
  397. package/my_template/node_modules/errno/package.json +0 -33
  398. package/my_template/node_modules/errno/test.js +0 -88
  399. package/my_template/node_modules/escape-string-regexp/index.js +0 -11
  400. package/my_template/node_modules/escape-string-regexp/license +0 -21
  401. package/my_template/node_modules/escape-string-regexp/package.json +0 -41
  402. package/my_template/node_modules/escape-string-regexp/readme.md +0 -27
  403. package/my_template/node_modules/estree-walker/CHANGELOG.md +0 -55
  404. package/my_template/node_modules/estree-walker/README.md +0 -45
  405. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js +0 -65
  406. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js.map +0 -1
  407. package/my_template/node_modules/estree-walker/index.d.ts +0 -27
  408. package/my_template/node_modules/estree-walker/package.json +0 -30
  409. package/my_template/node_modules/estree-walker/src/estree-walker.js +0 -51
  410. package/my_template/node_modules/function-bind/.eslintrc +0 -21
  411. package/my_template/node_modules/function-bind/.github/FUNDING.yml +0 -12
  412. package/my_template/node_modules/function-bind/.github/SECURITY.md +0 -3
  413. package/my_template/node_modules/function-bind/.nycrc +0 -13
  414. package/my_template/node_modules/function-bind/CHANGELOG.md +0 -136
  415. package/my_template/node_modules/function-bind/LICENSE +0 -20
  416. package/my_template/node_modules/function-bind/README.md +0 -46
  417. package/my_template/node_modules/function-bind/implementation.js +0 -84
  418. package/my_template/node_modules/function-bind/index.js +0 -5
  419. package/my_template/node_modules/function-bind/package.json +0 -87
  420. package/my_template/node_modules/function-bind/test/.eslintrc +0 -9
  421. package/my_template/node_modules/function-bind/test/index.js +0 -252
  422. package/my_template/node_modules/graceful-fs/LICENSE +0 -15
  423. package/my_template/node_modules/graceful-fs/README.md +0 -143
  424. package/my_template/node_modules/graceful-fs/clone.js +0 -23
  425. package/my_template/node_modules/graceful-fs/graceful-fs.js +0 -448
  426. package/my_template/node_modules/graceful-fs/legacy-streams.js +0 -118
  427. package/my_template/node_modules/graceful-fs/package.json +0 -53
  428. package/my_template/node_modules/graceful-fs/polyfills.js +0 -355
  429. package/my_template/node_modules/graceful-readlink/.travis.yml +0 -5
  430. package/my_template/node_modules/graceful-readlink/LICENSE +0 -22
  431. package/my_template/node_modules/graceful-readlink/README.md +0 -17
  432. package/my_template/node_modules/graceful-readlink/index.js +0 -12
  433. package/my_template/node_modules/graceful-readlink/package.json +0 -18
  434. package/my_template/node_modules/has-flag/index.js +0 -8
  435. package/my_template/node_modules/has-flag/license +0 -9
  436. package/my_template/node_modules/has-flag/package.json +0 -44
  437. package/my_template/node_modules/has-flag/readme.md +0 -70
  438. package/my_template/node_modules/hasown/.eslintrc +0 -5
  439. package/my_template/node_modules/hasown/.github/FUNDING.yml +0 -12
  440. package/my_template/node_modules/hasown/.nycrc +0 -13
  441. package/my_template/node_modules/hasown/CHANGELOG.md +0 -20
  442. package/my_template/node_modules/hasown/LICENSE +0 -21
  443. package/my_template/node_modules/hasown/README.md +0 -40
  444. package/my_template/node_modules/hasown/index.d.ts +0 -3
  445. package/my_template/node_modules/hasown/index.d.ts.map +0 -1
  446. package/my_template/node_modules/hasown/index.js +0 -8
  447. package/my_template/node_modules/hasown/package.json +0 -91
  448. package/my_template/node_modules/hasown/tsconfig.json +0 -49
  449. package/my_template/node_modules/image-size/LICENSE +0 -9
  450. package/my_template/node_modules/image-size/Readme.md +0 -88
  451. package/my_template/node_modules/image-size/bin/image-size.js +0 -36
  452. package/my_template/node_modules/image-size/lib/detector.js +0 -19
  453. package/my_template/node_modules/image-size/lib/index.js +0 -105
  454. package/my_template/node_modules/image-size/lib/readUInt.js +0 -11
  455. package/my_template/node_modules/image-size/lib/types/bmp.js +0 -17
  456. package/my_template/node_modules/image-size/lib/types/dds.js +0 -18
  457. package/my_template/node_modules/image-size/lib/types/gif.js +0 -19
  458. package/my_template/node_modules/image-size/lib/types/jpg.js +0 -62
  459. package/my_template/node_modules/image-size/lib/types/png.js +0 -36
  460. package/my_template/node_modules/image-size/lib/types/psd.js +0 -17
  461. package/my_template/node_modules/image-size/lib/types/svg.js +0 -78
  462. package/my_template/node_modules/image-size/lib/types/tiff.js +0 -118
  463. package/my_template/node_modules/image-size/lib/types/webp.js +0 -69
  464. package/my_template/node_modules/image-size/lib/types.js +0 -13
  465. package/my_template/node_modules/image-size/package.json +0 -49
  466. package/my_template/node_modules/is-core-module/.eslintrc +0 -18
  467. package/my_template/node_modules/is-core-module/.nycrc +0 -9
  468. package/my_template/node_modules/is-core-module/CHANGELOG.md +0 -180
  469. package/my_template/node_modules/is-core-module/LICENSE +0 -20
  470. package/my_template/node_modules/is-core-module/README.md +0 -40
  471. package/my_template/node_modules/is-core-module/core.json +0 -158
  472. package/my_template/node_modules/is-core-module/index.js +0 -69
  473. package/my_template/node_modules/is-core-module/package.json +0 -73
  474. package/my_template/node_modules/is-core-module/test/index.js +0 -133
  475. package/my_template/node_modules/is-module/README.md +0 -41
  476. package/my_template/node_modules/is-module/component.json +0 -11
  477. package/my_template/node_modules/is-module/index.js +0 -11
  478. package/my_template/node_modules/is-module/package.json +0 -20
  479. package/my_template/node_modules/is-what/.babelrc +0 -3
  480. package/my_template/node_modules/is-what/.eslintignore +0 -9
  481. package/my_template/node_modules/is-what/.eslintrc.js +0 -18
  482. package/my_template/node_modules/is-what/.github/FUNDING.yml +0 -12
  483. package/my_template/node_modules/is-what/.prettierrc +0 -9
  484. package/my_template/node_modules/is-what/.vscode/settings.json +0 -9
  485. package/my_template/node_modules/is-what/LICENSE +0 -21
  486. package/my_template/node_modules/is-what/README.md +0 -191
  487. package/my_template/node_modules/is-what/build.js +0 -60
  488. package/my_template/node_modules/is-what/dist/index.cjs.js +0 -364
  489. package/my_template/node_modules/is-what/dist/index.esm.js +0 -327
  490. package/my_template/node_modules/is-what/package.json +0 -86
  491. package/my_template/node_modules/is-what/src/index.ts +0 -395
  492. package/my_template/node_modules/is-what/test/ava.ts +0 -376
  493. package/my_template/node_modules/is-what/test/index.test.js +0 -15
  494. package/my_template/node_modules/is-what/tsconfig.json +0 -11
  495. package/my_template/node_modules/is-what/types/index.d.ts +0 -253
  496. package/my_template/node_modules/jest-worker/LICENSE +0 -21
  497. package/my_template/node_modules/jest-worker/README.md +0 -215
  498. package/my_template/node_modules/jest-worker/build/Farm.d.ts +0 -27
  499. package/my_template/node_modules/jest-worker/build/Farm.d.ts.map +0 -1
  500. package/my_template/node_modules/jest-worker/build/Farm.js +0 -179
  501. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts +0 -14
  502. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts.map +0 -1
  503. package/my_template/node_modules/jest-worker/build/WorkerPool.js +0 -49
  504. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +0 -22
  505. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts.map +0 -1
  506. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.js +0 -134
  507. package/my_template/node_modules/jest-worker/build/index.d.ts +0 -46
  508. package/my_template/node_modules/jest-worker/build/index.d.ts.map +0 -1
  509. package/my_template/node_modules/jest-worker/build/index.js +0 -184
  510. package/my_template/node_modules/jest-worker/build/types.d.ts +0 -98
  511. package/my_template/node_modules/jest-worker/build/types.d.ts.map +0 -1
  512. package/my_template/node_modules/jest-worker/build/types.js +0 -43
  513. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +0 -47
  514. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts.map +0 -1
  515. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.js +0 -310
  516. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +0 -29
  517. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts.map +0 -1
  518. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +0 -289
  519. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts +0 -8
  520. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts.map +0 -1
  521. package/my_template/node_modules/jest-worker/build/workers/processChild.js +0 -166
  522. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts +0 -8
  523. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts.map +0 -1
  524. package/my_template/node_modules/jest-worker/build/workers/threadChild.js +0 -176
  525. package/my_template/node_modules/jest-worker/node_modules/supports-color/browser.js +0 -5
  526. package/my_template/node_modules/jest-worker/node_modules/supports-color/index.js +0 -138
  527. package/my_template/node_modules/jest-worker/node_modules/supports-color/license +0 -9
  528. package/my_template/node_modules/jest-worker/node_modules/supports-color/package.json +0 -53
  529. package/my_template/node_modules/jest-worker/node_modules/supports-color/readme.md +0 -85
  530. package/my_template/node_modules/jest-worker/package.json +0 -29
  531. package/my_template/node_modules/js-tokens/CHANGELOG.md +0 -151
  532. package/my_template/node_modules/js-tokens/LICENSE +0 -21
  533. package/my_template/node_modules/js-tokens/README.md +0 -240
  534. package/my_template/node_modules/js-tokens/index.js +0 -23
  535. package/my_template/node_modules/js-tokens/package.json +0 -30
  536. package/my_template/node_modules/less/.eslintignore +0 -5
  537. package/my_template/node_modules/less/.eslintrc.json +0 -3
  538. package/my_template/node_modules/less/Gruntfile.js +0 -420
  539. package/my_template/node_modules/less/README.md +0 -13
  540. package/my_template/node_modules/less/bin/lessc +0 -633
  541. package/my_template/node_modules/less/bower.json +0 -22
  542. package/my_template/node_modules/less/dist/less.js +0 -11275
  543. package/my_template/node_modules/less/dist/less.min.js +0 -11
  544. package/my_template/node_modules/less/dist/less.min.js.map +0 -1
  545. package/my_template/node_modules/less/index.js +0 -1
  546. package/my_template/node_modules/less/lib/less/constants.js +0 -15
  547. package/my_template/node_modules/less/lib/less/constants.js.map +0 -1
  548. package/my_template/node_modules/less/lib/less/contexts.js +0 -171
  549. package/my_template/node_modules/less/lib/less/contexts.js.map +0 -1
  550. package/my_template/node_modules/less/lib/less/data/colors.js +0 -153
  551. package/my_template/node_modules/less/lib/less/data/colors.js.map +0 -1
  552. package/my_template/node_modules/less/lib/less/data/index.js +0 -9
  553. package/my_template/node_modules/less/lib/less/data/index.js.map +0 -1
  554. package/my_template/node_modules/less/lib/less/data/unit-conversions.js +0 -24
  555. package/my_template/node_modules/less/lib/less/data/unit-conversions.js.map +0 -1
  556. package/my_template/node_modules/less/lib/less/default-options.js +0 -57
  557. package/my_template/node_modules/less/lib/less/default-options.js.map +0 -1
  558. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js +0 -122
  559. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js.map +0 -1
  560. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js +0 -168
  561. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js.map +0 -1
  562. package/my_template/node_modules/less/lib/less/environment/environment-api.js +0 -28
  563. package/my_template/node_modules/less/lib/less/environment/environment-api.js.map +0 -1
  564. package/my_template/node_modules/less/lib/less/environment/environment.js +0 -57
  565. package/my_template/node_modules/less/lib/less/environment/environment.js.map +0 -1
  566. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js +0 -106
  567. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js.map +0 -1
  568. package/my_template/node_modules/less/lib/less/functions/boolean.js +0 -21
  569. package/my_template/node_modules/less/lib/less/functions/boolean.js.map +0 -1
  570. package/my_template/node_modules/less/lib/less/functions/color-blending.js +0 -78
  571. package/my_template/node_modules/less/lib/less/functions/color-blending.js.map +0 -1
  572. package/my_template/node_modules/less/lib/less/functions/color.js +0 -404
  573. package/my_template/node_modules/less/lib/less/functions/color.js.map +0 -1
  574. package/my_template/node_modules/less/lib/less/functions/data-uri.js +0 -86
  575. package/my_template/node_modules/less/lib/less/functions/data-uri.js.map +0 -1
  576. package/my_template/node_modules/less/lib/less/functions/default.js +0 -29
  577. package/my_template/node_modules/less/lib/less/functions/default.js.map +0 -1
  578. package/my_template/node_modules/less/lib/less/functions/function-caller.js +0 -66
  579. package/my_template/node_modules/less/lib/less/functions/function-caller.js.map +0 -1
  580. package/my_template/node_modules/less/lib/less/functions/function-registry.js +0 -36
  581. package/my_template/node_modules/less/lib/less/functions/function-registry.js.map +0 -1
  582. package/my_template/node_modules/less/lib/less/functions/index.js +0 -35
  583. package/my_template/node_modules/less/lib/less/functions/index.js.map +0 -1
  584. package/my_template/node_modules/less/lib/less/functions/list.js +0 -136
  585. package/my_template/node_modules/less/lib/less/functions/list.js.map +0 -1
  586. package/my_template/node_modules/less/lib/less/functions/math-helper.js +0 -20
  587. package/my_template/node_modules/less/lib/less/functions/math-helper.js.map +0 -1
  588. package/my_template/node_modules/less/lib/less/functions/math.js +0 -30
  589. package/my_template/node_modules/less/lib/less/functions/math.js.map +0 -1
  590. package/my_template/node_modules/less/lib/less/functions/number.js +0 -98
  591. package/my_template/node_modules/less/lib/less/functions/number.js.map +0 -1
  592. package/my_template/node_modules/less/lib/less/functions/string.js +0 -42
  593. package/my_template/node_modules/less/lib/less/functions/string.js.map +0 -1
  594. package/my_template/node_modules/less/lib/less/functions/svg.js +0 -88
  595. package/my_template/node_modules/less/lib/less/functions/svg.js.map +0 -1
  596. package/my_template/node_modules/less/lib/less/functions/types.js +0 -75
  597. package/my_template/node_modules/less/lib/less/functions/types.js.map +0 -1
  598. package/my_template/node_modules/less/lib/less/import-manager.js +0 -196
  599. package/my_template/node_modules/less/lib/less/import-manager.js.map +0 -1
  600. package/my_template/node_modules/less/lib/less/index.js +0 -130
  601. package/my_template/node_modules/less/lib/less/index.js.map +0 -1
  602. package/my_template/node_modules/less/lib/less/less-error.js +0 -162
  603. package/my_template/node_modules/less/lib/less/less-error.js.map +0 -1
  604. package/my_template/node_modules/less/lib/less/logger.js +0 -37
  605. package/my_template/node_modules/less/lib/less/logger.js.map +0 -1
  606. package/my_template/node_modules/less/lib/less/parse-tree.js +0 -69
  607. package/my_template/node_modules/less/lib/less/parse-tree.js.map +0 -1
  608. package/my_template/node_modules/less/lib/less/parse.js +0 -108
  609. package/my_template/node_modules/less/lib/less/parse.js.map +0 -1
  610. package/my_template/node_modules/less/lib/less/parser/chunker.js +0 -147
  611. package/my_template/node_modules/less/lib/less/parser/chunker.js.map +0 -1
  612. package/my_template/node_modules/less/lib/less/parser/parser-input.js +0 -355
  613. package/my_template/node_modules/less/lib/less/parser/parser-input.js.map +0 -1
  614. package/my_template/node_modules/less/lib/less/parser/parser.js +0 -2262
  615. package/my_template/node_modules/less/lib/less/parser/parser.js.map +0 -1
  616. package/my_template/node_modules/less/lib/less/plugin-manager.js +0 -158
  617. package/my_template/node_modules/less/lib/less/plugin-manager.js.map +0 -1
  618. package/my_template/node_modules/less/lib/less/render.js +0 -64
  619. package/my_template/node_modules/less/lib/less/render.js.map +0 -1
  620. package/my_template/node_modules/less/lib/less/source-map-builder.js +0 -72
  621. package/my_template/node_modules/less/lib/less/source-map-builder.js.map +0 -1
  622. package/my_template/node_modules/less/lib/less/source-map-output.js +0 -140
  623. package/my_template/node_modules/less/lib/less/source-map-output.js.map +0 -1
  624. package/my_template/node_modules/less/lib/less/transform-tree.js +0 -93
  625. package/my_template/node_modules/less/lib/less/transform-tree.js.map +0 -1
  626. package/my_template/node_modules/less/lib/less/tree/anonymous.js +0 -34
  627. package/my_template/node_modules/less/lib/less/tree/anonymous.js.map +0 -1
  628. package/my_template/node_modules/less/lib/less/tree/assignment.js +0 -32
  629. package/my_template/node_modules/less/lib/less/tree/assignment.js.map +0 -1
  630. package/my_template/node_modules/less/lib/less/tree/atrule.js +0 -146
  631. package/my_template/node_modules/less/lib/less/tree/atrule.js.map +0 -1
  632. package/my_template/node_modules/less/lib/less/tree/attribute.js +0 -29
  633. package/my_template/node_modules/less/lib/less/tree/attribute.js.map +0 -1
  634. package/my_template/node_modules/less/lib/less/tree/call.js +0 -104
  635. package/my_template/node_modules/less/lib/less/tree/call.js.map +0 -1
  636. package/my_template/node_modules/less/lib/less/tree/color.js +0 -243
  637. package/my_template/node_modules/less/lib/less/tree/color.js.map +0 -1
  638. package/my_template/node_modules/less/lib/less/tree/combinator.js +0 -29
  639. package/my_template/node_modules/less/lib/less/tree/combinator.js.map +0 -1
  640. package/my_template/node_modules/less/lib/less/tree/comment.js +0 -28
  641. package/my_template/node_modules/less/lib/less/tree/comment.js.map +0 -1
  642. package/my_template/node_modules/less/lib/less/tree/condition.js +0 -41
  643. package/my_template/node_modules/less/lib/less/tree/condition.js.map +0 -1
  644. package/my_template/node_modules/less/lib/less/tree/debug-info.js +0 -37
  645. package/my_template/node_modules/less/lib/less/tree/debug-info.js.map +0 -1
  646. package/my_template/node_modules/less/lib/less/tree/declaration.js +0 -118
  647. package/my_template/node_modules/less/lib/less/tree/declaration.js.map +0 -1
  648. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js +0 -47
  649. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js.map +0 -1
  650. package/my_template/node_modules/less/lib/less/tree/dimension.js +0 -159
  651. package/my_template/node_modules/less/lib/less/tree/dimension.js.map +0 -1
  652. package/my_template/node_modules/less/lib/less/tree/element.js +0 -64
  653. package/my_template/node_modules/less/lib/less/tree/element.js.map +0 -1
  654. package/my_template/node_modules/less/lib/less/tree/expression.js +0 -90
  655. package/my_template/node_modules/less/lib/less/tree/expression.js.map +0 -1
  656. package/my_template/node_modules/less/lib/less/tree/extend.js +0 -62
  657. package/my_template/node_modules/less/lib/less/tree/extend.js.map +0 -1
  658. package/my_template/node_modules/less/lib/less/tree/import.js +0 -191
  659. package/my_template/node_modules/less/lib/less/tree/import.js.map +0 -1
  660. package/my_template/node_modules/less/lib/less/tree/index.js +0 -56
  661. package/my_template/node_modules/less/lib/less/tree/index.js.map +0 -1
  662. package/my_template/node_modules/less/lib/less/tree/javascript.js +0 -35
  663. package/my_template/node_modules/less/lib/less/tree/javascript.js.map +0 -1
  664. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js +0 -57
  665. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js.map +0 -1
  666. package/my_template/node_modules/less/lib/less/tree/keyword.js +0 -21
  667. package/my_template/node_modules/less/lib/less/tree/keyword.js.map +0 -1
  668. package/my_template/node_modules/less/lib/less/tree/media.js +0 -152
  669. package/my_template/node_modules/less/lib/less/tree/media.js.map +0 -1
  670. package/my_template/node_modules/less/lib/less/tree/mixin-call.js +0 -194
  671. package/my_template/node_modules/less/lib/less/tree/mixin-call.js.map +0 -1
  672. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js +0 -233
  673. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js.map +0 -1
  674. package/my_template/node_modules/less/lib/less/tree/namespace-value.js +0 -76
  675. package/my_template/node_modules/less/lib/less/tree/namespace-value.js.map +0 -1
  676. package/my_template/node_modules/less/lib/less/tree/negative.js +0 -25
  677. package/my_template/node_modules/less/lib/less/tree/negative.js.map +0 -1
  678. package/my_template/node_modules/less/lib/less/tree/node.js +0 -166
  679. package/my_template/node_modules/less/lib/less/tree/node.js.map +0 -1
  680. package/my_template/node_modules/less/lib/less/tree/operation.js +0 -77
  681. package/my_template/node_modules/less/lib/less/tree/operation.js.map +0 -1
  682. package/my_template/node_modules/less/lib/less/tree/paren.js +0 -21
  683. package/my_template/node_modules/less/lib/less/tree/paren.js.map +0 -1
  684. package/my_template/node_modules/less/lib/less/tree/property.js +0 -62
  685. package/my_template/node_modules/less/lib/less/tree/property.js.map +0 -1
  686. package/my_template/node_modules/less/lib/less/tree/quoted.js +0 -66
  687. package/my_template/node_modules/less/lib/less/tree/quoted.js.map +0 -1
  688. package/my_template/node_modules/less/lib/less/tree/ruleset.js +0 -786
  689. package/my_template/node_modules/less/lib/less/tree/ruleset.js.map +0 -1
  690. package/my_template/node_modules/less/lib/less/tree/selector.js +0 -126
  691. package/my_template/node_modules/less/lib/less/tree/selector.js.map +0 -1
  692. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js +0 -13
  693. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js.map +0 -1
  694. package/my_template/node_modules/less/lib/less/tree/unit.js +0 -141
  695. package/my_template/node_modules/less/lib/less/tree/unit.js.map +0 -1
  696. package/my_template/node_modules/less/lib/less/tree/url.js +0 -60
  697. package/my_template/node_modules/less/lib/less/tree/url.js.map +0 -1
  698. package/my_template/node_modules/less/lib/less/tree/value.js +0 -43
  699. package/my_template/node_modules/less/lib/less/tree/value.js.map +0 -1
  700. package/my_template/node_modules/less/lib/less/tree/variable-call.js +0 -44
  701. package/my_template/node_modules/less/lib/less/tree/variable-call.js.map +0 -1
  702. package/my_template/node_modules/less/lib/less/tree/variable.js +0 -61
  703. package/my_template/node_modules/less/lib/less/tree/variable.js.map +0 -1
  704. package/my_template/node_modules/less/lib/less/utils.js +0 -143
  705. package/my_template/node_modules/less/lib/less/utils.js.map +0 -1
  706. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js +0 -462
  707. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js.map +0 -1
  708. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js +0 -61
  709. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js.map +0 -1
  710. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js +0 -202
  711. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js.map +0 -1
  712. package/my_template/node_modules/less/lib/less/visitors/index.js +0 -20
  713. package/my_template/node_modules/less/lib/less/visitors/index.js.map +0 -1
  714. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js +0 -57
  715. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js.map +0 -1
  716. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js +0 -43
  717. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js.map +0 -1
  718. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js +0 -321
  719. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js.map +0 -1
  720. package/my_template/node_modules/less/lib/less/visitors/visitor.js +0 -158
  721. package/my_template/node_modules/less/lib/less/visitors/visitor.js.map +0 -1
  722. package/my_template/node_modules/less/lib/less-browser/add-default-options.js +0 -45
  723. package/my_template/node_modules/less/lib/less-browser/add-default-options.js.map +0 -1
  724. package/my_template/node_modules/less/lib/less-browser/bootstrap.js +0 -64
  725. package/my_template/node_modules/less/lib/less-browser/bootstrap.js.map +0 -1
  726. package/my_template/node_modules/less/lib/less-browser/browser.js +0 -80
  727. package/my_template/node_modules/less/lib/less-browser/browser.js.map +0 -1
  728. package/my_template/node_modules/less/lib/less-browser/cache.js +0 -45
  729. package/my_template/node_modules/less/lib/less-browser/cache.js.map +0 -1
  730. package/my_template/node_modules/less/lib/less-browser/error-reporting.js +0 -183
  731. package/my_template/node_modules/less/lib/less-browser/error-reporting.js.map +0 -1
  732. package/my_template/node_modules/less/lib/less-browser/file-manager.js +0 -122
  733. package/my_template/node_modules/less/lib/less-browser/file-manager.js.map +0 -1
  734. package/my_template/node_modules/less/lib/less-browser/image-size.js +0 -30
  735. package/my_template/node_modules/less/lib/less-browser/image-size.js.map +0 -1
  736. package/my_template/node_modules/less/lib/less-browser/index.js +0 -256
  737. package/my_template/node_modules/less/lib/less-browser/index.js.map +0 -1
  738. package/my_template/node_modules/less/lib/less-browser/log-listener.js +0 -43
  739. package/my_template/node_modules/less/lib/less-browser/log-listener.js.map +0 -1
  740. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js +0 -42
  741. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js.map +0 -1
  742. package/my_template/node_modules/less/lib/less-browser/utils.js +0 -29
  743. package/my_template/node_modules/less/lib/less-browser/utils.js.map +0 -1
  744. package/my_template/node_modules/less/lib/less-node/environment.js +0 -19
  745. package/my_template/node_modules/less/lib/less-node/environment.js.map +0 -1
  746. package/my_template/node_modules/less/lib/less-node/file-manager.js +0 -158
  747. package/my_template/node_modules/less/lib/less-node/file-manager.js.map +0 -1
  748. package/my_template/node_modules/less/lib/less-node/fs.js +0 -11
  749. package/my_template/node_modules/less/lib/less-node/fs.js.map +0 -1
  750. package/my_template/node_modules/less/lib/less-node/image-size.js +0 -54
  751. package/my_template/node_modules/less/lib/less-node/image-size.js.map +0 -1
  752. package/my_template/node_modules/less/lib/less-node/index.js +0 -28
  753. package/my_template/node_modules/less/lib/less-node/index.js.map +0 -1
  754. package/my_template/node_modules/less/lib/less-node/lessc-helper.js +0 -92
  755. package/my_template/node_modules/less/lib/less-node/lessc-helper.js.map +0 -1
  756. package/my_template/node_modules/less/lib/less-node/plugin-loader.js +0 -73
  757. package/my_template/node_modules/less/lib/less-node/plugin-loader.js.map +0 -1
  758. package/my_template/node_modules/less/lib/less-node/url-file-manager.js +0 -68
  759. package/my_template/node_modules/less/lib/less-node/url-file-manager.js.map +0 -1
  760. package/my_template/node_modules/less/package.json +0 -133
  761. package/my_template/node_modules/less/test/.eslintrc.json +0 -9
  762. package/my_template/node_modules/less/test/README.md +0 -3
  763. package/my_template/node_modules/less/test/browser/common.js +0 -230
  764. package/my_template/node_modules/less/test/browser/css/global-vars/simple.css +0 -3
  765. package/my_template/node_modules/less/test/browser/css/modify-vars/simple.css +0 -8
  766. package/my_template/node_modules/less/test/browser/css/plugin/plugin.css +0 -3
  767. package/my_template/node_modules/less/test/browser/css/postProcessor/postProcessor.css +0 -4
  768. package/my_template/node_modules/less/test/browser/css/relative-urls/urls.css +0 -36
  769. package/my_template/node_modules/less/test/browser/css/rewrite-urls/urls.css +0 -36
  770. package/my_template/node_modules/less/test/browser/css/rootpath/urls.css +0 -35
  771. package/my_template/node_modules/less/test/browser/css/rootpath-relative/urls.css +0 -35
  772. package/my_template/node_modules/less/test/browser/css/rootpath-rewrite-urls/urls.css +0 -35
  773. package/my_template/node_modules/less/test/browser/css/urls.css +0 -54
  774. package/my_template/node_modules/less/test/browser/generator/benchmark.config.js +0 -50
  775. package/my_template/node_modules/less/test/browser/generator/generate.js +0 -78
  776. package/my_template/node_modules/less/test/browser/generator/runner.config.js +0 -186
  777. package/my_template/node_modules/less/test/browser/generator/runner.js +0 -2
  778. package/my_template/node_modules/less/test/browser/generator/template.js +0 -83
  779. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.less +0 -3
  780. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.txt +0 -2
  781. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.less +0 -3
  782. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.txt +0 -4
  783. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.less +0 -3
  784. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.txt +0 -4
  785. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.less +0 -3
  786. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.txt +0 -4
  787. package/my_template/node_modules/less/test/browser/less/global-vars/simple.less +0 -3
  788. package/my_template/node_modules/less/test/browser/less/imports/urls.less +0 -4
  789. package/my_template/node_modules/less/test/browser/less/imports/urls2.less +0 -4
  790. package/my_template/node_modules/less/test/browser/less/modify-vars/imports/simple2.less +0 -4
  791. package/my_template/node_modules/less/test/browser/less/modify-vars/simple.less +0 -8
  792. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/mixin-consumer.less +0 -5
  793. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +0 -15
  794. package/my_template/node_modules/less/test/browser/less/plugin/plugin.js +0 -4
  795. package/my_template/node_modules/less/test/browser/less/plugin/plugin.less +0 -4
  796. package/my_template/node_modules/less/test/browser/less/postProcessor/postProcessor.less +0 -4
  797. package/my_template/node_modules/less/test/browser/less/relative-urls/urls.less +0 -34
  798. package/my_template/node_modules/less/test/browser/less/rewrite-urls/urls.less +0 -34
  799. package/my_template/node_modules/less/test/browser/less/rootpath/urls.less +0 -33
  800. package/my_template/node_modules/less/test/browser/less/rootpath-relative/urls.less +0 -33
  801. package/my_template/node_modules/less/test/browser/less/rootpath-rewrite-urls/urls.less +0 -33
  802. package/my_template/node_modules/less/test/browser/less/urls.less +0 -62
  803. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin-options.js +0 -3
  804. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin.js +0 -3
  805. package/my_template/node_modules/less/test/browser/runner-browser-options.js +0 -51
  806. package/my_template/node_modules/less/test/browser/runner-browser-spec.js +0 -12
  807. package/my_template/node_modules/less/test/browser/runner-console-errors.js +0 -5
  808. package/my_template/node_modules/less/test/browser/runner-errors-options.js +0 -6
  809. package/my_template/node_modules/less/test/browser/runner-errors-spec.js +0 -3
  810. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin-options.js +0 -5
  811. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin.js +0 -3
  812. package/my_template/node_modules/less/test/browser/runner-global-vars-options.js +0 -7
  813. package/my_template/node_modules/less/test/browser/runner-global-vars-spec.js +0 -3
  814. package/my_template/node_modules/less/test/browser/runner-legacy-options.js +0 -6
  815. package/my_template/node_modules/less/test/browser/runner-legacy-spec.js +0 -3
  816. package/my_template/node_modules/less/test/browser/runner-main-options.js +0 -17
  817. package/my_template/node_modules/less/test/browser/runner-main-spec.js +0 -7
  818. package/my_template/node_modules/less/test/browser/runner-modify-vars-options.js +0 -5
  819. package/my_template/node_modules/less/test/browser/runner-modify-vars-spec.js +0 -33
  820. package/my_template/node_modules/less/test/browser/runner-no-js-errors-options.js +0 -4
  821. package/my_template/node_modules/less/test/browser/runner-no-js-errors-spec.js +0 -3
  822. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin-options.js +0 -3
  823. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin.js +0 -3
  824. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin-options.js +0 -3
  825. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin.js +0 -3
  826. package/my_template/node_modules/less/test/browser/runner-production-options.js +0 -3
  827. package/my_template/node_modules/less/test/browser/runner-production-spec.js +0 -5
  828. package/my_template/node_modules/less/test/browser/runner-relative-urls-options.js +0 -3
  829. package/my_template/node_modules/less/test/browser/runner-relative-urls-spec.js +0 -3
  830. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-options.js +0 -3
  831. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-spec.js +0 -3
  832. package/my_template/node_modules/less/test/browser/runner-rootpath-options.js +0 -3
  833. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-options.js +0 -4
  834. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-spec.js +0 -3
  835. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-options.js +0 -4
  836. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-spec.js +0 -3
  837. package/my_template/node_modules/less/test/browser/runner-rootpath-spec.js +0 -3
  838. package/my_template/node_modules/less/test/browser/runner-strict-units-options.js +0 -5
  839. package/my_template/node_modules/less/test/browser/runner-strict-units-spec.js +0 -3
  840. package/my_template/node_modules/less/test/index.js +0 -89
  841. package/my_template/node_modules/less/test/less-test.js +0 -535
  842. package/my_template/node_modules/less/test/modify-vars.js +0 -28
  843. package/my_template/node_modules/less/test/plugins/filemanager/index.js +0 -19
  844. package/my_template/node_modules/less/test/plugins/postprocess/index.js +0 -14
  845. package/my_template/node_modules/less/test/plugins/preprocess/index.js +0 -19
  846. package/my_template/node_modules/less/test/plugins/visitor/index.js +0 -24
  847. package/my_template/node_modules/less/test/sourcemaps/basic.json +0 -1
  848. package/my_template/node_modules/less/test/sourcemaps/custom-props.json +0 -1
  849. package/my_template/node_modules/less/test/sourcemaps/index.html +0 -17
  850. package/my_template/node_modules/less/test/sourcemaps-disable-annotation/basic.json +0 -1
  851. package/my_template/node_modules/less/test/test-es6.ts +0 -17
  852. package/my_template/node_modules/less/tsconfig.json +0 -13
  853. package/my_template/node_modules/less-plugin-clean-css/LICENSE +0 -201
  854. package/my_template/node_modules/less-plugin-clean-css/README.md +0 -33
  855. package/my_template/node_modules/less-plugin-clean-css/lib/clean-css-processor.js +0 -63
  856. package/my_template/node_modules/less-plugin-clean-css/lib/index.js +0 -23
  857. package/my_template/node_modules/less-plugin-clean-css/lib/parse-options.js +0 -61
  858. package/my_template/node_modules/less-plugin-clean-css/lib/usage.js +0 -19
  859. package/my_template/node_modules/less-plugin-clean-css/package.json +0 -39
  860. package/my_template/node_modules/make-dir/index.d.ts +0 -39
  861. package/my_template/node_modules/make-dir/index.js +0 -139
  862. package/my_template/node_modules/make-dir/license +0 -9
  863. package/my_template/node_modules/make-dir/package.json +0 -59
  864. package/my_template/node_modules/make-dir/readme.md +0 -123
  865. package/my_template/node_modules/merge-stream/LICENSE +0 -21
  866. package/my_template/node_modules/merge-stream/README.md +0 -78
  867. package/my_template/node_modules/merge-stream/index.js +0 -41
  868. package/my_template/node_modules/merge-stream/package.json +0 -19
  869. package/my_template/node_modules/mime/CHANGELOG.md +0 -164
  870. package/my_template/node_modules/mime/LICENSE +0 -21
  871. package/my_template/node_modules/mime/README.md +0 -90
  872. package/my_template/node_modules/mime/cli.js +0 -8
  873. package/my_template/node_modules/mime/mime.js +0 -108
  874. package/my_template/node_modules/mime/package.json +0 -44
  875. package/my_template/node_modules/mime/src/build.js +0 -53
  876. package/my_template/node_modules/mime/src/test.js +0 -60
  877. package/my_template/node_modules/mime/types.json +0 -1
  878. package/my_template/node_modules/native-request/README.md +0 -184
  879. package/my_template/node_modules/native-request/commons/jsonToParameter.js +0 -14
  880. package/my_template/node_modules/native-request/index.js +0 -65
  881. package/my_template/node_modules/native-request/lib/Request.js +0 -144
  882. package/my_template/node_modules/native-request/package.json +0 -45
  883. package/my_template/node_modules/native-request/test/express.get.cookies.js +0 -58
  884. package/my_template/node_modules/native-request/test/express.get.js +0 -146
  885. package/my_template/node_modules/native-request/test/express.post.cookies.js +0 -59
  886. package/my_template/node_modules/native-request/test/express.post.js +0 -148
  887. package/my_template/node_modules/native-request/test/get.cookies.js +0 -72
  888. package/my_template/node_modules/native-request/test/get.js +0 -140
  889. package/my_template/node_modules/native-request/test/post.cookies.js +0 -72
  890. package/my_template/node_modules/native-request/test/post.js +0 -155
  891. package/my_template/node_modules/path-parse/LICENSE +0 -21
  892. package/my_template/node_modules/path-parse/README.md +0 -42
  893. package/my_template/node_modules/path-parse/index.js +0 -75
  894. package/my_template/node_modules/path-parse/package.json +0 -33
  895. package/my_template/node_modules/pify/index.js +0 -68
  896. package/my_template/node_modules/pify/license +0 -9
  897. package/my_template/node_modules/pify/package.json +0 -51
  898. package/my_template/node_modules/pify/readme.md +0 -145
  899. package/my_template/node_modules/prr/.jshintrc +0 -61
  900. package/my_template/node_modules/prr/.travis.yml +0 -10
  901. package/my_template/node_modules/prr/LICENSE.md +0 -11
  902. package/my_template/node_modules/prr/README.md +0 -47
  903. package/my_template/node_modules/prr/package.json +0 -26
  904. package/my_template/node_modules/prr/prr.js +0 -63
  905. package/my_template/node_modules/prr/test.js +0 -169
  906. package/my_template/node_modules/resolve/.editorconfig +0 -37
  907. package/my_template/node_modules/resolve/.eslintrc +0 -65
  908. package/my_template/node_modules/resolve/.github/FUNDING.yml +0 -12
  909. package/my_template/node_modules/resolve/LICENSE +0 -21
  910. package/my_template/node_modules/resolve/SECURITY.md +0 -3
  911. package/my_template/node_modules/resolve/async.js +0 -3
  912. package/my_template/node_modules/resolve/bin/resolve +0 -50
  913. package/my_template/node_modules/resolve/example/async.js +0 -5
  914. package/my_template/node_modules/resolve/example/sync.js +0 -3
  915. package/my_template/node_modules/resolve/index.js +0 -6
  916. package/my_template/node_modules/resolve/lib/async.js +0 -329
  917. package/my_template/node_modules/resolve/lib/caller.js +0 -8
  918. package/my_template/node_modules/resolve/lib/core.js +0 -12
  919. package/my_template/node_modules/resolve/lib/core.json +0 -158
  920. package/my_template/node_modules/resolve/lib/homedir.js +0 -24
  921. package/my_template/node_modules/resolve/lib/is-core.js +0 -5
  922. package/my_template/node_modules/resolve/lib/node-modules-paths.js +0 -42
  923. package/my_template/node_modules/resolve/lib/normalize-options.js +0 -10
  924. package/my_template/node_modules/resolve/lib/sync.js +0 -208
  925. package/my_template/node_modules/resolve/package.json +0 -72
  926. package/my_template/node_modules/resolve/readme.markdown +0 -301
  927. package/my_template/node_modules/resolve/sync.js +0 -3
  928. package/my_template/node_modules/resolve/test/core.js +0 -88
  929. package/my_template/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  930. package/my_template/node_modules/resolve/test/dotdot/index.js +0 -1
  931. package/my_template/node_modules/resolve/test/dotdot.js +0 -29
  932. package/my_template/node_modules/resolve/test/faulty_basedir.js +0 -29
  933. package/my_template/node_modules/resolve/test/filter.js +0 -34
  934. package/my_template/node_modules/resolve/test/filter_sync.js +0 -33
  935. package/my_template/node_modules/resolve/test/home_paths.js +0 -127
  936. package/my_template/node_modules/resolve/test/home_paths_sync.js +0 -114
  937. package/my_template/node_modules/resolve/test/mock.js +0 -315
  938. package/my_template/node_modules/resolve/test/mock_sync.js +0 -214
  939. package/my_template/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  940. package/my_template/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  941. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  942. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  943. package/my_template/node_modules/resolve/test/module_dir.js +0 -56
  944. package/my_template/node_modules/resolve/test/node-modules-paths.js +0 -143
  945. package/my_template/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  946. package/my_template/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  947. package/my_template/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  948. package/my_template/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  949. package/my_template/node_modules/resolve/test/node_path.js +0 -70
  950. package/my_template/node_modules/resolve/test/nonstring.js +0 -9
  951. package/my_template/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  952. package/my_template/node_modules/resolve/test/pathfilter.js +0 -75
  953. package/my_template/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  954. package/my_template/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  955. package/my_template/node_modules/resolve/test/precedence/aaa.js +0 -1
  956. package/my_template/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  957. package/my_template/node_modules/resolve/test/precedence/bbb.js +0 -1
  958. package/my_template/node_modules/resolve/test/precedence.js +0 -23
  959. package/my_template/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  960. package/my_template/node_modules/resolve/test/resolver/baz/package.json +0 -4
  961. package/my_template/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  962. package/my_template/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  963. package/my_template/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  964. package/my_template/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  965. package/my_template/node_modules/resolve/test/resolver/cup.coffee +0 -1
  966. package/my_template/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  967. package/my_template/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  968. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  969. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  970. package/my_template/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  971. package/my_template/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  972. package/my_template/node_modules/resolve/test/resolver/foo.js +0 -1
  973. package/my_template/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  974. package/my_template/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  975. package/my_template/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  976. package/my_template/node_modules/resolve/test/resolver/mug.coffee +0 -0
  977. package/my_template/node_modules/resolve/test/resolver/mug.js +0 -0
  978. package/my_template/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  979. package/my_template/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  980. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  981. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  982. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  983. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  984. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  985. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  986. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  987. package/my_template/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  988. package/my_template/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  989. package/my_template/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  990. package/my_template/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  991. package/my_template/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  992. package/my_template/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  993. package/my_template/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  994. package/my_template/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  995. package/my_template/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  996. package/my_template/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  997. package/my_template/node_modules/resolve/test/resolver.js +0 -597
  998. package/my_template/node_modules/resolve/test/resolver_sync.js +0 -730
  999. package/my_template/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1000. package/my_template/node_modules/resolve/test/shadowed_core.js +0 -54
  1001. package/my_template/node_modules/resolve/test/subdirs.js +0 -13
  1002. package/my_template/node_modules/resolve/test/symlinks.js +0 -176
  1003. package/my_template/node_modules/rollup/CHANGELOG.md +0 -3084
  1004. package/my_template/node_modules/rollup/LICENSE.md +0 -578
  1005. package/my_template/node_modules/rollup/README.md +0 -138
  1006. package/my_template/node_modules/rollup/dist/bin/rollup +0 -1457
  1007. package/my_template/node_modules/rollup/dist/rollup.browser.es.js +0 -25
  1008. package/my_template/node_modules/rollup/dist/rollup.browser.js +0 -26
  1009. package/my_template/node_modules/rollup/dist/rollup.d.ts +0 -656
  1010. package/my_template/node_modules/rollup/dist/rollup.es.js +0 -17493
  1011. package/my_template/node_modules/rollup/dist/rollup.js +0 -29
  1012. package/my_template/node_modules/rollup/dist/shared/index.js +0 -321
  1013. package/my_template/node_modules/rollup/dist/shared/node-entry.js +0 -17504
  1014. package/my_template/node_modules/rollup/package.json +0 -139
  1015. package/my_template/node_modules/rollup-plugin-node-resolve/CHANGELOG.md +0 -195
  1016. package/my_template/node_modules/rollup-plugin-node-resolve/README.md +0 -135
  1017. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js +0 -425
  1018. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es.js +0 -421
  1019. package/my_template/node_modules/rollup-plugin-node-resolve/index.d.ts +0 -100
  1020. package/my_template/node_modules/rollup-plugin-node-resolve/package.json +0 -60
  1021. package/my_template/node_modules/rollup-plugin-node-resolve/src/index.js +0 -358
  1022. package/my_template/node_modules/rollup-plugin-uglify/LICENSE +0 -20
  1023. package/my_template/node_modules/rollup-plugin-uglify/README.md +0 -84
  1024. package/my_template/node_modules/rollup-plugin-uglify/index.js +0 -51
  1025. package/my_template/node_modules/rollup-plugin-uglify/package.json +0 -43
  1026. package/my_template/node_modules/rollup-plugin-uglify/transform.js +0 -13
  1027. package/my_template/node_modules/rollup-pluginutils/CHANGELOG.md +0 -125
  1028. package/my_template/node_modules/rollup-pluginutils/README.md +0 -169
  1029. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +0 -3292
  1030. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.d.ts +0 -39
  1031. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.es.js +0 -3280
  1032. package/my_template/node_modules/rollup-pluginutils/package.json +0 -57
  1033. package/my_template/node_modules/rollup-pluginutils/src/addExtension.ts +0 -9
  1034. package/my_template/node_modules/rollup-pluginutils/src/attachScopes.ts +0 -125
  1035. package/my_template/node_modules/rollup-pluginutils/src/createFilter.ts +0 -52
  1036. package/my_template/node_modules/rollup-pluginutils/src/dataToEsm.ts +0 -92
  1037. package/my_template/node_modules/rollup-pluginutils/src/extractAssignedNames.ts +0 -46
  1038. package/my_template/node_modules/rollup-pluginutils/src/index.ts +0 -6
  1039. package/my_template/node_modules/rollup-pluginutils/src/makeLegalIdentifier.ts +0 -21
  1040. package/my_template/node_modules/rollup-pluginutils/src/pluginutils.d.ts +0 -39
  1041. package/my_template/node_modules/rollup-pluginutils/src/utils/ensureArray.ts +0 -5
  1042. package/my_template/node_modules/semver/LICENSE +0 -15
  1043. package/my_template/node_modules/semver/README.md +0 -412
  1044. package/my_template/node_modules/semver/bin/semver +0 -160
  1045. package/my_template/node_modules/semver/package.json +0 -38
  1046. package/my_template/node_modules/semver/range.bnf +0 -16
  1047. package/my_template/node_modules/semver/semver.js +0 -1525
  1048. package/my_template/node_modules/serialize-javascript/LICENSE +0 -27
  1049. package/my_template/node_modules/serialize-javascript/README.md +0 -143
  1050. package/my_template/node_modules/serialize-javascript/index.js +0 -210
  1051. package/my_template/node_modules/serialize-javascript/package.json +0 -33
  1052. package/my_template/node_modules/source-map/CHANGELOG.md +0 -301
  1053. package/my_template/node_modules/source-map/LICENSE +0 -28
  1054. package/my_template/node_modules/source-map/README.md +0 -742
  1055. package/my_template/node_modules/source-map/dist/source-map.debug.js +0 -3234
  1056. package/my_template/node_modules/source-map/dist/source-map.js +0 -3233
  1057. package/my_template/node_modules/source-map/dist/source-map.min.js +0 -2
  1058. package/my_template/node_modules/source-map/dist/source-map.min.js.map +0 -1
  1059. package/my_template/node_modules/source-map/lib/array-set.js +0 -121
  1060. package/my_template/node_modules/source-map/lib/base64-vlq.js +0 -140
  1061. package/my_template/node_modules/source-map/lib/base64.js +0 -67
  1062. package/my_template/node_modules/source-map/lib/binary-search.js +0 -111
  1063. package/my_template/node_modules/source-map/lib/mapping-list.js +0 -79
  1064. package/my_template/node_modules/source-map/lib/quick-sort.js +0 -114
  1065. package/my_template/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1066. package/my_template/node_modules/source-map/lib/source-map-generator.js +0 -425
  1067. package/my_template/node_modules/source-map/lib/source-node.js +0 -413
  1068. package/my_template/node_modules/source-map/lib/util.js +0 -488
  1069. package/my_template/node_modules/source-map/package.json +0 -73
  1070. package/my_template/node_modules/source-map/source-map.d.ts +0 -98
  1071. package/my_template/node_modules/source-map/source-map.js +0 -8
  1072. package/my_template/node_modules/supports-color/browser.js +0 -5
  1073. package/my_template/node_modules/supports-color/index.js +0 -131
  1074. package/my_template/node_modules/supports-color/license +0 -9
  1075. package/my_template/node_modules/supports-color/package.json +0 -53
  1076. package/my_template/node_modules/supports-color/readme.md +0 -66
  1077. package/my_template/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  1078. package/my_template/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  1079. package/my_template/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  1080. package/my_template/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  1081. package/my_template/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  1082. package/my_template/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  1083. package/my_template/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  1084. package/my_template/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  1085. package/my_template/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  1086. package/my_template/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  1087. package/my_template/node_modules/tslib/CopyrightNotice.txt +0 -15
  1088. package/my_template/node_modules/tslib/LICENSE.txt +0 -12
  1089. package/my_template/node_modules/tslib/README.md +0 -142
  1090. package/my_template/node_modules/tslib/modules/index.js +0 -51
  1091. package/my_template/node_modules/tslib/modules/package.json +0 -3
  1092. package/my_template/node_modules/tslib/package.json +0 -37
  1093. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  1094. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  1095. package/my_template/node_modules/tslib/tslib.d.ts +0 -37
  1096. package/my_template/node_modules/tslib/tslib.es6.html +0 -1
  1097. package/my_template/node_modules/tslib/tslib.es6.js +0 -218
  1098. package/my_template/node_modules/tslib/tslib.html +0 -1
  1099. package/my_template/node_modules/tslib/tslib.js +0 -284
  1100. package/my_template/node_modules/uglify-js/LICENSE +0 -29
  1101. package/my_template/node_modules/uglify-js/README.md +0 -1478
  1102. package/my_template/node_modules/uglify-js/bin/uglifyjs +0 -605
  1103. package/my_template/node_modules/uglify-js/lib/ast.js +0 -2356
  1104. package/my_template/node_modules/uglify-js/lib/compress.js +0 -14241
  1105. package/my_template/node_modules/uglify-js/lib/minify.js +0 -276
  1106. package/my_template/node_modules/uglify-js/lib/mozilla-ast.js +0 -1310
  1107. package/my_template/node_modules/uglify-js/lib/output.js +0 -1956
  1108. package/my_template/node_modules/uglify-js/lib/parse.js +0 -2585
  1109. package/my_template/node_modules/uglify-js/lib/propmangle.js +0 -328
  1110. package/my_template/node_modules/uglify-js/lib/scope.js +0 -866
  1111. package/my_template/node_modules/uglify-js/lib/sourcemap.js +0 -195
  1112. package/my_template/node_modules/uglify-js/lib/transform.js +0 -250
  1113. package/my_template/node_modules/uglify-js/lib/utils.js +0 -287
  1114. package/my_template/node_modules/uglify-js/package.json +0 -56
  1115. package/my_template/node_modules/uglify-js/tools/domprops.html +0 -456
  1116. package/my_template/node_modules/uglify-js/tools/domprops.json +0 -8325
  1117. package/my_template/node_modules/uglify-js/tools/exports.js +0 -8
  1118. package/my_template/node_modules/uglify-js/tools/node.js +0 -110
  1119. package/my_template/node_modules/uglify-js/tools/tty.js +0 -22
  1120. package/my_template/node_modules/undici-types/README.md +0 -6
  1121. package/my_template/node_modules/undici-types/agent.d.ts +0 -31
  1122. package/my_template/node_modules/undici-types/api.d.ts +0 -43
  1123. package/my_template/node_modules/undici-types/balanced-pool.d.ts +0 -18
  1124. package/my_template/node_modules/undici-types/cache.d.ts +0 -36
  1125. package/my_template/node_modules/undici-types/client.d.ts +0 -97
  1126. package/my_template/node_modules/undici-types/connector.d.ts +0 -34
  1127. package/my_template/node_modules/undici-types/content-type.d.ts +0 -21
  1128. package/my_template/node_modules/undici-types/cookies.d.ts +0 -28
  1129. package/my_template/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
  1130. package/my_template/node_modules/undici-types/dispatcher.d.ts +0 -241
  1131. package/my_template/node_modules/undici-types/errors.d.ts +0 -128
  1132. package/my_template/node_modules/undici-types/fetch.d.ts +0 -209
  1133. package/my_template/node_modules/undici-types/file.d.ts +0 -39
  1134. package/my_template/node_modules/undici-types/filereader.d.ts +0 -54
  1135. package/my_template/node_modules/undici-types/formdata.d.ts +0 -108
  1136. package/my_template/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1137. package/my_template/node_modules/undici-types/global-origin.d.ts +0 -7
  1138. package/my_template/node_modules/undici-types/handlers.d.ts +0 -9
  1139. package/my_template/node_modules/undici-types/header.d.ts +0 -4
  1140. package/my_template/node_modules/undici-types/index.d.ts +0 -63
  1141. package/my_template/node_modules/undici-types/interceptors.d.ts +0 -5
  1142. package/my_template/node_modules/undici-types/mock-agent.d.ts +0 -50
  1143. package/my_template/node_modules/undici-types/mock-client.d.ts +0 -25
  1144. package/my_template/node_modules/undici-types/mock-errors.d.ts +0 -12
  1145. package/my_template/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  1146. package/my_template/node_modules/undici-types/mock-pool.d.ts +0 -25
  1147. package/my_template/node_modules/undici-types/package.json +0 -55
  1148. package/my_template/node_modules/undici-types/patch.d.ts +0 -71
  1149. package/my_template/node_modules/undici-types/pool-stats.d.ts +0 -19
  1150. package/my_template/node_modules/undici-types/pool.d.ts +0 -28
  1151. package/my_template/node_modules/undici-types/proxy-agent.d.ts +0 -30
  1152. package/my_template/node_modules/undici-types/readable.d.ts +0 -61
  1153. package/my_template/node_modules/undici-types/webidl.d.ts +0 -220
  1154. package/my_template/node_modules/undici-types/websocket.d.ts +0 -131
  1155. package/server/columns.js +0 -201
  1156. package/server/json.js +0 -67
  1157. package/site/images/logo_white.png +0 -0
@@ -1,691 +0,0 @@
1
- /**
2
- * The `node:worker_threads` module enables the use of threads that execute
3
- * JavaScript in parallel. To access it:
4
- *
5
- * ```js
6
- * const worker = require('node:worker_threads');
7
- * ```
8
- *
9
- * Workers (threads) are useful for performing CPU-intensive JavaScript operations.
10
- * They do not help much with I/O-intensive work. The Node.js built-in
11
- * asynchronous I/O operations are more efficient than Workers can be.
12
- *
13
- * Unlike `child_process` or `cluster`, `worker_threads` can share memory. They do
14
- * so by transferring `ArrayBuffer` instances or sharing `SharedArrayBuffer`instances.
15
- *
16
- * ```js
17
- * const {
18
- * Worker, isMainThread, parentPort, workerData,
19
- * } = require('node:worker_threads');
20
- *
21
- * if (isMainThread) {
22
- * module.exports = function parseJSAsync(script) {
23
- * return new Promise((resolve, reject) => {
24
- * const worker = new Worker(__filename, {
25
- * workerData: script,
26
- * });
27
- * worker.on('message', resolve);
28
- * worker.on('error', reject);
29
- * worker.on('exit', (code) => {
30
- * if (code !== 0)
31
- * reject(new Error(`Worker stopped with exit code ${code}`));
32
- * });
33
- * });
34
- * };
35
- * } else {
36
- * const { parse } = require('some-js-parsing-library');
37
- * const script = workerData;
38
- * parentPort.postMessage(parse(script));
39
- * }
40
- * ```
41
- *
42
- * The above example spawns a Worker thread for each `parseJSAsync()` call. In
43
- * practice, use a pool of Workers for these kinds of tasks. Otherwise, the
44
- * overhead of creating Workers would likely exceed their benefit.
45
- *
46
- * When implementing a worker pool, use the `AsyncResource` API to inform
47
- * diagnostic tools (e.g. to provide asynchronous stack traces) about the
48
- * correlation between tasks and their outcomes. See `"Using AsyncResource for a Worker thread pool"` in the `async_hooks` documentation for an example implementation.
49
- *
50
- * Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
51
- * specifically `argv` and `execArgv` options.
52
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/worker_threads.js)
53
- */
54
- declare module "worker_threads" {
55
- import { Blob } from "node:buffer";
56
- import { Context } from "node:vm";
57
- import { EventEmitter } from "node:events";
58
- import { EventLoopUtilityFunction } from "node:perf_hooks";
59
- import { FileHandle } from "node:fs/promises";
60
- import { Readable, Writable } from "node:stream";
61
- import { URL } from "node:url";
62
- import { X509Certificate } from "node:crypto";
63
- const isMainThread: boolean;
64
- const parentPort: null | MessagePort;
65
- const resourceLimits: ResourceLimits;
66
- const SHARE_ENV: unique symbol;
67
- const threadId: number;
68
- const workerData: any;
69
- /**
70
- * Instances of the `worker.MessageChannel` class represent an asynchronous,
71
- * two-way communications channel.
72
- * The `MessageChannel` has no methods of its own. `new MessageChannel()`yields an object with `port1` and `port2` properties, which refer to linked `MessagePort` instances.
73
- *
74
- * ```js
75
- * const { MessageChannel } = require('node:worker_threads');
76
- *
77
- * const { port1, port2 } = new MessageChannel();
78
- * port1.on('message', (message) => console.log('received', message));
79
- * port2.postMessage({ foo: 'bar' });
80
- * // Prints: received { foo: 'bar' } from the `port1.on('message')` listener
81
- * ```
82
- * @since v10.5.0
83
- */
84
- class MessageChannel {
85
- readonly port1: MessagePort;
86
- readonly port2: MessagePort;
87
- }
88
- interface WorkerPerformance {
89
- eventLoopUtilization: EventLoopUtilityFunction;
90
- }
91
- type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate | Blob;
92
- /**
93
- * Instances of the `worker.MessagePort` class represent one end of an
94
- * asynchronous, two-way communications channel. It can be used to transfer
95
- * structured data, memory regions and other `MessagePort`s between different `Worker` s.
96
- *
97
- * This implementation matches [browser `MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) s.
98
- * @since v10.5.0
99
- */
100
- class MessagePort extends EventEmitter {
101
- /**
102
- * Disables further sending of messages on either side of the connection.
103
- * This method can be called when no further communication will happen over this`MessagePort`.
104
- *
105
- * The `'close' event` is emitted on both `MessagePort` instances that
106
- * are part of the channel.
107
- * @since v10.5.0
108
- */
109
- close(): void;
110
- /**
111
- * Sends a JavaScript value to the receiving side of this channel.`value` is transferred in a way which is compatible with
112
- * the [HTML structured clone algorithm](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm).
113
- *
114
- * In particular, the significant differences to `JSON` are:
115
- *
116
- * * `value` may contain circular references.
117
- * * `value` may contain instances of builtin JS types such as `RegExp`s,`BigInt`s, `Map`s, `Set`s, etc.
118
- * * `value` may contain typed arrays, both using `ArrayBuffer`s
119
- * and `SharedArrayBuffer`s.
120
- * * `value` may contain [`WebAssembly.Module`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module) instances.
121
- * * `value` may not contain native (C++-backed) objects other than:
122
- *
123
- * ```js
124
- * const { MessageChannel } = require('node:worker_threads');
125
- * const { port1, port2 } = new MessageChannel();
126
- *
127
- * port1.on('message', (message) => console.log(message));
128
- *
129
- * const circularData = {};
130
- * circularData.foo = circularData;
131
- * // Prints: { foo: [Circular] }
132
- * port2.postMessage(circularData);
133
- * ```
134
- *
135
- * `transferList` may be a list of [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer), `MessagePort`, and `FileHandle` objects.
136
- * After transferring, they are not usable on the sending side of the channel
137
- * anymore (even if they are not contained in `value`). Unlike with `child processes`, transferring handles such as network sockets is currently
138
- * not supported.
139
- *
140
- * If `value` contains [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances, those are accessible
141
- * from either thread. They cannot be listed in `transferList`.
142
- *
143
- * `value` may still contain `ArrayBuffer` instances that are not in`transferList`; in that case, the underlying memory is copied rather than moved.
144
- *
145
- * ```js
146
- * const { MessageChannel } = require('node:worker_threads');
147
- * const { port1, port2 } = new MessageChannel();
148
- *
149
- * port1.on('message', (message) => console.log(message));
150
- *
151
- * const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]);
152
- * // This posts a copy of `uint8Array`:
153
- * port2.postMessage(uint8Array);
154
- * // This does not copy data, but renders `uint8Array` unusable:
155
- * port2.postMessage(uint8Array, [ uint8Array.buffer ]);
156
- *
157
- * // The memory for the `sharedUint8Array` is accessible from both the
158
- * // original and the copy received by `.on('message')`:
159
- * const sharedUint8Array = new Uint8Array(new SharedArrayBuffer(4));
160
- * port2.postMessage(sharedUint8Array);
161
- *
162
- * // This transfers a freshly created message port to the receiver.
163
- * // This can be used, for example, to create communication channels between
164
- * // multiple `Worker` threads that are children of the same parent thread.
165
- * const otherChannel = new MessageChannel();
166
- * port2.postMessage({ port: otherChannel.port1 }, [ otherChannel.port1 ]);
167
- * ```
168
- *
169
- * The message object is cloned immediately, and can be modified after
170
- * posting without having side effects.
171
- *
172
- * For more information on the serialization and deserialization mechanisms
173
- * behind this API, see the `serialization API of the node:v8 module`.
174
- * @since v10.5.0
175
- */
176
- postMessage(value: any, transferList?: readonly TransferListItem[]): void;
177
- /**
178
- * Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed port does _not_ let the program exit if it's the only active handle left (the default
179
- * behavior). If the port is `ref()`ed, calling `ref()` again has no effect.
180
- *
181
- * If listeners are attached or removed using `.on('message')`, the port
182
- * is `ref()`ed and `unref()`ed automatically depending on whether
183
- * listeners for the event exist.
184
- * @since v10.5.0
185
- */
186
- ref(): void;
187
- /**
188
- * Calling `unref()` on a port allows the thread to exit if this is the only
189
- * active handle in the event system. If the port is already `unref()`ed calling`unref()` again has no effect.
190
- *
191
- * If listeners are attached or removed using `.on('message')`, the port is`ref()`ed and `unref()`ed automatically depending on whether
192
- * listeners for the event exist.
193
- * @since v10.5.0
194
- */
195
- unref(): void;
196
- /**
197
- * Starts receiving messages on this `MessagePort`. When using this port
198
- * as an event emitter, this is called automatically once `'message'`listeners are attached.
199
- *
200
- * This method exists for parity with the Web `MessagePort` API. In Node.js,
201
- * it is only useful for ignoring messages when no event listener is present.
202
- * Node.js also diverges in its handling of `.onmessage`. Setting it
203
- * automatically calls `.start()`, but unsetting it lets messages queue up
204
- * until a new handler is set or the port is discarded.
205
- * @since v10.5.0
206
- */
207
- start(): void;
208
- addListener(event: "close", listener: () => void): this;
209
- addListener(event: "message", listener: (value: any) => void): this;
210
- addListener(event: "messageerror", listener: (error: Error) => void): this;
211
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
212
- emit(event: "close"): boolean;
213
- emit(event: "message", value: any): boolean;
214
- emit(event: "messageerror", error: Error): boolean;
215
- emit(event: string | symbol, ...args: any[]): boolean;
216
- on(event: "close", listener: () => void): this;
217
- on(event: "message", listener: (value: any) => void): this;
218
- on(event: "messageerror", listener: (error: Error) => void): this;
219
- on(event: string | symbol, listener: (...args: any[]) => void): this;
220
- once(event: "close", listener: () => void): this;
221
- once(event: "message", listener: (value: any) => void): this;
222
- once(event: "messageerror", listener: (error: Error) => void): this;
223
- once(event: string | symbol, listener: (...args: any[]) => void): this;
224
- prependListener(event: "close", listener: () => void): this;
225
- prependListener(event: "message", listener: (value: any) => void): this;
226
- prependListener(event: "messageerror", listener: (error: Error) => void): this;
227
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
228
- prependOnceListener(event: "close", listener: () => void): this;
229
- prependOnceListener(event: "message", listener: (value: any) => void): this;
230
- prependOnceListener(event: "messageerror", listener: (error: Error) => void): this;
231
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
232
- removeListener(event: "close", listener: () => void): this;
233
- removeListener(event: "message", listener: (value: any) => void): this;
234
- removeListener(event: "messageerror", listener: (error: Error) => void): this;
235
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
236
- off(event: "close", listener: () => void): this;
237
- off(event: "message", listener: (value: any) => void): this;
238
- off(event: "messageerror", listener: (error: Error) => void): this;
239
- off(event: string | symbol, listener: (...args: any[]) => void): this;
240
- }
241
- interface WorkerOptions {
242
- /**
243
- * List of arguments which would be stringified and appended to
244
- * `process.argv` in the worker. This is mostly similar to the `workerData`
245
- * but the values will be available on the global `process.argv` as if they
246
- * were passed as CLI options to the script.
247
- */
248
- argv?: any[] | undefined;
249
- env?: NodeJS.Dict<string> | typeof SHARE_ENV | undefined;
250
- eval?: boolean | undefined;
251
- workerData?: any;
252
- stdin?: boolean | undefined;
253
- stdout?: boolean | undefined;
254
- stderr?: boolean | undefined;
255
- execArgv?: string[] | undefined;
256
- resourceLimits?: ResourceLimits | undefined;
257
- /**
258
- * Additional data to send in the first worker message.
259
- */
260
- transferList?: TransferListItem[] | undefined;
261
- /**
262
- * @default true
263
- */
264
- trackUnmanagedFds?: boolean | undefined;
265
- /**
266
- * An optional `name` to be appended to the worker title
267
- * for debuggin/identification purposes, making the final title as
268
- * `[worker ${id}] ${name}`.
269
- */
270
- name?: string | undefined;
271
- }
272
- interface ResourceLimits {
273
- /**
274
- * The maximum size of a heap space for recently created objects.
275
- */
276
- maxYoungGenerationSizeMb?: number | undefined;
277
- /**
278
- * The maximum size of the main heap in MB.
279
- */
280
- maxOldGenerationSizeMb?: number | undefined;
281
- /**
282
- * The size of a pre-allocated memory range used for generated code.
283
- */
284
- codeRangeSizeMb?: number | undefined;
285
- /**
286
- * The default maximum stack size for the thread. Small values may lead to unusable Worker instances.
287
- * @default 4
288
- */
289
- stackSizeMb?: number | undefined;
290
- }
291
- /**
292
- * The `Worker` class represents an independent JavaScript execution thread.
293
- * Most Node.js APIs are available inside of it.
294
- *
295
- * Notable differences inside a Worker environment are:
296
- *
297
- * * The `process.stdin`, `process.stdout`, and `process.stderr` streams may be redirected by the parent thread.
298
- * * The `require('node:worker_threads').isMainThread` property is set to `false`.
299
- * * The `require('node:worker_threads').parentPort` message port is available.
300
- * * `process.exit()` does not stop the whole program, just the single thread,
301
- * and `process.abort()` is not available.
302
- * * `process.chdir()` and `process` methods that set group or user ids
303
- * are not available.
304
- * * `process.env` is a copy of the parent thread's environment variables,
305
- * unless otherwise specified. Changes to one copy are not visible in other
306
- * threads, and are not visible to native add-ons (unless `worker.SHARE_ENV` is passed as the `env` option to the `Worker` constructor). On Windows, unlike the main thread, a copy of the
307
- * environment variables operates in a case-sensitive manner.
308
- * * `process.title` cannot be modified.
309
- * * Signals are not delivered through `process.on('...')`.
310
- * * Execution may stop at any point as a result of `worker.terminate()` being invoked.
311
- * * IPC channels from parent processes are not accessible.
312
- * * The `trace_events` module is not supported.
313
- * * Native add-ons can only be loaded from multiple threads if they fulfill `certain conditions`.
314
- *
315
- * Creating `Worker` instances inside of other `Worker`s is possible.
316
- *
317
- * Like [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) and the `node:cluster module`, two-way communication
318
- * can be achieved through inter-thread message passing. Internally, a `Worker` has
319
- * a built-in pair of `MessagePort` s that are already associated with each
320
- * other when the `Worker` is created. While the `MessagePort` object on the parent
321
- * side is not directly exposed, its functionalities are exposed through `worker.postMessage()` and the `worker.on('message')` event
322
- * on the `Worker` object for the parent thread.
323
- *
324
- * To create custom messaging channels (which is encouraged over using the default
325
- * global channel because it facilitates separation of concerns), users can create
326
- * a `MessageChannel` object on either thread and pass one of the`MessagePort`s on that `MessageChannel` to the other thread through a
327
- * pre-existing channel, such as the global one.
328
- *
329
- * See `port.postMessage()` for more information on how messages are passed,
330
- * and what kind of JavaScript values can be successfully transported through
331
- * the thread barrier.
332
- *
333
- * ```js
334
- * const assert = require('node:assert');
335
- * const {
336
- * Worker, MessageChannel, MessagePort, isMainThread, parentPort,
337
- * } = require('node:worker_threads');
338
- * if (isMainThread) {
339
- * const worker = new Worker(__filename);
340
- * const subChannel = new MessageChannel();
341
- * worker.postMessage({ hereIsYourPort: subChannel.port1 }, [subChannel.port1]);
342
- * subChannel.port2.on('message', (value) => {
343
- * console.log('received:', value);
344
- * });
345
- * } else {
346
- * parentPort.once('message', (value) => {
347
- * assert(value.hereIsYourPort instanceof MessagePort);
348
- * value.hereIsYourPort.postMessage('the worker is sending this');
349
- * value.hereIsYourPort.close();
350
- * });
351
- * }
352
- * ```
353
- * @since v10.5.0
354
- */
355
- class Worker extends EventEmitter {
356
- /**
357
- * If `stdin: true` was passed to the `Worker` constructor, this is a
358
- * writable stream. The data written to this stream will be made available in
359
- * the worker thread as `process.stdin`.
360
- * @since v10.5.0
361
- */
362
- readonly stdin: Writable | null;
363
- /**
364
- * This is a readable stream which contains data written to `process.stdout` inside the worker thread. If `stdout: true` was not passed to the `Worker` constructor, then data is piped to the
365
- * parent thread's `process.stdout` stream.
366
- * @since v10.5.0
367
- */
368
- readonly stdout: Readable;
369
- /**
370
- * This is a readable stream which contains data written to `process.stderr` inside the worker thread. If `stderr: true` was not passed to the `Worker` constructor, then data is piped to the
371
- * parent thread's `process.stderr` stream.
372
- * @since v10.5.0
373
- */
374
- readonly stderr: Readable;
375
- /**
376
- * An integer identifier for the referenced thread. Inside the worker thread,
377
- * it is available as `require('node:worker_threads').threadId`.
378
- * This value is unique for each `Worker` instance inside a single process.
379
- * @since v10.5.0
380
- */
381
- readonly threadId: number;
382
- /**
383
- * Provides the set of JS engine resource constraints for this Worker thread.
384
- * If the `resourceLimits` option was passed to the `Worker` constructor,
385
- * this matches its values.
386
- *
387
- * If the worker has stopped, the return value is an empty object.
388
- * @since v13.2.0, v12.16.0
389
- */
390
- readonly resourceLimits?: ResourceLimits | undefined;
391
- /**
392
- * An object that can be used to query performance information from a worker
393
- * instance. Similar to `perf_hooks.performance`.
394
- * @since v15.1.0, v14.17.0, v12.22.0
395
- */
396
- readonly performance: WorkerPerformance;
397
- /**
398
- * @param filename The path to the Worker’s main script or module.
399
- * Must be either an absolute path or a relative path (i.e. relative to the current working directory) starting with ./ or ../,
400
- * or a WHATWG URL object using file: protocol. If options.eval is true, this is a string containing JavaScript code rather than a path.
401
- */
402
- constructor(filename: string | URL, options?: WorkerOptions);
403
- /**
404
- * Send a message to the worker that is received via `require('node:worker_threads').parentPort.on('message')`.
405
- * See `port.postMessage()` for more details.
406
- * @since v10.5.0
407
- */
408
- postMessage(value: any, transferList?: readonly TransferListItem[]): void;
409
- /**
410
- * Opposite of `unref()`, calling `ref()` on a previously `unref()`ed worker does _not_ let the program exit if it's the only active handle left (the default
411
- * behavior). If the worker is `ref()`ed, calling `ref()` again has
412
- * no effect.
413
- * @since v10.5.0
414
- */
415
- ref(): void;
416
- /**
417
- * Calling `unref()` on a worker allows the thread to exit if this is the only
418
- * active handle in the event system. If the worker is already `unref()`ed calling`unref()` again has no effect.
419
- * @since v10.5.0
420
- */
421
- unref(): void;
422
- /**
423
- * Stop all JavaScript execution in the worker thread as soon as possible.
424
- * Returns a Promise for the exit code that is fulfilled when the `'exit' event` is emitted.
425
- * @since v10.5.0
426
- */
427
- terminate(): Promise<number>;
428
- /**
429
- * Returns a readable stream for a V8 snapshot of the current state of the Worker.
430
- * See `v8.getHeapSnapshot()` for more details.
431
- *
432
- * If the Worker thread is no longer running, which may occur before the `'exit' event` is emitted, the returned `Promise` is rejected
433
- * immediately with an `ERR_WORKER_NOT_RUNNING` error.
434
- * @since v13.9.0, v12.17.0
435
- * @return A promise for a Readable Stream containing a V8 heap snapshot
436
- */
437
- getHeapSnapshot(): Promise<Readable>;
438
- addListener(event: "error", listener: (err: Error) => void): this;
439
- addListener(event: "exit", listener: (exitCode: number) => void): this;
440
- addListener(event: "message", listener: (value: any) => void): this;
441
- addListener(event: "messageerror", listener: (error: Error) => void): this;
442
- addListener(event: "online", listener: () => void): this;
443
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
444
- emit(event: "error", err: Error): boolean;
445
- emit(event: "exit", exitCode: number): boolean;
446
- emit(event: "message", value: any): boolean;
447
- emit(event: "messageerror", error: Error): boolean;
448
- emit(event: "online"): boolean;
449
- emit(event: string | symbol, ...args: any[]): boolean;
450
- on(event: "error", listener: (err: Error) => void): this;
451
- on(event: "exit", listener: (exitCode: number) => void): this;
452
- on(event: "message", listener: (value: any) => void): this;
453
- on(event: "messageerror", listener: (error: Error) => void): this;
454
- on(event: "online", listener: () => void): this;
455
- on(event: string | symbol, listener: (...args: any[]) => void): this;
456
- once(event: "error", listener: (err: Error) => void): this;
457
- once(event: "exit", listener: (exitCode: number) => void): this;
458
- once(event: "message", listener: (value: any) => void): this;
459
- once(event: "messageerror", listener: (error: Error) => void): this;
460
- once(event: "online", listener: () => void): this;
461
- once(event: string | symbol, listener: (...args: any[]) => void): this;
462
- prependListener(event: "error", listener: (err: Error) => void): this;
463
- prependListener(event: "exit", listener: (exitCode: number) => void): this;
464
- prependListener(event: "message", listener: (value: any) => void): this;
465
- prependListener(event: "messageerror", listener: (error: Error) => void): this;
466
- prependListener(event: "online", listener: () => void): this;
467
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
468
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
469
- prependOnceListener(event: "exit", listener: (exitCode: number) => void): this;
470
- prependOnceListener(event: "message", listener: (value: any) => void): this;
471
- prependOnceListener(event: "messageerror", listener: (error: Error) => void): this;
472
- prependOnceListener(event: "online", listener: () => void): this;
473
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
474
- removeListener(event: "error", listener: (err: Error) => void): this;
475
- removeListener(event: "exit", listener: (exitCode: number) => void): this;
476
- removeListener(event: "message", listener: (value: any) => void): this;
477
- removeListener(event: "messageerror", listener: (error: Error) => void): this;
478
- removeListener(event: "online", listener: () => void): this;
479
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
480
- off(event: "error", listener: (err: Error) => void): this;
481
- off(event: "exit", listener: (exitCode: number) => void): this;
482
- off(event: "message", listener: (value: any) => void): this;
483
- off(event: "messageerror", listener: (error: Error) => void): this;
484
- off(event: "online", listener: () => void): this;
485
- off(event: string | symbol, listener: (...args: any[]) => void): this;
486
- }
487
- interface BroadcastChannel extends NodeJS.RefCounted {}
488
- /**
489
- * Instances of `BroadcastChannel` allow asynchronous one-to-many communication
490
- * with all other `BroadcastChannel` instances bound to the same channel name.
491
- *
492
- * ```js
493
- * 'use strict';
494
- *
495
- * const {
496
- * isMainThread,
497
- * BroadcastChannel,
498
- * Worker,
499
- * } = require('node:worker_threads');
500
- *
501
- * const bc = new BroadcastChannel('hello');
502
- *
503
- * if (isMainThread) {
504
- * let c = 0;
505
- * bc.onmessage = (event) => {
506
- * console.log(event.data);
507
- * if (++c === 10) bc.close();
508
- * };
509
- * for (let n = 0; n < 10; n++)
510
- * new Worker(__filename);
511
- * } else {
512
- * bc.postMessage('hello from every worker');
513
- * bc.close();
514
- * }
515
- * ```
516
- * @since v15.4.0
517
- */
518
- class BroadcastChannel {
519
- readonly name: string;
520
- /**
521
- * Invoked with a single \`MessageEvent\` argument when a message is received.
522
- * @since v15.4.0
523
- */
524
- onmessage: (message: unknown) => void;
525
- /**
526
- * Invoked with a received message cannot be deserialized.
527
- * @since v15.4.0
528
- */
529
- onmessageerror: (message: unknown) => void;
530
- constructor(name: string);
531
- /**
532
- * Closes the `BroadcastChannel` connection.
533
- * @since v15.4.0
534
- */
535
- close(): void;
536
- /**
537
- * @since v15.4.0
538
- * @param message Any cloneable JavaScript value.
539
- */
540
- postMessage(message: unknown): void;
541
- }
542
- /**
543
- * Mark an object as not transferable. If `object` occurs in the transfer list of
544
- * a `port.postMessage()` call, it is ignored.
545
- *
546
- * In particular, this makes sense for objects that can be cloned, rather than
547
- * transferred, and which are used by other objects on the sending side.
548
- * For example, Node.js marks the `ArrayBuffer`s it uses for its `Buffer pool` with this.
549
- *
550
- * This operation cannot be undone.
551
- *
552
- * ```js
553
- * const { MessageChannel, markAsUntransferable } = require('node:worker_threads');
554
- *
555
- * const pooledBuffer = new ArrayBuffer(8);
556
- * const typedArray1 = new Uint8Array(pooledBuffer);
557
- * const typedArray2 = new Float64Array(pooledBuffer);
558
- *
559
- * markAsUntransferable(pooledBuffer);
560
- *
561
- * const { port1 } = new MessageChannel();
562
- * port1.postMessage(typedArray1, [ typedArray1.buffer ]);
563
- *
564
- * // The following line prints the contents of typedArray1 -- it still owns
565
- * // its memory and has been cloned, not transferred. Without
566
- * // `markAsUntransferable()`, this would print an empty Uint8Array.
567
- * // typedArray2 is intact as well.
568
- * console.log(typedArray1);
569
- * console.log(typedArray2);
570
- * ```
571
- *
572
- * There is no equivalent to this API in browsers.
573
- * @since v14.5.0, v12.19.0
574
- */
575
- function markAsUntransferable(object: object): void;
576
- /**
577
- * Transfer a `MessagePort` to a different `vm` Context. The original `port`object is rendered unusable, and the returned `MessagePort` instance
578
- * takes its place.
579
- *
580
- * The returned `MessagePort` is an object in the target context and
581
- * inherits from its global `Object` class. Objects passed to the [`port.onmessage()`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage) listener are also created in the
582
- * target context
583
- * and inherit from its global `Object` class.
584
- *
585
- * However, the created `MessagePort` no longer inherits from [`EventTarget`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget), and only
586
- * [`port.onmessage()`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage) can be used to receive
587
- * events using it.
588
- * @since v11.13.0
589
- * @param port The message port to transfer.
590
- * @param contextifiedSandbox A `contextified` object as returned by the `vm.createContext()` method.
591
- */
592
- function moveMessagePortToContext(port: MessagePort, contextifiedSandbox: Context): MessagePort;
593
- /**
594
- * Receive a single message from a given `MessagePort`. If no message is available,`undefined` is returned, otherwise an object with a single `message` property
595
- * that contains the message payload, corresponding to the oldest message in the`MessagePort`'s queue.
596
- *
597
- * ```js
598
- * const { MessageChannel, receiveMessageOnPort } = require('node:worker_threads');
599
- * const { port1, port2 } = new MessageChannel();
600
- * port1.postMessage({ hello: 'world' });
601
- *
602
- * console.log(receiveMessageOnPort(port2));
603
- * // Prints: { message: { hello: 'world' } }
604
- * console.log(receiveMessageOnPort(port2));
605
- * // Prints: undefined
606
- * ```
607
- *
608
- * When this function is used, no `'message'` event is emitted and the`onmessage` listener is not invoked.
609
- * @since v12.3.0
610
- */
611
- function receiveMessageOnPort(port: MessagePort):
612
- | {
613
- message: any;
614
- }
615
- | undefined;
616
- type Serializable = string | object | number | boolean | bigint;
617
- /**
618
- * Within a worker thread, `worker.getEnvironmentData()` returns a clone
619
- * of data passed to the spawning thread's `worker.setEnvironmentData()`.
620
- * Every new `Worker` receives its own copy of the environment data
621
- * automatically.
622
- *
623
- * ```js
624
- * const {
625
- * Worker,
626
- * isMainThread,
627
- * setEnvironmentData,
628
- * getEnvironmentData,
629
- * } = require('node:worker_threads');
630
- *
631
- * if (isMainThread) {
632
- * setEnvironmentData('Hello', 'World!');
633
- * const worker = new Worker(__filename);
634
- * } else {
635
- * console.log(getEnvironmentData('Hello')); // Prints 'World!'.
636
- * }
637
- * ```
638
- * @since v15.12.0, v14.18.0
639
- * @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
640
- */
641
- function getEnvironmentData(key: Serializable): Serializable;
642
- /**
643
- * The `worker.setEnvironmentData()` API sets the content of`worker.getEnvironmentData()` in the current thread and all new `Worker`instances spawned from the current context.
644
- * @since v15.12.0, v14.18.0
645
- * @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
646
- * @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
647
- * for the `key` will be deleted.
648
- */
649
- function setEnvironmentData(key: Serializable, value: Serializable): void;
650
-
651
- import {
652
- BroadcastChannel as _BroadcastChannel,
653
- MessageChannel as _MessageChannel,
654
- MessagePort as _MessagePort,
655
- } from "worker_threads";
656
- global {
657
- /**
658
- * `BroadcastChannel` class is a global reference for `require('worker_threads').BroadcastChannel`
659
- * https://nodejs.org/api/globals.html#broadcastchannel
660
- * @since v18.0.0
661
- */
662
- var BroadcastChannel: typeof globalThis extends {
663
- onmessage: any;
664
- BroadcastChannel: infer T;
665
- } ? T
666
- : typeof _BroadcastChannel;
667
- /**
668
- * `MessageChannel` class is a global reference for `require('worker_threads').MessageChannel`
669
- * https://nodejs.org/api/globals.html#messagechannel
670
- * @since v15.0.0
671
- */
672
- var MessageChannel: typeof globalThis extends {
673
- onmessage: any;
674
- MessageChannel: infer T;
675
- } ? T
676
- : typeof _MessageChannel;
677
- /**
678
- * `MessagePort` class is a global reference for `require('worker_threads').MessagePort`
679
- * https://nodejs.org/api/globals.html#messageport
680
- * @since v15.0.0
681
- */
682
- var MessagePort: typeof globalThis extends {
683
- onmessage: any;
684
- MessagePort: infer T;
685
- } ? T
686
- : typeof _MessagePort;
687
- }
688
- }
689
- declare module "node:worker_threads" {
690
- export * from "worker_threads";
691
- }