@flourish/sdk 5.1.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1148) hide show
  1. package/RELEASE_NOTES.md +4 -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.js +69 -36
  6. package/common/embed/localizations.js +4 -4
  7. package/common/embed/parse_query_params.js +2 -1
  8. package/common/package.json +4 -2
  9. package/common/tsconfig.sdk.tsbuildinfo +1 -1
  10. package/common/utils/columns.js +27 -14
  11. package/common/utils/data.js +58 -30
  12. package/common/utils/json.js +8 -4
  13. package/common/utils/polyfills.js +1 -1
  14. package/common/utils/state.d.ts +2 -2
  15. package/common/utils/state.js +36 -19
  16. package/lib/cmd/assign-version-number.js +5 -5
  17. package/lib/cmd/build.js +1 -1
  18. package/lib/cmd/delete.js +2 -2
  19. package/lib/cmd/history.js +4 -2
  20. package/lib/cmd/list.js +13 -11
  21. package/lib/cmd/login.js +1 -1
  22. package/lib/cmd/publish.js +13 -13
  23. package/lib/cmd/register.js +3 -3
  24. package/lib/cmd/run.js +3 -3
  25. package/lib/cmd/upgrade/1-convert-config-to-yaml.js +14 -14
  26. package/lib/cmd/upgrade/2-convert-index-html.js +4 -4
  27. package/lib/cmd/upgrade/3-add-build-config.js +5 -5
  28. package/lib/cmd/upgrade/4-remove-autoheight-config.js +3 -3
  29. package/lib/cmd/upgrade/index.js +6 -6
  30. package/lib/common.js +11 -7
  31. package/lib/log.js +7 -7
  32. package/lib/sdk.js +35 -35
  33. package/lib/validate_config.js +30 -30
  34. package/package.json +4 -3
  35. package/server/comms_js.js +3 -3
  36. package/server/data.js +327 -0
  37. package/server/index.js +36 -36
  38. package/server/index_html.js +16 -9
  39. package/server/json.js +0 -1
  40. package/server/views/index.html +3 -3
  41. package/site/embedded.js +1 -1
  42. package/site/favicon.ico +0 -0
  43. package/site/fonts/canva-sans/WOFF/CanvaSans-Bold.woff +0 -0
  44. package/site/fonts/canva-sans/WOFF/CanvaSans-Bold.woff2 +0 -0
  45. package/site/fonts/canva-sans/WOFF/CanvaSans-Regular.woff +0 -0
  46. package/site/fonts/canva-sans/WOFF/CanvaSans-Regular.woff2 +0 -0
  47. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Bold.woff +0 -0
  48. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Bold.woff2 +0 -0
  49. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Regular.woff +0 -0
  50. package/site/fonts/canva-sans/WOFF/CanvaSansDisplay-Regular.woff2 +0 -0
  51. package/site/fonts/canva-sans-variable/TTF/CanvaSans-VF.ttf +0 -0
  52. package/site/fonts/canva-sans-variable/TTF/CanvaSansDisplay-VF.ttf +0 -0
  53. package/site/fonts/canva-sans-variable/WOFF/CanvaSans-VF.woff +0 -0
  54. package/site/fonts/canva-sans-variable/WOFF/CanvaSansDisplay-VF.woff +0 -0
  55. package/site/fonts/canva-sans.css +53 -0
  56. package/site/images/bosh-white.svg +12 -0
  57. package/site/images/bosh.svg +10 -6
  58. package/site/images/flourish_logo.svg +20 -0
  59. package/site/images/flourish_logo_white.svg +20 -0
  60. package/site/images/icon-chart-bar.svg +3 -0
  61. package/site/images/icon-chart-line.svg +3 -0
  62. package/site/images/icon-chart-pie.svg +3 -0
  63. package/site/images/icon-chevron-down-small-white.svg +3 -0
  64. package/site/images/icon-editable.svg +1 -8
  65. package/site/images/icon-gift.svg +3 -0
  66. package/site/images/icon-grid-view-white.svg +3 -0
  67. package/site/images/icon-grid-view.svg +3 -0
  68. package/site/images/icon-presentation.svg +2 -2
  69. package/site/images/icon-presenter.svg +3 -0
  70. package/site/images/icon-private.svg +1 -1
  71. package/site/images/icon-star.svg +3 -0
  72. package/site/images/icon-table-border-all.svg +3 -0
  73. package/site/images/icon-table-white.svg +3 -0
  74. package/site/images/icon-table.svg +3 -0
  75. package/site/images/icon-upload-black.svg +3 -0
  76. package/site/images/icon-upload-cloud.svg +3 -0
  77. package/site/images/icon-upload.svg +2 -2
  78. package/site/images/icon-viewable.svg +1 -1
  79. package/site/images/instagram-logo.svg +1 -0
  80. package/site/images/linkedin-logo.svg +1 -0
  81. package/site/images/logo.png +0 -0
  82. package/site/images/logo.svg +20 -1
  83. package/site/images/made_with_flourish.svg +38 -4
  84. package/site/images/share_image.jpg +0 -0
  85. package/site/images/slide_visualisation.png +0 -0
  86. package/site/images/spinner_data.json +1 -0
  87. package/site/images/x-logo.svg +1 -0
  88. package/site/images/youtube-logo.svg +1 -0
  89. package/site/script.js +3 -3
  90. package/site/sdk.css +2 -2
  91. package/site/talk_to_server.js +6 -4
  92. package/test/lib/sdk.js +13 -13
  93. package/test/lib/validate_config.js +61 -61
  94. package/my_template/node_modules/.package-lock.json +0 -525
  95. package/my_template/node_modules/@babel/code-frame/LICENSE +0 -22
  96. package/my_template/node_modules/@babel/code-frame/README.md +0 -19
  97. package/my_template/node_modules/@babel/code-frame/lib/index.js +0 -157
  98. package/my_template/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  99. package/my_template/node_modules/@babel/code-frame/package.json +0 -30
  100. package/my_template/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  101. package/my_template/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  102. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  103. package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  104. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  105. package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  106. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  107. package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  108. package/my_template/node_modules/@babel/helper-validator-identifier/package.json +0 -28
  109. package/my_template/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
  110. package/my_template/node_modules/@babel/highlight/LICENSE +0 -22
  111. package/my_template/node_modules/@babel/highlight/README.md +0 -19
  112. package/my_template/node_modules/@babel/highlight/lib/index.js +0 -105
  113. package/my_template/node_modules/@babel/highlight/lib/index.js.map +0 -1
  114. package/my_template/node_modules/@babel/highlight/package.json +0 -29
  115. package/my_template/node_modules/@types/estree/LICENSE +0 -21
  116. package/my_template/node_modules/@types/estree/README.md +0 -15
  117. package/my_template/node_modules/@types/estree/flow.d.ts +0 -167
  118. package/my_template/node_modules/@types/estree/index.d.ts +0 -683
  119. package/my_template/node_modules/@types/estree/package.json +0 -26
  120. package/my_template/node_modules/@types/node/LICENSE +0 -21
  121. package/my_template/node_modules/@types/node/README.md +0 -15
  122. package/my_template/node_modules/@types/node/assert/strict.d.ts +0 -8
  123. package/my_template/node_modules/@types/node/assert.d.ts +0 -996
  124. package/my_template/node_modules/@types/node/async_hooks.d.ts +0 -539
  125. package/my_template/node_modules/@types/node/buffer.d.ts +0 -2362
  126. package/my_template/node_modules/@types/node/child_process.d.ts +0 -1540
  127. package/my_template/node_modules/@types/node/cluster.d.ts +0 -432
  128. package/my_template/node_modules/@types/node/console.d.ts +0 -415
  129. package/my_template/node_modules/@types/node/constants.d.ts +0 -19
  130. package/my_template/node_modules/@types/node/crypto.d.ts +0 -4456
  131. package/my_template/node_modules/@types/node/dgram.d.ts +0 -586
  132. package/my_template/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
  133. package/my_template/node_modules/@types/node/dns/promises.d.ts +0 -425
  134. package/my_template/node_modules/@types/node/dns.d.ts +0 -809
  135. package/my_template/node_modules/@types/node/dom-events.d.ts +0 -122
  136. package/my_template/node_modules/@types/node/domain.d.ts +0 -170
  137. package/my_template/node_modules/@types/node/events.d.ts +0 -879
  138. package/my_template/node_modules/@types/node/fs/promises.d.ts +0 -1239
  139. package/my_template/node_modules/@types/node/fs.d.ts +0 -4291
  140. package/my_template/node_modules/@types/node/globals.d.ts +0 -385
  141. package/my_template/node_modules/@types/node/globals.global.d.ts +0 -1
  142. package/my_template/node_modules/@types/node/http.d.ts +0 -1888
  143. package/my_template/node_modules/@types/node/http2.d.ts +0 -2382
  144. package/my_template/node_modules/@types/node/https.d.ts +0 -550
  145. package/my_template/node_modules/@types/node/index.d.ts +0 -88
  146. package/my_template/node_modules/@types/node/inspector.d.ts +0 -2747
  147. package/my_template/node_modules/@types/node/module.d.ts +0 -301
  148. package/my_template/node_modules/@types/node/net.d.ts +0 -949
  149. package/my_template/node_modules/@types/node/os.d.ts +0 -478
  150. package/my_template/node_modules/@types/node/package.json +0 -230
  151. package/my_template/node_modules/@types/node/path.d.ts +0 -191
  152. package/my_template/node_modules/@types/node/perf_hooks.d.ts +0 -639
  153. package/my_template/node_modules/@types/node/process.d.ts +0 -1539
  154. package/my_template/node_modules/@types/node/punycode.d.ts +0 -117
  155. package/my_template/node_modules/@types/node/querystring.d.ts +0 -141
  156. package/my_template/node_modules/@types/node/readline/promises.d.ts +0 -150
  157. package/my_template/node_modules/@types/node/readline.d.ts +0 -539
  158. package/my_template/node_modules/@types/node/repl.d.ts +0 -430
  159. package/my_template/node_modules/@types/node/stream/consumers.d.ts +0 -12
  160. package/my_template/node_modules/@types/node/stream/promises.d.ts +0 -83
  161. package/my_template/node_modules/@types/node/stream/web.d.ts +0 -350
  162. package/my_template/node_modules/@types/node/stream.d.ts +0 -1701
  163. package/my_template/node_modules/@types/node/string_decoder.d.ts +0 -67
  164. package/my_template/node_modules/@types/node/test.d.ts +0 -1382
  165. package/my_template/node_modules/@types/node/timers/promises.d.ts +0 -93
  166. package/my_template/node_modules/@types/node/timers.d.ts +0 -240
  167. package/my_template/node_modules/@types/node/tls.d.ts +0 -1210
  168. package/my_template/node_modules/@types/node/trace_events.d.ts +0 -182
  169. package/my_template/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  170. package/my_template/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  171. package/my_template/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  172. package/my_template/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  173. package/my_template/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  174. package/my_template/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  175. package/my_template/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  176. package/my_template/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  177. package/my_template/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  178. package/my_template/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  179. package/my_template/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  180. package/my_template/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  181. package/my_template/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  182. package/my_template/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  183. package/my_template/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  184. package/my_template/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  185. package/my_template/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  186. package/my_template/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
  187. package/my_template/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
  188. package/my_template/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  189. package/my_template/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  190. package/my_template/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  191. package/my_template/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  192. package/my_template/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  193. package/my_template/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  194. package/my_template/node_modules/@types/node/ts4.8/module.d.ts +0 -301
  195. package/my_template/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  196. package/my_template/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  197. package/my_template/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  198. package/my_template/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  199. package/my_template/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
  200. package/my_template/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  201. package/my_template/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  202. package/my_template/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  203. package/my_template/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  204. package/my_template/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  205. package/my_template/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  206. package/my_template/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  207. package/my_template/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  208. package/my_template/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  209. package/my_template/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  210. package/my_template/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  211. package/my_template/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  212. package/my_template/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  213. package/my_template/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  214. package/my_template/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  215. package/my_template/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  216. package/my_template/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  217. package/my_template/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  218. package/my_template/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  219. package/my_template/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  220. package/my_template/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  221. package/my_template/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  222. package/my_template/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  223. package/my_template/node_modules/@types/node/tty.d.ts +0 -208
  224. package/my_template/node_modules/@types/node/url.d.ts +0 -927
  225. package/my_template/node_modules/@types/node/util.d.ts +0 -2183
  226. package/my_template/node_modules/@types/node/v8.d.ts +0 -635
  227. package/my_template/node_modules/@types/node/vm.d.ts +0 -903
  228. package/my_template/node_modules/@types/node/wasi.d.ts +0 -158
  229. package/my_template/node_modules/@types/node/worker_threads.d.ts +0 -691
  230. package/my_template/node_modules/@types/node/zlib.d.ts +0 -517
  231. package/my_template/node_modules/@types/resolve/LICENSE +0 -21
  232. package/my_template/node_modules/@types/resolve/README.md +0 -16
  233. package/my_template/node_modules/@types/resolve/index.d.ts +0 -113
  234. package/my_template/node_modules/@types/resolve/package.json +0 -29
  235. package/my_template/node_modules/acorn/CHANGELOG.md +0 -620
  236. package/my_template/node_modules/acorn/LICENSE +0 -21
  237. package/my_template/node_modules/acorn/README.md +0 -269
  238. package/my_template/node_modules/acorn/bin/acorn +0 -4
  239. package/my_template/node_modules/acorn/dist/acorn.d.ts +0 -209
  240. package/my_template/node_modules/acorn/dist/acorn.js +0 -5186
  241. package/my_template/node_modules/acorn/dist/acorn.js.map +0 -1
  242. package/my_template/node_modules/acorn/dist/acorn.mjs +0 -5155
  243. package/my_template/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  244. package/my_template/node_modules/acorn/dist/acorn.mjs.map +0 -1
  245. package/my_template/node_modules/acorn/dist/bin.js +0 -64
  246. package/my_template/node_modules/acorn/package.json +0 -35
  247. package/my_template/node_modules/amdefine/LICENSE +0 -58
  248. package/my_template/node_modules/amdefine/README.md +0 -171
  249. package/my_template/node_modules/amdefine/amdefine.js +0 -301
  250. package/my_template/node_modules/amdefine/intercept.js +0 -36
  251. package/my_template/node_modules/amdefine/package.json +0 -16
  252. package/my_template/node_modules/ansi-styles/index.js +0 -165
  253. package/my_template/node_modules/ansi-styles/license +0 -9
  254. package/my_template/node_modules/ansi-styles/package.json +0 -56
  255. package/my_template/node_modules/ansi-styles/readme.md +0 -147
  256. package/my_template/node_modules/builtin-modules/builtin-modules.json +0 -43
  257. package/my_template/node_modules/builtin-modules/index.d.ts +0 -14
  258. package/my_template/node_modules/builtin-modules/index.js +0 -11
  259. package/my_template/node_modules/builtin-modules/license +0 -9
  260. package/my_template/node_modules/builtin-modules/package.json +0 -44
  261. package/my_template/node_modules/builtin-modules/readme.md +0 -44
  262. package/my_template/node_modules/builtin-modules/static.d.ts +0 -14
  263. package/my_template/node_modules/builtin-modules/static.js +0 -2
  264. package/my_template/node_modules/chalk/index.js +0 -228
  265. package/my_template/node_modules/chalk/index.js.flow +0 -93
  266. package/my_template/node_modules/chalk/license +0 -9
  267. package/my_template/node_modules/chalk/package.json +0 -71
  268. package/my_template/node_modules/chalk/readme.md +0 -314
  269. package/my_template/node_modules/chalk/templates.js +0 -128
  270. package/my_template/node_modules/chalk/types/index.d.ts +0 -97
  271. package/my_template/node_modules/clean-css/History.md +0 -1138
  272. package/my_template/node_modules/clean-css/LICENSE +0 -19
  273. package/my_template/node_modules/clean-css/README.md +0 -369
  274. package/my_template/node_modules/clean-css/bin/cleancss +0 -184
  275. package/my_template/node_modules/clean-css/index.js +0 -1
  276. package/my_template/node_modules/clean-css/lib/clean.js +0 -231
  277. package/my_template/node_modules/clean-css/lib/colors/hex-name-shortener.js +0 -186
  278. package/my_template/node_modules/clean-css/lib/colors/hsl.js +0 -67
  279. package/my_template/node_modules/clean-css/lib/colors/rgb.js +0 -16
  280. package/my_template/node_modules/clean-css/lib/imports/inliner.js +0 -399
  281. package/my_template/node_modules/clean-css/lib/properties/break-up.js +0 -335
  282. package/my_template/node_modules/clean-css/lib/properties/can-override.js +0 -142
  283. package/my_template/node_modules/clean-css/lib/properties/clone.js +0 -26
  284. package/my_template/node_modules/clean-css/lib/properties/compactable.js +0 -285
  285. package/my_template/node_modules/clean-css/lib/properties/every-combination.js +0 -28
  286. package/my_template/node_modules/clean-css/lib/properties/has-inherit.js +0 -10
  287. package/my_template/node_modules/clean-css/lib/properties/invalid-property-error.js +0 -10
  288. package/my_template/node_modules/clean-css/lib/properties/optimizer.js +0 -215
  289. package/my_template/node_modules/clean-css/lib/properties/override-compactor.js +0 -384
  290. package/my_template/node_modules/clean-css/lib/properties/populate-components.js +0 -32
  291. package/my_template/node_modules/clean-css/lib/properties/remove-unused.js +0 -10
  292. package/my_template/node_modules/clean-css/lib/properties/restore-from-optimizing.js +0 -60
  293. package/my_template/node_modules/clean-css/lib/properties/restore.js +0 -232
  294. package/my_template/node_modules/clean-css/lib/properties/shorthand-compactor.js +0 -134
  295. package/my_template/node_modules/clean-css/lib/properties/validator.js +0 -197
  296. package/my_template/node_modules/clean-css/lib/properties/vendor-prefixes.js +0 -26
  297. package/my_template/node_modules/clean-css/lib/properties/wrap-for-optimizing.js +0 -118
  298. package/my_template/node_modules/clean-css/lib/selectors/advanced.js +0 -86
  299. package/my_template/node_modules/clean-css/lib/selectors/clean-up.js +0 -89
  300. package/my_template/node_modules/clean-css/lib/selectors/extractor.js +0 -69
  301. package/my_template/node_modules/clean-css/lib/selectors/is-special.js +0 -5
  302. package/my_template/node_modules/clean-css/lib/selectors/merge-adjacent.js +0 -35
  303. package/my_template/node_modules/clean-css/lib/selectors/merge-media-queries.js +0 -64
  304. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-body.js +0 -61
  305. package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-selector.js +0 -76
  306. package/my_template/node_modules/clean-css/lib/selectors/reduce-non-adjacent.js +0 -172
  307. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicate-media-queries.js +0 -21
  308. package/my_template/node_modules/clean-css/lib/selectors/remove-duplicates.js +0 -41
  309. package/my_template/node_modules/clean-css/lib/selectors/reorderable.js +0 -99
  310. package/my_template/node_modules/clean-css/lib/selectors/restructure.js +0 -369
  311. package/my_template/node_modules/clean-css/lib/selectors/simple.js +0 -454
  312. package/my_template/node_modules/clean-css/lib/source-maps/track.js +0 -119
  313. package/my_template/node_modules/clean-css/lib/stringifier/helpers.js +0 -167
  314. package/my_template/node_modules/clean-css/lib/stringifier/one-time.js +0 -50
  315. package/my_template/node_modules/clean-css/lib/stringifier/simple.js +0 -22
  316. package/my_template/node_modules/clean-css/lib/stringifier/source-maps.js +0 -96
  317. package/my_template/node_modules/clean-css/lib/text/comments-processor.js +0 -131
  318. package/my_template/node_modules/clean-css/lib/text/escape-store.js +0 -53
  319. package/my_template/node_modules/clean-css/lib/text/expressions-processor.js +0 -117
  320. package/my_template/node_modules/clean-css/lib/text/free-text-processor.js +0 -98
  321. package/my_template/node_modules/clean-css/lib/text/urls-processor.js +0 -75
  322. package/my_template/node_modules/clean-css/lib/tokenizer/extract-properties.js +0 -193
  323. package/my_template/node_modules/clean-css/lib/tokenizer/extract-selectors.js +0 -17
  324. package/my_template/node_modules/clean-css/lib/tokenizer/tokenize.js +0 -297
  325. package/my_template/node_modules/clean-css/lib/urls/rebase.js +0 -30
  326. package/my_template/node_modules/clean-css/lib/urls/reduce.js +0 -154
  327. package/my_template/node_modules/clean-css/lib/urls/rewrite.js +0 -107
  328. package/my_template/node_modules/clean-css/lib/utils/clone-array.js +0 -12
  329. package/my_template/node_modules/clean-css/lib/utils/compatibility.js +0 -162
  330. package/my_template/node_modules/clean-css/lib/utils/input-source-map-tracker.js +0 -284
  331. package/my_template/node_modules/clean-css/lib/utils/object.js +0 -11
  332. package/my_template/node_modules/clean-css/lib/utils/quote-scanner.js +0 -119
  333. package/my_template/node_modules/clean-css/lib/utils/source-reader.js +0 -96
  334. package/my_template/node_modules/clean-css/lib/utils/source-tracker.js +0 -31
  335. package/my_template/node_modules/clean-css/lib/utils/split.js +0 -62
  336. package/my_template/node_modules/clean-css/node_modules/source-map/README.md +0 -510
  337. package/my_template/node_modules/clean-css/node_modules/source-map/build/assert-shim.js +0 -56
  338. package/my_template/node_modules/clean-css/node_modules/source-map/build/mini-require.js +0 -152
  339. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-source-map.jsm +0 -21
  340. package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-utils.jsm +0 -18
  341. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-browser.js +0 -8
  342. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  343. package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-utils.jsm +0 -21
  344. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-prefix.js +0 -8
  345. package/my_template/node_modules/clean-css/node_modules/source-map/build/test-suffix.js +0 -3
  346. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/array-set.js +0 -107
  347. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64-vlq.js +0 -146
  348. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64.js +0 -73
  349. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/binary-search.js +0 -117
  350. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/mapping-list.js +0 -86
  351. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/quick-sort.js +0 -120
  352. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -1077
  353. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-generator.js +0 -399
  354. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-node.js +0 -414
  355. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/util.js +0 -370
  356. package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map.js +0 -8
  357. package/my_template/node_modules/clean-css/node_modules/source-map/package.json +0 -68
  358. package/my_template/node_modules/clean-css/package.json +0 -53
  359. package/my_template/node_modules/color-convert/CHANGELOG.md +0 -54
  360. package/my_template/node_modules/color-convert/LICENSE +0 -21
  361. package/my_template/node_modules/color-convert/README.md +0 -68
  362. package/my_template/node_modules/color-convert/conversions.js +0 -868
  363. package/my_template/node_modules/color-convert/index.js +0 -78
  364. package/my_template/node_modules/color-convert/package.json +0 -46
  365. package/my_template/node_modules/color-convert/route.js +0 -97
  366. package/my_template/node_modules/color-name/.eslintrc.json +0 -43
  367. package/my_template/node_modules/color-name/LICENSE +0 -8
  368. package/my_template/node_modules/color-name/README.md +0 -11
  369. package/my_template/node_modules/color-name/index.js +0 -152
  370. package/my_template/node_modules/color-name/package.json +0 -25
  371. package/my_template/node_modules/color-name/test.js +0 -7
  372. package/my_template/node_modules/commander/History.md +0 -256
  373. package/my_template/node_modules/commander/LICENSE +0 -22
  374. package/my_template/node_modules/commander/Readme.md +0 -342
  375. package/my_template/node_modules/commander/index.js +0 -1103
  376. package/my_template/node_modules/commander/package.json +0 -33
  377. package/my_template/node_modules/copy-anything/LICENSE +0 -21
  378. package/my_template/node_modules/copy-anything/README.md +0 -130
  379. package/my_template/node_modules/copy-anything/dist/index.cjs +0 -52
  380. package/my_template/node_modules/copy-anything/dist/index.es.js +0 -48
  381. package/my_template/node_modules/copy-anything/dist/types/index.d.ts +0 -15
  382. package/my_template/node_modules/copy-anything/package.json +0 -98
  383. package/my_template/node_modules/errno/.jshintrc +0 -59
  384. package/my_template/node_modules/errno/.travis.yml +0 -19
  385. package/my_template/node_modules/errno/README.md +0 -145
  386. package/my_template/node_modules/errno/build.js +0 -43
  387. package/my_template/node_modules/errno/cli.js +0 -22
  388. package/my_template/node_modules/errno/custom.js +0 -57
  389. package/my_template/node_modules/errno/errno.js +0 -313
  390. package/my_template/node_modules/errno/package.json +0 -33
  391. package/my_template/node_modules/errno/test.js +0 -88
  392. package/my_template/node_modules/escape-string-regexp/index.js +0 -11
  393. package/my_template/node_modules/escape-string-regexp/license +0 -21
  394. package/my_template/node_modules/escape-string-regexp/package.json +0 -41
  395. package/my_template/node_modules/escape-string-regexp/readme.md +0 -27
  396. package/my_template/node_modules/estree-walker/CHANGELOG.md +0 -55
  397. package/my_template/node_modules/estree-walker/README.md +0 -45
  398. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js +0 -65
  399. package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js.map +0 -1
  400. package/my_template/node_modules/estree-walker/index.d.ts +0 -27
  401. package/my_template/node_modules/estree-walker/package.json +0 -30
  402. package/my_template/node_modules/estree-walker/src/estree-walker.js +0 -51
  403. package/my_template/node_modules/function-bind/.eslintrc +0 -21
  404. package/my_template/node_modules/function-bind/.github/FUNDING.yml +0 -12
  405. package/my_template/node_modules/function-bind/.github/SECURITY.md +0 -3
  406. package/my_template/node_modules/function-bind/.nycrc +0 -13
  407. package/my_template/node_modules/function-bind/CHANGELOG.md +0 -136
  408. package/my_template/node_modules/function-bind/LICENSE +0 -20
  409. package/my_template/node_modules/function-bind/README.md +0 -46
  410. package/my_template/node_modules/function-bind/implementation.js +0 -84
  411. package/my_template/node_modules/function-bind/index.js +0 -5
  412. package/my_template/node_modules/function-bind/package.json +0 -87
  413. package/my_template/node_modules/function-bind/test/.eslintrc +0 -9
  414. package/my_template/node_modules/function-bind/test/index.js +0 -252
  415. package/my_template/node_modules/graceful-fs/LICENSE +0 -15
  416. package/my_template/node_modules/graceful-fs/README.md +0 -143
  417. package/my_template/node_modules/graceful-fs/clone.js +0 -23
  418. package/my_template/node_modules/graceful-fs/graceful-fs.js +0 -448
  419. package/my_template/node_modules/graceful-fs/legacy-streams.js +0 -118
  420. package/my_template/node_modules/graceful-fs/package.json +0 -53
  421. package/my_template/node_modules/graceful-fs/polyfills.js +0 -355
  422. package/my_template/node_modules/graceful-readlink/.travis.yml +0 -5
  423. package/my_template/node_modules/graceful-readlink/LICENSE +0 -22
  424. package/my_template/node_modules/graceful-readlink/README.md +0 -17
  425. package/my_template/node_modules/graceful-readlink/index.js +0 -12
  426. package/my_template/node_modules/graceful-readlink/package.json +0 -18
  427. package/my_template/node_modules/has-flag/index.js +0 -8
  428. package/my_template/node_modules/has-flag/license +0 -9
  429. package/my_template/node_modules/has-flag/package.json +0 -44
  430. package/my_template/node_modules/has-flag/readme.md +0 -70
  431. package/my_template/node_modules/hasown/.eslintrc +0 -5
  432. package/my_template/node_modules/hasown/.github/FUNDING.yml +0 -12
  433. package/my_template/node_modules/hasown/.nycrc +0 -13
  434. package/my_template/node_modules/hasown/CHANGELOG.md +0 -20
  435. package/my_template/node_modules/hasown/LICENSE +0 -21
  436. package/my_template/node_modules/hasown/README.md +0 -40
  437. package/my_template/node_modules/hasown/index.d.ts +0 -3
  438. package/my_template/node_modules/hasown/index.d.ts.map +0 -1
  439. package/my_template/node_modules/hasown/index.js +0 -8
  440. package/my_template/node_modules/hasown/package.json +0 -91
  441. package/my_template/node_modules/hasown/tsconfig.json +0 -49
  442. package/my_template/node_modules/image-size/LICENSE +0 -9
  443. package/my_template/node_modules/image-size/Readme.md +0 -88
  444. package/my_template/node_modules/image-size/bin/image-size.js +0 -36
  445. package/my_template/node_modules/image-size/lib/detector.js +0 -19
  446. package/my_template/node_modules/image-size/lib/index.js +0 -105
  447. package/my_template/node_modules/image-size/lib/readUInt.js +0 -11
  448. package/my_template/node_modules/image-size/lib/types/bmp.js +0 -17
  449. package/my_template/node_modules/image-size/lib/types/dds.js +0 -18
  450. package/my_template/node_modules/image-size/lib/types/gif.js +0 -19
  451. package/my_template/node_modules/image-size/lib/types/jpg.js +0 -62
  452. package/my_template/node_modules/image-size/lib/types/png.js +0 -36
  453. package/my_template/node_modules/image-size/lib/types/psd.js +0 -17
  454. package/my_template/node_modules/image-size/lib/types/svg.js +0 -78
  455. package/my_template/node_modules/image-size/lib/types/tiff.js +0 -118
  456. package/my_template/node_modules/image-size/lib/types/webp.js +0 -69
  457. package/my_template/node_modules/image-size/lib/types.js +0 -13
  458. package/my_template/node_modules/image-size/package.json +0 -49
  459. package/my_template/node_modules/is-core-module/.eslintrc +0 -18
  460. package/my_template/node_modules/is-core-module/.nycrc +0 -9
  461. package/my_template/node_modules/is-core-module/CHANGELOG.md +0 -180
  462. package/my_template/node_modules/is-core-module/LICENSE +0 -20
  463. package/my_template/node_modules/is-core-module/README.md +0 -40
  464. package/my_template/node_modules/is-core-module/core.json +0 -158
  465. package/my_template/node_modules/is-core-module/index.js +0 -69
  466. package/my_template/node_modules/is-core-module/package.json +0 -73
  467. package/my_template/node_modules/is-core-module/test/index.js +0 -133
  468. package/my_template/node_modules/is-module/README.md +0 -41
  469. package/my_template/node_modules/is-module/component.json +0 -11
  470. package/my_template/node_modules/is-module/index.js +0 -11
  471. package/my_template/node_modules/is-module/package.json +0 -20
  472. package/my_template/node_modules/is-what/.babelrc +0 -3
  473. package/my_template/node_modules/is-what/.eslintignore +0 -9
  474. package/my_template/node_modules/is-what/.eslintrc.js +0 -18
  475. package/my_template/node_modules/is-what/.github/FUNDING.yml +0 -12
  476. package/my_template/node_modules/is-what/.prettierrc +0 -9
  477. package/my_template/node_modules/is-what/.vscode/settings.json +0 -9
  478. package/my_template/node_modules/is-what/LICENSE +0 -21
  479. package/my_template/node_modules/is-what/README.md +0 -191
  480. package/my_template/node_modules/is-what/build.js +0 -60
  481. package/my_template/node_modules/is-what/dist/index.cjs.js +0 -364
  482. package/my_template/node_modules/is-what/dist/index.esm.js +0 -327
  483. package/my_template/node_modules/is-what/package.json +0 -86
  484. package/my_template/node_modules/is-what/src/index.ts +0 -395
  485. package/my_template/node_modules/is-what/test/ava.ts +0 -376
  486. package/my_template/node_modules/is-what/test/index.test.js +0 -15
  487. package/my_template/node_modules/is-what/tsconfig.json +0 -11
  488. package/my_template/node_modules/is-what/types/index.d.ts +0 -253
  489. package/my_template/node_modules/jest-worker/LICENSE +0 -21
  490. package/my_template/node_modules/jest-worker/README.md +0 -215
  491. package/my_template/node_modules/jest-worker/build/Farm.d.ts +0 -27
  492. package/my_template/node_modules/jest-worker/build/Farm.d.ts.map +0 -1
  493. package/my_template/node_modules/jest-worker/build/Farm.js +0 -179
  494. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts +0 -14
  495. package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts.map +0 -1
  496. package/my_template/node_modules/jest-worker/build/WorkerPool.js +0 -49
  497. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +0 -22
  498. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts.map +0 -1
  499. package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.js +0 -134
  500. package/my_template/node_modules/jest-worker/build/index.d.ts +0 -46
  501. package/my_template/node_modules/jest-worker/build/index.d.ts.map +0 -1
  502. package/my_template/node_modules/jest-worker/build/index.js +0 -184
  503. package/my_template/node_modules/jest-worker/build/types.d.ts +0 -98
  504. package/my_template/node_modules/jest-worker/build/types.d.ts.map +0 -1
  505. package/my_template/node_modules/jest-worker/build/types.js +0 -43
  506. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +0 -47
  507. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts.map +0 -1
  508. package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.js +0 -310
  509. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +0 -29
  510. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts.map +0 -1
  511. package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +0 -289
  512. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts +0 -8
  513. package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts.map +0 -1
  514. package/my_template/node_modules/jest-worker/build/workers/processChild.js +0 -166
  515. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts +0 -8
  516. package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts.map +0 -1
  517. package/my_template/node_modules/jest-worker/build/workers/threadChild.js +0 -176
  518. package/my_template/node_modules/jest-worker/node_modules/supports-color/browser.js +0 -5
  519. package/my_template/node_modules/jest-worker/node_modules/supports-color/index.js +0 -138
  520. package/my_template/node_modules/jest-worker/node_modules/supports-color/license +0 -9
  521. package/my_template/node_modules/jest-worker/node_modules/supports-color/package.json +0 -53
  522. package/my_template/node_modules/jest-worker/node_modules/supports-color/readme.md +0 -85
  523. package/my_template/node_modules/jest-worker/package.json +0 -29
  524. package/my_template/node_modules/js-tokens/CHANGELOG.md +0 -151
  525. package/my_template/node_modules/js-tokens/LICENSE +0 -21
  526. package/my_template/node_modules/js-tokens/README.md +0 -240
  527. package/my_template/node_modules/js-tokens/index.js +0 -23
  528. package/my_template/node_modules/js-tokens/package.json +0 -30
  529. package/my_template/node_modules/less/.eslintignore +0 -5
  530. package/my_template/node_modules/less/.eslintrc.json +0 -3
  531. package/my_template/node_modules/less/Gruntfile.js +0 -420
  532. package/my_template/node_modules/less/README.md +0 -13
  533. package/my_template/node_modules/less/bin/lessc +0 -633
  534. package/my_template/node_modules/less/bower.json +0 -22
  535. package/my_template/node_modules/less/dist/less.js +0 -11275
  536. package/my_template/node_modules/less/dist/less.min.js +0 -11
  537. package/my_template/node_modules/less/dist/less.min.js.map +0 -1
  538. package/my_template/node_modules/less/index.js +0 -1
  539. package/my_template/node_modules/less/lib/less/constants.js +0 -15
  540. package/my_template/node_modules/less/lib/less/constants.js.map +0 -1
  541. package/my_template/node_modules/less/lib/less/contexts.js +0 -171
  542. package/my_template/node_modules/less/lib/less/contexts.js.map +0 -1
  543. package/my_template/node_modules/less/lib/less/data/colors.js +0 -153
  544. package/my_template/node_modules/less/lib/less/data/colors.js.map +0 -1
  545. package/my_template/node_modules/less/lib/less/data/index.js +0 -9
  546. package/my_template/node_modules/less/lib/less/data/index.js.map +0 -1
  547. package/my_template/node_modules/less/lib/less/data/unit-conversions.js +0 -24
  548. package/my_template/node_modules/less/lib/less/data/unit-conversions.js.map +0 -1
  549. package/my_template/node_modules/less/lib/less/default-options.js +0 -57
  550. package/my_template/node_modules/less/lib/less/default-options.js.map +0 -1
  551. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js +0 -122
  552. package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js.map +0 -1
  553. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js +0 -168
  554. package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js.map +0 -1
  555. package/my_template/node_modules/less/lib/less/environment/environment-api.js +0 -28
  556. package/my_template/node_modules/less/lib/less/environment/environment-api.js.map +0 -1
  557. package/my_template/node_modules/less/lib/less/environment/environment.js +0 -57
  558. package/my_template/node_modules/less/lib/less/environment/environment.js.map +0 -1
  559. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js +0 -106
  560. package/my_template/node_modules/less/lib/less/environment/file-manager-api.js.map +0 -1
  561. package/my_template/node_modules/less/lib/less/functions/boolean.js +0 -21
  562. package/my_template/node_modules/less/lib/less/functions/boolean.js.map +0 -1
  563. package/my_template/node_modules/less/lib/less/functions/color-blending.js +0 -78
  564. package/my_template/node_modules/less/lib/less/functions/color-blending.js.map +0 -1
  565. package/my_template/node_modules/less/lib/less/functions/color.js +0 -404
  566. package/my_template/node_modules/less/lib/less/functions/color.js.map +0 -1
  567. package/my_template/node_modules/less/lib/less/functions/data-uri.js +0 -86
  568. package/my_template/node_modules/less/lib/less/functions/data-uri.js.map +0 -1
  569. package/my_template/node_modules/less/lib/less/functions/default.js +0 -29
  570. package/my_template/node_modules/less/lib/less/functions/default.js.map +0 -1
  571. package/my_template/node_modules/less/lib/less/functions/function-caller.js +0 -66
  572. package/my_template/node_modules/less/lib/less/functions/function-caller.js.map +0 -1
  573. package/my_template/node_modules/less/lib/less/functions/function-registry.js +0 -36
  574. package/my_template/node_modules/less/lib/less/functions/function-registry.js.map +0 -1
  575. package/my_template/node_modules/less/lib/less/functions/index.js +0 -35
  576. package/my_template/node_modules/less/lib/less/functions/index.js.map +0 -1
  577. package/my_template/node_modules/less/lib/less/functions/list.js +0 -136
  578. package/my_template/node_modules/less/lib/less/functions/list.js.map +0 -1
  579. package/my_template/node_modules/less/lib/less/functions/math-helper.js +0 -20
  580. package/my_template/node_modules/less/lib/less/functions/math-helper.js.map +0 -1
  581. package/my_template/node_modules/less/lib/less/functions/math.js +0 -30
  582. package/my_template/node_modules/less/lib/less/functions/math.js.map +0 -1
  583. package/my_template/node_modules/less/lib/less/functions/number.js +0 -98
  584. package/my_template/node_modules/less/lib/less/functions/number.js.map +0 -1
  585. package/my_template/node_modules/less/lib/less/functions/string.js +0 -42
  586. package/my_template/node_modules/less/lib/less/functions/string.js.map +0 -1
  587. package/my_template/node_modules/less/lib/less/functions/svg.js +0 -88
  588. package/my_template/node_modules/less/lib/less/functions/svg.js.map +0 -1
  589. package/my_template/node_modules/less/lib/less/functions/types.js +0 -75
  590. package/my_template/node_modules/less/lib/less/functions/types.js.map +0 -1
  591. package/my_template/node_modules/less/lib/less/import-manager.js +0 -196
  592. package/my_template/node_modules/less/lib/less/import-manager.js.map +0 -1
  593. package/my_template/node_modules/less/lib/less/index.js +0 -130
  594. package/my_template/node_modules/less/lib/less/index.js.map +0 -1
  595. package/my_template/node_modules/less/lib/less/less-error.js +0 -162
  596. package/my_template/node_modules/less/lib/less/less-error.js.map +0 -1
  597. package/my_template/node_modules/less/lib/less/logger.js +0 -37
  598. package/my_template/node_modules/less/lib/less/logger.js.map +0 -1
  599. package/my_template/node_modules/less/lib/less/parse-tree.js +0 -69
  600. package/my_template/node_modules/less/lib/less/parse-tree.js.map +0 -1
  601. package/my_template/node_modules/less/lib/less/parse.js +0 -108
  602. package/my_template/node_modules/less/lib/less/parse.js.map +0 -1
  603. package/my_template/node_modules/less/lib/less/parser/chunker.js +0 -147
  604. package/my_template/node_modules/less/lib/less/parser/chunker.js.map +0 -1
  605. package/my_template/node_modules/less/lib/less/parser/parser-input.js +0 -355
  606. package/my_template/node_modules/less/lib/less/parser/parser-input.js.map +0 -1
  607. package/my_template/node_modules/less/lib/less/parser/parser.js +0 -2262
  608. package/my_template/node_modules/less/lib/less/parser/parser.js.map +0 -1
  609. package/my_template/node_modules/less/lib/less/plugin-manager.js +0 -158
  610. package/my_template/node_modules/less/lib/less/plugin-manager.js.map +0 -1
  611. package/my_template/node_modules/less/lib/less/render.js +0 -64
  612. package/my_template/node_modules/less/lib/less/render.js.map +0 -1
  613. package/my_template/node_modules/less/lib/less/source-map-builder.js +0 -72
  614. package/my_template/node_modules/less/lib/less/source-map-builder.js.map +0 -1
  615. package/my_template/node_modules/less/lib/less/source-map-output.js +0 -140
  616. package/my_template/node_modules/less/lib/less/source-map-output.js.map +0 -1
  617. package/my_template/node_modules/less/lib/less/transform-tree.js +0 -93
  618. package/my_template/node_modules/less/lib/less/transform-tree.js.map +0 -1
  619. package/my_template/node_modules/less/lib/less/tree/anonymous.js +0 -34
  620. package/my_template/node_modules/less/lib/less/tree/anonymous.js.map +0 -1
  621. package/my_template/node_modules/less/lib/less/tree/assignment.js +0 -32
  622. package/my_template/node_modules/less/lib/less/tree/assignment.js.map +0 -1
  623. package/my_template/node_modules/less/lib/less/tree/atrule.js +0 -146
  624. package/my_template/node_modules/less/lib/less/tree/atrule.js.map +0 -1
  625. package/my_template/node_modules/less/lib/less/tree/attribute.js +0 -29
  626. package/my_template/node_modules/less/lib/less/tree/attribute.js.map +0 -1
  627. package/my_template/node_modules/less/lib/less/tree/call.js +0 -104
  628. package/my_template/node_modules/less/lib/less/tree/call.js.map +0 -1
  629. package/my_template/node_modules/less/lib/less/tree/color.js +0 -243
  630. package/my_template/node_modules/less/lib/less/tree/color.js.map +0 -1
  631. package/my_template/node_modules/less/lib/less/tree/combinator.js +0 -29
  632. package/my_template/node_modules/less/lib/less/tree/combinator.js.map +0 -1
  633. package/my_template/node_modules/less/lib/less/tree/comment.js +0 -28
  634. package/my_template/node_modules/less/lib/less/tree/comment.js.map +0 -1
  635. package/my_template/node_modules/less/lib/less/tree/condition.js +0 -41
  636. package/my_template/node_modules/less/lib/less/tree/condition.js.map +0 -1
  637. package/my_template/node_modules/less/lib/less/tree/debug-info.js +0 -37
  638. package/my_template/node_modules/less/lib/less/tree/debug-info.js.map +0 -1
  639. package/my_template/node_modules/less/lib/less/tree/declaration.js +0 -118
  640. package/my_template/node_modules/less/lib/less/tree/declaration.js.map +0 -1
  641. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js +0 -47
  642. package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js.map +0 -1
  643. package/my_template/node_modules/less/lib/less/tree/dimension.js +0 -159
  644. package/my_template/node_modules/less/lib/less/tree/dimension.js.map +0 -1
  645. package/my_template/node_modules/less/lib/less/tree/element.js +0 -64
  646. package/my_template/node_modules/less/lib/less/tree/element.js.map +0 -1
  647. package/my_template/node_modules/less/lib/less/tree/expression.js +0 -90
  648. package/my_template/node_modules/less/lib/less/tree/expression.js.map +0 -1
  649. package/my_template/node_modules/less/lib/less/tree/extend.js +0 -62
  650. package/my_template/node_modules/less/lib/less/tree/extend.js.map +0 -1
  651. package/my_template/node_modules/less/lib/less/tree/import.js +0 -191
  652. package/my_template/node_modules/less/lib/less/tree/import.js.map +0 -1
  653. package/my_template/node_modules/less/lib/less/tree/index.js +0 -56
  654. package/my_template/node_modules/less/lib/less/tree/index.js.map +0 -1
  655. package/my_template/node_modules/less/lib/less/tree/javascript.js +0 -35
  656. package/my_template/node_modules/less/lib/less/tree/javascript.js.map +0 -1
  657. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js +0 -57
  658. package/my_template/node_modules/less/lib/less/tree/js-eval-node.js.map +0 -1
  659. package/my_template/node_modules/less/lib/less/tree/keyword.js +0 -21
  660. package/my_template/node_modules/less/lib/less/tree/keyword.js.map +0 -1
  661. package/my_template/node_modules/less/lib/less/tree/media.js +0 -152
  662. package/my_template/node_modules/less/lib/less/tree/media.js.map +0 -1
  663. package/my_template/node_modules/less/lib/less/tree/mixin-call.js +0 -194
  664. package/my_template/node_modules/less/lib/less/tree/mixin-call.js.map +0 -1
  665. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js +0 -233
  666. package/my_template/node_modules/less/lib/less/tree/mixin-definition.js.map +0 -1
  667. package/my_template/node_modules/less/lib/less/tree/namespace-value.js +0 -76
  668. package/my_template/node_modules/less/lib/less/tree/namespace-value.js.map +0 -1
  669. package/my_template/node_modules/less/lib/less/tree/negative.js +0 -25
  670. package/my_template/node_modules/less/lib/less/tree/negative.js.map +0 -1
  671. package/my_template/node_modules/less/lib/less/tree/node.js +0 -166
  672. package/my_template/node_modules/less/lib/less/tree/node.js.map +0 -1
  673. package/my_template/node_modules/less/lib/less/tree/operation.js +0 -77
  674. package/my_template/node_modules/less/lib/less/tree/operation.js.map +0 -1
  675. package/my_template/node_modules/less/lib/less/tree/paren.js +0 -21
  676. package/my_template/node_modules/less/lib/less/tree/paren.js.map +0 -1
  677. package/my_template/node_modules/less/lib/less/tree/property.js +0 -62
  678. package/my_template/node_modules/less/lib/less/tree/property.js.map +0 -1
  679. package/my_template/node_modules/less/lib/less/tree/quoted.js +0 -66
  680. package/my_template/node_modules/less/lib/less/tree/quoted.js.map +0 -1
  681. package/my_template/node_modules/less/lib/less/tree/ruleset.js +0 -786
  682. package/my_template/node_modules/less/lib/less/tree/ruleset.js.map +0 -1
  683. package/my_template/node_modules/less/lib/less/tree/selector.js +0 -126
  684. package/my_template/node_modules/less/lib/less/tree/selector.js.map +0 -1
  685. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js +0 -13
  686. package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js.map +0 -1
  687. package/my_template/node_modules/less/lib/less/tree/unit.js +0 -141
  688. package/my_template/node_modules/less/lib/less/tree/unit.js.map +0 -1
  689. package/my_template/node_modules/less/lib/less/tree/url.js +0 -60
  690. package/my_template/node_modules/less/lib/less/tree/url.js.map +0 -1
  691. package/my_template/node_modules/less/lib/less/tree/value.js +0 -43
  692. package/my_template/node_modules/less/lib/less/tree/value.js.map +0 -1
  693. package/my_template/node_modules/less/lib/less/tree/variable-call.js +0 -44
  694. package/my_template/node_modules/less/lib/less/tree/variable-call.js.map +0 -1
  695. package/my_template/node_modules/less/lib/less/tree/variable.js +0 -61
  696. package/my_template/node_modules/less/lib/less/tree/variable.js.map +0 -1
  697. package/my_template/node_modules/less/lib/less/utils.js +0 -143
  698. package/my_template/node_modules/less/lib/less/utils.js.map +0 -1
  699. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js +0 -462
  700. package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js.map +0 -1
  701. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js +0 -61
  702. package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js.map +0 -1
  703. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js +0 -202
  704. package/my_template/node_modules/less/lib/less/visitors/import-visitor.js.map +0 -1
  705. package/my_template/node_modules/less/lib/less/visitors/index.js +0 -20
  706. package/my_template/node_modules/less/lib/less/visitors/index.js.map +0 -1
  707. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js +0 -57
  708. package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js.map +0 -1
  709. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js +0 -43
  710. package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js.map +0 -1
  711. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js +0 -321
  712. package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js.map +0 -1
  713. package/my_template/node_modules/less/lib/less/visitors/visitor.js +0 -158
  714. package/my_template/node_modules/less/lib/less/visitors/visitor.js.map +0 -1
  715. package/my_template/node_modules/less/lib/less-browser/add-default-options.js +0 -45
  716. package/my_template/node_modules/less/lib/less-browser/add-default-options.js.map +0 -1
  717. package/my_template/node_modules/less/lib/less-browser/bootstrap.js +0 -64
  718. package/my_template/node_modules/less/lib/less-browser/bootstrap.js.map +0 -1
  719. package/my_template/node_modules/less/lib/less-browser/browser.js +0 -80
  720. package/my_template/node_modules/less/lib/less-browser/browser.js.map +0 -1
  721. package/my_template/node_modules/less/lib/less-browser/cache.js +0 -45
  722. package/my_template/node_modules/less/lib/less-browser/cache.js.map +0 -1
  723. package/my_template/node_modules/less/lib/less-browser/error-reporting.js +0 -183
  724. package/my_template/node_modules/less/lib/less-browser/error-reporting.js.map +0 -1
  725. package/my_template/node_modules/less/lib/less-browser/file-manager.js +0 -122
  726. package/my_template/node_modules/less/lib/less-browser/file-manager.js.map +0 -1
  727. package/my_template/node_modules/less/lib/less-browser/image-size.js +0 -30
  728. package/my_template/node_modules/less/lib/less-browser/image-size.js.map +0 -1
  729. package/my_template/node_modules/less/lib/less-browser/index.js +0 -256
  730. package/my_template/node_modules/less/lib/less-browser/index.js.map +0 -1
  731. package/my_template/node_modules/less/lib/less-browser/log-listener.js +0 -43
  732. package/my_template/node_modules/less/lib/less-browser/log-listener.js.map +0 -1
  733. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js +0 -42
  734. package/my_template/node_modules/less/lib/less-browser/plugin-loader.js.map +0 -1
  735. package/my_template/node_modules/less/lib/less-browser/utils.js +0 -29
  736. package/my_template/node_modules/less/lib/less-browser/utils.js.map +0 -1
  737. package/my_template/node_modules/less/lib/less-node/environment.js +0 -19
  738. package/my_template/node_modules/less/lib/less-node/environment.js.map +0 -1
  739. package/my_template/node_modules/less/lib/less-node/file-manager.js +0 -158
  740. package/my_template/node_modules/less/lib/less-node/file-manager.js.map +0 -1
  741. package/my_template/node_modules/less/lib/less-node/fs.js +0 -11
  742. package/my_template/node_modules/less/lib/less-node/fs.js.map +0 -1
  743. package/my_template/node_modules/less/lib/less-node/image-size.js +0 -54
  744. package/my_template/node_modules/less/lib/less-node/image-size.js.map +0 -1
  745. package/my_template/node_modules/less/lib/less-node/index.js +0 -28
  746. package/my_template/node_modules/less/lib/less-node/index.js.map +0 -1
  747. package/my_template/node_modules/less/lib/less-node/lessc-helper.js +0 -92
  748. package/my_template/node_modules/less/lib/less-node/lessc-helper.js.map +0 -1
  749. package/my_template/node_modules/less/lib/less-node/plugin-loader.js +0 -73
  750. package/my_template/node_modules/less/lib/less-node/plugin-loader.js.map +0 -1
  751. package/my_template/node_modules/less/lib/less-node/url-file-manager.js +0 -68
  752. package/my_template/node_modules/less/lib/less-node/url-file-manager.js.map +0 -1
  753. package/my_template/node_modules/less/package.json +0 -133
  754. package/my_template/node_modules/less/test/.eslintrc.json +0 -9
  755. package/my_template/node_modules/less/test/README.md +0 -3
  756. package/my_template/node_modules/less/test/browser/common.js +0 -230
  757. package/my_template/node_modules/less/test/browser/css/global-vars/simple.css +0 -3
  758. package/my_template/node_modules/less/test/browser/css/modify-vars/simple.css +0 -8
  759. package/my_template/node_modules/less/test/browser/css/plugin/plugin.css +0 -3
  760. package/my_template/node_modules/less/test/browser/css/postProcessor/postProcessor.css +0 -4
  761. package/my_template/node_modules/less/test/browser/css/relative-urls/urls.css +0 -36
  762. package/my_template/node_modules/less/test/browser/css/rewrite-urls/urls.css +0 -36
  763. package/my_template/node_modules/less/test/browser/css/rootpath/urls.css +0 -35
  764. package/my_template/node_modules/less/test/browser/css/rootpath-relative/urls.css +0 -35
  765. package/my_template/node_modules/less/test/browser/css/rootpath-rewrite-urls/urls.css +0 -35
  766. package/my_template/node_modules/less/test/browser/css/urls.css +0 -54
  767. package/my_template/node_modules/less/test/browser/generator/benchmark.config.js +0 -50
  768. package/my_template/node_modules/less/test/browser/generator/generate.js +0 -78
  769. package/my_template/node_modules/less/test/browser/generator/runner.config.js +0 -186
  770. package/my_template/node_modules/less/test/browser/generator/runner.js +0 -2
  771. package/my_template/node_modules/less/test/browser/generator/template.js +0 -83
  772. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.less +0 -3
  773. package/my_template/node_modules/less/test/browser/less/console-errors/test-error.txt +0 -2
  774. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.less +0 -3
  775. package/my_template/node_modules/less/test/browser/less/errors/image-height-error.txt +0 -4
  776. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.less +0 -3
  777. package/my_template/node_modules/less/test/browser/less/errors/image-size-error.txt +0 -4
  778. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.less +0 -3
  779. package/my_template/node_modules/less/test/browser/less/errors/image-width-error.txt +0 -4
  780. package/my_template/node_modules/less/test/browser/less/global-vars/simple.less +0 -3
  781. package/my_template/node_modules/less/test/browser/less/imports/urls.less +0 -4
  782. package/my_template/node_modules/less/test/browser/less/imports/urls2.less +0 -4
  783. package/my_template/node_modules/less/test/browser/less/modify-vars/imports/simple2.less +0 -4
  784. package/my_template/node_modules/less/test/browser/less/modify-vars/simple.less +0 -8
  785. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/mixin-consumer.less +0 -5
  786. package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +0 -15
  787. package/my_template/node_modules/less/test/browser/less/plugin/plugin.js +0 -4
  788. package/my_template/node_modules/less/test/browser/less/plugin/plugin.less +0 -4
  789. package/my_template/node_modules/less/test/browser/less/postProcessor/postProcessor.less +0 -4
  790. package/my_template/node_modules/less/test/browser/less/relative-urls/urls.less +0 -34
  791. package/my_template/node_modules/less/test/browser/less/rewrite-urls/urls.less +0 -34
  792. package/my_template/node_modules/less/test/browser/less/rootpath/urls.less +0 -33
  793. package/my_template/node_modules/less/test/browser/less/rootpath-relative/urls.less +0 -33
  794. package/my_template/node_modules/less/test/browser/less/rootpath-rewrite-urls/urls.less +0 -33
  795. package/my_template/node_modules/less/test/browser/less/urls.less +0 -62
  796. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin-options.js +0 -3
  797. package/my_template/node_modules/less/test/browser/runner-VisitorPlugin.js +0 -3
  798. package/my_template/node_modules/less/test/browser/runner-browser-options.js +0 -51
  799. package/my_template/node_modules/less/test/browser/runner-browser-spec.js +0 -12
  800. package/my_template/node_modules/less/test/browser/runner-console-errors.js +0 -5
  801. package/my_template/node_modules/less/test/browser/runner-errors-options.js +0 -6
  802. package/my_template/node_modules/less/test/browser/runner-errors-spec.js +0 -3
  803. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin-options.js +0 -5
  804. package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin.js +0 -3
  805. package/my_template/node_modules/less/test/browser/runner-global-vars-options.js +0 -7
  806. package/my_template/node_modules/less/test/browser/runner-global-vars-spec.js +0 -3
  807. package/my_template/node_modules/less/test/browser/runner-legacy-options.js +0 -6
  808. package/my_template/node_modules/less/test/browser/runner-legacy-spec.js +0 -3
  809. package/my_template/node_modules/less/test/browser/runner-main-options.js +0 -17
  810. package/my_template/node_modules/less/test/browser/runner-main-spec.js +0 -7
  811. package/my_template/node_modules/less/test/browser/runner-modify-vars-options.js +0 -5
  812. package/my_template/node_modules/less/test/browser/runner-modify-vars-spec.js +0 -33
  813. package/my_template/node_modules/less/test/browser/runner-no-js-errors-options.js +0 -4
  814. package/my_template/node_modules/less/test/browser/runner-no-js-errors-spec.js +0 -3
  815. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin-options.js +0 -3
  816. package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin.js +0 -3
  817. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin-options.js +0 -3
  818. package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin.js +0 -3
  819. package/my_template/node_modules/less/test/browser/runner-production-options.js +0 -3
  820. package/my_template/node_modules/less/test/browser/runner-production-spec.js +0 -5
  821. package/my_template/node_modules/less/test/browser/runner-relative-urls-options.js +0 -3
  822. package/my_template/node_modules/less/test/browser/runner-relative-urls-spec.js +0 -3
  823. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-options.js +0 -3
  824. package/my_template/node_modules/less/test/browser/runner-rewrite-urls-spec.js +0 -3
  825. package/my_template/node_modules/less/test/browser/runner-rootpath-options.js +0 -3
  826. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-options.js +0 -4
  827. package/my_template/node_modules/less/test/browser/runner-rootpath-relative-spec.js +0 -3
  828. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-options.js +0 -4
  829. package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-spec.js +0 -3
  830. package/my_template/node_modules/less/test/browser/runner-rootpath-spec.js +0 -3
  831. package/my_template/node_modules/less/test/browser/runner-strict-units-options.js +0 -5
  832. package/my_template/node_modules/less/test/browser/runner-strict-units-spec.js +0 -3
  833. package/my_template/node_modules/less/test/index.js +0 -89
  834. package/my_template/node_modules/less/test/less-test.js +0 -535
  835. package/my_template/node_modules/less/test/modify-vars.js +0 -28
  836. package/my_template/node_modules/less/test/plugins/filemanager/index.js +0 -19
  837. package/my_template/node_modules/less/test/plugins/postprocess/index.js +0 -14
  838. package/my_template/node_modules/less/test/plugins/preprocess/index.js +0 -19
  839. package/my_template/node_modules/less/test/plugins/visitor/index.js +0 -24
  840. package/my_template/node_modules/less/test/sourcemaps/basic.json +0 -1
  841. package/my_template/node_modules/less/test/sourcemaps/custom-props.json +0 -1
  842. package/my_template/node_modules/less/test/sourcemaps/index.html +0 -17
  843. package/my_template/node_modules/less/test/sourcemaps-disable-annotation/basic.json +0 -1
  844. package/my_template/node_modules/less/test/test-es6.ts +0 -17
  845. package/my_template/node_modules/less/tsconfig.json +0 -13
  846. package/my_template/node_modules/less-plugin-clean-css/LICENSE +0 -201
  847. package/my_template/node_modules/less-plugin-clean-css/README.md +0 -33
  848. package/my_template/node_modules/less-plugin-clean-css/lib/clean-css-processor.js +0 -63
  849. package/my_template/node_modules/less-plugin-clean-css/lib/index.js +0 -23
  850. package/my_template/node_modules/less-plugin-clean-css/lib/parse-options.js +0 -61
  851. package/my_template/node_modules/less-plugin-clean-css/lib/usage.js +0 -19
  852. package/my_template/node_modules/less-plugin-clean-css/package.json +0 -39
  853. package/my_template/node_modules/make-dir/index.d.ts +0 -39
  854. package/my_template/node_modules/make-dir/index.js +0 -139
  855. package/my_template/node_modules/make-dir/license +0 -9
  856. package/my_template/node_modules/make-dir/package.json +0 -59
  857. package/my_template/node_modules/make-dir/readme.md +0 -123
  858. package/my_template/node_modules/merge-stream/LICENSE +0 -21
  859. package/my_template/node_modules/merge-stream/README.md +0 -78
  860. package/my_template/node_modules/merge-stream/index.js +0 -41
  861. package/my_template/node_modules/merge-stream/package.json +0 -19
  862. package/my_template/node_modules/mime/CHANGELOG.md +0 -164
  863. package/my_template/node_modules/mime/LICENSE +0 -21
  864. package/my_template/node_modules/mime/README.md +0 -90
  865. package/my_template/node_modules/mime/cli.js +0 -8
  866. package/my_template/node_modules/mime/mime.js +0 -108
  867. package/my_template/node_modules/mime/package.json +0 -44
  868. package/my_template/node_modules/mime/src/build.js +0 -53
  869. package/my_template/node_modules/mime/src/test.js +0 -60
  870. package/my_template/node_modules/mime/types.json +0 -1
  871. package/my_template/node_modules/native-request/README.md +0 -184
  872. package/my_template/node_modules/native-request/commons/jsonToParameter.js +0 -14
  873. package/my_template/node_modules/native-request/index.js +0 -65
  874. package/my_template/node_modules/native-request/lib/Request.js +0 -144
  875. package/my_template/node_modules/native-request/package.json +0 -45
  876. package/my_template/node_modules/native-request/test/express.get.cookies.js +0 -58
  877. package/my_template/node_modules/native-request/test/express.get.js +0 -146
  878. package/my_template/node_modules/native-request/test/express.post.cookies.js +0 -59
  879. package/my_template/node_modules/native-request/test/express.post.js +0 -148
  880. package/my_template/node_modules/native-request/test/get.cookies.js +0 -72
  881. package/my_template/node_modules/native-request/test/get.js +0 -140
  882. package/my_template/node_modules/native-request/test/post.cookies.js +0 -72
  883. package/my_template/node_modules/native-request/test/post.js +0 -155
  884. package/my_template/node_modules/path-parse/LICENSE +0 -21
  885. package/my_template/node_modules/path-parse/README.md +0 -42
  886. package/my_template/node_modules/path-parse/index.js +0 -75
  887. package/my_template/node_modules/path-parse/package.json +0 -33
  888. package/my_template/node_modules/pify/index.js +0 -68
  889. package/my_template/node_modules/pify/license +0 -9
  890. package/my_template/node_modules/pify/package.json +0 -51
  891. package/my_template/node_modules/pify/readme.md +0 -145
  892. package/my_template/node_modules/prr/.jshintrc +0 -61
  893. package/my_template/node_modules/prr/.travis.yml +0 -10
  894. package/my_template/node_modules/prr/LICENSE.md +0 -11
  895. package/my_template/node_modules/prr/README.md +0 -47
  896. package/my_template/node_modules/prr/package.json +0 -26
  897. package/my_template/node_modules/prr/prr.js +0 -63
  898. package/my_template/node_modules/prr/test.js +0 -169
  899. package/my_template/node_modules/resolve/.editorconfig +0 -37
  900. package/my_template/node_modules/resolve/.eslintrc +0 -65
  901. package/my_template/node_modules/resolve/.github/FUNDING.yml +0 -12
  902. package/my_template/node_modules/resolve/LICENSE +0 -21
  903. package/my_template/node_modules/resolve/SECURITY.md +0 -3
  904. package/my_template/node_modules/resolve/async.js +0 -3
  905. package/my_template/node_modules/resolve/bin/resolve +0 -50
  906. package/my_template/node_modules/resolve/example/async.js +0 -5
  907. package/my_template/node_modules/resolve/example/sync.js +0 -3
  908. package/my_template/node_modules/resolve/index.js +0 -6
  909. package/my_template/node_modules/resolve/lib/async.js +0 -329
  910. package/my_template/node_modules/resolve/lib/caller.js +0 -8
  911. package/my_template/node_modules/resolve/lib/core.js +0 -12
  912. package/my_template/node_modules/resolve/lib/core.json +0 -158
  913. package/my_template/node_modules/resolve/lib/homedir.js +0 -24
  914. package/my_template/node_modules/resolve/lib/is-core.js +0 -5
  915. package/my_template/node_modules/resolve/lib/node-modules-paths.js +0 -42
  916. package/my_template/node_modules/resolve/lib/normalize-options.js +0 -10
  917. package/my_template/node_modules/resolve/lib/sync.js +0 -208
  918. package/my_template/node_modules/resolve/package.json +0 -72
  919. package/my_template/node_modules/resolve/readme.markdown +0 -301
  920. package/my_template/node_modules/resolve/sync.js +0 -3
  921. package/my_template/node_modules/resolve/test/core.js +0 -88
  922. package/my_template/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  923. package/my_template/node_modules/resolve/test/dotdot/index.js +0 -1
  924. package/my_template/node_modules/resolve/test/dotdot.js +0 -29
  925. package/my_template/node_modules/resolve/test/faulty_basedir.js +0 -29
  926. package/my_template/node_modules/resolve/test/filter.js +0 -34
  927. package/my_template/node_modules/resolve/test/filter_sync.js +0 -33
  928. package/my_template/node_modules/resolve/test/home_paths.js +0 -127
  929. package/my_template/node_modules/resolve/test/home_paths_sync.js +0 -114
  930. package/my_template/node_modules/resolve/test/mock.js +0 -315
  931. package/my_template/node_modules/resolve/test/mock_sync.js +0 -214
  932. package/my_template/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  933. package/my_template/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  934. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  935. package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  936. package/my_template/node_modules/resolve/test/module_dir.js +0 -56
  937. package/my_template/node_modules/resolve/test/node-modules-paths.js +0 -143
  938. package/my_template/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  939. package/my_template/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  940. package/my_template/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  941. package/my_template/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  942. package/my_template/node_modules/resolve/test/node_path.js +0 -70
  943. package/my_template/node_modules/resolve/test/nonstring.js +0 -9
  944. package/my_template/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  945. package/my_template/node_modules/resolve/test/pathfilter.js +0 -75
  946. package/my_template/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  947. package/my_template/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  948. package/my_template/node_modules/resolve/test/precedence/aaa.js +0 -1
  949. package/my_template/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  950. package/my_template/node_modules/resolve/test/precedence/bbb.js +0 -1
  951. package/my_template/node_modules/resolve/test/precedence.js +0 -23
  952. package/my_template/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  953. package/my_template/node_modules/resolve/test/resolver/baz/package.json +0 -4
  954. package/my_template/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  955. package/my_template/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  956. package/my_template/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  957. package/my_template/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  958. package/my_template/node_modules/resolve/test/resolver/cup.coffee +0 -1
  959. package/my_template/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  960. package/my_template/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  961. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  962. package/my_template/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  963. package/my_template/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  964. package/my_template/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  965. package/my_template/node_modules/resolve/test/resolver/foo.js +0 -1
  966. package/my_template/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  967. package/my_template/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  968. package/my_template/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  969. package/my_template/node_modules/resolve/test/resolver/mug.coffee +0 -0
  970. package/my_template/node_modules/resolve/test/resolver/mug.js +0 -0
  971. package/my_template/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  972. package/my_template/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  973. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  974. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  975. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  976. package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  977. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  978. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  979. package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  980. package/my_template/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  981. package/my_template/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  982. package/my_template/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  983. package/my_template/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  984. package/my_template/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  985. package/my_template/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  986. package/my_template/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  987. package/my_template/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  988. package/my_template/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  989. package/my_template/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  990. package/my_template/node_modules/resolve/test/resolver.js +0 -597
  991. package/my_template/node_modules/resolve/test/resolver_sync.js +0 -730
  992. package/my_template/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  993. package/my_template/node_modules/resolve/test/shadowed_core.js +0 -54
  994. package/my_template/node_modules/resolve/test/subdirs.js +0 -13
  995. package/my_template/node_modules/resolve/test/symlinks.js +0 -176
  996. package/my_template/node_modules/rollup/CHANGELOG.md +0 -3084
  997. package/my_template/node_modules/rollup/LICENSE.md +0 -578
  998. package/my_template/node_modules/rollup/README.md +0 -138
  999. package/my_template/node_modules/rollup/dist/bin/rollup +0 -1457
  1000. package/my_template/node_modules/rollup/dist/rollup.browser.es.js +0 -25
  1001. package/my_template/node_modules/rollup/dist/rollup.browser.js +0 -26
  1002. package/my_template/node_modules/rollup/dist/rollup.d.ts +0 -656
  1003. package/my_template/node_modules/rollup/dist/rollup.es.js +0 -17493
  1004. package/my_template/node_modules/rollup/dist/rollup.js +0 -29
  1005. package/my_template/node_modules/rollup/dist/shared/index.js +0 -321
  1006. package/my_template/node_modules/rollup/dist/shared/node-entry.js +0 -17504
  1007. package/my_template/node_modules/rollup/package.json +0 -139
  1008. package/my_template/node_modules/rollup-plugin-node-resolve/CHANGELOG.md +0 -195
  1009. package/my_template/node_modules/rollup-plugin-node-resolve/README.md +0 -135
  1010. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js +0 -425
  1011. package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es.js +0 -421
  1012. package/my_template/node_modules/rollup-plugin-node-resolve/index.d.ts +0 -100
  1013. package/my_template/node_modules/rollup-plugin-node-resolve/package.json +0 -60
  1014. package/my_template/node_modules/rollup-plugin-node-resolve/src/index.js +0 -358
  1015. package/my_template/node_modules/rollup-plugin-uglify/LICENSE +0 -20
  1016. package/my_template/node_modules/rollup-plugin-uglify/README.md +0 -84
  1017. package/my_template/node_modules/rollup-plugin-uglify/index.js +0 -51
  1018. package/my_template/node_modules/rollup-plugin-uglify/package.json +0 -43
  1019. package/my_template/node_modules/rollup-plugin-uglify/transform.js +0 -13
  1020. package/my_template/node_modules/rollup-pluginutils/CHANGELOG.md +0 -125
  1021. package/my_template/node_modules/rollup-pluginutils/README.md +0 -169
  1022. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +0 -3292
  1023. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.d.ts +0 -39
  1024. package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.es.js +0 -3280
  1025. package/my_template/node_modules/rollup-pluginutils/package.json +0 -57
  1026. package/my_template/node_modules/rollup-pluginutils/src/addExtension.ts +0 -9
  1027. package/my_template/node_modules/rollup-pluginutils/src/attachScopes.ts +0 -125
  1028. package/my_template/node_modules/rollup-pluginutils/src/createFilter.ts +0 -52
  1029. package/my_template/node_modules/rollup-pluginutils/src/dataToEsm.ts +0 -92
  1030. package/my_template/node_modules/rollup-pluginutils/src/extractAssignedNames.ts +0 -46
  1031. package/my_template/node_modules/rollup-pluginutils/src/index.ts +0 -6
  1032. package/my_template/node_modules/rollup-pluginutils/src/makeLegalIdentifier.ts +0 -21
  1033. package/my_template/node_modules/rollup-pluginutils/src/pluginutils.d.ts +0 -39
  1034. package/my_template/node_modules/rollup-pluginutils/src/utils/ensureArray.ts +0 -5
  1035. package/my_template/node_modules/semver/LICENSE +0 -15
  1036. package/my_template/node_modules/semver/README.md +0 -412
  1037. package/my_template/node_modules/semver/bin/semver +0 -160
  1038. package/my_template/node_modules/semver/package.json +0 -38
  1039. package/my_template/node_modules/semver/range.bnf +0 -16
  1040. package/my_template/node_modules/semver/semver.js +0 -1525
  1041. package/my_template/node_modules/serialize-javascript/LICENSE +0 -27
  1042. package/my_template/node_modules/serialize-javascript/README.md +0 -143
  1043. package/my_template/node_modules/serialize-javascript/index.js +0 -210
  1044. package/my_template/node_modules/serialize-javascript/package.json +0 -33
  1045. package/my_template/node_modules/source-map/CHANGELOG.md +0 -301
  1046. package/my_template/node_modules/source-map/LICENSE +0 -28
  1047. package/my_template/node_modules/source-map/README.md +0 -742
  1048. package/my_template/node_modules/source-map/dist/source-map.debug.js +0 -3234
  1049. package/my_template/node_modules/source-map/dist/source-map.js +0 -3233
  1050. package/my_template/node_modules/source-map/dist/source-map.min.js +0 -2
  1051. package/my_template/node_modules/source-map/dist/source-map.min.js.map +0 -1
  1052. package/my_template/node_modules/source-map/lib/array-set.js +0 -121
  1053. package/my_template/node_modules/source-map/lib/base64-vlq.js +0 -140
  1054. package/my_template/node_modules/source-map/lib/base64.js +0 -67
  1055. package/my_template/node_modules/source-map/lib/binary-search.js +0 -111
  1056. package/my_template/node_modules/source-map/lib/mapping-list.js +0 -79
  1057. package/my_template/node_modules/source-map/lib/quick-sort.js +0 -114
  1058. package/my_template/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1059. package/my_template/node_modules/source-map/lib/source-map-generator.js +0 -425
  1060. package/my_template/node_modules/source-map/lib/source-node.js +0 -413
  1061. package/my_template/node_modules/source-map/lib/util.js +0 -488
  1062. package/my_template/node_modules/source-map/package.json +0 -73
  1063. package/my_template/node_modules/source-map/source-map.d.ts +0 -98
  1064. package/my_template/node_modules/source-map/source-map.js +0 -8
  1065. package/my_template/node_modules/supports-color/browser.js +0 -5
  1066. package/my_template/node_modules/supports-color/index.js +0 -131
  1067. package/my_template/node_modules/supports-color/license +0 -9
  1068. package/my_template/node_modules/supports-color/package.json +0 -53
  1069. package/my_template/node_modules/supports-color/readme.md +0 -66
  1070. package/my_template/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  1071. package/my_template/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  1072. package/my_template/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  1073. package/my_template/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  1074. package/my_template/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  1075. package/my_template/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  1076. package/my_template/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  1077. package/my_template/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  1078. package/my_template/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  1079. package/my_template/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  1080. package/my_template/node_modules/tslib/CopyrightNotice.txt +0 -15
  1081. package/my_template/node_modules/tslib/LICENSE.txt +0 -12
  1082. package/my_template/node_modules/tslib/README.md +0 -142
  1083. package/my_template/node_modules/tslib/modules/index.js +0 -51
  1084. package/my_template/node_modules/tslib/modules/package.json +0 -3
  1085. package/my_template/node_modules/tslib/package.json +0 -37
  1086. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  1087. package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  1088. package/my_template/node_modules/tslib/tslib.d.ts +0 -37
  1089. package/my_template/node_modules/tslib/tslib.es6.html +0 -1
  1090. package/my_template/node_modules/tslib/tslib.es6.js +0 -218
  1091. package/my_template/node_modules/tslib/tslib.html +0 -1
  1092. package/my_template/node_modules/tslib/tslib.js +0 -284
  1093. package/my_template/node_modules/uglify-js/LICENSE +0 -29
  1094. package/my_template/node_modules/uglify-js/README.md +0 -1478
  1095. package/my_template/node_modules/uglify-js/bin/uglifyjs +0 -605
  1096. package/my_template/node_modules/uglify-js/lib/ast.js +0 -2356
  1097. package/my_template/node_modules/uglify-js/lib/compress.js +0 -14241
  1098. package/my_template/node_modules/uglify-js/lib/minify.js +0 -276
  1099. package/my_template/node_modules/uglify-js/lib/mozilla-ast.js +0 -1310
  1100. package/my_template/node_modules/uglify-js/lib/output.js +0 -1956
  1101. package/my_template/node_modules/uglify-js/lib/parse.js +0 -2585
  1102. package/my_template/node_modules/uglify-js/lib/propmangle.js +0 -328
  1103. package/my_template/node_modules/uglify-js/lib/scope.js +0 -866
  1104. package/my_template/node_modules/uglify-js/lib/sourcemap.js +0 -195
  1105. package/my_template/node_modules/uglify-js/lib/transform.js +0 -250
  1106. package/my_template/node_modules/uglify-js/lib/utils.js +0 -287
  1107. package/my_template/node_modules/uglify-js/package.json +0 -56
  1108. package/my_template/node_modules/uglify-js/tools/domprops.html +0 -456
  1109. package/my_template/node_modules/uglify-js/tools/domprops.json +0 -8325
  1110. package/my_template/node_modules/uglify-js/tools/exports.js +0 -8
  1111. package/my_template/node_modules/uglify-js/tools/node.js +0 -110
  1112. package/my_template/node_modules/uglify-js/tools/tty.js +0 -22
  1113. package/my_template/node_modules/undici-types/README.md +0 -6
  1114. package/my_template/node_modules/undici-types/agent.d.ts +0 -31
  1115. package/my_template/node_modules/undici-types/api.d.ts +0 -43
  1116. package/my_template/node_modules/undici-types/balanced-pool.d.ts +0 -18
  1117. package/my_template/node_modules/undici-types/cache.d.ts +0 -36
  1118. package/my_template/node_modules/undici-types/client.d.ts +0 -97
  1119. package/my_template/node_modules/undici-types/connector.d.ts +0 -34
  1120. package/my_template/node_modules/undici-types/content-type.d.ts +0 -21
  1121. package/my_template/node_modules/undici-types/cookies.d.ts +0 -28
  1122. package/my_template/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
  1123. package/my_template/node_modules/undici-types/dispatcher.d.ts +0 -241
  1124. package/my_template/node_modules/undici-types/errors.d.ts +0 -128
  1125. package/my_template/node_modules/undici-types/fetch.d.ts +0 -209
  1126. package/my_template/node_modules/undici-types/file.d.ts +0 -39
  1127. package/my_template/node_modules/undici-types/filereader.d.ts +0 -54
  1128. package/my_template/node_modules/undici-types/formdata.d.ts +0 -108
  1129. package/my_template/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1130. package/my_template/node_modules/undici-types/global-origin.d.ts +0 -7
  1131. package/my_template/node_modules/undici-types/handlers.d.ts +0 -9
  1132. package/my_template/node_modules/undici-types/header.d.ts +0 -4
  1133. package/my_template/node_modules/undici-types/index.d.ts +0 -63
  1134. package/my_template/node_modules/undici-types/interceptors.d.ts +0 -5
  1135. package/my_template/node_modules/undici-types/mock-agent.d.ts +0 -50
  1136. package/my_template/node_modules/undici-types/mock-client.d.ts +0 -25
  1137. package/my_template/node_modules/undici-types/mock-errors.d.ts +0 -12
  1138. package/my_template/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  1139. package/my_template/node_modules/undici-types/mock-pool.d.ts +0 -25
  1140. package/my_template/node_modules/undici-types/package.json +0 -55
  1141. package/my_template/node_modules/undici-types/patch.d.ts +0 -71
  1142. package/my_template/node_modules/undici-types/pool-stats.d.ts +0 -19
  1143. package/my_template/node_modules/undici-types/pool.d.ts +0 -28
  1144. package/my_template/node_modules/undici-types/proxy-agent.d.ts +0 -30
  1145. package/my_template/node_modules/undici-types/readable.d.ts +0 -61
  1146. package/my_template/node_modules/undici-types/webidl.d.ts +0 -220
  1147. package/my_template/node_modules/undici-types/websocket.d.ts +0 -131
  1148. package/site/images/logo_white.png +0 -0
@@ -1,996 +0,0 @@
1
- /**
2
- * The `node:assert` module provides a set of assertion functions for verifying
3
- * invariants.
4
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js)
5
- */
6
- declare module "assert" {
7
- /**
8
- * An alias of {@link ok}.
9
- * @since v0.5.9
10
- * @param value The input that is checked for being truthy.
11
- */
12
- function assert(value: unknown, message?: string | Error): asserts value;
13
- namespace assert {
14
- /**
15
- * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class.
16
- */
17
- class AssertionError extends Error {
18
- /**
19
- * Set to the `actual` argument for methods such as {@link assert.strictEqual()}.
20
- */
21
- actual: unknown;
22
- /**
23
- * Set to the `expected` argument for methods such as {@link assert.strictEqual()}.
24
- */
25
- expected: unknown;
26
- /**
27
- * Set to the passed in operator value.
28
- */
29
- operator: string;
30
- /**
31
- * Indicates if the message was auto-generated (`true`) or not.
32
- */
33
- generatedMessage: boolean;
34
- /**
35
- * Value is always `ERR_ASSERTION` to show that the error is an assertion error.
36
- */
37
- code: "ERR_ASSERTION";
38
- constructor(options?: {
39
- /** If provided, the error message is set to this value. */
40
- message?: string | undefined;
41
- /** The `actual` property on the error instance. */
42
- actual?: unknown | undefined;
43
- /** The `expected` property on the error instance. */
44
- expected?: unknown | undefined;
45
- /** The `operator` property on the error instance. */
46
- operator?: string | undefined;
47
- /** If provided, the generated stack trace omits frames before this function. */
48
- // eslint-disable-next-line @typescript-eslint/ban-types
49
- stackStartFn?: Function | undefined;
50
- });
51
- }
52
- /**
53
- * This feature is deprecated and will be removed in a future version.
54
- * Please consider using alternatives such as the `mock` helper function.
55
- * @since v14.2.0, v12.19.0
56
- * @deprecated Deprecated
57
- */
58
- class CallTracker {
59
- /**
60
- * The wrapper function is expected to be called exactly `exact` times. If the
61
- * function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an
62
- * error.
63
- *
64
- * ```js
65
- * import assert from 'node:assert';
66
- *
67
- * // Creates call tracker.
68
- * const tracker = new assert.CallTracker();
69
- *
70
- * function func() {}
71
- *
72
- * // Returns a function that wraps func() that must be called exact times
73
- * // before tracker.verify().
74
- * const callsfunc = tracker.calls(func);
75
- * ```
76
- * @since v14.2.0, v12.19.0
77
- * @param [fn='A no-op function']
78
- * @param [exact=1]
79
- * @return that wraps `fn`.
80
- */
81
- calls(exact?: number): () => void;
82
- calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
83
- /**
84
- * Example:
85
- *
86
- * ```js
87
- * import assert from 'node:assert';
88
- *
89
- * const tracker = new assert.CallTracker();
90
- *
91
- * function func() {}
92
- * const callsfunc = tracker.calls(func);
93
- * callsfunc(1, 2, 3);
94
- *
95
- * assert.deepStrictEqual(tracker.getCalls(callsfunc),
96
- * [{ thisArg: undefined, arguments: [1, 2, 3] }]);
97
- * ```
98
- * @since v18.8.0, v16.18.0
99
- * @param fn
100
- * @return An Array with all the calls to a tracked function.
101
- */
102
- getCalls(fn: Function): CallTrackerCall[];
103
- /**
104
- * The arrays contains information about the expected and actual number of calls of
105
- * the functions that have not been called the expected number of times.
106
- *
107
- * ```js
108
- * import assert from 'node:assert';
109
- *
110
- * // Creates call tracker.
111
- * const tracker = new assert.CallTracker();
112
- *
113
- * function func() {}
114
- *
115
- * // Returns a function that wraps func() that must be called exact times
116
- * // before tracker.verify().
117
- * const callsfunc = tracker.calls(func, 2);
118
- *
119
- * // Returns an array containing information on callsfunc()
120
- * console.log(tracker.report());
121
- * // [
122
- * // {
123
- * // message: 'Expected the func function to be executed 2 time(s) but was
124
- * // executed 0 time(s).',
125
- * // actual: 0,
126
- * // expected: 2,
127
- * // operator: 'func',
128
- * // stack: stack trace
129
- * // }
130
- * // ]
131
- * ```
132
- * @since v14.2.0, v12.19.0
133
- * @return An Array of objects containing information about the wrapper functions returned by `calls`.
134
- */
135
- report(): CallTrackerReportInformation[];
136
- /**
137
- * Reset calls of the call tracker.
138
- * If a tracked function is passed as an argument, the calls will be reset for it.
139
- * If no arguments are passed, all tracked functions will be reset.
140
- *
141
- * ```js
142
- * import assert from 'node:assert';
143
- *
144
- * const tracker = new assert.CallTracker();
145
- *
146
- * function func() {}
147
- * const callsfunc = tracker.calls(func);
148
- *
149
- * callsfunc();
150
- * // Tracker was called once
151
- * assert.strictEqual(tracker.getCalls(callsfunc).length, 1);
152
- *
153
- * tracker.reset(callsfunc);
154
- * assert.strictEqual(tracker.getCalls(callsfunc).length, 0);
155
- * ```
156
- * @since v18.8.0, v16.18.0
157
- * @param fn a tracked function to reset.
158
- */
159
- reset(fn?: Function): void;
160
- /**
161
- * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that
162
- * have not been called the expected number of times.
163
- *
164
- * ```js
165
- * import assert from 'node:assert';
166
- *
167
- * // Creates call tracker.
168
- * const tracker = new assert.CallTracker();
169
- *
170
- * function func() {}
171
- *
172
- * // Returns a function that wraps func() that must be called exact times
173
- * // before tracker.verify().
174
- * const callsfunc = tracker.calls(func, 2);
175
- *
176
- * callsfunc();
177
- *
178
- * // Will throw an error since callsfunc() was only called once.
179
- * tracker.verify();
180
- * ```
181
- * @since v14.2.0, v12.19.0
182
- */
183
- verify(): void;
184
- }
185
- interface CallTrackerCall {
186
- thisArg: object;
187
- arguments: unknown[];
188
- }
189
- interface CallTrackerReportInformation {
190
- message: string;
191
- /** The actual number of times the function was called. */
192
- actual: number;
193
- /** The number of times the function was expected to be called. */
194
- expected: number;
195
- /** The name of the function that is wrapped. */
196
- operator: string;
197
- /** A stack trace of the function. */
198
- stack: object;
199
- }
200
- type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error;
201
- /**
202
- * Throws an `AssertionError` with the provided error message or a default
203
- * error message. If the `message` parameter is an instance of an `Error` then
204
- * it will be thrown instead of the `AssertionError`.
205
- *
206
- * ```js
207
- * import assert from 'node:assert/strict';
208
- *
209
- * assert.fail();
210
- * // AssertionError [ERR_ASSERTION]: Failed
211
- *
212
- * assert.fail('boom');
213
- * // AssertionError [ERR_ASSERTION]: boom
214
- *
215
- * assert.fail(new TypeError('need array'));
216
- * // TypeError: need array
217
- * ```
218
- *
219
- * Using `assert.fail()` with more than two arguments is possible but deprecated.
220
- * See below for further details.
221
- * @since v0.1.21
222
- * @param [message='Failed']
223
- */
224
- function fail(message?: string | Error): never;
225
- /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
226
- function fail(
227
- actual: unknown,
228
- expected: unknown,
229
- message?: string | Error,
230
- operator?: string,
231
- // eslint-disable-next-line @typescript-eslint/ban-types
232
- stackStartFn?: Function,
233
- ): never;
234
- /**
235
- * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`.
236
- *
237
- * If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default
238
- * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
239
- * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``.
240
- *
241
- * Be aware that in the `repl` the error message will be different to the one
242
- * thrown in a file! See below for further details.
243
- *
244
- * ```js
245
- * import assert from 'node:assert/strict';
246
- *
247
- * assert.ok(true);
248
- * // OK
249
- * assert.ok(1);
250
- * // OK
251
- *
252
- * assert.ok();
253
- * // AssertionError: No value argument passed to `assert.ok()`
254
- *
255
- * assert.ok(false, 'it\'s false');
256
- * // AssertionError: it's false
257
- *
258
- * // In the repl:
259
- * assert.ok(typeof 123 === 'string');
260
- * // AssertionError: false == true
261
- *
262
- * // In a file (e.g. test.js):
263
- * assert.ok(typeof 123 === 'string');
264
- * // AssertionError: The expression evaluated to a falsy value:
265
- * //
266
- * // assert.ok(typeof 123 === 'string')
267
- *
268
- * assert.ok(false);
269
- * // AssertionError: The expression evaluated to a falsy value:
270
- * //
271
- * // assert.ok(false)
272
- *
273
- * assert.ok(0);
274
- * // AssertionError: The expression evaluated to a falsy value:
275
- * //
276
- * // assert.ok(0)
277
- * ```
278
- *
279
- * ```js
280
- * import assert from 'node:assert/strict';
281
- *
282
- * // Using `assert()` works the same:
283
- * assert(0);
284
- * // AssertionError: The expression evaluated to a falsy value:
285
- * //
286
- * // assert(0)
287
- * ```
288
- * @since v0.1.21
289
- */
290
- function ok(value: unknown, message?: string | Error): asserts value;
291
- /**
292
- * **Strict assertion mode**
293
- *
294
- * An alias of {@link strictEqual}.
295
- *
296
- * **Legacy assertion mode**
297
- *
298
- * > Stability: 3 - Legacy: Use {@link strictEqual} instead.
299
- *
300
- * Tests shallow, coercive equality between the `actual` and `expected` parameters
301
- * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled
302
- * and treated as being identical if both sides are `NaN`.
303
- *
304
- * ```js
305
- * import assert from 'node:assert';
306
- *
307
- * assert.equal(1, 1);
308
- * // OK, 1 == 1
309
- * assert.equal(1, '1');
310
- * // OK, 1 == '1'
311
- * assert.equal(NaN, NaN);
312
- * // OK
313
- *
314
- * assert.equal(1, 2);
315
- * // AssertionError: 1 == 2
316
- * assert.equal({ a: { b: 1 } }, { a: { b: 1 } });
317
- * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } }
318
- * ```
319
- *
320
- * If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default
321
- * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
322
- * @since v0.1.21
323
- */
324
- function equal(actual: unknown, expected: unknown, message?: string | Error): void;
325
- /**
326
- * **Strict assertion mode**
327
- *
328
- * An alias of {@link notStrictEqual}.
329
- *
330
- * **Legacy assertion mode**
331
- *
332
- * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead.
333
- *
334
- * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is
335
- * specially handled and treated as being identical if both sides are `NaN`.
336
- *
337
- * ```js
338
- * import assert from 'node:assert';
339
- *
340
- * assert.notEqual(1, 2);
341
- * // OK
342
- *
343
- * assert.notEqual(1, 1);
344
- * // AssertionError: 1 != 1
345
- *
346
- * assert.notEqual(1, '1');
347
- * // AssertionError: 1 != '1'
348
- * ```
349
- *
350
- * If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error
351
- * message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
352
- * @since v0.1.21
353
- */
354
- function notEqual(actual: unknown, expected: unknown, message?: string | Error): void;
355
- /**
356
- * **Strict assertion mode**
357
- *
358
- * An alias of {@link deepStrictEqual}.
359
- *
360
- * **Legacy assertion mode**
361
- *
362
- * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead.
363
- *
364
- * Tests for deep equality between the `actual` and `expected` parameters. Consider
365
- * using {@link deepStrictEqual} instead. {@link deepEqual} can have
366
- * surprising results.
367
- *
368
- * _Deep equality_ means that the enumerable "own" properties of child objects
369
- * are also recursively evaluated by the following rules.
370
- * @since v0.1.21
371
- */
372
- function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
373
- /**
374
- * **Strict assertion mode**
375
- *
376
- * An alias of {@link notDeepStrictEqual}.
377
- *
378
- * **Legacy assertion mode**
379
- *
380
- * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead.
381
- *
382
- * Tests for any deep inequality. Opposite of {@link deepEqual}.
383
- *
384
- * ```js
385
- * import assert from 'node:assert';
386
- *
387
- * const obj1 = {
388
- * a: {
389
- * b: 1,
390
- * },
391
- * };
392
- * const obj2 = {
393
- * a: {
394
- * b: 2,
395
- * },
396
- * };
397
- * const obj3 = {
398
- * a: {
399
- * b: 1,
400
- * },
401
- * };
402
- * const obj4 = { __proto__: obj1 };
403
- *
404
- * assert.notDeepEqual(obj1, obj1);
405
- * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
406
- *
407
- * assert.notDeepEqual(obj1, obj2);
408
- * // OK
409
- *
410
- * assert.notDeepEqual(obj1, obj3);
411
- * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
412
- *
413
- * assert.notDeepEqual(obj1, obj4);
414
- * // OK
415
- * ```
416
- *
417
- * If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default
418
- * error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
419
- * instead of the `AssertionError`.
420
- * @since v0.1.21
421
- */
422
- function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
423
- /**
424
- * Tests strict equality between the `actual` and `expected` parameters as
425
- * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
426
- *
427
- * ```js
428
- * import assert from 'node:assert/strict';
429
- *
430
- * assert.strictEqual(1, 2);
431
- * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
432
- * //
433
- * // 1 !== 2
434
- *
435
- * assert.strictEqual(1, 1);
436
- * // OK
437
- *
438
- * assert.strictEqual('Hello foobar', 'Hello World!');
439
- * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
440
- * // + actual - expected
441
- * //
442
- * // + 'Hello foobar'
443
- * // - 'Hello World!'
444
- * // ^
445
- *
446
- * const apples = 1;
447
- * const oranges = 2;
448
- * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`);
449
- * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2
450
- *
451
- * assert.strictEqual(1, '1', new TypeError('Inputs are not identical'));
452
- * // TypeError: Inputs are not identical
453
- * ```
454
- *
455
- * If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a
456
- * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
457
- * instead of the `AssertionError`.
458
- * @since v0.1.21
459
- */
460
- function strictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
461
- /**
462
- * Tests strict inequality between the `actual` and `expected` parameters as
463
- * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
464
- *
465
- * ```js
466
- * import assert from 'node:assert/strict';
467
- *
468
- * assert.notStrictEqual(1, 2);
469
- * // OK
470
- *
471
- * assert.notStrictEqual(1, 1);
472
- * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to:
473
- * //
474
- * // 1
475
- *
476
- * assert.notStrictEqual(1, '1');
477
- * // OK
478
- * ```
479
- *
480
- * If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a
481
- * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
482
- * instead of the `AssertionError`.
483
- * @since v0.1.21
484
- */
485
- function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
486
- /**
487
- * Tests for deep equality between the `actual` and `expected` parameters.
488
- * "Deep" equality means that the enumerable "own" properties of child objects
489
- * are recursively evaluated also by the following rules.
490
- * @since v1.2.0
491
- */
492
- function deepStrictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
493
- /**
494
- * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}.
495
- *
496
- * ```js
497
- * import assert from 'node:assert/strict';
498
- *
499
- * assert.notDeepStrictEqual({ a: 1 }, { a: '1' });
500
- * // OK
501
- * ```
502
- *
503
- * If the values are deeply and strictly equal, an `AssertionError` is thrown
504
- * with a `message` property set equal to the value of the `message` parameter. If
505
- * the `message` parameter is undefined, a default error message is assigned. If
506
- * the `message` parameter is an instance of an `Error` then it will be thrown
507
- * instead of the `AssertionError`.
508
- * @since v1.2.0
509
- */
510
- function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
511
- /**
512
- * Expects the function `fn` to throw an error.
513
- *
514
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
515
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
516
- * a validation object where each property will be tested for strict deep equality,
517
- * or an instance of error where each property will be tested for strict deep
518
- * equality including the non-enumerable `message` and `name` properties. When
519
- * using an object, it is also possible to use a regular expression, when
520
- * validating against a string property. See below for examples.
521
- *
522
- * If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation
523
- * fails.
524
- *
525
- * Custom validation object/error instance:
526
- *
527
- * ```js
528
- * import assert from 'node:assert/strict';
529
- *
530
- * const err = new TypeError('Wrong value');
531
- * err.code = 404;
532
- * err.foo = 'bar';
533
- * err.info = {
534
- * nested: true,
535
- * baz: 'text',
536
- * };
537
- * err.reg = /abc/i;
538
- *
539
- * assert.throws(
540
- * () => {
541
- * throw err;
542
- * },
543
- * {
544
- * name: 'TypeError',
545
- * message: 'Wrong value',
546
- * info: {
547
- * nested: true,
548
- * baz: 'text',
549
- * },
550
- * // Only properties on the validation object will be tested for.
551
- * // Using nested objects requires all properties to be present. Otherwise
552
- * // the validation is going to fail.
553
- * },
554
- * );
555
- *
556
- * // Using regular expressions to validate error properties:
557
- * assert.throws(
558
- * () => {
559
- * throw err;
560
- * },
561
- * {
562
- * // The `name` and `message` properties are strings and using regular
563
- * // expressions on those will match against the string. If they fail, an
564
- * // error is thrown.
565
- * name: /^TypeError$/,
566
- * message: /Wrong/,
567
- * foo: 'bar',
568
- * info: {
569
- * nested: true,
570
- * // It is not possible to use regular expressions for nested properties!
571
- * baz: 'text',
572
- * },
573
- * // The `reg` property contains a regular expression and only if the
574
- * // validation object contains an identical regular expression, it is going
575
- * // to pass.
576
- * reg: /abc/i,
577
- * },
578
- * );
579
- *
580
- * // Fails due to the different `message` and `name` properties:
581
- * assert.throws(
582
- * () => {
583
- * const otherErr = new Error('Not found');
584
- * // Copy all enumerable properties from `err` to `otherErr`.
585
- * for (const [key, value] of Object.entries(err)) {
586
- * otherErr[key] = value;
587
- * }
588
- * throw otherErr;
589
- * },
590
- * // The error's `message` and `name` properties will also be checked when using
591
- * // an error as validation object.
592
- * err,
593
- * );
594
- * ```
595
- *
596
- * Validate instanceof using constructor:
597
- *
598
- * ```js
599
- * import assert from 'node:assert/strict';
600
- *
601
- * assert.throws(
602
- * () => {
603
- * throw new Error('Wrong value');
604
- * },
605
- * Error,
606
- * );
607
- * ```
608
- *
609
- * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions):
610
- *
611
- * Using a regular expression runs `.toString` on the error object, and will
612
- * therefore also include the error name.
613
- *
614
- * ```js
615
- * import assert from 'node:assert/strict';
616
- *
617
- * assert.throws(
618
- * () => {
619
- * throw new Error('Wrong value');
620
- * },
621
- * /^Error: Wrong value$/,
622
- * );
623
- * ```
624
- *
625
- * Custom error validation:
626
- *
627
- * The function must return `true` to indicate all internal validations passed.
628
- * It will otherwise fail with an `AssertionError`.
629
- *
630
- * ```js
631
- * import assert from 'node:assert/strict';
632
- *
633
- * assert.throws(
634
- * () => {
635
- * throw new Error('Wrong value');
636
- * },
637
- * (err) => {
638
- * assert(err instanceof Error);
639
- * assert(/value/.test(err));
640
- * // Avoid returning anything from validation functions besides `true`.
641
- * // Otherwise, it's not clear what part of the validation failed. Instead,
642
- * // throw an error about the specific validation that failed (as done in this
643
- * // example) and add as much helpful debugging information to that error as
644
- * // possible.
645
- * return true;
646
- * },
647
- * 'unexpected error',
648
- * );
649
- * ```
650
- *
651
- * `error` cannot be a string. If a string is provided as the second
652
- * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same
653
- * message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using
654
- * a string as the second argument gets considered:
655
- *
656
- * ```js
657
- * import assert from 'node:assert/strict';
658
- *
659
- * function throwingFirst() {
660
- * throw new Error('First');
661
- * }
662
- *
663
- * function throwingSecond() {
664
- * throw new Error('Second');
665
- * }
666
- *
667
- * function notThrowing() {}
668
- *
669
- * // The second argument is a string and the input function threw an Error.
670
- * // The first case will not throw as it does not match for the error message
671
- * // thrown by the input function!
672
- * assert.throws(throwingFirst, 'Second');
673
- * // In the next example the message has no benefit over the message from the
674
- * // error and since it is not clear if the user intended to actually match
675
- * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error.
676
- * assert.throws(throwingSecond, 'Second');
677
- * // TypeError [ERR_AMBIGUOUS_ARGUMENT]
678
- *
679
- * // The string is only used (as message) in case the function does not throw:
680
- * assert.throws(notThrowing, 'Second');
681
- * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second
682
- *
683
- * // If it was intended to match for the error message do this instead:
684
- * // It does not throw because the error messages match.
685
- * assert.throws(throwingSecond, /Second$/);
686
- *
687
- * // If the error message does not match, an AssertionError is thrown.
688
- * assert.throws(throwingFirst, /Second$/);
689
- * // AssertionError [ERR_ASSERTION]
690
- * ```
691
- *
692
- * Due to the confusing error-prone notation, avoid a string as the second
693
- * argument.
694
- * @since v0.1.21
695
- */
696
- function throws(block: () => unknown, message?: string | Error): void;
697
- function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
698
- /**
699
- * Asserts that the function `fn` does not throw an error.
700
- *
701
- * Using `assert.doesNotThrow()` is actually not useful because there
702
- * is no benefit in catching an error and then rethrowing it. Instead, consider
703
- * adding a comment next to the specific code path that should not throw and keep
704
- * error messages as expressive as possible.
705
- *
706
- * When `assert.doesNotThrow()` is called, it will immediately call the `fn`function.
707
- *
708
- * If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a
709
- * different type, or if the `error` parameter is undefined, the error is
710
- * propagated back to the caller.
711
- *
712
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
713
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
714
- * function. See {@link throws} for more details.
715
- *
716
- * The following, for instance, will throw the `TypeError` because there is no
717
- * matching error type in the assertion:
718
- *
719
- * ```js
720
- * import assert from 'node:assert/strict';
721
- *
722
- * assert.doesNotThrow(
723
- * () => {
724
- * throw new TypeError('Wrong value');
725
- * },
726
- * SyntaxError,
727
- * );
728
- * ```
729
- *
730
- * However, the following will result in an `AssertionError` with the message
731
- * 'Got unwanted exception...':
732
- *
733
- * ```js
734
- * import assert from 'node:assert/strict';
735
- *
736
- * assert.doesNotThrow(
737
- * () => {
738
- * throw new TypeError('Wrong value');
739
- * },
740
- * TypeError,
741
- * );
742
- * ```
743
- *
744
- * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message:
745
- *
746
- * ```js
747
- * import assert from 'node:assert/strict';
748
- *
749
- * assert.doesNotThrow(
750
- * () => {
751
- * throw new TypeError('Wrong value');
752
- * },
753
- * /Wrong value/,
754
- * 'Whoops',
755
- * );
756
- * // Throws: AssertionError: Got unwanted exception: Whoops
757
- * ```
758
- * @since v0.1.21
759
- */
760
- function doesNotThrow(block: () => unknown, message?: string | Error): void;
761
- function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
762
- /**
763
- * Throws `value` if `value` is not `undefined` or `null`. This is useful when
764
- * testing the `error` argument in callbacks. The stack trace contains all frames
765
- * from the error passed to `ifError()` including the potential new frames for`ifError()` itself.
766
- *
767
- * ```js
768
- * import assert from 'node:assert/strict';
769
- *
770
- * assert.ifError(null);
771
- * // OK
772
- * assert.ifError(0);
773
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0
774
- * assert.ifError('error');
775
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error'
776
- * assert.ifError(new Error());
777
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error
778
- *
779
- * // Create some random error frames.
780
- * let err;
781
- * (function errorFrame() {
782
- * err = new Error('test error');
783
- * })();
784
- *
785
- * (function ifErrorFrame() {
786
- * assert.ifError(err);
787
- * })();
788
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
789
- * // at ifErrorFrame
790
- * // at errorFrame
791
- * ```
792
- * @since v0.1.97
793
- */
794
- function ifError(value: unknown): asserts value is null | undefined;
795
- /**
796
- * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
797
- * calls the function and awaits the returned promise to complete. It will then
798
- * check that the promise is rejected.
799
- *
800
- * If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the
801
- * function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error
802
- * handler is skipped.
803
- *
804
- * Besides the async nature to await the completion behaves identically to {@link throws}.
805
- *
806
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
807
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
808
- * an object where each property will be tested for, or an instance of error where
809
- * each property will be tested for including the non-enumerable `message` and`name` properties.
810
- *
811
- * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject.
812
- *
813
- * ```js
814
- * import assert from 'node:assert/strict';
815
- *
816
- * await assert.rejects(
817
- * async () => {
818
- * throw new TypeError('Wrong value');
819
- * },
820
- * {
821
- * name: 'TypeError',
822
- * message: 'Wrong value',
823
- * },
824
- * );
825
- * ```
826
- *
827
- * ```js
828
- * import assert from 'node:assert/strict';
829
- *
830
- * await assert.rejects(
831
- * async () => {
832
- * throw new TypeError('Wrong value');
833
- * },
834
- * (err) => {
835
- * assert.strictEqual(err.name, 'TypeError');
836
- * assert.strictEqual(err.message, 'Wrong value');
837
- * return true;
838
- * },
839
- * );
840
- * ```
841
- *
842
- * ```js
843
- * import assert from 'node:assert/strict';
844
- *
845
- * assert.rejects(
846
- * Promise.reject(new Error('Wrong value')),
847
- * Error,
848
- * ).then(() => {
849
- * // ...
850
- * });
851
- * ```
852
- *
853
- * `error` cannot be a string. If a string is provided as the second
854
- * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the
855
- * example in {@link throws} carefully if using a string as the second
856
- * argument gets considered.
857
- * @since v10.0.0
858
- */
859
- function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
860
- function rejects(
861
- block: (() => Promise<unknown>) | Promise<unknown>,
862
- error: AssertPredicate,
863
- message?: string | Error,
864
- ): Promise<void>;
865
- /**
866
- * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
867
- * calls the function and awaits the returned promise to complete. It will then
868
- * check that the promise is not rejected.
869
- *
870
- * If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If
871
- * the function does not return a promise, `assert.doesNotReject()` will return a
872
- * rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases
873
- * the error handler is skipped.
874
- *
875
- * Using `assert.doesNotReject()` is actually not useful because there is little
876
- * benefit in catching a rejection and then rejecting it again. Instead, consider
877
- * adding a comment next to the specific code path that should not reject and keep
878
- * error messages as expressive as possible.
879
- *
880
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
881
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
882
- * function. See {@link throws} for more details.
883
- *
884
- * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}.
885
- *
886
- * ```js
887
- * import assert from 'node:assert/strict';
888
- *
889
- * await assert.doesNotReject(
890
- * async () => {
891
- * throw new TypeError('Wrong value');
892
- * },
893
- * SyntaxError,
894
- * );
895
- * ```
896
- *
897
- * ```js
898
- * import assert from 'node:assert/strict';
899
- *
900
- * assert.doesNotReject(Promise.reject(new TypeError('Wrong value')))
901
- * .then(() => {
902
- * // ...
903
- * });
904
- * ```
905
- * @since v10.0.0
906
- */
907
- function doesNotReject(
908
- block: (() => Promise<unknown>) | Promise<unknown>,
909
- message?: string | Error,
910
- ): Promise<void>;
911
- function doesNotReject(
912
- block: (() => Promise<unknown>) | Promise<unknown>,
913
- error: AssertPredicate,
914
- message?: string | Error,
915
- ): Promise<void>;
916
- /**
917
- * Expects the `string` input to match the regular expression.
918
- *
919
- * ```js
920
- * import assert from 'node:assert/strict';
921
- *
922
- * assert.match('I will fail', /pass/);
923
- * // AssertionError [ERR_ASSERTION]: The input did not match the regular ...
924
- *
925
- * assert.match(123, /pass/);
926
- * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
927
- *
928
- * assert.match('I will pass', /pass/);
929
- * // OK
930
- * ```
931
- *
932
- * If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal
933
- * to the value of the `message` parameter. If the `message` parameter is
934
- * undefined, a default error message is assigned. If the `message` parameter is an
935
- * instance of an `Error` then it will be thrown instead of the `AssertionError`.
936
- * @since v13.6.0, v12.16.0
937
- */
938
- function match(value: string, regExp: RegExp, message?: string | Error): void;
939
- /**
940
- * Expects the `string` input not to match the regular expression.
941
- *
942
- * ```js
943
- * import assert from 'node:assert/strict';
944
- *
945
- * assert.doesNotMatch('I will fail', /fail/);
946
- * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ...
947
- *
948
- * assert.doesNotMatch(123, /pass/);
949
- * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
950
- *
951
- * assert.doesNotMatch('I will pass', /different/);
952
- * // OK
953
- * ```
954
- *
955
- * If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal
956
- * to the value of the `message` parameter. If the `message` parameter is
957
- * undefined, a default error message is assigned. If the `message` parameter is an
958
- * instance of an `Error` then it will be thrown instead of the `AssertionError`.
959
- * @since v13.6.0, v12.16.0
960
- */
961
- function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
962
- const strict:
963
- & Omit<
964
- typeof assert,
965
- | "equal"
966
- | "notEqual"
967
- | "deepEqual"
968
- | "notDeepEqual"
969
- | "ok"
970
- | "strictEqual"
971
- | "deepStrictEqual"
972
- | "ifError"
973
- | "strict"
974
- >
975
- & {
976
- (value: unknown, message?: string | Error): asserts value;
977
- equal: typeof strictEqual;
978
- notEqual: typeof notStrictEqual;
979
- deepEqual: typeof deepStrictEqual;
980
- notDeepEqual: typeof notDeepStrictEqual;
981
- // Mapped types and assertion functions are incompatible?
982
- // TS2775: Assertions require every name in the call target
983
- // to be declared with an explicit type annotation.
984
- ok: typeof ok;
985
- strictEqual: typeof strictEqual;
986
- deepStrictEqual: typeof deepStrictEqual;
987
- ifError: typeof ifError;
988
- strict: typeof strict;
989
- };
990
- }
991
- export = assert;
992
- }
993
- declare module "node:assert" {
994
- import assert = require("assert");
995
- export = assert;
996
- }