dsh-x-core 0.1.22 → 0.1.25

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 (2252) hide show
  1. package/app-version.js +27 -0
  2. package/apply-update.mjs +143 -143
  3. package/assets/dsh.ico +0 -0
  4. package/assets/icon.ico +0 -0
  5. package/assets/tray.ico +0 -0
  6. package/assets/tray.png +0 -0
  7. package/compat/diagnostics.mjs +54 -54
  8. package/compat/instance-link.cjs +58 -0
  9. package/compat/plugin-market.mjs +21 -21
  10. package/compat/register.mjs +10 -10
  11. package/compat/session-events.mjs +122 -122
  12. package/compat/worker-events.cjs +66 -66
  13. package/configuration-evidence.js +195 -195
  14. package/core-npm.js +18 -0
  15. package/desktop-plugins.js +61 -0
  16. package/desktop.js +200 -0
  17. package/diagnostic-command-error.js +71 -71
  18. package/diagnostic-repair.js +237 -237
  19. package/filemanager-base.js +187 -187
  20. package/filemanager-mac.js +147 -147
  21. package/filemanager-windows.js +144 -144
  22. package/filemanager.js +29 -29
  23. package/instance-link.js +157 -0
  24. package/lan-proxy.js +234 -0
  25. package/log-writer.js +46 -46
  26. package/mcp.js +770 -770
  27. package/node/node +0 -0
  28. package/node/node_modules/npm/LICENSE +235 -235
  29. package/node/node_modules/npm/README.md +63 -63
  30. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp +6 -6
  31. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +5 -5
  32. package/node/node_modules/npm/bin/npm +0 -0
  33. package/node/node_modules/npm/bin/npm-cli.js +2 -2
  34. package/node/node_modules/npm/bin/npm-prefix.js +30 -30
  35. package/node/node_modules/npm/bin/npm.cmd +0 -0
  36. package/node/node_modules/npm/bin/npm.ps1 +48 -48
  37. package/node/node_modules/npm/bin/npx +0 -0
  38. package/node/node_modules/npm/bin/npx-cli.js +130 -130
  39. package/node/node_modules/npm/bin/npx.cmd +0 -0
  40. package/node/node_modules/npm/bin/npx.ps1 +48 -48
  41. package/node/node_modules/npm/docs/content/commands/npm-access.md +123 -123
  42. package/node/node_modules/npm/docs/content/commands/npm-adduser.md +86 -86
  43. package/node/node_modules/npm/docs/content/commands/npm-audit.md +478 -478
  44. package/node/node_modules/npm/docs/content/commands/npm-bugs.md +109 -109
  45. package/node/node_modules/npm/docs/content/commands/npm-cache.md +94 -94
  46. package/node/node_modules/npm/docs/content/commands/npm-ci.md +318 -318
  47. package/node/node_modules/npm/docs/content/commands/npm-completion.md +41 -41
  48. package/node/node_modules/npm/docs/content/commands/npm-config.md +182 -182
  49. package/node/node_modules/npm/docs/content/commands/npm-dedupe.md +320 -320
  50. package/node/node_modules/npm/docs/content/commands/npm-deprecate.md +73 -73
  51. package/node/node_modules/npm/docs/content/commands/npm-diff.md +319 -319
  52. package/node/node_modules/npm/docs/content/commands/npm-dist-tag.md +154 -154
  53. package/node/node_modules/npm/docs/content/commands/npm-docs.md +108 -108
  54. package/node/node_modules/npm/docs/content/commands/npm-doctor.md +123 -123
  55. package/node/node_modules/npm/docs/content/commands/npm-edit.md +46 -46
  56. package/node/node_modules/npm/docs/content/commands/npm-exec.md +366 -366
  57. package/node/node_modules/npm/docs/content/commands/npm-explain.md +105 -105
  58. package/node/node_modules/npm/docs/content/commands/npm-explore.md +49 -49
  59. package/node/node_modules/npm/docs/content/commands/npm-find-dupes.md +246 -246
  60. package/node/node_modules/npm/docs/content/commands/npm-fund.md +145 -145
  61. package/node/node_modules/npm/docs/content/commands/npm-help-search.md +40 -40
  62. package/node/node_modules/npm/docs/content/commands/npm-help.md +46 -46
  63. package/node/node_modules/npm/docs/content/commands/npm-hook.md +112 -112
  64. package/node/node_modules/npm/docs/content/commands/npm-init.md +349 -349
  65. package/node/node_modules/npm/docs/content/commands/npm-install-ci-test.md +265 -265
  66. package/node/node_modules/npm/docs/content/commands/npm-install-test.md +372 -372
  67. package/node/node_modules/npm/docs/content/commands/npm-install.md +806 -806
  68. package/node/node_modules/npm/docs/content/commands/npm-link.md +396 -396
  69. package/node/node_modules/npm/docs/content/commands/npm-login.md +93 -93
  70. package/node/node_modules/npm/docs/content/commands/npm-logout.md +75 -75
  71. package/node/node_modules/npm/docs/content/commands/npm-ls.md +294 -294
  72. package/node/node_modules/npm/docs/content/commands/npm-org.md +114 -114
  73. package/node/node_modules/npm/docs/content/commands/npm-outdated.md +178 -178
  74. package/node/node_modules/npm/docs/content/commands/npm-owner.md +106 -106
  75. package/node/node_modules/npm/docs/content/commands/npm-pack.md +126 -126
  76. package/node/node_modules/npm/docs/content/commands/npm-ping.md +46 -46
  77. package/node/node_modules/npm/docs/content/commands/npm-pkg.md +272 -272
  78. package/node/node_modules/npm/docs/content/commands/npm-prefix.md +59 -59
  79. package/node/node_modules/npm/docs/content/commands/npm-profile.md +120 -120
  80. package/node/node_modules/npm/docs/content/commands/npm-prune.md +197 -197
  81. package/node/node_modules/npm/docs/content/commands/npm-publish.md +238 -238
  82. package/node/node_modules/npm/docs/content/commands/npm-query.md +272 -272
  83. package/node/node_modules/npm/docs/content/commands/npm-rebuild.md +169 -169
  84. package/node/node_modules/npm/docs/content/commands/npm-repo.md +102 -102
  85. package/node/node_modules/npm/docs/content/commands/npm-restart.md +70 -70
  86. package/node/node_modules/npm/docs/content/commands/npm-root.md +51 -51
  87. package/node/node_modules/npm/docs/content/commands/npm-run-script.md +254 -254
  88. package/node/node_modules/npm/docs/content/commands/npm-sbom.md +318 -318
  89. package/node/node_modules/npm/docs/content/commands/npm-search.md +160 -160
  90. package/node/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +32 -32
  91. package/node/node_modules/npm/docs/content/commands/npm-star.md +78 -78
  92. package/node/node_modules/npm/docs/content/commands/npm-stars.md +40 -40
  93. package/node/node_modules/npm/docs/content/commands/npm-start.md +80 -80
  94. package/node/node_modules/npm/docs/content/commands/npm-stop.md +73 -73
  95. package/node/node_modules/npm/docs/content/commands/npm-team.md +155 -155
  96. package/node/node_modules/npm/docs/content/commands/npm-test.md +70 -70
  97. package/node/node_modules/npm/docs/content/commands/npm-token.md +112 -112
  98. package/node/node_modules/npm/docs/content/commands/npm-uninstall.md +159 -159
  99. package/node/node_modules/npm/docs/content/commands/npm-unpublish.md +136 -136
  100. package/node/node_modules/npm/docs/content/commands/npm-unstar.md +74 -74
  101. package/node/node_modules/npm/docs/content/commands/npm-update.md +446 -446
  102. package/node/node_modules/npm/docs/content/commands/npm-version.md +235 -235
  103. package/node/node_modules/npm/docs/content/commands/npm-view.md +200 -200
  104. package/node/node_modules/npm/docs/content/commands/npm-whoami.md +41 -41
  105. package/node/node_modules/npm/docs/content/commands/npm.md +175 -175
  106. package/node/node_modules/npm/docs/content/commands/npx.md +168 -168
  107. package/node/node_modules/npm/docs/content/configuring-npm/folders.md +219 -219
  108. package/node/node_modules/npm/docs/content/configuring-npm/install.md +78 -78
  109. package/node/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +34 -34
  110. package/node/node_modules/npm/docs/content/configuring-npm/npmrc.md +140 -140
  111. package/node/node_modules/npm/docs/content/configuring-npm/package-json.md +1236 -1236
  112. package/node/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +237 -237
  113. package/node/node_modules/npm/docs/content/using-npm/config.md +2020 -2020
  114. package/node/node_modules/npm/docs/content/using-npm/dependency-selectors.md +223 -223
  115. package/node/node_modules/npm/docs/content/using-npm/developers.md +245 -245
  116. package/node/node_modules/npm/docs/content/using-npm/logging.md +96 -96
  117. package/node/node_modules/npm/docs/content/using-npm/orgs.md +93 -93
  118. package/node/node_modules/npm/docs/content/using-npm/package-spec.md +105 -105
  119. package/node/node_modules/npm/docs/content/using-npm/registry.md +86 -86
  120. package/node/node_modules/npm/docs/content/using-npm/removal.md +60 -60
  121. package/node/node_modules/npm/docs/content/using-npm/scope.md +143 -143
  122. package/node/node_modules/npm/docs/content/using-npm/scripts.md +363 -363
  123. package/node/node_modules/npm/docs/content/using-npm/workspaces.md +226 -226
  124. package/node/node_modules/npm/docs/lib/index.js +189 -189
  125. package/node/node_modules/npm/docs/output/commands/npm-access.html +269 -269
  126. package/node/node_modules/npm/docs/output/commands/npm-adduser.html +225 -225
  127. package/node/node_modules/npm/docs/output/commands/npm-audit.html +516 -516
  128. package/node/node_modules/npm/docs/output/commands/npm-bugs.html +250 -250
  129. package/node/node_modules/npm/docs/output/commands/npm-cache.html +243 -243
  130. package/node/node_modules/npm/docs/output/commands/npm-ci.html +405 -405
  131. package/node/node_modules/npm/docs/output/commands/npm-completion.html +193 -193
  132. package/node/node_modules/npm/docs/output/commands/npm-config.html +290 -290
  133. package/node/node_modules/npm/docs/output/commands/npm-dedupe.html +402 -402
  134. package/node/node_modules/npm/docs/output/commands/npm-deprecate.html +213 -213
  135. package/node/node_modules/npm/docs/output/commands/npm-diff.html +406 -406
  136. package/node/node_modules/npm/docs/output/commands/npm-dist-tag.html +288 -288
  137. package/node/node_modules/npm/docs/output/commands/npm-docs.html +249 -249
  138. package/node/node_modules/npm/docs/output/commands/npm-doctor.html +261 -261
  139. package/node/node_modules/npm/docs/output/commands/npm-edit.html +197 -197
  140. package/node/node_modules/npm/docs/output/commands/npm-exec.html +442 -442
  141. package/node/node_modules/npm/docs/output/commands/npm-explain.html +249 -249
  142. package/node/node_modules/npm/docs/output/commands/npm-explore.html +197 -197
  143. package/node/node_modules/npm/docs/output/commands/npm-find-dupes.html +348 -348
  144. package/node/node_modules/npm/docs/output/commands/npm-fund.html +274 -274
  145. package/node/node_modules/npm/docs/output/commands/npm-help-search.html +191 -191
  146. package/node/node_modules/npm/docs/output/commands/npm-help.html +197 -197
  147. package/node/node_modules/npm/docs/output/commands/npm-hook.html +233 -233
  148. package/node/node_modules/npm/docs/output/commands/npm-init.html +429 -429
  149. package/node/node_modules/npm/docs/output/commands/npm-install-ci-test.html +363 -363
  150. package/node/node_modules/npm/docs/output/commands/npm-install-test.html +440 -440
  151. package/node/node_modules/npm/docs/output/commands/npm-install.html +802 -802
  152. package/node/node_modules/npm/docs/output/commands/npm-link.html +457 -457
  153. package/node/node_modules/npm/docs/output/commands/npm-login.html +229 -229
  154. package/node/node_modules/npm/docs/output/commands/npm-logout.html +216 -216
  155. package/node/node_modules/npm/docs/output/commands/npm-ls.html +385 -385
  156. package/node/node_modules/npm/docs/output/commands/npm-org.html +238 -238
  157. package/node/node_modules/npm/docs/output/commands/npm-outdated.html +312 -312
  158. package/node/node_modules/npm/docs/output/commands/npm-owner.html +250 -250
  159. package/node/node_modules/npm/docs/output/commands/npm-pack.html +263 -263
  160. package/node/node_modules/npm/docs/output/commands/npm-ping.html +196 -196
  161. package/node/node_modules/npm/docs/output/commands/npm-pkg.html +371 -371
  162. package/node/node_modules/npm/docs/output/commands/npm-prefix.html +207 -207
  163. package/node/node_modules/npm/docs/output/commands/npm-profile.html +268 -268
  164. package/node/node_modules/npm/docs/output/commands/npm-prune.html +312 -312
  165. package/node/node_modules/npm/docs/output/commands/npm-publish.html +358 -358
  166. package/node/node_modules/npm/docs/output/commands/npm-query.html +393 -393
  167. package/node/node_modules/npm/docs/output/commands/npm-rebuild.html +296 -296
  168. package/node/node_modules/npm/docs/output/commands/npm-repo.html +243 -243
  169. package/node/node_modules/npm/docs/output/commands/npm-restart.html +218 -218
  170. package/node/node_modules/npm/docs/output/commands/npm-root.html +202 -202
  171. package/node/node_modules/npm/docs/output/commands/npm-run-script.html +353 -353
  172. package/node/node_modules/npm/docs/output/commands/npm-sbom.html +446 -446
  173. package/node/node_modules/npm/docs/output/commands/npm-search.html +280 -280
  174. package/node/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +189 -189
  175. package/node/node_modules/npm/docs/output/commands/npm-star.html +216 -216
  176. package/node/node_modules/npm/docs/output/commands/npm-stars.html +192 -192
  177. package/node/node_modules/npm/docs/output/commands/npm-start.html +221 -221
  178. package/node/node_modules/npm/docs/output/commands/npm-stop.html +216 -216
  179. package/node/node_modules/npm/docs/output/commands/npm-team.html +279 -279
  180. package/node/node_modules/npm/docs/output/commands/npm-test.html +214 -214
  181. package/node/node_modules/npm/docs/output/commands/npm-token.html +255 -255
  182. package/node/node_modules/npm/docs/output/commands/npm-uninstall.html +285 -285
  183. package/node/node_modules/npm/docs/output/commands/npm-unpublish.html +274 -274
  184. package/node/node_modules/npm/docs/output/commands/npm-unstar.html +213 -213
  185. package/node/node_modules/npm/docs/output/commands/npm-update.html +493 -493
  186. package/node/node_modules/npm/docs/output/commands/npm-version.html +348 -348
  187. package/node/node_modules/npm/docs/output/commands/npm-view.html +304 -304
  188. package/node/node_modules/npm/docs/output/commands/npm-whoami.html +192 -192
  189. package/node/node_modules/npm/docs/output/commands/npm.html +303 -303
  190. package/node/node_modules/npm/docs/output/commands/npx.html +292 -292
  191. package/node/node_modules/npm/docs/output/configuring-npm/folders.html +329 -329
  192. package/node/node_modules/npm/docs/output/configuring-npm/install.html +224 -224
  193. package/node/node_modules/npm/docs/output/configuring-npm/npm-global.html +329 -329
  194. package/node/node_modules/npm/docs/output/configuring-npm/npm-json.html +1110 -1110
  195. package/node/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +191 -191
  196. package/node/node_modules/npm/docs/output/configuring-npm/npmrc.html +271 -271
  197. package/node/node_modules/npm/docs/output/configuring-npm/package-json.html +1110 -1110
  198. package/node/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +398 -398
  199. package/node/node_modules/npm/docs/output/using-npm/config.html +1617 -1617
  200. package/node/node_modules/npm/docs/output/using-npm/dependency-selectors.html +355 -355
  201. package/node/node_modules/npm/docs/output/using-npm/developers.html +359 -359
  202. package/node/node_modules/npm/docs/output/using-npm/logging.html +235 -235
  203. package/node/node_modules/npm/docs/output/using-npm/orgs.html +243 -243
  204. package/node/node_modules/npm/docs/output/using-npm/package-spec.html +262 -262
  205. package/node/node_modules/npm/docs/output/using-npm/registry.html +233 -233
  206. package/node/node_modules/npm/docs/output/using-npm/removal.html +204 -204
  207. package/node/node_modules/npm/docs/output/using-npm/scope.html +264 -264
  208. package/node/node_modules/npm/docs/output/using-npm/scripts.html +484 -484
  209. package/node/node_modules/npm/docs/output/using-npm/workspaces.html +320 -320
  210. package/node/node_modules/npm/index.js +5 -5
  211. package/node/node_modules/npm/lib/arborist-cmd.js +53 -53
  212. package/node/node_modules/npm/lib/base-cmd.js +215 -215
  213. package/node/node_modules/npm/lib/cli/entry.js +79 -79
  214. package/node/node_modules/npm/lib/cli/exit-handler.js +174 -174
  215. package/node/node_modules/npm/lib/cli/update-notifier.js +121 -121
  216. package/node/node_modules/npm/lib/cli/validate-engines.js +49 -49
  217. package/node/node_modules/npm/lib/cli.js +12 -12
  218. package/node/node_modules/npm/lib/commands/access.js +222 -222
  219. package/node/node_modules/npm/lib/commands/adduser.js +50 -50
  220. package/node/node_modules/npm/lib/commands/audit.js +121 -121
  221. package/node/node_modules/npm/lib/commands/bugs.js +34 -34
  222. package/node/node_modules/npm/lib/commands/cache.js +218 -218
  223. package/node/node_modules/npm/lib/commands/ci.js +129 -129
  224. package/node/node_modules/npm/lib/commands/completion.js +283 -283
  225. package/node/node_modules/npm/lib/commands/config.js +410 -410
  226. package/node/node_modules/npm/lib/commands/dedupe.js +51 -51
  227. package/node/node_modules/npm/lib/commands/deprecate.js +76 -76
  228. package/node/node_modules/npm/lib/commands/diff.js +291 -291
  229. package/node/node_modules/npm/lib/commands/dist-tag.js +209 -209
  230. package/node/node_modules/npm/lib/commands/docs.js +21 -21
  231. package/node/node_modules/npm/lib/commands/doctor.js +347 -347
  232. package/node/node_modules/npm/lib/commands/edit.js +64 -64
  233. package/node/node_modules/npm/lib/commands/exec.js +110 -110
  234. package/node/node_modules/npm/lib/commands/explain.js +130 -130
  235. package/node/node_modules/npm/lib/commands/explore.js +74 -74
  236. package/node/node_modules/npm/lib/commands/find-dupes.js +28 -28
  237. package/node/node_modules/npm/lib/commands/fund.js +221 -221
  238. package/node/node_modules/npm/lib/commands/get.js +23 -23
  239. package/node/node_modules/npm/lib/commands/help-search.js +195 -195
  240. package/node/node_modules/npm/lib/commands/help.js +117 -117
  241. package/node/node_modules/npm/lib/commands/hook.js +109 -109
  242. package/node/node_modules/npm/lib/commands/init.js +238 -238
  243. package/node/node_modules/npm/lib/commands/install-ci-test.js +15 -15
  244. package/node/node_modules/npm/lib/commands/install-test.js +15 -15
  245. package/node/node_modules/npm/lib/commands/install.js +176 -176
  246. package/node/node_modules/npm/lib/commands/link.js +189 -189
  247. package/node/node_modules/npm/lib/commands/ll.js +13 -13
  248. package/node/node_modules/npm/lib/commands/login.js +50 -50
  249. package/node/node_modules/npm/lib/commands/logout.js +50 -50
  250. package/node/node_modules/npm/lib/commands/ls.js +579 -579
  251. package/node/node_modules/npm/lib/commands/org.js +151 -151
  252. package/node/node_modules/npm/lib/commands/outdated.js +282 -282
  253. package/node/node_modules/npm/lib/commands/owner.js +233 -233
  254. package/node/node_modules/npm/lib/commands/pack.js +85 -85
  255. package/node/node_modules/npm/lib/commands/ping.js +30 -30
  256. package/node/node_modules/npm/lib/commands/pkg.js +129 -129
  257. package/node/node_modules/npm/lib/commands/prefix.js +15 -15
  258. package/node/node_modules/npm/lib/commands/profile.js +390 -390
  259. package/node/node_modules/npm/lib/commands/prune.js +34 -34
  260. package/node/node_modules/npm/lib/commands/publish.js +227 -227
  261. package/node/node_modules/npm/lib/commands/query.js +126 -126
  262. package/node/node_modules/npm/lib/commands/rebuild.js +84 -84
  263. package/node/node_modules/npm/lib/commands/repo.js +55 -55
  264. package/node/node_modules/npm/lib/commands/restart.js +13 -13
  265. package/node/node_modules/npm/lib/commands/root.js +14 -14
  266. package/node/node_modules/npm/lib/commands/run-script.js +218 -218
  267. package/node/node_modules/npm/lib/commands/sbom.js +134 -134
  268. package/node/node_modules/npm/lib/commands/search.js +70 -70
  269. package/node/node_modules/npm/lib/commands/set.js +26 -26
  270. package/node/node_modules/npm/lib/commands/shrinkwrap.js +73 -73
  271. package/node/node_modules/npm/lib/commands/star.js +72 -72
  272. package/node/node_modules/npm/lib/commands/stars.js +39 -39
  273. package/node/node_modules/npm/lib/commands/start.js +13 -13
  274. package/node/node_modules/npm/lib/commands/stop.js +13 -13
  275. package/node/node_modules/npm/lib/commands/team.js +155 -155
  276. package/node/node_modules/npm/lib/commands/test.js +13 -13
  277. package/node/node_modules/npm/lib/commands/token.js +197 -197
  278. package/node/node_modules/npm/lib/commands/uninstall.js +56 -56
  279. package/node/node_modules/npm/lib/commands/unpublish.js +176 -176
  280. package/node/node_modules/npm/lib/commands/unstar.js +8 -8
  281. package/node/node_modules/npm/lib/commands/update.js +68 -68
  282. package/node/node_modules/npm/lib/commands/version.js +151 -151
  283. package/node/node_modules/npm/lib/commands/view.js +472 -472
  284. package/node/node_modules/npm/lib/commands/whoami.js +20 -20
  285. package/node/node_modules/npm/lib/lifecycle-cmd.js +20 -20
  286. package/node/node_modules/npm/lib/npm.js +475 -475
  287. package/node/node_modules/npm/lib/package-url-cmd.js +64 -64
  288. package/node/node_modules/npm/lib/utils/audit-error.js +40 -40
  289. package/node/node_modules/npm/lib/utils/auth.js +109 -109
  290. package/node/node_modules/npm/lib/utils/cmd-list.js +178 -178
  291. package/node/node_modules/npm/lib/utils/completion.fish +40 -40
  292. package/node/node_modules/npm/lib/utils/completion.sh +70 -70
  293. package/node/node_modules/npm/lib/utils/did-you-mean.js +34 -34
  294. package/node/node_modules/npm/lib/utils/display.js +539 -539
  295. package/node/node_modules/npm/lib/utils/error-message.js +447 -447
  296. package/node/node_modules/npm/lib/utils/explain-dep.js +103 -103
  297. package/node/node_modules/npm/lib/utils/explain-eresolve.js +71 -71
  298. package/node/node_modules/npm/lib/utils/format-bytes.js +30 -30
  299. package/node/node_modules/npm/lib/utils/format-search-stream.js +174 -174
  300. package/node/node_modules/npm/lib/utils/format.js +50 -50
  301. package/node/node_modules/npm/lib/utils/get-identity.js +26 -26
  302. package/node/node_modules/npm/lib/utils/get-workspaces.js +54 -54
  303. package/node/node_modules/npm/lib/utils/installed-deep.js +45 -45
  304. package/node/node_modules/npm/lib/utils/installed-shallow.js +19 -19
  305. package/node/node_modules/npm/lib/utils/is-windows.js +4 -4
  306. package/node/node_modules/npm/lib/utils/log-file.js +261 -261
  307. package/node/node_modules/npm/lib/utils/npm-usage.js +74 -74
  308. package/node/node_modules/npm/lib/utils/open-url.js +98 -98
  309. package/node/node_modules/npm/lib/utils/output-error.js +29 -29
  310. package/node/node_modules/npm/lib/utils/ping.js +7 -7
  311. package/node/node_modules/npm/lib/utils/queryable.js +310 -310
  312. package/node/node_modules/npm/lib/utils/read-user-info.js +67 -67
  313. package/node/node_modules/npm/lib/utils/reify-finish.js +33 -33
  314. package/node/node_modules/npm/lib/utils/reify-output.js +199 -199
  315. package/node/node_modules/npm/lib/utils/sbom-cyclonedx.js +201 -201
  316. package/node/node_modules/npm/lib/utils/sbom-spdx.js +182 -182
  317. package/node/node_modules/npm/lib/utils/tar.js +110 -110
  318. package/node/node_modules/npm/lib/utils/timers.js +89 -89
  319. package/node/node_modules/npm/lib/utils/update-workspaces.js +40 -40
  320. package/node/node_modules/npm/lib/utils/validate-lockfile.js +29 -29
  321. package/node/node_modules/npm/lib/utils/verify-signatures.js +386 -386
  322. package/node/node_modules/npm/man/man1/npm-access.1 +115 -115
  323. package/node/node_modules/npm/man/man1/npm-adduser.1 +91 -91
  324. package/node/node_modules/npm/man/man1/npm-audit.1 +448 -448
  325. package/node/node_modules/npm/man/man1/npm-bugs.1 +115 -115
  326. package/node/node_modules/npm/man/man1/npm-cache.1 +78 -78
  327. package/node/node_modules/npm/man/man1/npm-ci.1 +289 -289
  328. package/node/node_modules/npm/man/man1/npm-completion.1 +35 -35
  329. package/node/node_modules/npm/man/man1/npm-config.1 +187 -187
  330. package/node/node_modules/npm/man/man1/npm-dedupe.1 +290 -290
  331. package/node/node_modules/npm/man/man1/npm-deprecate.1 +73 -73
  332. package/node/node_modules/npm/man/man1/npm-diff.1 +310 -310
  333. package/node/node_modules/npm/man/man1/npm-dist-tag.1 +144 -144
  334. package/node/node_modules/npm/man/man1/npm-docs.1 +113 -113
  335. package/node/node_modules/npm/man/man1/npm-doctor.1 +82 -82
  336. package/node/node_modules/npm/man/man1/npm-edit.1 +43 -43
  337. package/node/node_modules/npm/man/man1/npm-exec.1 +350 -350
  338. package/node/node_modules/npm/man/man1/npm-explain.1 +118 -118
  339. package/node/node_modules/npm/man/man1/npm-explore.1 +49 -49
  340. package/node/node_modules/npm/man/man1/npm-find-dupes.1 +225 -225
  341. package/node/node_modules/npm/man/man1/npm-fund.1 +142 -142
  342. package/node/node_modules/npm/man/man1/npm-help-search.1 +37 -37
  343. package/node/node_modules/npm/man/man1/npm-help.1 +47 -47
  344. package/node/node_modules/npm/man/man1/npm-hook.1 +115 -115
  345. package/node/node_modules/npm/man/man1/npm-init.1 +366 -366
  346. package/node/node_modules/npm/man/man1/npm-install-ci-test.1 +239 -239
  347. package/node/node_modules/npm/man/man1/npm-install-test.1 +346 -346
  348. package/node/node_modules/npm/man/man1/npm-install.1 +762 -762
  349. package/node/node_modules/npm/man/man1/npm-link.1 +355 -355
  350. package/node/node_modules/npm/man/man1/npm-login.1 +95 -95
  351. package/node/node_modules/npm/man/man1/npm-logout.1 +75 -75
  352. package/node/node_modules/npm/man/man1/npm-ls.1 +283 -283
  353. package/node/node_modules/npm/man/man1/npm-org.1 +125 -125
  354. package/node/node_modules/npm/man/man1/npm-outdated.1 +182 -182
  355. package/node/node_modules/npm/man/man1/npm-owner.1 +110 -110
  356. package/node/node_modules/npm/man/man1/npm-pack.1 +130 -130
  357. package/node/node_modules/npm/man/man1/npm-ping.1 +52 -52
  358. package/node/node_modules/npm/man/man1/npm-pkg.1 +286 -286
  359. package/node/node_modules/npm/man/man1/npm-prefix.1 +63 -63
  360. package/node/node_modules/npm/man/man1/npm-profile.1 +126 -126
  361. package/node/node_modules/npm/man/man1/npm-prune.1 +184 -184
  362. package/node/node_modules/npm/man/man1/npm-publish.1 +224 -224
  363. package/node/node_modules/npm/man/man1/npm-query.1 +281 -281
  364. package/node/node_modules/npm/man/man1/npm-rebuild.1 +178 -178
  365. package/node/node_modules/npm/man/man1/npm-repo.1 +103 -103
  366. package/node/node_modules/npm/man/man1/npm-restart.1 +85 -85
  367. package/node/node_modules/npm/man/man1/npm-root.1 +56 -56
  368. package/node/node_modules/npm/man/man1/npm-run-script.1 +234 -234
  369. package/node/node_modules/npm/man/man1/npm-sbom.1 +314 -314
  370. package/node/node_modules/npm/man/man1/npm-search.1 +156 -156
  371. package/node/node_modules/npm/man/man1/npm-shrinkwrap.1 +32 -32
  372. package/node/node_modules/npm/man/man1/npm-star.1 +76 -76
  373. package/node/node_modules/npm/man/man1/npm-stars.1 +41 -41
  374. package/node/node_modules/npm/man/man1/npm-start.1 +79 -79
  375. package/node/node_modules/npm/man/man1/npm-stop.1 +75 -75
  376. package/node/node_modules/npm/man/man1/npm-team.1 +148 -148
  377. package/node/node_modules/npm/man/man1/npm-test.1 +73 -73
  378. package/node/node_modules/npm/man/man1/npm-token.1 +112 -112
  379. package/node/node_modules/npm/man/man1/npm-uninstall.1 +159 -159
  380. package/node/node_modules/npm/man/man1/npm-unpublish.1 +137 -137
  381. package/node/node_modules/npm/man/man1/npm-unstar.1 +70 -70
  382. package/node/node_modules/npm/man/man1/npm-update.1 +406 -406
  383. package/node/node_modules/npm/man/man1/npm-version.1 +229 -229
  384. package/node/node_modules/npm/man/man1/npm-view.1 +213 -213
  385. package/node/node_modules/npm/man/man1/npm-whoami.1 +39 -39
  386. package/node/node_modules/npm/man/man1/npm.1 +131 -131
  387. package/node/node_modules/npm/man/man1/npx.1 +156 -156
  388. package/node/node_modules/npm/man/man5/folders.5 +152 -152
  389. package/node/node_modules/npm/man/man5/install.5 +57 -57
  390. package/node/node_modules/npm/man/man5/npm-global.5 +152 -152
  391. package/node/node_modules/npm/man/man5/npm-json.5 +1144 -1144
  392. package/node/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +23 -23
  393. package/node/node_modules/npm/man/man5/npmrc.5 +132 -132
  394. package/node/node_modules/npm/man/man5/package-json.5 +1144 -1144
  395. package/node/node_modules/npm/man/man5/package-lock-json.5 +158 -158
  396. package/node/node_modules/npm/man/man7/config.7 +2041 -2041
  397. package/node/node_modules/npm/man/man7/dependency-selectors.7 +331 -331
  398. package/node/node_modules/npm/man/man7/developers.7 +234 -234
  399. package/node/node_modules/npm/man/man7/logging.7 +108 -108
  400. package/node/node_modules/npm/man/man7/orgs.7 +145 -145
  401. package/node/node_modules/npm/man/man7/package-spec.7 +126 -126
  402. package/node/node_modules/npm/man/man7/registry.7 +51 -51
  403. package/node/node_modules/npm/man/man7/removal.7 +54 -54
  404. package/node/node_modules/npm/man/man7/scope.7 +113 -113
  405. package/node/node_modules/npm/man/man7/scripts.7 +406 -406
  406. package/node/node_modules/npm/man/man7/workspaces.7 +214 -214
  407. package/node/node_modules/npm/node_modules/@isaacs/cliui/LICENSE.txt +14 -14
  408. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.cjs +317 -317
  409. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.d.cts +43 -43
  410. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/lib/index.js +302 -302
  411. package/node/node_modules/npm/node_modules/@isaacs/cliui/index.mjs +14 -14
  412. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +10 -10
  413. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +9 -9
  414. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +61 -61
  415. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  416. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +6 -6
  417. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -6
  418. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +6 -6
  419. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +6 -6
  420. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +6 -6
  421. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +52 -52
  422. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +6 -6
  423. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/index.js +54 -54
  424. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/license +9 -9
  425. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/package.json +59 -59
  426. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +14 -14
  427. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +9 -9
  428. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +57 -57
  429. package/node/node_modules/npm/node_modules/@isaacs/cliui/package.json +86 -86
  430. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/LICENSE +15 -15
  431. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +429 -429
  432. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -3
  433. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/index.js +419 -419
  434. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -3
  435. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/package.json +72 -72
  436. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/LICENSE +15 -15
  437. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/index.js +42 -42
  438. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/package.json +28 -28
  439. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js +206 -206
  440. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/dns.js +53 -53
  441. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/errors.js +61 -61
  442. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/index.js +56 -56
  443. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/options.js +86 -86
  444. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/proxy.js +88 -88
  445. package/node/node_modules/npm/node_modules/@npmcli/agent/package.json +60 -60
  446. package/node/node_modules/npm/node_modules/@npmcli/arborist/LICENSE.md +20 -20
  447. package/node/node_modules/npm/node_modules/@npmcli/arborist/README.md +349 -349
  448. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/actual.js +19 -19
  449. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/audit.js +51 -51
  450. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/funding.js +38 -38
  451. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/ideal.js +14 -14
  452. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js +112 -112
  453. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/logging.js +77 -77
  454. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/options.js +123 -123
  455. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/print-tree.js +4 -4
  456. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/timers.js +33 -33
  457. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/license.js +48 -48
  458. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/prune.js +48 -48
  459. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/reify.js +48 -48
  460. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/shrinkwrap.js +7 -7
  461. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/virtual.js +14 -14
  462. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +143 -143
  463. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +1523 -1523
  464. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js +280 -280
  465. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +453 -453
  466. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +438 -438
  467. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +303 -303
  468. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +400 -400
  469. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +1535 -1535
  470. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js +415 -415
  471. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +126 -126
  472. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/can-place-dep.js +436 -436
  473. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +50 -50
  474. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/consistent-resolve.js +45 -45
  475. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/debug.js +32 -32
  476. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +18 -18
  477. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/dep-valid.js +150 -150
  478. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/diff.js +306 -306
  479. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/edge.js +301 -301
  480. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/from-path.js +30 -30
  481. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/gather-dep-set.js +43 -43
  482. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js +6 -6
  483. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js +138 -138
  484. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js +126 -126
  485. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js +1475 -1475
  486. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +38 -38
  487. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-resolves.js +11 -11
  488. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js +147 -147
  489. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/packument-cache.js +77 -77
  490. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +77 -77
  491. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js +569 -569
  492. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js +198 -198
  493. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js +945 -945
  494. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/realpath.js +95 -95
  495. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/relpath.js +3 -3
  496. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +15 -15
  497. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/retire-path.js +19 -19
  498. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/shrinkwrap.js +1181 -1181
  499. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js +74 -74
  500. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signals.js +58 -58
  501. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/spec-from-lock.js +34 -34
  502. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tracker.js +86 -86
  503. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tree-check.js +155 -155
  504. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/version-from-tgz.js +47 -47
  505. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/vuln.js +214 -214
  506. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/yarn-lock.js +377 -377
  507. package/node/node_modules/npm/node_modules/@npmcli/arborist/package.json +99 -99
  508. package/node/node_modules/npm/node_modules/@npmcli/config/LICENSE +15 -15
  509. package/node/node_modules/npm/node_modules/@npmcli/config/README.md +257 -257
  510. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definition.js +253 -253
  511. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +2282 -2282
  512. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/index.js +66 -66
  513. package/node/node_modules/npm/node_modules/@npmcli/config/lib/env-replace.js +14 -14
  514. package/node/node_modules/npm/node_modules/@npmcli/config/lib/errors.js +23 -23
  515. package/node/node_modules/npm/node_modules/@npmcli/config/lib/index.js +931 -931
  516. package/node/node_modules/npm/node_modules/@npmcli/config/lib/nerf-dart.js +18 -18
  517. package/node/node_modules/npm/node_modules/@npmcli/config/lib/parse-field.js +86 -86
  518. package/node/node_modules/npm/node_modules/@npmcli/config/lib/set-envs.js +108 -108
  519. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-defs.js +61 -61
  520. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-description.js +21 -21
  521. package/node/node_modules/npm/node_modules/@npmcli/config/lib/umask.js +35 -35
  522. package/node/node_modules/npm/node_modules/@npmcli/config/package.json +57 -57
  523. package/node/node_modules/npm/node_modules/@npmcli/fs/LICENSE.md +20 -20
  524. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js +20 -20
  525. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +9 -9
  526. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -15
  527. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/errors.js +129 -129
  528. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/index.js +22 -22
  529. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -428
  530. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/index.js +13 -13
  531. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js +78 -78
  532. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -20
  533. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -39
  534. package/node/node_modules/npm/node_modules/@npmcli/fs/package.json +54 -54
  535. package/node/node_modules/npm/node_modules/@npmcli/git/LICENSE +15 -15
  536. package/node/node_modules/npm/node_modules/@npmcli/git/lib/clone.js +172 -172
  537. package/node/node_modules/npm/node_modules/@npmcli/git/lib/errors.js +36 -36
  538. package/node/node_modules/npm/node_modules/@npmcli/git/lib/find.js +15 -15
  539. package/node/node_modules/npm/node_modules/@npmcli/git/lib/index.js +9 -9
  540. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js +6 -6
  541. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is.js +4 -4
  542. package/node/node_modules/npm/node_modules/@npmcli/git/lib/lines-to-revs.js +147 -147
  543. package/node/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js +33 -33
  544. package/node/node_modules/npm/node_modules/@npmcli/git/lib/opts.js +57 -57
  545. package/node/node_modules/npm/node_modules/@npmcli/git/lib/revs.js +22 -22
  546. package/node/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js +44 -44
  547. package/node/node_modules/npm/node_modules/@npmcli/git/lib/utils.js +3 -3
  548. package/node/node_modules/npm/node_modules/@npmcli/git/lib/which.js +18 -18
  549. package/node/node_modules/npm/node_modules/@npmcli/git/package.json +58 -58
  550. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/LICENSE +15 -15
  551. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/README.md +109 -109
  552. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js +44 -44
  553. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/lib/index.js +181 -181
  554. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/package.json +52 -52
  555. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/LICENSE.md +20 -20
  556. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/lib/index.js +226 -226
  557. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/package.json +61 -61
  558. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/LICENSE +15 -15
  559. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +435 -435
  560. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +15 -15
  561. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/hash.js +5 -5
  562. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/index.js +128 -128
  563. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/LICENSE +15 -15
  564. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/README.md +283 -283
  565. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/bin/index.js +158 -158
  566. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/dir.js +105 -105
  567. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/fetcher.js +497 -497
  568. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/file.js +94 -94
  569. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/git.js +317 -317
  570. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/index.js +23 -23
  571. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/registry.js +369 -369
  572. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/remote.js +89 -89
  573. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/add-git-sha.js +15 -15
  574. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/cache-dir.js +15 -15
  575. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/is-package-bin.js +25 -25
  576. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/npm.js +14 -14
  577. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/protected.js +5 -5
  578. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/tar-create-options.js +31 -31
  579. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/trailing-slashes.js +10 -10
  580. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/package.json +79 -79
  581. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/package.json +62 -62
  582. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/LICENSE +15 -15
  583. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/lib/index.js +7 -7
  584. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/package.json +45 -45
  585. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/LICENSE +7 -7
  586. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js +14 -14
  587. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/package.json +50 -50
  588. package/node/node_modules/npm/node_modules/@npmcli/package-json/LICENSE +18 -18
  589. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js +286 -286
  590. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize-data.js +257 -257
  591. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize.js +601 -601
  592. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/read-package.js +39 -39
  593. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/sort.js +101 -101
  594. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-dependencies.js +75 -75
  595. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-scripts.js +29 -29
  596. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-workspaces.js +26 -26
  597. package/node/node_modules/npm/node_modules/@npmcli/package-json/package.json +61 -61
  598. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE +15 -15
  599. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/escape.js +68 -68
  600. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +218 -218
  601. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +51 -51
  602. package/node/node_modules/npm/node_modules/@npmcli/query/LICENSE +20 -20
  603. package/node/node_modules/npm/node_modules/@npmcli/query/lib/index.js +255 -255
  604. package/node/node_modules/npm/node_modules/@npmcli/query/package.json +64 -64
  605. package/node/node_modules/npm/node_modules/@npmcli/redact/LICENSE +21 -21
  606. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/deep-map.js +71 -71
  607. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/error.js +28 -28
  608. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/index.js +44 -44
  609. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/matchers.js +88 -88
  610. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/server.js +59 -59
  611. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/utils.js +202 -202
  612. package/node/node_modules/npm/node_modules/@npmcli/redact/package.json +52 -52
  613. package/node/node_modules/npm/node_modules/@npmcli/run-script/LICENSE +15 -15
  614. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/is-server-package.js +11 -11
  615. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +53 -53
  616. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +2 -2
  617. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +0 -0
  618. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/package-envs.js +29 -29
  619. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js +114 -114
  620. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js +15 -15
  621. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/set-path.js +45 -45
  622. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/signal-manager.js +50 -50
  623. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/validate-options.js +39 -39
  624. package/node/node_modules/npm/node_modules/@npmcli/run-script/package.json +54 -54
  625. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/LICENSE +201 -201
  626. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -25
  627. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -35
  628. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/negate.js +43 -43
  629. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -31
  630. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -41
  631. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -26
  632. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/index.js +396 -396
  633. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/errors.js +47 -47
  634. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -393
  635. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/util.js +14 -14
  636. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/validators.js +89 -89
  637. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/package.json +36 -36
  638. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/utils.js +198 -198
  639. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/LICENSE +202 -202
  640. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -59
  641. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -174
  642. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -141
  643. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -35
  644. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2042 -2042
  645. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -29
  646. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -55
  647. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -81
  648. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -56
  649. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -74
  650. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -103
  651. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +596 -596
  652. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -137
  653. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -284
  654. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -281
  655. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -37
  656. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/package.json +31 -31
  657. package/node/node_modules/npm/node_modules/@sigstore/tuf/LICENSE +202 -202
  658. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/appdata.js +43 -43
  659. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/client.js +111 -111
  660. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/error.js +12 -12
  661. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/index.js +56 -56
  662. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/target.js +79 -79
  663. package/node/node_modules/npm/node_modules/@sigstore/tuf/package.json +41 -41
  664. package/node/node_modules/npm/node_modules/@sigstore/tuf/seeds.json +1 -1
  665. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/LICENSE +21 -21
  666. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/lib/index.js +64 -64
  667. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/package.json +35 -35
  668. package/node/node_modules/npm/node_modules/abbrev/LICENSE +46 -46
  669. package/node/node_modules/npm/node_modules/abbrev/lib/index.js +53 -53
  670. package/node/node_modules/npm/node_modules/abbrev/package.json +45 -45
  671. package/node/node_modules/npm/node_modules/agent-base/LICENSE +21 -21
  672. package/node/node_modules/npm/node_modules/agent-base/dist/helpers.js +65 -65
  673. package/node/node_modules/npm/node_modules/agent-base/dist/index.js +179 -179
  674. package/node/node_modules/npm/node_modules/agent-base/package.json +45 -45
  675. package/node/node_modules/npm/node_modules/ansi-regex/index.js +10 -10
  676. package/node/node_modules/npm/node_modules/ansi-regex/license +9 -9
  677. package/node/node_modules/npm/node_modules/ansi-regex/package.json +55 -55
  678. package/node/node_modules/npm/node_modules/ansi-styles/index.js +223 -223
  679. package/node/node_modules/npm/node_modules/ansi-styles/license +9 -9
  680. package/node/node_modules/npm/node_modules/ansi-styles/package.json +54 -54
  681. package/node/node_modules/npm/node_modules/aproba/LICENSE +14 -14
  682. package/node/node_modules/npm/node_modules/aproba/index.js +105 -105
  683. package/node/node_modules/npm/node_modules/aproba/package.json +35 -35
  684. package/node/node_modules/npm/node_modules/archy/LICENSE +18 -18
  685. package/node/node_modules/npm/node_modules/archy/examples/beep.js +24 -24
  686. package/node/node_modules/npm/node_modules/archy/examples/multi_line.js +25 -25
  687. package/node/node_modules/npm/node_modules/archy/index.js +35 -35
  688. package/node/node_modules/npm/node_modules/archy/package.json +40 -40
  689. package/node/node_modules/npm/node_modules/balanced-match/LICENSE.md +21 -21
  690. package/node/node_modules/npm/node_modules/balanced-match/index.js +62 -62
  691. package/node/node_modules/npm/node_modules/balanced-match/package.json +48 -48
  692. package/node/node_modules/npm/node_modules/bin-links/LICENSE +15 -15
  693. package/node/node_modules/npm/node_modules/bin-links/lib/bin-target.js +9 -9
  694. package/node/node_modules/npm/node_modules/bin-links/lib/check-bin.js +74 -74
  695. package/node/node_modules/npm/node_modules/bin-links/lib/check-bins.js +18 -18
  696. package/node/node_modules/npm/node_modules/bin-links/lib/fix-bin.js +42 -42
  697. package/node/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js +19 -19
  698. package/node/node_modules/npm/node_modules/bin-links/lib/get-paths.js +42 -42
  699. package/node/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +3 -3
  700. package/node/node_modules/npm/node_modules/bin-links/lib/index.js +44 -44
  701. package/node/node_modules/npm/node_modules/bin-links/lib/is-windows.js +2 -2
  702. package/node/node_modules/npm/node_modules/bin-links/lib/link-bin.js +9 -9
  703. package/node/node_modules/npm/node_modules/bin-links/lib/link-bins.js +23 -23
  704. package/node/node_modules/npm/node_modules/bin-links/lib/link-gently.js +96 -96
  705. package/node/node_modules/npm/node_modules/bin-links/lib/link-mans.js +53 -53
  706. package/node/node_modules/npm/node_modules/bin-links/lib/man-target.js +6 -6
  707. package/node/node_modules/npm/node_modules/bin-links/lib/shim-bin.js +86 -86
  708. package/node/node_modules/npm/node_modules/bin-links/package.json +61 -61
  709. package/node/node_modules/npm/node_modules/binary-extensions/binary-extensions.json +263 -263
  710. package/node/node_modules/npm/node_modules/binary-extensions/index.js +1 -1
  711. package/node/node_modules/npm/node_modules/binary-extensions/license +10 -10
  712. package/node/node_modules/npm/node_modules/binary-extensions/package.json +40 -40
  713. package/node/node_modules/npm/node_modules/brace-expansion/LICENSE +21 -21
  714. package/node/node_modules/npm/node_modules/brace-expansion/index.js +203 -203
  715. package/node/node_modules/npm/node_modules/brace-expansion/package.json +49 -49
  716. package/node/node_modules/npm/node_modules/cacache/LICENSE.md +16 -16
  717. package/node/node_modules/npm/node_modules/cacache/lib/content/path.js +29 -29
  718. package/node/node_modules/npm/node_modules/cacache/lib/content/read.js +165 -165
  719. package/node/node_modules/npm/node_modules/cacache/lib/content/rm.js +18 -18
  720. package/node/node_modules/npm/node_modules/cacache/lib/content/write.js +206 -206
  721. package/node/node_modules/npm/node_modules/cacache/lib/entry-index.js +336 -336
  722. package/node/node_modules/npm/node_modules/cacache/lib/get.js +170 -170
  723. package/node/node_modules/npm/node_modules/cacache/lib/index.js +42 -42
  724. package/node/node_modules/npm/node_modules/cacache/lib/memoization.js +72 -72
  725. package/node/node_modules/npm/node_modules/cacache/lib/put.js +80 -80
  726. package/node/node_modules/npm/node_modules/cacache/lib/rm.js +31 -31
  727. package/node/node_modules/npm/node_modules/cacache/lib/util/glob.js +7 -7
  728. package/node/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +7 -7
  729. package/node/node_modules/npm/node_modules/cacache/lib/util/tmp.js +26 -26
  730. package/node/node_modules/npm/node_modules/cacache/lib/verify.js +258 -258
  731. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/LICENSE.md +63 -63
  732. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/commonjs/index.js +92 -92
  733. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/commonjs/package.json +3 -3
  734. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/esm/index.js +84 -84
  735. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/esm/package.json +3 -3
  736. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/package.json +69 -69
  737. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/LICENSE +21 -21
  738. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/package.json +91 -91
  739. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/bin.d.ts +2 -2
  740. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/bin.js +79 -79
  741. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +3 -3
  742. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/find-made.js +34 -34
  743. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/index.d.ts +38 -38
  744. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/index.js +52 -52
  745. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +5 -5
  746. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.js +78 -78
  747. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +5 -5
  748. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-native.js +49 -49
  749. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +41 -41
  750. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/opts-arg.js +37 -37
  751. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -1
  752. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/path-arg.js +27 -27
  753. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +5 -5
  754. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/use-native.js +16 -16
  755. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/find-made.d.ts +3 -3
  756. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/find-made.js +29 -29
  757. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/index.d.ts +38 -38
  758. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/index.js +42 -42
  759. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +5 -5
  760. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-manual.js +74 -74
  761. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +5 -5
  762. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-native.js +45 -45
  763. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +41 -41
  764. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/opts-arg.js +33 -33
  765. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/package.json +3 -3
  766. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -1
  767. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/path-arg.js +23 -23
  768. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/use-native.d.ts +5 -5
  769. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/use-native.js +13 -13
  770. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/package.json +91 -91
  771. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/readme.markdown +281 -281
  772. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/LICENSE +15 -15
  773. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/create.js +82 -82
  774. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/cwd-error.js +17 -17
  775. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/extract.js +77 -77
  776. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/get-write-flag.js +28 -28
  777. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/header.js +305 -305
  778. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/index.js +53 -53
  779. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/large-numbers.js +98 -98
  780. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/list.js +135 -135
  781. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/make-command.js +60 -60
  782. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/mkdir.js +208 -208
  783. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/mode-fix.js +28 -28
  784. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/normalize-unicode.js +16 -16
  785. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/normalize-windows-path.js +11 -11
  786. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/options.js +65 -65
  787. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/pack.js +476 -476
  788. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/package.json +3 -3
  789. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/parse.js +598 -598
  790. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/path-reservations.js +169 -169
  791. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/pax.js +157 -157
  792. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/read-entry.js +139 -139
  793. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/replace.js +230 -230
  794. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/strip-absolute-path.js +28 -28
  795. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +17 -17
  796. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/symlink-error.js +18 -18
  797. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/types.js +49 -49
  798. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/unpack.js +918 -918
  799. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/update.js +32 -32
  800. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/warn-method.js +30 -30
  801. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/winchars.js +13 -13
  802. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/write-entry.js +688 -688
  803. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/create.js +76 -76
  804. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/cwd-error.js +13 -13
  805. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/extract.js +48 -48
  806. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/get-write-flag.js +22 -22
  807. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/header.js +278 -278
  808. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/index.js +19 -19
  809. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/large-numbers.js +93 -93
  810. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/list.js +105 -105
  811. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/make-command.js +56 -56
  812. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/mkdir.js +200 -200
  813. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/mode-fix.js +24 -24
  814. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/normalize-unicode.js +12 -12
  815. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/normalize-windows-path.js +8 -8
  816. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/options.js +53 -53
  817. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/pack.js +444 -444
  818. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/package.json +3 -3
  819. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/parse.js +594 -594
  820. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/path-reservations.js +165 -165
  821. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/pax.js +153 -153
  822. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/read-entry.js +135 -135
  823. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/replace.js +224 -224
  824. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/strip-absolute-path.js +24 -24
  825. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/strip-trailing-slashes.js +13 -13
  826. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/symlink-error.js +14 -14
  827. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/types.js +44 -44
  828. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/unpack.js +887 -887
  829. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/update.js +29 -29
  830. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/warn-method.js +26 -26
  831. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/winchars.js +8 -8
  832. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/write-entry.js +656 -656
  833. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/package.json +325 -325
  834. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/LICENSE.md +63 -63
  835. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/commonjs/index.js +383 -383
  836. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/commonjs/package.json +3 -3
  837. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/esm/index.js +378 -378
  838. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/esm/package.json +3 -3
  839. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/package.json +68 -68
  840. package/node/node_modules/npm/node_modules/cacache/package.json +83 -83
  841. package/node/node_modules/npm/node_modules/chalk/license +9 -9
  842. package/node/node_modules/npm/node_modules/chalk/package.json +83 -83
  843. package/node/node_modules/npm/node_modules/chalk/source/index.js +225 -225
  844. package/node/node_modules/npm/node_modules/chalk/source/utilities.js +33 -33
  845. package/node/node_modules/npm/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -223
  846. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/browser.js +34 -34
  847. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/index.js +182 -182
  848. package/node/node_modules/npm/node_modules/chownr/LICENSE +15 -15
  849. package/node/node_modules/npm/node_modules/chownr/chownr.js +167 -167
  850. package/node/node_modules/npm/node_modules/chownr/package.json +32 -32
  851. package/node/node_modules/npm/node_modules/ci-info/LICENSE +21 -21
  852. package/node/node_modules/npm/node_modules/ci-info/index.js +102 -102
  853. package/node/node_modules/npm/node_modules/ci-info/package.json +53 -53
  854. package/node/node_modules/npm/node_modules/ci-info/vendors.json +353 -353
  855. package/node/node_modules/npm/node_modules/cidr-regex/LICENSE +22 -22
  856. package/node/node_modules/npm/node_modules/cidr-regex/dist/index.js +15 -15
  857. package/node/node_modules/npm/node_modules/cidr-regex/package.json +39 -39
  858. package/node/node_modules/npm/node_modules/cli-columns/color.js +16 -16
  859. package/node/node_modules/npm/node_modules/cli-columns/index.js +82 -82
  860. package/node/node_modules/npm/node_modules/cli-columns/license +20 -20
  861. package/node/node_modules/npm/node_modules/cli-columns/package.json +54 -54
  862. package/node/node_modules/npm/node_modules/cli-columns/test.js +101 -101
  863. package/node/node_modules/npm/node_modules/cmd-shim/LICENSE +15 -15
  864. package/node/node_modules/npm/node_modules/cmd-shim/lib/index.js +247 -247
  865. package/node/node_modules/npm/node_modules/cmd-shim/package.json +48 -48
  866. package/node/node_modules/npm/node_modules/color-convert/LICENSE +21 -21
  867. package/node/node_modules/npm/node_modules/color-convert/conversions.js +839 -839
  868. package/node/node_modules/npm/node_modules/color-convert/index.js +81 -81
  869. package/node/node_modules/npm/node_modules/color-convert/package.json +48 -48
  870. package/node/node_modules/npm/node_modules/color-convert/route.js +97 -97
  871. package/node/node_modules/npm/node_modules/common-ancestor-path/LICENSE +15 -15
  872. package/node/node_modules/npm/node_modules/common-ancestor-path/index.js +17 -17
  873. package/node/node_modules/npm/node_modules/common-ancestor-path/package.json +28 -28
  874. package/node/node_modules/npm/node_modules/cross-spawn/LICENSE +21 -21
  875. package/node/node_modules/npm/node_modules/cross-spawn/index.js +39 -39
  876. package/node/node_modules/npm/node_modules/cross-spawn/lib/enoent.js +59 -59
  877. package/node/node_modules/npm/node_modules/cross-spawn/lib/parse.js +91 -91
  878. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/escape.js +47 -47
  879. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js +23 -23
  880. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -52
  881. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/LICENSE +15 -15
  882. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/README.md +54 -54
  883. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/bin/node-which +52 -52
  884. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/package.json +43 -43
  885. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/which.js +125 -125
  886. package/node/node_modules/npm/node_modules/cross-spawn/package.json +73 -73
  887. package/node/node_modules/npm/node_modules/cssesc/LICENSE-MIT.txt +20 -20
  888. package/node/node_modules/npm/node_modules/cssesc/README.md +201 -201
  889. package/node/node_modules/npm/node_modules/cssesc/bin/cssesc +116 -116
  890. package/node/node_modules/npm/node_modules/cssesc/cssesc.js +110 -110
  891. package/node/node_modules/npm/node_modules/cssesc/man/cssesc.1 +70 -70
  892. package/node/node_modules/npm/node_modules/cssesc/package.json +51 -51
  893. package/node/node_modules/npm/node_modules/debug/LICENSE +20 -20
  894. package/node/node_modules/npm/node_modules/debug/package.json +64 -64
  895. package/node/node_modules/npm/node_modules/debug/src/browser.js +272 -272
  896. package/node/node_modules/npm/node_modules/debug/src/common.js +292 -292
  897. package/node/node_modules/npm/node_modules/debug/src/index.js +10 -10
  898. package/node/node_modules/npm/node_modules/debug/src/node.js +263 -263
  899. package/node/node_modules/npm/node_modules/diff/CONTRIBUTING.md +36 -36
  900. package/node/node_modules/npm/node_modules/diff/LICENSE +29 -29
  901. package/node/node_modules/npm/node_modules/diff/dist/diff.js +1730 -1730
  902. package/node/node_modules/npm/node_modules/diff/lib/convert/dmp.js +32 -32
  903. package/node/node_modules/npm/node_modules/diff/lib/convert/xml.js +42 -42
  904. package/node/node_modules/npm/node_modules/diff/lib/diff/array.js +45 -45
  905. package/node/node_modules/npm/node_modules/diff/lib/diff/base.js +358 -358
  906. package/node/node_modules/npm/node_modules/diff/lib/diff/character.js +37 -37
  907. package/node/node_modules/npm/node_modules/diff/lib/diff/css.js +41 -41
  908. package/node/node_modules/npm/node_modules/diff/lib/diff/json.js +163 -163
  909. package/node/node_modules/npm/node_modules/diff/lib/diff/line.js +94 -94
  910. package/node/node_modules/npm/node_modules/diff/lib/diff/sentence.js +41 -41
  911. package/node/node_modules/npm/node_modules/diff/lib/diff/word.js +108 -108
  912. package/node/node_modules/npm/node_modules/diff/lib/index.es6.js +1699 -1699
  913. package/node/node_modules/npm/node_modules/diff/lib/index.js +234 -234
  914. package/node/node_modules/npm/node_modules/diff/lib/index.mjs +1699 -1699
  915. package/node/node_modules/npm/node_modules/diff/lib/patch/apply.js +238 -238
  916. package/node/node_modules/npm/node_modules/diff/lib/patch/create.js +276 -276
  917. package/node/node_modules/npm/node_modules/diff/lib/patch/merge.js +613 -613
  918. package/node/node_modules/npm/node_modules/diff/lib/patch/parse.js +167 -167
  919. package/node/node_modules/npm/node_modules/diff/lib/patch/reverse.js +63 -63
  920. package/node/node_modules/npm/node_modules/diff/lib/util/array.js +32 -32
  921. package/node/node_modules/npm/node_modules/diff/lib/util/distance-iterator.js +57 -57
  922. package/node/node_modules/npm/node_modules/diff/lib/util/params.js +24 -24
  923. package/node/node_modules/npm/node_modules/diff/package.json +89 -89
  924. package/node/node_modules/npm/node_modules/diff/release-notes.md +317 -317
  925. package/node/node_modules/npm/node_modules/diff/runtime.js +3 -3
  926. package/node/node_modules/npm/node_modules/eastasianwidth/eastasianwidth.js +311 -311
  927. package/node/node_modules/npm/node_modules/eastasianwidth/package.json +18 -18
  928. package/node/node_modules/npm/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  929. package/node/node_modules/npm/node_modules/emoji-regex/es2015/index.js +6 -6
  930. package/node/node_modules/npm/node_modules/emoji-regex/es2015/text.js +6 -6
  931. package/node/node_modules/npm/node_modules/emoji-regex/index.js +6 -6
  932. package/node/node_modules/npm/node_modules/emoji-regex/package.json +50 -50
  933. package/node/node_modules/npm/node_modules/emoji-regex/text.js +6 -6
  934. package/node/node_modules/npm/node_modules/encoding/LICENSE +16 -16
  935. package/node/node_modules/npm/node_modules/encoding/lib/encoding.js +83 -83
  936. package/node/node_modules/npm/node_modules/encoding/package.json +18 -18
  937. package/node/node_modules/npm/node_modules/env-paths/index.js +74 -74
  938. package/node/node_modules/npm/node_modules/env-paths/license +9 -9
  939. package/node/node_modules/npm/node_modules/env-paths/package.json +45 -45
  940. package/node/node_modules/npm/node_modules/err-code/bower.json +30 -30
  941. package/node/node_modules/npm/node_modules/err-code/index.js +47 -47
  942. package/node/node_modules/npm/node_modules/err-code/index.umd.js +51 -51
  943. package/node/node_modules/npm/node_modules/err-code/package.json +34 -34
  944. package/node/node_modules/npm/node_modules/exponential-backoff/LICENSE +202 -202
  945. package/node/node_modules/npm/node_modules/exponential-backoff/dist/backoff.js +123 -123
  946. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/always/always.delay.js +24 -24
  947. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.base.js +44 -44
  948. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.factory.js +16 -16
  949. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.interface.js +2 -2
  950. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +81 -81
  951. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +7 -7
  952. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +14 -14
  953. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +6 -6
  954. package/node/node_modules/npm/node_modules/exponential-backoff/dist/options.js +30 -30
  955. package/node/node_modules/npm/node_modules/exponential-backoff/package.json +62 -62
  956. package/node/node_modules/npm/node_modules/fastest-levenshtein/LICENSE.md +20 -20
  957. package/node/node_modules/npm/node_modules/fastest-levenshtein/bench.js +96 -96
  958. package/node/node_modules/npm/node_modules/fastest-levenshtein/esm/mod.js +138 -138
  959. package/node/node_modules/npm/node_modules/fastest-levenshtein/mod.js +142 -142
  960. package/node/node_modules/npm/node_modules/fastest-levenshtein/package.json +72 -72
  961. package/node/node_modules/npm/node_modules/fastest-levenshtein/test.js +55 -55
  962. package/node/node_modules/npm/node_modules/foreground-child/LICENSE +15 -15
  963. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/all-signals.js +57 -57
  964. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/index.js +122 -122
  965. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/package.json +3 -3
  966. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/proxy-signals.js +37 -37
  967. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/watchdog.js +49 -49
  968. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/all-signals.js +51 -51
  969. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/index.js +114 -114
  970. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/package.json +3 -3
  971. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/proxy-signals.js +33 -33
  972. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/watchdog.js +45 -45
  973. package/node/node_modules/npm/node_modules/foreground-child/package.json +106 -106
  974. package/node/node_modules/npm/node_modules/fs-minipass/LICENSE +15 -15
  975. package/node/node_modules/npm/node_modules/fs-minipass/lib/index.js +443 -443
  976. package/node/node_modules/npm/node_modules/fs-minipass/package.json +54 -54
  977. package/node/node_modules/npm/node_modules/glob/LICENSE +15 -15
  978. package/node/node_modules/npm/node_modules/glob/README.md +1265 -1265
  979. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts +387 -387
  980. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.js +246 -246
  981. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts +13 -13
  982. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js +26 -26
  983. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts +23 -23
  984. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js +118 -118
  985. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts +96 -96
  986. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.js +67 -67
  987. package/node/node_modules/npm/node_modules/glob/dist/commonjs/package.json +3 -3
  988. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts +75 -75
  989. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js +218 -218
  990. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts +58 -58
  991. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.js +300 -300
  992. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts +96 -96
  993. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.js +386 -386
  994. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts +2 -2
  995. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.mjs +269 -269
  996. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts +387 -387
  997. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.js +242 -242
  998. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts +13 -13
  999. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.js +22 -22
  1000. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts +23 -23
  1001. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.js +114 -114
  1002. package/node/node_modules/npm/node_modules/glob/dist/esm/index.d.ts +96 -96
  1003. package/node/node_modules/npm/node_modules/glob/dist/esm/index.js +54 -54
  1004. package/node/node_modules/npm/node_modules/glob/dist/esm/package.json +3 -3
  1005. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts +75 -75
  1006. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.js +214 -214
  1007. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts +58 -58
  1008. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.js +293 -293
  1009. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts +96 -96
  1010. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.js +380 -380
  1011. package/node/node_modules/npm/node_modules/glob/package.json +99 -99
  1012. package/node/node_modules/npm/node_modules/graceful-fs/LICENSE +15 -15
  1013. package/node/node_modules/npm/node_modules/graceful-fs/clone.js +23 -23
  1014. package/node/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +448 -448
  1015. package/node/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +118 -118
  1016. package/node/node_modules/npm/node_modules/graceful-fs/package.json +53 -53
  1017. package/node/node_modules/npm/node_modules/graceful-fs/polyfills.js +355 -355
  1018. package/node/node_modules/npm/node_modules/hosted-git-info/LICENSE +13 -13
  1019. package/node/node_modules/npm/node_modules/hosted-git-info/lib/from-url.js +122 -122
  1020. package/node/node_modules/npm/node_modules/hosted-git-info/lib/hosts.js +231 -231
  1021. package/node/node_modules/npm/node_modules/hosted-git-info/lib/index.js +227 -227
  1022. package/node/node_modules/npm/node_modules/hosted-git-info/lib/parse-url.js +78 -78
  1023. package/node/node_modules/npm/node_modules/hosted-git-info/package.json +61 -61
  1024. package/node/node_modules/npm/node_modules/http-cache-semantics/LICENSE +9 -9
  1025. package/node/node_modules/npm/node_modules/http-cache-semantics/index.js +928 -928
  1026. package/node/node_modules/npm/node_modules/http-cache-semantics/package.json +22 -22
  1027. package/node/node_modules/npm/node_modules/http-proxy-agent/LICENSE +22 -22
  1028. package/node/node_modules/npm/node_modules/http-proxy-agent/dist/index.js +147 -147
  1029. package/node/node_modules/npm/node_modules/http-proxy-agent/package.json +46 -46
  1030. package/node/node_modules/npm/node_modules/https-proxy-agent/LICENSE +21 -21
  1031. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/index.js +179 -179
  1032. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/parse-proxy-response.js +100 -100
  1033. package/node/node_modules/npm/node_modules/https-proxy-agent/package.json +49 -49
  1034. package/node/node_modules/npm/node_modules/iconv-lite/LICENSE +21 -21
  1035. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -597
  1036. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-data.js +188 -188
  1037. package/node/node_modules/npm/node_modules/iconv-lite/encodings/index.js +23 -23
  1038. package/node/node_modules/npm/node_modules/iconv-lite/encodings/internal.js +198 -198
  1039. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -72
  1040. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +450 -450
  1041. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data.js +179 -179
  1042. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -122
  1043. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp936.json +264 -264
  1044. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp949.json +273 -273
  1045. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp950.json +177 -177
  1046. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -182
  1047. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -56
  1048. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -125
  1049. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf16.js +197 -197
  1050. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf32.js +319 -319
  1051. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf7.js +290 -290
  1052. package/node/node_modules/npm/node_modules/iconv-lite/lib/bom-handling.js +52 -52
  1053. package/node/node_modules/npm/node_modules/iconv-lite/lib/index.js +180 -180
  1054. package/node/node_modules/npm/node_modules/iconv-lite/lib/streams.js +109 -109
  1055. package/node/node_modules/npm/node_modules/iconv-lite/package.json +44 -44
  1056. package/node/node_modules/npm/node_modules/ignore-walk/LICENSE +15 -15
  1057. package/node/node_modules/npm/node_modules/ignore-walk/lib/index.js +310 -310
  1058. package/node/node_modules/npm/node_modules/ignore-walk/package.json +64 -64
  1059. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +138 -138
  1060. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +11 -11
  1061. package/node/node_modules/npm/node_modules/imurmurhash/package.json +40 -40
  1062. package/node/node_modules/npm/node_modules/ini/LICENSE +15 -15
  1063. package/node/node_modules/npm/node_modules/ini/lib/ini.js +280 -280
  1064. package/node/node_modules/npm/node_modules/ini/package.json +45 -45
  1065. package/node/node_modules/npm/node_modules/init-package-json/LICENSE.md +18 -18
  1066. package/node/node_modules/npm/node_modules/init-package-json/lib/default-input.js +263 -263
  1067. package/node/node_modules/npm/node_modules/init-package-json/lib/init-package-json.js +147 -147
  1068. package/node/node_modules/npm/node_modules/init-package-json/package.json +67 -67
  1069. package/node/node_modules/npm/node_modules/ip-address/LICENSE +19 -19
  1070. package/node/node_modules/npm/node_modules/ip-address/dist/address-error.js +13 -13
  1071. package/node/node_modules/npm/node_modules/ip-address/dist/common.js +25 -25
  1072. package/node/node_modules/npm/node_modules/ip-address/dist/ip-address.js +34 -34
  1073. package/node/node_modules/npm/node_modules/ip-address/dist/ipv4.js +325 -325
  1074. package/node/node_modules/npm/node_modules/ip-address/dist/ipv6.js +997 -997
  1075. package/node/node_modules/npm/node_modules/ip-address/dist/v4/constants.js +7 -7
  1076. package/node/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +75 -75
  1077. package/node/node_modules/npm/node_modules/ip-address/dist/v6/helpers.js +47 -47
  1078. package/node/node_modules/npm/node_modules/ip-address/dist/v6/regular-expressions.js +95 -95
  1079. package/node/node_modules/npm/node_modules/ip-address/package.json +87 -87
  1080. package/node/node_modules/npm/node_modules/ip-regex/index.js +36 -36
  1081. package/node/node_modules/npm/node_modules/ip-regex/license +9 -9
  1082. package/node/node_modules/npm/node_modules/ip-regex/package.json +47 -47
  1083. package/node/node_modules/npm/node_modules/is-cidr/LICENSE +22 -22
  1084. package/node/node_modules/npm/node_modules/is-cidr/dist/index.js +11 -11
  1085. package/node/node_modules/npm/node_modules/is-cidr/package.json +39 -39
  1086. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/index.js +50 -50
  1087. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/license +9 -9
  1088. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +42 -42
  1089. package/node/node_modules/npm/node_modules/isexe/LICENSE +15 -15
  1090. package/node/node_modules/npm/node_modules/isexe/index.js +57 -57
  1091. package/node/node_modules/npm/node_modules/isexe/mode.js +41 -41
  1092. package/node/node_modules/npm/node_modules/isexe/package.json +31 -31
  1093. package/node/node_modules/npm/node_modules/isexe/windows.js +42 -42
  1094. package/node/node_modules/npm/node_modules/jackspeak/LICENSE.md +55 -55
  1095. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/index.js +1009 -1009
  1096. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/package.json +3 -3
  1097. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/parse-args.js +49 -49
  1098. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/index.js +999 -999
  1099. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/package.json +3 -3
  1100. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/parse-args.js +25 -25
  1101. package/node/node_modules/npm/node_modules/jackspeak/package.json +95 -95
  1102. package/node/node_modules/npm/node_modules/jsbn/LICENSE +40 -40
  1103. package/node/node_modules/npm/node_modules/jsbn/example.html +11 -11
  1104. package/node/node_modules/npm/node_modules/jsbn/example.js +5 -5
  1105. package/node/node_modules/npm/node_modules/jsbn/index.js +1361 -1361
  1106. package/node/node_modules/npm/node_modules/jsbn/package.json +21 -21
  1107. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -25
  1108. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/lib/index.js +137 -137
  1109. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +50 -50
  1110. package/node/node_modules/npm/node_modules/json-stringify-nice/LICENSE +15 -15
  1111. package/node/node_modules/npm/node_modules/json-stringify-nice/index.js +38 -38
  1112. package/node/node_modules/npm/node_modules/json-stringify-nice/package.json +40 -40
  1113. package/node/node_modules/npm/node_modules/jsonparse/LICENSE +24 -24
  1114. package/node/node_modules/npm/node_modules/jsonparse/bench.js +26 -26
  1115. package/node/node_modules/npm/node_modules/jsonparse/examples/twitterfeed.js +30 -30
  1116. package/node/node_modules/npm/node_modules/jsonparse/jsonparse.js +413 -413
  1117. package/node/node_modules/npm/node_modules/jsonparse/package.json +22 -22
  1118. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic.json +167 -167
  1119. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic2.json +180 -180
  1120. package/node/node_modules/npm/node_modules/just-diff/LICENSE +21 -21
  1121. package/node/node_modules/npm/node_modules/just-diff/index.cjs +230 -230
  1122. package/node/node_modules/npm/node_modules/just-diff/index.mjs +227 -227
  1123. package/node/node_modules/npm/node_modules/just-diff/package.json +32 -32
  1124. package/node/node_modules/npm/node_modules/just-diff/rollup.config.js +3 -3
  1125. package/node/node_modules/npm/node_modules/just-diff-apply/LICENSE +21 -21
  1126. package/node/node_modules/npm/node_modules/just-diff-apply/index.cjs +161 -161
  1127. package/node/node_modules/npm/node_modules/just-diff-apply/index.mjs +158 -158
  1128. package/node/node_modules/npm/node_modules/just-diff-apply/package.json +33 -33
  1129. package/node/node_modules/npm/node_modules/just-diff-apply/rollup.config.js +3 -3
  1130. package/node/node_modules/npm/node_modules/libnpmaccess/LICENSE +13 -13
  1131. package/node/node_modules/npm/node_modules/libnpmaccess/README.md +93 -93
  1132. package/node/node_modules/npm/node_modules/libnpmaccess/lib/index.js +140 -140
  1133. package/node/node_modules/npm/node_modules/libnpmaccess/package.json +54 -54
  1134. package/node/node_modules/npm/node_modules/libnpmdiff/LICENSE +15 -15
  1135. package/node/node_modules/npm/node_modules/libnpmdiff/README.md +95 -95
  1136. package/node/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +118 -118
  1137. package/node/node_modules/npm/node_modules/libnpmdiff/lib/index.js +62 -62
  1138. package/node/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js +22 -22
  1139. package/node/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js +38 -38
  1140. package/node/node_modules/npm/node_modules/libnpmdiff/lib/untar.js +96 -96
  1141. package/node/node_modules/npm/node_modules/libnpmdiff/package.json +70 -70
  1142. package/node/node_modules/npm/node_modules/libnpmexec/LICENSE +15 -15
  1143. package/node/node_modules/npm/node_modules/libnpmexec/README.md +47 -47
  1144. package/node/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js +33 -33
  1145. package/node/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js +22 -22
  1146. package/node/node_modules/npm/node_modules/libnpmexec/lib/index.js +301 -301
  1147. package/node/node_modules/npm/node_modules/libnpmexec/lib/is-windows.js +1 -1
  1148. package/node/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js +1 -1
  1149. package/node/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +61 -61
  1150. package/node/node_modules/npm/node_modules/libnpmexec/package.json +79 -79
  1151. package/node/node_modules/npm/node_modules/libnpmfund/LICENSE +15 -15
  1152. package/node/node_modules/npm/node_modules/libnpmfund/README.md +131 -131
  1153. package/node/node_modules/npm/node_modules/libnpmfund/lib/index.js +210 -210
  1154. package/node/node_modules/npm/node_modules/libnpmfund/package.json +65 -65
  1155. package/node/node_modules/npm/node_modules/libnpmhook/LICENSE.md +16 -16
  1156. package/node/node_modules/npm/node_modules/libnpmhook/README.md +271 -271
  1157. package/node/node_modules/npm/node_modules/libnpmhook/lib/index.js +70 -70
  1158. package/node/node_modules/npm/node_modules/libnpmhook/package.json +57 -57
  1159. package/node/node_modules/npm/node_modules/libnpmorg/LICENSE +13 -13
  1160. package/node/node_modules/npm/node_modules/libnpmorg/README.md +148 -148
  1161. package/node/node_modules/npm/node_modules/libnpmorg/lib/index.js +64 -64
  1162. package/node/node_modules/npm/node_modules/libnpmorg/package.json +62 -62
  1163. package/node/node_modules/npm/node_modules/libnpmpack/LICENSE +13 -13
  1164. package/node/node_modules/npm/node_modules/libnpmpack/README.md +55 -55
  1165. package/node/node_modules/npm/node_modules/libnpmpack/lib/index.js +62 -62
  1166. package/node/node_modules/npm/node_modules/libnpmpack/package.json +59 -59
  1167. package/node/node_modules/npm/node_modules/libnpmpublish/LICENSE +13 -13
  1168. package/node/node_modules/npm/node_modules/libnpmpublish/README.md +120 -120
  1169. package/node/node_modules/npm/node_modules/libnpmpublish/lib/index.js +4 -4
  1170. package/node/node_modules/npm/node_modules/libnpmpublish/lib/provenance.js +245 -245
  1171. package/node/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +225 -225
  1172. package/node/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js +119 -119
  1173. package/node/node_modules/npm/node_modules/libnpmpublish/package.json +65 -65
  1174. package/node/node_modules/npm/node_modules/libnpmsearch/LICENSE +13 -13
  1175. package/node/node_modules/npm/node_modules/libnpmsearch/README.md +173 -173
  1176. package/node/node_modules/npm/node_modules/libnpmsearch/lib/index.js +71 -71
  1177. package/node/node_modules/npm/node_modules/libnpmsearch/package.json +58 -58
  1178. package/node/node_modules/npm/node_modules/libnpmteam/LICENSE +13 -13
  1179. package/node/node_modules/npm/node_modules/libnpmteam/README.md +188 -188
  1180. package/node/node_modules/npm/node_modules/libnpmteam/lib/index.js +92 -92
  1181. package/node/node_modules/npm/node_modules/libnpmteam/package.json +52 -52
  1182. package/node/node_modules/npm/node_modules/libnpmversion/LICENSE +15 -15
  1183. package/node/node_modules/npm/node_modules/libnpmversion/README.md +163 -163
  1184. package/node/node_modules/npm/node_modules/libnpmversion/lib/commit.js +17 -17
  1185. package/node/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js +32 -32
  1186. package/node/node_modules/npm/node_modules/libnpmversion/lib/index.js +38 -38
  1187. package/node/node_modules/npm/node_modules/libnpmversion/lib/read-json.js +6 -6
  1188. package/node/node_modules/npm/node_modules/libnpmversion/lib/retrieve-tag.js +13 -13
  1189. package/node/node_modules/npm/node_modules/libnpmversion/lib/tag.js +30 -30
  1190. package/node/node_modules/npm/node_modules/libnpmversion/lib/version.js +136 -136
  1191. package/node/node_modules/npm/node_modules/libnpmversion/lib/write-json.js +15 -15
  1192. package/node/node_modules/npm/node_modules/libnpmversion/package.json +55 -55
  1193. package/node/node_modules/npm/node_modules/lru-cache/LICENSE +15 -15
  1194. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.js +1545 -1545
  1195. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.min.js +2 -2
  1196. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/package.json +3 -3
  1197. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.js +1541 -1541
  1198. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.min.js +2 -2
  1199. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/package.json +3 -3
  1200. package/node/node_modules/npm/node_modules/lru-cache/package.json +116 -116
  1201. package/node/node_modules/npm/node_modules/make-fetch-happen/LICENSE +16 -16
  1202. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js +471 -471
  1203. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/errors.js +11 -11
  1204. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js +49 -49
  1205. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js +17 -17
  1206. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +161 -161
  1207. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js +118 -118
  1208. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/index.js +41 -41
  1209. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/options.js +59 -59
  1210. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js +41 -41
  1211. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js +132 -132
  1212. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/HISTORY.md +114 -114
  1213. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/LICENSE +24 -24
  1214. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/index.js +83 -83
  1215. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/charset.js +169 -169
  1216. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/encoding.js +205 -205
  1217. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/language.js +179 -179
  1218. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/mediaType.js +294 -294
  1219. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/package.json +43 -43
  1220. package/node/node_modules/npm/node_modules/make-fetch-happen/package.json +74 -74
  1221. package/node/node_modules/npm/node_modules/minimatch/LICENSE +15 -15
  1222. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +13 -13
  1223. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/ast.js +591 -591
  1224. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/brace-expressions.js +151 -151
  1225. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/escape.js +21 -21
  1226. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/index.js +1016 -1016
  1227. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/package.json +3 -3
  1228. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/unescape.js +23 -23
  1229. package/node/node_modules/npm/node_modules/minimatch/dist/esm/assert-valid-pattern.js +9 -9
  1230. package/node/node_modules/npm/node_modules/minimatch/dist/esm/ast.js +587 -587
  1231. package/node/node_modules/npm/node_modules/minimatch/dist/esm/brace-expressions.js +147 -147
  1232. package/node/node_modules/npm/node_modules/minimatch/dist/esm/escape.js +17 -17
  1233. package/node/node_modules/npm/node_modules/minimatch/dist/esm/index.js +1000 -1000
  1234. package/node/node_modules/npm/node_modules/minimatch/dist/esm/package.json +3 -3
  1235. package/node/node_modules/npm/node_modules/minimatch/dist/esm/unescape.js +19 -19
  1236. package/node/node_modules/npm/node_modules/minimatch/package.json +82 -82
  1237. package/node/node_modules/npm/node_modules/minipass/LICENSE +15 -15
  1238. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/index.js +1027 -1027
  1239. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/package.json +3 -3
  1240. package/node/node_modules/npm/node_modules/minipass/dist/esm/index.js +1017 -1017
  1241. package/node/node_modules/npm/node_modules/minipass/dist/esm/package.json +3 -3
  1242. package/node/node_modules/npm/node_modules/minipass/package.json +82 -82
  1243. package/node/node_modules/npm/node_modules/minipass-collect/LICENSE +15 -15
  1244. package/node/node_modules/npm/node_modules/minipass-collect/index.js +71 -71
  1245. package/node/node_modules/npm/node_modules/minipass-collect/package.json +30 -30
  1246. package/node/node_modules/npm/node_modules/minipass-fetch/LICENSE +28 -28
  1247. package/node/node_modules/npm/node_modules/minipass-fetch/lib/abort-error.js +17 -17
  1248. package/node/node_modules/npm/node_modules/minipass-fetch/lib/blob.js +97 -97
  1249. package/node/node_modules/npm/node_modules/minipass-fetch/lib/body.js +350 -350
  1250. package/node/node_modules/npm/node_modules/minipass-fetch/lib/fetch-error.js +32 -32
  1251. package/node/node_modules/npm/node_modules/minipass-fetch/lib/headers.js +267 -267
  1252. package/node/node_modules/npm/node_modules/minipass-fetch/lib/index.js +376 -376
  1253. package/node/node_modules/npm/node_modules/minipass-fetch/lib/request.js +282 -282
  1254. package/node/node_modules/npm/node_modules/minipass-fetch/lib/response.js +90 -90
  1255. package/node/node_modules/npm/node_modules/minipass-fetch/package.json +70 -70
  1256. package/node/node_modules/npm/node_modules/minipass-flush/LICENSE +15 -15
  1257. package/node/node_modules/npm/node_modules/minipass-flush/index.js +39 -39
  1258. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -15
  1259. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/index.js +649 -649
  1260. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/package.json +56 -56
  1261. package/node/node_modules/npm/node_modules/minipass-flush/package.json +39 -39
  1262. package/node/node_modules/npm/node_modules/minipass-pipeline/LICENSE +15 -15
  1263. package/node/node_modules/npm/node_modules/minipass-pipeline/index.js +128 -128
  1264. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -15
  1265. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -649
  1266. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -56
  1267. package/node/node_modules/npm/node_modules/minipass-pipeline/package.json +29 -29
  1268. package/node/node_modules/npm/node_modules/minipass-sized/LICENSE +15 -15
  1269. package/node/node_modules/npm/node_modules/minipass-sized/index.js +67 -67
  1270. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -15
  1271. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/index.js +649 -649
  1272. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/package.json +56 -56
  1273. package/node/node_modules/npm/node_modules/minipass-sized/package.json +39 -39
  1274. package/node/node_modules/npm/node_modules/minizlib/LICENSE +26 -26
  1275. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/constants.js +122 -122
  1276. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/index.js +391 -391
  1277. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/package.json +3 -3
  1278. package/node/node_modules/npm/node_modules/minizlib/dist/esm/constants.js +116 -116
  1279. package/node/node_modules/npm/node_modules/minizlib/dist/esm/index.js +339 -339
  1280. package/node/node_modules/npm/node_modules/minizlib/dist/esm/package.json +3 -3
  1281. package/node/node_modules/npm/node_modules/minizlib/package.json +80 -80
  1282. package/node/node_modules/npm/node_modules/mkdirp/LICENSE +21 -21
  1283. package/node/node_modules/npm/node_modules/mkdirp/bin/cmd.js +68 -68
  1284. package/node/node_modules/npm/node_modules/mkdirp/index.js +31 -31
  1285. package/node/node_modules/npm/node_modules/mkdirp/lib/find-made.js +29 -29
  1286. package/node/node_modules/npm/node_modules/mkdirp/lib/mkdirp-manual.js +64 -64
  1287. package/node/node_modules/npm/node_modules/mkdirp/lib/mkdirp-native.js +39 -39
  1288. package/node/node_modules/npm/node_modules/mkdirp/lib/opts-arg.js +23 -23
  1289. package/node/node_modules/npm/node_modules/mkdirp/lib/path-arg.js +29 -29
  1290. package/node/node_modules/npm/node_modules/mkdirp/lib/use-native.js +10 -10
  1291. package/node/node_modules/npm/node_modules/mkdirp/package.json +44 -44
  1292. package/node/node_modules/npm/node_modules/mkdirp/readme.markdown +266 -266
  1293. package/node/node_modules/npm/node_modules/ms/index.js +162 -162
  1294. package/node/node_modules/npm/node_modules/ms/license.md +21 -21
  1295. package/node/node_modules/npm/node_modules/ms/package.json +38 -38
  1296. package/node/node_modules/npm/node_modules/mute-stream/LICENSE +15 -15
  1297. package/node/node_modules/npm/node_modules/mute-stream/lib/index.js +142 -142
  1298. package/node/node_modules/npm/node_modules/mute-stream/package.json +54 -54
  1299. package/node/node_modules/npm/node_modules/node-gyp/.release-please-manifest.json +3 -3
  1300. package/node/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +1053 -1053
  1301. package/node/node_modules/npm/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -4
  1302. package/node/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +34 -34
  1303. package/node/node_modules/npm/node_modules/node-gyp/LICENSE +24 -24
  1304. package/node/node_modules/npm/node_modules/node-gyp/README.md +273 -273
  1305. package/node/node_modules/npm/node_modules/node-gyp/SECURITY.md +1 -1
  1306. package/node/node_modules/npm/node_modules/node-gyp/addon.gypi +204 -204
  1307. package/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +138 -138
  1308. package/node/node_modules/npm/node_modules/node-gyp/eslint.config.js +3 -3
  1309. package/node/node_modules/npm/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -3
  1310. package/node/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +28 -28
  1311. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -4
  1312. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -12
  1313. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -116
  1314. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Hacking.md +46 -46
  1315. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -1083
  1316. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -430
  1317. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/README.md +27 -27
  1318. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Testing.md +450 -450
  1319. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -965
  1320. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp +8 -8
  1321. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -0
  1322. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +45 -45
  1323. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -365
  1324. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -206
  1325. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -1272
  1326. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -1547
  1327. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -59
  1328. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -152
  1329. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -270
  1330. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -574
  1331. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -704
  1332. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -709
  1333. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -173
  1334. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -169
  1335. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -113
  1336. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -55
  1337. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -805
  1338. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -1172
  1339. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -1319
  1340. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -128
  1341. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -104
  1342. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -462
  1343. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -89
  1344. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -56
  1345. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -2745
  1346. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -3976
  1347. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -44
  1348. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -2965
  1349. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -67
  1350. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -1391
  1351. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -26
  1352. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -3112
  1353. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -99
  1354. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -767
  1355. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -1260
  1356. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -174
  1357. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -61
  1358. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -373
  1359. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -1939
  1360. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -54
  1361. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -303
  1362. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -3196
  1363. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -65
  1364. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -3
  1365. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -177
  1366. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -23
  1367. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -15
  1368. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -108
  1369. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -252
  1370. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -83
  1371. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -359
  1372. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -61
  1373. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -192
  1374. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -252
  1375. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -825
  1376. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -90
  1377. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -1030
  1378. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -553
  1379. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -172
  1380. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -563
  1381. package/node/node_modules/npm/node_modules/node-gyp/gyp/pyproject.toml +115 -115
  1382. package/node/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json +11 -11
  1383. package/node/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +261 -261
  1384. package/node/node_modules/npm/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -250
  1385. package/node/node_modules/npm/node_modules/node-gyp/lib/build.js +230 -230
  1386. package/node/node_modules/npm/node_modules/node-gyp/lib/clean.js +15 -15
  1387. package/node/node_modules/npm/node_modules/node-gyp/lib/configure.js +328 -328
  1388. package/node/node_modules/npm/node_modules/node-gyp/lib/create-config-gypi.js +153 -153
  1389. package/node/node_modules/npm/node_modules/node-gyp/lib/download.js +39 -39
  1390. package/node/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +63 -63
  1391. package/node/node_modules/npm/node_modules/node-gyp/lib/find-python.js +310 -310
  1392. package/node/node_modules/npm/node_modules/node-gyp/lib/find-visualstudio.js +600 -600
  1393. package/node/node_modules/npm/node_modules/node-gyp/lib/install.js +415 -415
  1394. package/node/node_modules/npm/node_modules/node-gyp/lib/list.js +26 -26
  1395. package/node/node_modules/npm/node_modules/node-gyp/lib/log.js +168 -168
  1396. package/node/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +188 -188
  1397. package/node/node_modules/npm/node_modules/node-gyp/lib/process-release.js +146 -146
  1398. package/node/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +12 -12
  1399. package/node/node_modules/npm/node_modules/node-gyp/lib/remove.js +43 -43
  1400. package/node/node_modules/npm/node_modules/node-gyp/lib/util.js +81 -81
  1401. package/node/node_modules/npm/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -21
  1402. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/LICENSE.md +63 -63
  1403. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/commonjs/index.js +92 -92
  1404. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/commonjs/package.json +3 -3
  1405. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/esm/index.js +84 -84
  1406. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/esm/package.json +3 -3
  1407. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/package.json +69 -69
  1408. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/LICENSE +21 -21
  1409. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/package.json +91 -91
  1410. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/bin.d.ts +2 -2
  1411. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/bin.js +79 -79
  1412. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +3 -3
  1413. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/find-made.js +34 -34
  1414. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/index.d.ts +38 -38
  1415. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/index.js +52 -52
  1416. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +5 -5
  1417. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.js +78 -78
  1418. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +5 -5
  1419. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-native.js +49 -49
  1420. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +41 -41
  1421. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/opts-arg.js +37 -37
  1422. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -1
  1423. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/path-arg.js +27 -27
  1424. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +5 -5
  1425. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/use-native.js +16 -16
  1426. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/find-made.d.ts +3 -3
  1427. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/find-made.js +29 -29
  1428. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/index.d.ts +38 -38
  1429. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/index.js +42 -42
  1430. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +5 -5
  1431. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-manual.js +74 -74
  1432. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +5 -5
  1433. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-native.js +45 -45
  1434. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +41 -41
  1435. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/opts-arg.js +33 -33
  1436. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/package.json +3 -3
  1437. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -1
  1438. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/path-arg.js +23 -23
  1439. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/use-native.d.ts +5 -5
  1440. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/use-native.js +13 -13
  1441. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/package.json +91 -91
  1442. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/readme.markdown +281 -281
  1443. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/LICENSE +15 -15
  1444. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/create.js +82 -82
  1445. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/cwd-error.js +17 -17
  1446. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/extract.js +77 -77
  1447. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/get-write-flag.js +28 -28
  1448. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/header.js +305 -305
  1449. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/index.js +53 -53
  1450. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/large-numbers.js +98 -98
  1451. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/list.js +135 -135
  1452. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/make-command.js +60 -60
  1453. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/mkdir.js +208 -208
  1454. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/mode-fix.js +28 -28
  1455. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/normalize-unicode.js +16 -16
  1456. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/normalize-windows-path.js +11 -11
  1457. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/options.js +65 -65
  1458. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/pack.js +476 -476
  1459. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/package.json +3 -3
  1460. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/parse.js +598 -598
  1461. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/path-reservations.js +169 -169
  1462. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/pax.js +157 -157
  1463. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/read-entry.js +139 -139
  1464. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/replace.js +230 -230
  1465. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/strip-absolute-path.js +28 -28
  1466. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +17 -17
  1467. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/symlink-error.js +18 -18
  1468. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/types.js +49 -49
  1469. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/unpack.js +918 -918
  1470. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/update.js +32 -32
  1471. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/warn-method.js +30 -30
  1472. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/winchars.js +13 -13
  1473. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/write-entry.js +688 -688
  1474. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/create.js +76 -76
  1475. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/cwd-error.js +13 -13
  1476. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/extract.js +48 -48
  1477. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/get-write-flag.js +22 -22
  1478. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/header.js +278 -278
  1479. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/index.js +19 -19
  1480. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/large-numbers.js +93 -93
  1481. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/list.js +105 -105
  1482. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/make-command.js +56 -56
  1483. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/mkdir.js +200 -200
  1484. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/mode-fix.js +24 -24
  1485. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/normalize-unicode.js +12 -12
  1486. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/normalize-windows-path.js +8 -8
  1487. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/options.js +53 -53
  1488. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/pack.js +444 -444
  1489. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/package.json +3 -3
  1490. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/parse.js +594 -594
  1491. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/path-reservations.js +165 -165
  1492. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/pax.js +153 -153
  1493. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/read-entry.js +135 -135
  1494. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/replace.js +224 -224
  1495. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/strip-absolute-path.js +24 -24
  1496. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/strip-trailing-slashes.js +13 -13
  1497. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/symlink-error.js +14 -14
  1498. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/types.js +44 -44
  1499. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/unpack.js +887 -887
  1500. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/update.js +29 -29
  1501. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/warn-method.js +26 -26
  1502. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/winchars.js +8 -8
  1503. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/write-entry.js +656 -656
  1504. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/package.json +325 -325
  1505. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/LICENSE.md +63 -63
  1506. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/commonjs/index.js +383 -383
  1507. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/commonjs/package.json +3 -3
  1508. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/esm/index.js +378 -378
  1509. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/esm/package.json +3 -3
  1510. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/package.json +68 -68
  1511. package/node/node_modules/npm/node_modules/node-gyp/package.json +52 -52
  1512. package/node/node_modules/npm/node_modules/node-gyp/release-please-config.json +40 -40
  1513. package/node/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -41
  1514. package/node/node_modules/npm/node_modules/nopt/LICENSE +15 -15
  1515. package/node/node_modules/npm/node_modules/nopt/README.md +214 -214
  1516. package/node/node_modules/npm/node_modules/nopt/bin/nopt.js +29 -29
  1517. package/node/node_modules/npm/node_modules/nopt/lib/debug.js +5 -5
  1518. package/node/node_modules/npm/node_modules/nopt/lib/nopt-lib.js +514 -514
  1519. package/node/node_modules/npm/node_modules/nopt/lib/nopt.js +34 -34
  1520. package/node/node_modules/npm/node_modules/nopt/lib/type-defs.js +91 -91
  1521. package/node/node_modules/npm/node_modules/nopt/package.json +52 -52
  1522. package/node/node_modules/npm/node_modules/normalize-package-data/LICENSE +15 -15
  1523. package/node/node_modules/npm/node_modules/normalize-package-data/lib/extract_description.js +24 -24
  1524. package/node/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js +475 -475
  1525. package/node/node_modules/npm/node_modules/normalize-package-data/lib/make_warning.js +22 -22
  1526. package/node/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js +48 -48
  1527. package/node/node_modules/npm/node_modules/normalize-package-data/lib/safe_format.js +11 -11
  1528. package/node/node_modules/npm/node_modules/normalize-package-data/lib/typos.json +25 -25
  1529. package/node/node_modules/npm/node_modules/normalize-package-data/lib/warning_messages.json +30 -30
  1530. package/node/node_modules/npm/node_modules/normalize-package-data/package.json +56 -56
  1531. package/node/node_modules/npm/node_modules/npm-audit-report/LICENSE +16 -16
  1532. package/node/node_modules/npm/node_modules/npm-audit-report/lib/colors.js +22 -22
  1533. package/node/node_modules/npm/node_modules/npm-audit-report/lib/exit-code.js +14 -14
  1534. package/node/node_modules/npm/node_modules/npm-audit-report/lib/index.js +41 -41
  1535. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/detail.js +86 -86
  1536. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/install.js +75 -75
  1537. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/json.js +1 -1
  1538. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/quiet.js +1 -1
  1539. package/node/node_modules/npm/node_modules/npm-audit-report/package.json +62 -62
  1540. package/node/node_modules/npm/node_modules/npm-bundled/LICENSE +15 -15
  1541. package/node/node_modules/npm/node_modules/npm-bundled/lib/index.js +254 -254
  1542. package/node/node_modules/npm/node_modules/npm-bundled/package.json +49 -49
  1543. package/node/node_modules/npm/node_modules/npm-install-checks/LICENSE +27 -27
  1544. package/node/node_modules/npm/node_modules/npm-install-checks/lib/current-env.js +91 -91
  1545. package/node/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js +145 -145
  1546. package/node/node_modules/npm/node_modules/npm-install-checks/lib/index.js +90 -90
  1547. package/node/node_modules/npm/node_modules/npm-install-checks/package.json +52 -52
  1548. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/LICENSE +15 -15
  1549. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/lib/index.js +64 -64
  1550. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +45 -45
  1551. package/node/node_modules/npm/node_modules/npm-package-arg/LICENSE +15 -15
  1552. package/node/node_modules/npm/node_modules/npm-package-arg/lib/npa.js +481 -481
  1553. package/node/node_modules/npm/node_modules/npm-package-arg/package.json +61 -61
  1554. package/node/node_modules/npm/node_modules/npm-packlist/LICENSE +15 -15
  1555. package/node/node_modules/npm/node_modules/npm-packlist/lib/index.js +456 -456
  1556. package/node/node_modules/npm/node_modules/npm-packlist/package.json +61 -61
  1557. package/node/node_modules/npm/node_modules/npm-pick-manifest/LICENSE.md +16 -16
  1558. package/node/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js +224 -224
  1559. package/node/node_modules/npm/node_modules/npm-pick-manifest/package.json +58 -58
  1560. package/node/node_modules/npm/node_modules/npm-profile/LICENSE.md +20 -20
  1561. package/node/node_modules/npm/node_modules/npm-profile/lib/index.js +278 -278
  1562. package/node/node_modules/npm/node_modules/npm-profile/package.json +52 -52
  1563. package/node/node_modules/npm/node_modules/npm-registry-fetch/LICENSE.md +20 -20
  1564. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js +181 -181
  1565. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +108 -108
  1566. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js +19 -19
  1567. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js +80 -80
  1568. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js +247 -247
  1569. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/json-stream.js +223 -223
  1570. package/node/node_modules/npm/node_modules/npm-registry-fetch/package.json +68 -68
  1571. package/node/node_modules/npm/node_modules/npm-user-validate/LICENSE +26 -26
  1572. package/node/node_modules/npm/node_modules/npm-user-validate/lib/index.js +61 -61
  1573. package/node/node_modules/npm/node_modules/npm-user-validate/package.json +50 -50
  1574. package/node/node_modules/npm/node_modules/p-map/index.js +281 -281
  1575. package/node/node_modules/npm/node_modules/p-map/license +9 -9
  1576. package/node/node_modules/npm/node_modules/p-map/package.json +57 -57
  1577. package/node/node_modules/npm/node_modules/package-json-from-dist/LICENSE.md +63 -63
  1578. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/index.js +133 -133
  1579. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -3
  1580. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/index.js +128 -128
  1581. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/package.json +3 -3
  1582. package/node/node_modules/npm/node_modules/package-json-from-dist/package.json +68 -68
  1583. package/node/node_modules/npm/node_modules/pacote/LICENSE +15 -15
  1584. package/node/node_modules/npm/node_modules/pacote/README.md +283 -283
  1585. package/node/node_modules/npm/node_modules/pacote/bin/index.js +158 -158
  1586. package/node/node_modules/npm/node_modules/pacote/lib/dir.js +102 -102
  1587. package/node/node_modules/npm/node_modules/pacote/lib/fetcher.js +497 -497
  1588. package/node/node_modules/npm/node_modules/pacote/lib/file.js +94 -94
  1589. package/node/node_modules/npm/node_modules/pacote/lib/git.js +317 -317
  1590. package/node/node_modules/npm/node_modules/pacote/lib/index.js +23 -23
  1591. package/node/node_modules/npm/node_modules/pacote/lib/registry.js +369 -369
  1592. package/node/node_modules/npm/node_modules/pacote/lib/remote.js +89 -89
  1593. package/node/node_modules/npm/node_modules/pacote/lib/util/add-git-sha.js +15 -15
  1594. package/node/node_modules/npm/node_modules/pacote/lib/util/cache-dir.js +15 -15
  1595. package/node/node_modules/npm/node_modules/pacote/lib/util/is-package-bin.js +25 -25
  1596. package/node/node_modules/npm/node_modules/pacote/lib/util/npm.js +14 -14
  1597. package/node/node_modules/npm/node_modules/pacote/lib/util/protected.js +5 -5
  1598. package/node/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js +31 -31
  1599. package/node/node_modules/npm/node_modules/pacote/lib/util/trailing-slashes.js +10 -10
  1600. package/node/node_modules/npm/node_modules/pacote/package.json +79 -79
  1601. package/node/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +20 -20
  1602. package/node/node_modules/npm/node_modules/parse-conflict-json/lib/index.js +104 -104
  1603. package/node/node_modules/npm/node_modules/parse-conflict-json/package.json +51 -51
  1604. package/node/node_modules/npm/node_modules/path-key/index.js +16 -16
  1605. package/node/node_modules/npm/node_modules/path-key/license +9 -9
  1606. package/node/node_modules/npm/node_modules/path-key/package.json +39 -39
  1607. package/node/node_modules/npm/node_modules/path-scurry/LICENSE.md +55 -55
  1608. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/index.js +2013 -2013
  1609. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/package.json +3 -3
  1610. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/index.js +1978 -1978
  1611. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/package.json +3 -3
  1612. package/node/node_modules/npm/node_modules/path-scurry/package.json +89 -89
  1613. package/node/node_modules/npm/node_modules/postcss-selector-parser/API.md +874 -874
  1614. package/node/node_modules/npm/node_modules/postcss-selector-parser/LICENSE-MIT +22 -22
  1615. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/index.js +16 -16
  1616. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/parser.js +1014 -1014
  1617. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/processor.js +169 -169
  1618. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/attribute.js +447 -447
  1619. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/className.js +49 -49
  1620. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/combinator.js +20 -20
  1621. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/comment.js +20 -20
  1622. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/constructors.js +64 -64
  1623. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/container.js +320 -320
  1624. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/guards.js +57 -57
  1625. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/id.js +24 -24
  1626. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/index.js +20 -20
  1627. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/namespace.js +79 -79
  1628. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/nesting.js +21 -21
  1629. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/node.js +191 -191
  1630. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +25 -25
  1631. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js +43 -43
  1632. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/selector.js +20 -20
  1633. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/string.js +20 -20
  1634. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/tag.js +20 -20
  1635. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/types.js +27 -27
  1636. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/universal.js +21 -21
  1637. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/sortAscending.js +10 -10
  1638. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenTypes.js +69 -69
  1639. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenize.js +238 -238
  1640. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/ensureObject.js +16 -16
  1641. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/getProp.js +17 -17
  1642. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/index.js +12 -12
  1643. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/stripComments.js +20 -20
  1644. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/unesc.js +75 -75
  1645. package/node/node_modules/npm/node_modules/postcss-selector-parser/package.json +80 -80
  1646. package/node/node_modules/npm/node_modules/proc-log/LICENSE +15 -15
  1647. package/node/node_modules/npm/node_modules/proc-log/lib/index.js +153 -153
  1648. package/node/node_modules/npm/node_modules/proc-log/package.json +46 -46
  1649. package/node/node_modules/npm/node_modules/proggy/LICENSE +15 -15
  1650. package/node/node_modules/npm/node_modules/proggy/lib/client.js +114 -114
  1651. package/node/node_modules/npm/node_modules/proggy/lib/index.js +15 -15
  1652. package/node/node_modules/npm/node_modules/proggy/lib/tracker.js +68 -68
  1653. package/node/node_modules/npm/node_modules/proggy/package.json +50 -50
  1654. package/node/node_modules/npm/node_modules/promise-all-reject-late/LICENSE +15 -15
  1655. package/node/node_modules/npm/node_modules/promise-all-reject-late/index.js +27 -27
  1656. package/node/node_modules/npm/node_modules/promise-all-reject-late/package.json +22 -22
  1657. package/node/node_modules/npm/node_modules/promise-call-limit/LICENSE +15 -15
  1658. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js +86 -86
  1659. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/package.json +3 -3
  1660. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/index.js +59 -59
  1661. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/package.json +3 -3
  1662. package/node/node_modules/npm/node_modules/promise-call-limit/package.json +68 -68
  1663. package/node/node_modules/npm/node_modules/promise-retry/LICENSE +19 -19
  1664. package/node/node_modules/npm/node_modules/promise-retry/index.js +52 -52
  1665. package/node/node_modules/npm/node_modules/promise-retry/package.json +37 -37
  1666. package/node/node_modules/npm/node_modules/promzard/LICENSE +15 -15
  1667. package/node/node_modules/npm/node_modules/promzard/lib/index.js +176 -176
  1668. package/node/node_modules/npm/node_modules/promzard/package.json +50 -50
  1669. package/node/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +3 -3
  1670. package/node/node_modules/npm/node_modules/qrcode-terminal/LICENSE +222 -222
  1671. package/node/node_modules/npm/node_modules/qrcode-terminal/README.md +82 -82
  1672. package/node/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +101 -101
  1673. package/node/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +2 -2
  1674. package/node/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +4 -4
  1675. package/node/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +6 -6
  1676. package/node/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +100 -100
  1677. package/node/node_modules/npm/node_modules/qrcode-terminal/package.json +37 -37
  1678. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -22
  1679. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -38
  1680. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -7
  1681. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -10
  1682. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -44
  1683. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -6
  1684. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -66
  1685. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -298
  1686. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -272
  1687. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -462
  1688. package/node/node_modules/npm/node_modules/read/LICENSE +15 -15
  1689. package/node/node_modules/npm/node_modules/read/dist/commonjs/package.json +3 -3
  1690. package/node/node_modules/npm/node_modules/read/dist/commonjs/read.js +93 -93
  1691. package/node/node_modules/npm/node_modules/read/dist/esm/package.json +3 -3
  1692. package/node/node_modules/npm/node_modules/read/dist/esm/read.js +87 -87
  1693. package/node/node_modules/npm/node_modules/read/package.json +88 -88
  1694. package/node/node_modules/npm/node_modules/read-cmd-shim/LICENSE +14 -14
  1695. package/node/node_modules/npm/node_modules/read-cmd-shim/lib/index.js +75 -75
  1696. package/node/node_modules/npm/node_modules/read-cmd-shim/package.json +48 -48
  1697. package/node/node_modules/npm/node_modules/read-package-json-fast/LICENSE +15 -15
  1698. package/node/node_modules/npm/node_modules/read-package-json-fast/lib/index.js +141 -141
  1699. package/node/node_modules/npm/node_modules/read-package-json-fast/package.json +49 -49
  1700. package/node/node_modules/npm/node_modules/retry/License +21 -21
  1701. package/node/node_modules/npm/node_modules/retry/Makefile +18 -18
  1702. package/node/node_modules/npm/node_modules/retry/example/dns.js +30 -30
  1703. package/node/node_modules/npm/node_modules/retry/example/stop.js +40 -40
  1704. package/node/node_modules/npm/node_modules/retry/lib/retry.js +100 -100
  1705. package/node/node_modules/npm/node_modules/retry/lib/retry_operation.js +158 -158
  1706. package/node/node_modules/npm/node_modules/retry/package.json +32 -32
  1707. package/node/node_modules/npm/node_modules/safer-buffer/LICENSE +21 -21
  1708. package/node/node_modules/npm/node_modules/safer-buffer/Porting-Buffer.md +268 -268
  1709. package/node/node_modules/npm/node_modules/safer-buffer/dangerous.js +58 -58
  1710. package/node/node_modules/npm/node_modules/safer-buffer/package.json +34 -34
  1711. package/node/node_modules/npm/node_modules/safer-buffer/safer.js +77 -77
  1712. package/node/node_modules/npm/node_modules/safer-buffer/tests.js +406 -406
  1713. package/node/node_modules/npm/node_modules/semver/LICENSE +15 -15
  1714. package/node/node_modules/npm/node_modules/semver/README.md +663 -663
  1715. package/node/node_modules/npm/node_modules/semver/bin/semver.js +191 -191
  1716. package/node/node_modules/npm/node_modules/semver/classes/comparator.js +143 -143
  1717. package/node/node_modules/npm/node_modules/semver/classes/index.js +7 -7
  1718. package/node/node_modules/npm/node_modules/semver/classes/range.js +556 -556
  1719. package/node/node_modules/npm/node_modules/semver/classes/semver.js +319 -319
  1720. package/node/node_modules/npm/node_modules/semver/functions/clean.js +8 -8
  1721. package/node/node_modules/npm/node_modules/semver/functions/cmp.js +54 -54
  1722. package/node/node_modules/npm/node_modules/semver/functions/coerce.js +62 -62
  1723. package/node/node_modules/npm/node_modules/semver/functions/compare-build.js +9 -9
  1724. package/node/node_modules/npm/node_modules/semver/functions/compare-loose.js +5 -5
  1725. package/node/node_modules/npm/node_modules/semver/functions/compare.js +7 -7
  1726. package/node/node_modules/npm/node_modules/semver/functions/diff.js +60 -60
  1727. package/node/node_modules/npm/node_modules/semver/functions/eq.js +5 -5
  1728. package/node/node_modules/npm/node_modules/semver/functions/gt.js +5 -5
  1729. package/node/node_modules/npm/node_modules/semver/functions/gte.js +5 -5
  1730. package/node/node_modules/npm/node_modules/semver/functions/inc.js +21 -21
  1731. package/node/node_modules/npm/node_modules/semver/functions/lt.js +5 -5
  1732. package/node/node_modules/npm/node_modules/semver/functions/lte.js +5 -5
  1733. package/node/node_modules/npm/node_modules/semver/functions/major.js +5 -5
  1734. package/node/node_modules/npm/node_modules/semver/functions/minor.js +5 -5
  1735. package/node/node_modules/npm/node_modules/semver/functions/neq.js +5 -5
  1736. package/node/node_modules/npm/node_modules/semver/functions/parse.js +18 -18
  1737. package/node/node_modules/npm/node_modules/semver/functions/patch.js +5 -5
  1738. package/node/node_modules/npm/node_modules/semver/functions/prerelease.js +8 -8
  1739. package/node/node_modules/npm/node_modules/semver/functions/rcompare.js +5 -5
  1740. package/node/node_modules/npm/node_modules/semver/functions/rsort.js +5 -5
  1741. package/node/node_modules/npm/node_modules/semver/functions/satisfies.js +12 -12
  1742. package/node/node_modules/npm/node_modules/semver/functions/sort.js +5 -5
  1743. package/node/node_modules/npm/node_modules/semver/functions/valid.js +8 -8
  1744. package/node/node_modules/npm/node_modules/semver/index.js +91 -91
  1745. package/node/node_modules/npm/node_modules/semver/internal/constants.js +37 -37
  1746. package/node/node_modules/npm/node_modules/semver/internal/debug.js +11 -11
  1747. package/node/node_modules/npm/node_modules/semver/internal/identifiers.js +25 -25
  1748. package/node/node_modules/npm/node_modules/semver/internal/lrucache.js +42 -42
  1749. package/node/node_modules/npm/node_modules/semver/internal/parse-options.js +17 -17
  1750. package/node/node_modules/npm/node_modules/semver/internal/re.js +223 -223
  1751. package/node/node_modules/npm/node_modules/semver/package.json +78 -78
  1752. package/node/node_modules/npm/node_modules/semver/preload.js +4 -4
  1753. package/node/node_modules/npm/node_modules/semver/range.bnf +16 -16
  1754. package/node/node_modules/npm/node_modules/semver/ranges/gtr.js +6 -6
  1755. package/node/node_modules/npm/node_modules/semver/ranges/intersects.js +9 -9
  1756. package/node/node_modules/npm/node_modules/semver/ranges/ltr.js +6 -6
  1757. package/node/node_modules/npm/node_modules/semver/ranges/max-satisfying.js +27 -27
  1758. package/node/node_modules/npm/node_modules/semver/ranges/min-satisfying.js +26 -26
  1759. package/node/node_modules/npm/node_modules/semver/ranges/min-version.js +63 -63
  1760. package/node/node_modules/npm/node_modules/semver/ranges/outside.js +82 -82
  1761. package/node/node_modules/npm/node_modules/semver/ranges/simplify.js +49 -49
  1762. package/node/node_modules/npm/node_modules/semver/ranges/subset.js +249 -249
  1763. package/node/node_modules/npm/node_modules/semver/ranges/to-comparators.js +10 -10
  1764. package/node/node_modules/npm/node_modules/semver/ranges/valid.js +13 -13
  1765. package/node/node_modules/npm/node_modules/shebang-command/index.js +19 -19
  1766. package/node/node_modules/npm/node_modules/shebang-command/license +9 -9
  1767. package/node/node_modules/npm/node_modules/shebang-command/package.json +34 -34
  1768. package/node/node_modules/npm/node_modules/shebang-regex/index.js +2 -2
  1769. package/node/node_modules/npm/node_modules/shebang-regex/license +9 -9
  1770. package/node/node_modules/npm/node_modules/shebang-regex/package.json +35 -35
  1771. package/node/node_modules/npm/node_modules/signal-exit/LICENSE.txt +16 -16
  1772. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/browser.js +9 -9
  1773. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js +278 -278
  1774. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/package.json +3 -3
  1775. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/signals.js +41 -41
  1776. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/browser.js +3 -3
  1777. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/index.js +274 -274
  1778. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/package.json +3 -3
  1779. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/signals.js +38 -38
  1780. package/node/node_modules/npm/node_modules/signal-exit/package.json +106 -106
  1781. package/node/node_modules/npm/node_modules/sigstore/LICENSE +202 -202
  1782. package/node/node_modules/npm/node_modules/sigstore/dist/config.js +120 -120
  1783. package/node/node_modules/npm/node_modules/sigstore/dist/index.js +34 -34
  1784. package/node/node_modules/npm/node_modules/sigstore/dist/sigstore.js +112 -112
  1785. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/LICENSE +202 -202
  1786. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/build.js +100 -100
  1787. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/bundle.js +24 -24
  1788. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/error.js +25 -25
  1789. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/index.js +43 -43
  1790. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/serialized.js +49 -49
  1791. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/utility.js +2 -2
  1792. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/validate.js +199 -199
  1793. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/package.json +35 -35
  1794. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/LICENSE +202 -202
  1795. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/error.js +24 -24
  1796. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/index.js +20 -20
  1797. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/length.js +62 -62
  1798. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/obj.js +152 -152
  1799. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/parse.js +124 -124
  1800. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/tag.js +86 -86
  1801. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/crypto.js +60 -60
  1802. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/dsse.js +30 -30
  1803. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/encoding.js +27 -27
  1804. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/index.js +56 -56
  1805. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/json.js +60 -60
  1806. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/oid.js +14 -14
  1807. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/pem.js +43 -43
  1808. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -21
  1809. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -20
  1810. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +201 -201
  1811. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +61 -61
  1812. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/stream.js +115 -115
  1813. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/cert.js +230 -230
  1814. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/ext.js +145 -145
  1815. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/index.js +23 -23
  1816. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/sct.js +141 -141
  1817. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/package.json +31 -31
  1818. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/LICENSE +202 -202
  1819. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/base.js +50 -50
  1820. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -81
  1821. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/dsse.js +46 -46
  1822. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/index.js +7 -7
  1823. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/message.js +30 -30
  1824. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/error.js +39 -39
  1825. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/error.js +26 -26
  1826. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/fetch.js +98 -98
  1827. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/fulcio.js +41 -41
  1828. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/rekor.js +80 -80
  1829. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/tsa.js +38 -38
  1830. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/ci.js +73 -73
  1831. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/index.js +20 -20
  1832. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/provider.js +2 -2
  1833. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/index.js +17 -17
  1834. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +59 -59
  1835. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +45 -45
  1836. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +87 -87
  1837. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/index.js +22 -22
  1838. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/signer.js +17 -17
  1839. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/types/fetch.js +2 -2
  1840. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/index.js +59 -59
  1841. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/oidc.js +30 -30
  1842. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/ua.js +32 -32
  1843. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/index.js +24 -24
  1844. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/client.js +61 -61
  1845. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +140 -140
  1846. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/index.js +82 -82
  1847. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tsa/client.js +46 -46
  1848. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tsa/index.js +44 -44
  1849. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/witness.js +2 -2
  1850. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/package.json +46 -46
  1851. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/dsse.js +43 -43
  1852. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/index.js +57 -57
  1853. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/message.js +36 -36
  1854. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/error.js +32 -32
  1855. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/index.js +28 -28
  1856. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/certificate.js +211 -211
  1857. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/index.js +67 -67
  1858. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/sct.js +78 -78
  1859. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/policy.js +24 -24
  1860. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/shared.types.js +2 -2
  1861. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/checkpoint.js +157 -157
  1862. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/index.js +46 -46
  1863. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/merkle.js +104 -104
  1864. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/set.js +60 -60
  1865. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -63
  1866. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/dsse.js +57 -57
  1867. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +51 -51
  1868. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/index.js +47 -47
  1869. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -62
  1870. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/filter.js +23 -23
  1871. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/index.js +86 -86
  1872. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -2
  1873. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/verifier.js +141 -141
  1874. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/package.json +36 -36
  1875. package/node/node_modules/npm/node_modules/sigstore/package.json +47 -47
  1876. package/node/node_modules/npm/node_modules/smart-buffer/LICENSE +20 -20
  1877. package/node/node_modules/npm/node_modules/smart-buffer/build/smartbuffer.js +1232 -1232
  1878. package/node/node_modules/npm/node_modules/smart-buffer/build/utils.js +107 -107
  1879. package/node/node_modules/npm/node_modules/smart-buffer/package.json +79 -79
  1880. package/node/node_modules/npm/node_modules/socks/LICENSE +20 -20
  1881. package/node/node_modules/npm/node_modules/socks/build/client/socksclient.js +792 -792
  1882. package/node/node_modules/npm/node_modules/socks/build/common/constants.js +107 -107
  1883. package/node/node_modules/npm/node_modules/socks/build/common/helpers.js +165 -165
  1884. package/node/node_modules/npm/node_modules/socks/build/common/receivebuffer.js +42 -42
  1885. package/node/node_modules/npm/node_modules/socks/build/common/util.js +24 -24
  1886. package/node/node_modules/npm/node_modules/socks/build/index.js +17 -17
  1887. package/node/node_modules/npm/node_modules/socks/docs/examples/index.md +16 -16
  1888. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/associateExample.md +90 -90
  1889. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/bindExample.md +82 -82
  1890. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/connectExample.md +257 -257
  1891. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/associateExample.md +93 -93
  1892. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/bindExample.md +85 -85
  1893. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/connectExample.md +264 -264
  1894. package/node/node_modules/npm/node_modules/socks/docs/index.md +4 -4
  1895. package/node/node_modules/npm/node_modules/socks/docs/migratingFromV1.md +85 -85
  1896. package/node/node_modules/npm/node_modules/socks/package.json +58 -58
  1897. package/node/node_modules/npm/node_modules/socks-proxy-agent/LICENSE +21 -21
  1898. package/node/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js +194 -194
  1899. package/node/node_modules/npm/node_modules/socks-proxy-agent/package.json +141 -141
  1900. package/node/node_modules/npm/node_modules/spdx-correct/LICENSE +202 -202
  1901. package/node/node_modules/npm/node_modules/spdx-correct/index.js +386 -386
  1902. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS +4 -4
  1903. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE +22 -22
  1904. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js +8 -8
  1905. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json +39 -39
  1906. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js +138 -138
  1907. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js +131 -131
  1908. package/node/node_modules/npm/node_modules/spdx-correct/package.json +32 -32
  1909. package/node/node_modules/npm/node_modules/spdx-exceptions/deprecated.json +3 -3
  1910. package/node/node_modules/npm/node_modules/spdx-exceptions/index.json +68 -68
  1911. package/node/node_modules/npm/node_modules/spdx-exceptions/package.json +19 -19
  1912. package/node/node_modules/npm/node_modules/spdx-expression-parse/AUTHORS +4 -4
  1913. package/node/node_modules/npm/node_modules/spdx-expression-parse/LICENSE +22 -22
  1914. package/node/node_modules/npm/node_modules/spdx-expression-parse/index.js +8 -8
  1915. package/node/node_modules/npm/node_modules/spdx-expression-parse/package.json +39 -39
  1916. package/node/node_modules/npm/node_modules/spdx-expression-parse/parse.js +138 -138
  1917. package/node/node_modules/npm/node_modules/spdx-expression-parse/scan.js +131 -131
  1918. package/node/node_modules/npm/node_modules/spdx-license-ids/deprecated.json +28 -28
  1919. package/node/node_modules/npm/node_modules/spdx-license-ids/index.json +650 -650
  1920. package/node/node_modules/npm/node_modules/spdx-license-ids/package.json +29 -29
  1921. package/node/node_modules/npm/node_modules/sprintf-js/CONTRIBUTORS.md +26 -26
  1922. package/node/node_modules/npm/node_modules/sprintf-js/LICENSE +24 -24
  1923. package/node/node_modules/npm/node_modules/sprintf-js/bower.json +14 -14
  1924. package/node/node_modules/npm/node_modules/sprintf-js/demo/angular.html +20 -20
  1925. package/node/node_modules/npm/node_modules/sprintf-js/dist/.gitattributes +4 -4
  1926. package/node/node_modules/npm/node_modules/sprintf-js/gruntfile.js +36 -36
  1927. package/node/node_modules/npm/node_modules/sprintf-js/package.json +35 -35
  1928. package/node/node_modules/npm/node_modules/sprintf-js/src/angular-sprintf.js +24 -24
  1929. package/node/node_modules/npm/node_modules/sprintf-js/src/sprintf.js +231 -231
  1930. package/node/node_modules/npm/node_modules/ssri/LICENSE.md +16 -16
  1931. package/node/node_modules/npm/node_modules/ssri/lib/index.js +580 -580
  1932. package/node/node_modules/npm/node_modules/ssri/package.json +66 -66
  1933. package/node/node_modules/npm/node_modules/string-width/index.js +47 -47
  1934. package/node/node_modules/npm/node_modules/string-width/license +9 -9
  1935. package/node/node_modules/npm/node_modules/string-width/package.json +56 -56
  1936. package/node/node_modules/npm/node_modules/string-width-cjs/index.js +47 -47
  1937. package/node/node_modules/npm/node_modules/string-width-cjs/license +9 -9
  1938. package/node/node_modules/npm/node_modules/string-width-cjs/package.json +56 -56
  1939. package/node/node_modules/npm/node_modules/strip-ansi/index.js +4 -4
  1940. package/node/node_modules/npm/node_modules/strip-ansi/license +9 -9
  1941. package/node/node_modules/npm/node_modules/strip-ansi/package.json +54 -54
  1942. package/node/node_modules/npm/node_modules/strip-ansi-cjs/index.js +4 -4
  1943. package/node/node_modules/npm/node_modules/strip-ansi-cjs/license +9 -9
  1944. package/node/node_modules/npm/node_modules/strip-ansi-cjs/package.json +54 -54
  1945. package/node/node_modules/npm/node_modules/supports-color/browser.js +30 -30
  1946. package/node/node_modules/npm/node_modules/supports-color/index.js +182 -182
  1947. package/node/node_modules/npm/node_modules/supports-color/license +9 -9
  1948. package/node/node_modules/npm/node_modules/supports-color/package.json +60 -60
  1949. package/node/node_modules/npm/node_modules/tar/LICENSE +15 -15
  1950. package/node/node_modules/npm/node_modules/tar/index.js +18 -18
  1951. package/node/node_modules/npm/node_modules/tar/lib/create.js +111 -111
  1952. package/node/node_modules/npm/node_modules/tar/lib/extract.js +113 -113
  1953. package/node/node_modules/npm/node_modules/tar/lib/get-write-flag.js +20 -20
  1954. package/node/node_modules/npm/node_modules/tar/lib/header.js +304 -304
  1955. package/node/node_modules/npm/node_modules/tar/lib/high-level-opt.js +29 -29
  1956. package/node/node_modules/npm/node_modules/tar/lib/large-numbers.js +104 -104
  1957. package/node/node_modules/npm/node_modules/tar/lib/list.js +139 -139
  1958. package/node/node_modules/npm/node_modules/tar/lib/mkdir.js +229 -229
  1959. package/node/node_modules/npm/node_modules/tar/lib/mode-fix.js +27 -27
  1960. package/node/node_modules/npm/node_modules/tar/lib/normalize-unicode.js +12 -12
  1961. package/node/node_modules/npm/node_modules/tar/lib/normalize-windows-path.js +8 -8
  1962. package/node/node_modules/npm/node_modules/tar/lib/pack.js +432 -432
  1963. package/node/node_modules/npm/node_modules/tar/lib/parse.js +552 -552
  1964. package/node/node_modules/npm/node_modules/tar/lib/path-reservations.js +156 -156
  1965. package/node/node_modules/npm/node_modules/tar/lib/pax.js +150 -150
  1966. package/node/node_modules/npm/node_modules/tar/lib/read-entry.js +107 -107
  1967. package/node/node_modules/npm/node_modules/tar/lib/replace.js +246 -246
  1968. package/node/node_modules/npm/node_modules/tar/lib/strip-absolute-path.js +24 -24
  1969. package/node/node_modules/npm/node_modules/tar/lib/strip-trailing-slashes.js +13 -13
  1970. package/node/node_modules/npm/node_modules/tar/lib/types.js +44 -44
  1971. package/node/node_modules/npm/node_modules/tar/lib/unpack.js +923 -923
  1972. package/node/node_modules/npm/node_modules/tar/lib/update.js +40 -40
  1973. package/node/node_modules/npm/node_modules/tar/lib/warn-mixin.js +24 -24
  1974. package/node/node_modules/npm/node_modules/tar/lib/winchars.js +23 -23
  1975. package/node/node_modules/npm/node_modules/tar/lib/write-entry.js +546 -546
  1976. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/LICENSE +15 -15
  1977. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/index.js +422 -422
  1978. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/LICENSE +15 -15
  1979. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.js +649 -649
  1980. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/package.json +56 -56
  1981. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/package.json +39 -39
  1982. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/LICENSE +15 -15
  1983. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/index.js +702 -702
  1984. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/index.mjs +700 -700
  1985. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/package.json +76 -76
  1986. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/LICENSE +26 -26
  1987. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/constants.js +115 -115
  1988. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js +348 -348
  1989. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -15
  1990. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/index.js +649 -649
  1991. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +56 -56
  1992. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/package.json +42 -42
  1993. package/node/node_modules/npm/node_modules/tar/package.json +70 -70
  1994. package/node/node_modules/npm/node_modules/text-table/LICENSE +18 -18
  1995. package/node/node_modules/npm/node_modules/text-table/example/align.js +8 -8
  1996. package/node/node_modules/npm/node_modules/text-table/example/center.js +8 -8
  1997. package/node/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -9
  1998. package/node/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -11
  1999. package/node/node_modules/npm/node_modules/text-table/example/table.js +6 -6
  2000. package/node/node_modules/npm/node_modules/text-table/index.js +86 -86
  2001. package/node/node_modules/npm/node_modules/text-table/package.json +44 -44
  2002. package/node/node_modules/npm/node_modules/tiny-relative-date/LICENSE.md +21 -21
  2003. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/factory.js +99 -99
  2004. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/index.js +17 -17
  2005. package/node/node_modules/npm/node_modules/tiny-relative-date/package.json +39 -39
  2006. package/node/node_modules/npm/node_modules/tiny-relative-date/src/factory.js +89 -89
  2007. package/node/node_modules/npm/node_modules/tiny-relative-date/src/index.js +4 -4
  2008. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/da.js +31 -31
  2009. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/de.js +31 -31
  2010. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en-short.js +31 -31
  2011. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en.js +31 -31
  2012. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/es.js +31 -31
  2013. package/node/node_modules/npm/node_modules/tinyglobby/LICENSE +21 -21
  2014. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.d.mts +45 -45
  2015. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.js +266 -266
  2016. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.mjs +239 -239
  2017. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/LICENSE +7 -7
  2018. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/async.js +19 -19
  2019. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/counter.js +27 -27
  2020. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/get-array.js +13 -13
  2021. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/group-files.js +11 -11
  2022. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/invoke-callback.js +57 -57
  2023. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/join-path.js +36 -36
  2024. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/push-directory.js +37 -37
  2025. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/push-file.js +33 -33
  2026. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/resolve-symlink.js +67 -67
  2027. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/walk-directory.js +40 -40
  2028. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/queue.js +29 -29
  2029. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/sync.js +9 -9
  2030. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/walker.js +129 -129
  2031. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/builder/api-builder.js +23 -23
  2032. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/builder/index.js +136 -136
  2033. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.cjs +571 -571
  2034. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.cts +133 -133
  2035. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.mts +133 -133
  2036. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.js +20 -20
  2037. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.mjs +553 -553
  2038. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/types.js +2 -2
  2039. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/utils.js +37 -37
  2040. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/package.json +90 -90
  2041. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/LICENSE +21 -21
  2042. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/index.js +17 -17
  2043. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/constants.js +179 -179
  2044. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/parse.js +1085 -1085
  2045. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js +341 -341
  2046. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/scan.js +391 -391
  2047. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/utils.js +72 -72
  2048. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/package.json +83 -83
  2049. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/posix.js +3 -3
  2050. package/node/node_modules/npm/node_modules/tinyglobby/package.json +64 -64
  2051. package/node/node_modules/npm/node_modules/treeverse/LICENSE +15 -15
  2052. package/node/node_modules/npm/node_modules/treeverse/lib/breadth.js +67 -67
  2053. package/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js +88 -88
  2054. package/node/node_modules/npm/node_modules/treeverse/lib/depth.js +76 -76
  2055. package/node/node_modules/npm/node_modules/treeverse/lib/index.js +4 -4
  2056. package/node/node_modules/npm/node_modules/treeverse/package.json +51 -51
  2057. package/node/node_modules/npm/node_modules/tuf-js/LICENSE +21 -21
  2058. package/node/node_modules/npm/node_modules/tuf-js/dist/config.js +15 -15
  2059. package/node/node_modules/npm/node_modules/tuf-js/dist/error.js +48 -48
  2060. package/node/node_modules/npm/node_modules/tuf-js/dist/fetcher.js +84 -84
  2061. package/node/node_modules/npm/node_modules/tuf-js/dist/index.js +9 -9
  2062. package/node/node_modules/npm/node_modules/tuf-js/dist/store.js +208 -208
  2063. package/node/node_modules/npm/node_modules/tuf-js/dist/updater.js +350 -350
  2064. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/tmpfile.js +25 -25
  2065. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/url.js +13 -13
  2066. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/LICENSE +21 -21
  2067. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/base.js +92 -92
  2068. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/delegations.js +115 -115
  2069. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/error.js +27 -27
  2070. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/file.js +183 -183
  2071. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/index.js +24 -24
  2072. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/key.js +85 -85
  2073. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/metadata.js +160 -160
  2074. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/role.js +299 -299
  2075. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/root.js +116 -116
  2076. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/signature.js +38 -38
  2077. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/snapshot.js +71 -71
  2078. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/targets.js +92 -92
  2079. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/timestamp.js +58 -58
  2080. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/guard.js +32 -32
  2081. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/index.js +28 -28
  2082. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/key.js +142 -142
  2083. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/oid.js +26 -26
  2084. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/types.js +2 -2
  2085. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/verify.js +13 -13
  2086. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/package.json +37 -37
  2087. package/node/node_modules/npm/node_modules/tuf-js/package.json +43 -43
  2088. package/node/node_modules/npm/node_modules/unique-filename/LICENSE +5 -5
  2089. package/node/node_modules/npm/node_modules/unique-filename/lib/index.js +7 -7
  2090. package/node/node_modules/npm/node_modules/unique-filename/package.json +53 -53
  2091. package/node/node_modules/npm/node_modules/unique-slug/LICENSE +15 -15
  2092. package/node/node_modules/npm/node_modules/unique-slug/lib/index.js +11 -11
  2093. package/node/node_modules/npm/node_modules/unique-slug/package.json +49 -49
  2094. package/node/node_modules/npm/node_modules/util-deprecate/History.md +16 -16
  2095. package/node/node_modules/npm/node_modules/util-deprecate/LICENSE +24 -24
  2096. package/node/node_modules/npm/node_modules/util-deprecate/browser.js +67 -67
  2097. package/node/node_modules/npm/node_modules/util-deprecate/node.js +6 -6
  2098. package/node/node_modules/npm/node_modules/util-deprecate/package.json +27 -27
  2099. package/node/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +202 -202
  2100. package/node/node_modules/npm/node_modules/validate-npm-package-license/index.js +86 -86
  2101. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +4 -4
  2102. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +22 -22
  2103. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +8 -8
  2104. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json +39 -39
  2105. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js +138 -138
  2106. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js +131 -131
  2107. package/node/node_modules/npm/node_modules/validate-npm-package-license/package.json +28 -28
  2108. package/node/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +6 -6
  2109. package/node/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js +110 -110
  2110. package/node/node_modules/npm/node_modules/validate-npm-package-name/package.json +61 -61
  2111. package/node/node_modules/npm/node_modules/walk-up-path/LICENSE +15 -15
  2112. package/node/node_modules/npm/node_modules/walk-up-path/dist/cjs/index.js +17 -17
  2113. package/node/node_modules/npm/node_modules/walk-up-path/dist/cjs/package.json +3 -3
  2114. package/node/node_modules/npm/node_modules/walk-up-path/dist/mjs/index.js +13 -13
  2115. package/node/node_modules/npm/node_modules/walk-up-path/dist/mjs/package.json +3 -3
  2116. package/node/node_modules/npm/node_modules/walk-up-path/package.json +72 -72
  2117. package/node/node_modules/npm/node_modules/which/LICENSE +15 -15
  2118. package/node/node_modules/npm/node_modules/which/README.md +51 -51
  2119. package/node/node_modules/npm/node_modules/which/bin/which.js +52 -52
  2120. package/node/node_modules/npm/node_modules/which/lib/index.js +111 -111
  2121. package/node/node_modules/npm/node_modules/which/node_modules/isexe/LICENSE +15 -15
  2122. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/index.js +45 -45
  2123. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/options.js +2 -2
  2124. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/package.json +3 -3
  2125. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/posix.js +66 -66
  2126. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/win32.js +61 -61
  2127. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/index.js +15 -15
  2128. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/options.js +1 -1
  2129. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/package.json +3 -3
  2130. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/posix.js +61 -61
  2131. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/win32.js +56 -56
  2132. package/node/node_modules/npm/node_modules/which/node_modules/isexe/package.json +96 -96
  2133. package/node/node_modules/npm/node_modules/which/package.json +52 -52
  2134. package/node/node_modules/npm/node_modules/wrap-ansi/index.js +214 -214
  2135. package/node/node_modules/npm/node_modules/wrap-ansi/license +9 -9
  2136. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +10 -10
  2137. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/license +9 -9
  2138. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +61 -61
  2139. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  2140. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/RGI_Emoji.js +6 -6
  2141. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -6
  2142. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +6 -6
  2143. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +6 -6
  2144. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +6 -6
  2145. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +52 -52
  2146. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +6 -6
  2147. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/index.js +54 -54
  2148. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/license +9 -9
  2149. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +59 -59
  2150. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +14 -14
  2151. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/license +9 -9
  2152. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +57 -57
  2153. package/node/node_modules/npm/node_modules/wrap-ansi/package.json +69 -69
  2154. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/index.js +216 -216
  2155. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/license +9 -9
  2156. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -163
  2157. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -9
  2158. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -56
  2159. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/package.json +62 -62
  2160. package/node/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +5 -5
  2161. package/node/node_modules/npm/node_modules/write-file-atomic/lib/index.js +267 -267
  2162. package/node/node_modules/npm/node_modules/write-file-atomic/package.json +58 -58
  2163. package/node/node_modules/npm/node_modules/yallist/LICENSE +15 -15
  2164. package/node/node_modules/npm/node_modules/yallist/iterator.js +8 -8
  2165. package/node/node_modules/npm/node_modules/yallist/package.json +29 -29
  2166. package/node/node_modules/npm/node_modules/yallist/yallist.js +426 -426
  2167. package/node/node_modules/npm/package.json +264 -264
  2168. package/node/node_modules/pnpm/bin/pnpm.mjs +0 -0
  2169. package/node/node_modules/pnpm/bin/pnpx.mjs +0 -0
  2170. package/node/node_modules/pnpm/dist/node-gyp-bin/node-gyp +0 -0
  2171. package/node/node_modules/pnpm/dist/node-gyp-bin/node-gyp.cmd +0 -0
  2172. package/node/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js +0 -0
  2173. package/node/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp +0 -0
  2174. package/node/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py +0 -0
  2175. package/node/npm +0 -0
  2176. package/node/npx +0 -0
  2177. package/node/pnpm +0 -0
  2178. package/node/pnpx +0 -0
  2179. package/optional-analytics-proof.js +98 -98
  2180. package/pack-market.js +49 -49
  2181. package/package.json +1 -1
  2182. package/packs/dsh-x-recommended/README.md +34 -34
  2183. package/packs/dsh-x-recommended/dspack.json +4 -4
  2184. package/packs/dsh-x-recommended/manifest.json +31 -31
  2185. package/packs/dsh-x-workbench/README.md +61 -0
  2186. package/packs/dsh-x-workbench/dspack.json +4 -0
  2187. package/packs/dsh-x-workbench/home/skills/agent-browser/LICENSE-APACHE-2.0.txt +202 -0
  2188. package/packs/dsh-x-workbench/home/skills/agent-browser/NOTICE.md +6 -0
  2189. package/packs/dsh-x-workbench/home/skills/agent-browser/SKILL.md +697 -0
  2190. package/packs/dsh-x-workbench/home/skills/agent-browser/references/authentication.md +313 -0
  2191. package/packs/dsh-x-workbench/home/skills/agent-browser/references/commands.md +300 -0
  2192. package/packs/dsh-x-workbench/home/skills/agent-browser/references/profiling.md +120 -0
  2193. package/packs/dsh-x-workbench/home/skills/agent-browser/references/proxy-support.md +194 -0
  2194. package/packs/dsh-x-workbench/home/skills/agent-browser/references/session-management.md +201 -0
  2195. package/packs/dsh-x-workbench/home/skills/agent-browser/references/snapshot-refs.md +229 -0
  2196. package/packs/dsh-x-workbench/home/skills/agent-browser/references/video-recording.md +173 -0
  2197. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/authenticated-session.sh +105 -0
  2198. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/capture-workflow.sh +69 -0
  2199. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/form-automation.sh +62 -0
  2200. package/packs/dsh-x-workbench/home/skills/electron/LICENSE-APACHE-2.0.txt +202 -0
  2201. package/packs/dsh-x-workbench/home/skills/electron/NOTICE.md +6 -0
  2202. package/packs/dsh-x-workbench/home/skills/electron/SKILL.md +243 -0
  2203. package/packs/dsh-x-workbench/manifest.json +35 -0
  2204. package/packs.js +958 -958
  2205. package/perf/patch-hooks.mjs +68 -52
  2206. package/perf/plugin-profile.mjs +204 -0
  2207. package/perf/register.mjs +18 -14
  2208. package/perf/startup-resolver.mjs +73 -73
  2209. package/platform.js +70 -70
  2210. package/plugin-tool.js +81 -81
  2211. package/plugins.js +458 -433
  2212. package/pre-update.js +62 -0
  2213. package/proxy.js +499 -499
  2214. package/public/booting.html +390 -0
  2215. package/public/favicon.ico +0 -0
  2216. package/public/favicon.png +0 -0
  2217. package/public/icon.png +0 -0
  2218. package/public/idle.js +28 -28
  2219. package/public/index.html +9978 -8176
  2220. package/public/internal-tabs.js +305 -301
  2221. package/public/launch-list.js +271 -271
  2222. package/public/launcher-boot.css +64 -62
  2223. package/public/launcher-boot.js +92 -92
  2224. package/public/launcher.css +2493 -2186
  2225. package/public/log-view.js +32 -32
  2226. package/public/market-layout.js +33 -33
  2227. package/public/mascot-preview.html +33 -33
  2228. package/public/mascot.css +43 -43
  2229. package/public/mascot.js +269 -269
  2230. package/public/theme.css +200 -170
  2231. package/public/water.js +128 -128
  2232. package/recovery.js +185 -185
  2233. package/registry.js +547 -512
  2234. package/repair-actions.js +659 -659
  2235. package/repair-dependencies.js +380 -380
  2236. package/repair-evidence.js +199 -199
  2237. package/repair-plan.js +159 -159
  2238. package/repair-probe.mjs +347 -347
  2239. package/repair-uninstall.mjs +21 -21
  2240. package/reserved-profile-boot.mjs +45 -45
  2241. package/runtime-diagnostics.mjs +665 -665
  2242. package/server.js +7722 -6610
  2243. package/settings.js +844 -831
  2244. package/skills.js +493 -493
  2245. package/start.js +114 -114
  2246. package/startup-diagnosis.js +439 -439
  2247. package/stdio-unblock.cjs +6 -6
  2248. package/sync.js +2051 -2051
  2249. package/version.js +106 -106
  2250. package/zip.js +185 -185
  2251. package/zipfile.js +383 -383
  2252. package/assets/dsh-preview.png +0 -0
@@ -1,1730 +1,1730 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (global = global || self, factory(global.Diff = {}));
5
- }(this, (function (exports) { 'use strict';
6
-
7
- function Diff() {}
8
- Diff.prototype = {
9
- diff: function diff(oldString, newString) {
10
- var _options$timeout;
11
-
12
- var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
13
- var callback = options.callback;
14
-
15
- if (typeof options === 'function') {
16
- callback = options;
17
- options = {};
18
- }
19
-
20
- this.options = options;
21
- var self = this;
22
-
23
- function done(value) {
24
- if (callback) {
25
- setTimeout(function () {
26
- callback(undefined, value);
27
- }, 0);
28
- return true;
29
- } else {
30
- return value;
31
- }
32
- } // Allow subclasses to massage the input prior to running
33
-
34
-
35
- oldString = this.castInput(oldString);
36
- newString = this.castInput(newString);
37
- oldString = this.removeEmpty(this.tokenize(oldString));
38
- newString = this.removeEmpty(this.tokenize(newString));
39
- var newLen = newString.length,
40
- oldLen = oldString.length;
41
- var editLength = 1;
42
- var maxEditLength = newLen + oldLen;
43
-
44
- if (options.maxEditLength) {
45
- maxEditLength = Math.min(maxEditLength, options.maxEditLength);
46
- }
47
-
48
- var maxExecutionTime = (_options$timeout = options.timeout) !== null && _options$timeout !== void 0 ? _options$timeout : Infinity;
49
- var abortAfterTimestamp = Date.now() + maxExecutionTime;
50
- var bestPath = [{
51
- oldPos: -1,
52
- lastComponent: undefined
53
- }]; // Seed editLength = 0, i.e. the content starts with the same values
54
-
55
- var newPos = this.extractCommon(bestPath[0], newString, oldString, 0);
56
-
57
- if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
58
- // Identity per the equality and tokenizer
59
- return done([{
60
- value: this.join(newString),
61
- count: newString.length
62
- }]);
63
- } // Once we hit the right edge of the edit graph on some diagonal k, we can
64
- // definitely reach the end of the edit graph in no more than k edits, so
65
- // there's no point in considering any moves to diagonal k+1 any more (from
66
- // which we're guaranteed to need at least k+1 more edits).
67
- // Similarly, once we've reached the bottom of the edit graph, there's no
68
- // point considering moves to lower diagonals.
69
- // We record this fact by setting minDiagonalToConsider and
70
- // maxDiagonalToConsider to some finite value once we've hit the edge of
71
- // the edit graph.
72
- // This optimization is not faithful to the original algorithm presented in
73
- // Myers's paper, which instead pointlessly extends D-paths off the end of
74
- // the edit graph - see page 7 of Myers's paper which notes this point
75
- // explicitly and illustrates it with a diagram. This has major performance
76
- // implications for some common scenarios. For instance, to compute a diff
77
- // where the new text simply appends d characters on the end of the
78
- // original text of length n, the true Myers algorithm will take O(n+d^2)
79
- // time while this optimization needs only O(n+d) time.
80
-
81
-
82
- var minDiagonalToConsider = -Infinity,
83
- maxDiagonalToConsider = Infinity; // Main worker method. checks all permutations of a given edit length for acceptance.
84
-
85
- function execEditLength() {
86
- for (var diagonalPath = Math.max(minDiagonalToConsider, -editLength); diagonalPath <= Math.min(maxDiagonalToConsider, editLength); diagonalPath += 2) {
87
- var basePath = void 0;
88
- var removePath = bestPath[diagonalPath - 1],
89
- addPath = bestPath[diagonalPath + 1];
90
-
91
- if (removePath) {
92
- // No one else is going to attempt to use this value, clear it
93
- bestPath[diagonalPath - 1] = undefined;
94
- }
95
-
96
- var canAdd = false;
97
-
98
- if (addPath) {
99
- // what newPos will be after we do an insertion:
100
- var addPathNewPos = addPath.oldPos - diagonalPath;
101
- canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;
102
- }
103
-
104
- var canRemove = removePath && removePath.oldPos + 1 < oldLen;
105
-
106
- if (!canAdd && !canRemove) {
107
- // If this path is a terminal then prune
108
- bestPath[diagonalPath] = undefined;
109
- continue;
110
- } // Select the diagonal that we want to branch from. We select the prior
111
- // path whose position in the old string is the farthest from the origin
112
- // and does not pass the bounds of the diff graph
113
- // TODO: Remove the `+ 1` here to make behavior match Myers algorithm
114
- // and prefer to order removals before insertions.
115
-
116
-
117
- if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
118
- basePath = self.addToPath(addPath, true, undefined, 0);
119
- } else {
120
- basePath = self.addToPath(removePath, undefined, true, 1);
121
- }
122
-
123
- newPos = self.extractCommon(basePath, newString, oldString, diagonalPath);
124
-
125
- if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
126
- // If we have hit the end of both strings, then we are done
127
- return done(buildValues(self, basePath.lastComponent, newString, oldString, self.useLongestToken));
128
- } else {
129
- bestPath[diagonalPath] = basePath;
130
-
131
- if (basePath.oldPos + 1 >= oldLen) {
132
- maxDiagonalToConsider = Math.min(maxDiagonalToConsider, diagonalPath - 1);
133
- }
134
-
135
- if (newPos + 1 >= newLen) {
136
- minDiagonalToConsider = Math.max(minDiagonalToConsider, diagonalPath + 1);
137
- }
138
- }
139
- }
140
-
141
- editLength++;
142
- } // Performs the length of edit iteration. Is a bit fugly as this has to support the
143
- // sync and async mode which is never fun. Loops over execEditLength until a value
144
- // is produced, or until the edit length exceeds options.maxEditLength (if given),
145
- // in which case it will return undefined.
146
-
147
-
148
- if (callback) {
149
- (function exec() {
150
- setTimeout(function () {
151
- if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) {
152
- return callback();
153
- }
154
-
155
- if (!execEditLength()) {
156
- exec();
157
- }
158
- }, 0);
159
- })();
160
- } else {
161
- while (editLength <= maxEditLength && Date.now() <= abortAfterTimestamp) {
162
- var ret = execEditLength();
163
-
164
- if (ret) {
165
- return ret;
166
- }
167
- }
168
- }
169
- },
170
- addToPath: function addToPath(path, added, removed, oldPosInc) {
171
- var last = path.lastComponent;
172
-
173
- if (last && last.added === added && last.removed === removed) {
174
- return {
175
- oldPos: path.oldPos + oldPosInc,
176
- lastComponent: {
177
- count: last.count + 1,
178
- added: added,
179
- removed: removed,
180
- previousComponent: last.previousComponent
181
- }
182
- };
183
- } else {
184
- return {
185
- oldPos: path.oldPos + oldPosInc,
186
- lastComponent: {
187
- count: 1,
188
- added: added,
189
- removed: removed,
190
- previousComponent: last
191
- }
192
- };
193
- }
194
- },
195
- extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {
196
- var newLen = newString.length,
197
- oldLen = oldString.length,
198
- oldPos = basePath.oldPos,
199
- newPos = oldPos - diagonalPath,
200
- commonCount = 0;
201
-
202
- while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
203
- newPos++;
204
- oldPos++;
205
- commonCount++;
206
- }
207
-
208
- if (commonCount) {
209
- basePath.lastComponent = {
210
- count: commonCount,
211
- previousComponent: basePath.lastComponent
212
- };
213
- }
214
-
215
- basePath.oldPos = oldPos;
216
- return newPos;
217
- },
218
- equals: function equals(left, right) {
219
- if (this.options.comparator) {
220
- return this.options.comparator(left, right);
221
- } else {
222
- return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();
223
- }
224
- },
225
- removeEmpty: function removeEmpty(array) {
226
- var ret = [];
227
-
228
- for (var i = 0; i < array.length; i++) {
229
- if (array[i]) {
230
- ret.push(array[i]);
231
- }
232
- }
233
-
234
- return ret;
235
- },
236
- castInput: function castInput(value) {
237
- return value;
238
- },
239
- tokenize: function tokenize(value) {
240
- return value.split('');
241
- },
242
- join: function join(chars) {
243
- return chars.join('');
244
- }
245
- };
246
-
247
- function buildValues(diff, lastComponent, newString, oldString, useLongestToken) {
248
- // First we convert our linked list of components in reverse order to an
249
- // array in the right order:
250
- var components = [];
251
- var nextComponent;
252
-
253
- while (lastComponent) {
254
- components.push(lastComponent);
255
- nextComponent = lastComponent.previousComponent;
256
- delete lastComponent.previousComponent;
257
- lastComponent = nextComponent;
258
- }
259
-
260
- components.reverse();
261
- var componentPos = 0,
262
- componentLen = components.length,
263
- newPos = 0,
264
- oldPos = 0;
265
-
266
- for (; componentPos < componentLen; componentPos++) {
267
- var component = components[componentPos];
268
-
269
- if (!component.removed) {
270
- if (!component.added && useLongestToken) {
271
- var value = newString.slice(newPos, newPos + component.count);
272
- value = value.map(function (value, i) {
273
- var oldValue = oldString[oldPos + i];
274
- return oldValue.length > value.length ? oldValue : value;
275
- });
276
- component.value = diff.join(value);
277
- } else {
278
- component.value = diff.join(newString.slice(newPos, newPos + component.count));
279
- }
280
-
281
- newPos += component.count; // Common case
282
-
283
- if (!component.added) {
284
- oldPos += component.count;
285
- }
286
- } else {
287
- component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
288
- oldPos += component.count; // Reverse add and remove so removes are output first to match common convention
289
- // The diffing algorithm is tied to add then remove output and this is the simplest
290
- // route to get the desired output with minimal overhead.
291
-
292
- if (componentPos && components[componentPos - 1].added) {
293
- var tmp = components[componentPos - 1];
294
- components[componentPos - 1] = components[componentPos];
295
- components[componentPos] = tmp;
296
- }
297
- }
298
- } // Special case handle for when one terminal is ignored (i.e. whitespace).
299
- // For this case we merge the terminal into the prior string and drop the change.
300
- // This is only available for string mode.
301
-
302
-
303
- var finalComponent = components[componentLen - 1];
304
-
305
- if (componentLen > 1 && typeof finalComponent.value === 'string' && (finalComponent.added || finalComponent.removed) && diff.equals('', finalComponent.value)) {
306
- components[componentLen - 2].value += finalComponent.value;
307
- components.pop();
308
- }
309
-
310
- return components;
311
- }
312
-
313
- var characterDiff = new Diff();
314
- function diffChars(oldStr, newStr, options) {
315
- return characterDiff.diff(oldStr, newStr, options);
316
- }
317
-
318
- function generateOptions(options, defaults) {
319
- if (typeof options === 'function') {
320
- defaults.callback = options;
321
- } else if (options) {
322
- for (var name in options) {
323
- /* istanbul ignore else */
324
- if (options.hasOwnProperty(name)) {
325
- defaults[name] = options[name];
326
- }
327
- }
328
- }
329
-
330
- return defaults;
331
- }
332
-
333
- //
334
- // Ranges and exceptions:
335
- // Latin-1 Supplement, 0080–00FF
336
- // - U+00D7 × Multiplication sign
337
- // - U+00F7 ÷ Division sign
338
- // Latin Extended-A, 0100–017F
339
- // Latin Extended-B, 0180–024F
340
- // IPA Extensions, 0250–02AF
341
- // Spacing Modifier Letters, 02B0–02FF
342
- // - U+02C7 ˇ &#711; Caron
343
- // - U+02D8 ˘ &#728; Breve
344
- // - U+02D9 ˙ &#729; Dot Above
345
- // - U+02DA ˚ &#730; Ring Above
346
- // - U+02DB ˛ &#731; Ogonek
347
- // - U+02DC ˜ &#732; Small Tilde
348
- // - U+02DD ˝ &#733; Double Acute Accent
349
- // Latin Extended Additional, 1E00–1EFF
350
-
351
- var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/;
352
- var reWhitespace = /\S/;
353
- var wordDiff = new Diff();
354
-
355
- wordDiff.equals = function (left, right) {
356
- if (this.options.ignoreCase) {
357
- left = left.toLowerCase();
358
- right = right.toLowerCase();
359
- }
360
-
361
- return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right);
362
- };
363
-
364
- wordDiff.tokenize = function (value) {
365
- // All whitespace symbols except newline group into one token, each newline - in separate token
366
- var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.
367
-
368
- for (var i = 0; i < tokens.length - 1; i++) {
369
- // If we have an empty string in the next field and we have only word chars before and after, merge
370
- if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) {
371
- tokens[i] += tokens[i + 2];
372
- tokens.splice(i + 1, 2);
373
- i--;
374
- }
375
- }
376
-
377
- return tokens;
378
- };
379
-
380
- function diffWords(oldStr, newStr, options) {
381
- options = generateOptions(options, {
382
- ignoreWhitespace: true
383
- });
384
- return wordDiff.diff(oldStr, newStr, options);
385
- }
386
- function diffWordsWithSpace(oldStr, newStr, options) {
387
- return wordDiff.diff(oldStr, newStr, options);
388
- }
389
-
390
- var lineDiff = new Diff();
391
-
392
- lineDiff.tokenize = function (value) {
393
- if (this.options.stripTrailingCr) {
394
- // remove one \r before \n to match GNU diff's --strip-trailing-cr behavior
395
- value = value.replace(/\r\n/g, '\n');
396
- }
397
-
398
- var retLines = [],
399
- linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line
400
-
401
- if (!linesAndNewlines[linesAndNewlines.length - 1]) {
402
- linesAndNewlines.pop();
403
- } // Merge the content and line separators into single tokens
404
-
405
-
406
- for (var i = 0; i < linesAndNewlines.length; i++) {
407
- var line = linesAndNewlines[i];
408
-
409
- if (i % 2 && !this.options.newlineIsToken) {
410
- retLines[retLines.length - 1] += line;
411
- } else {
412
- if (this.options.ignoreWhitespace) {
413
- line = line.trim();
414
- }
415
-
416
- retLines.push(line);
417
- }
418
- }
419
-
420
- return retLines;
421
- };
422
-
423
- function diffLines(oldStr, newStr, callback) {
424
- return lineDiff.diff(oldStr, newStr, callback);
425
- }
426
- function diffTrimmedLines(oldStr, newStr, callback) {
427
- var options = generateOptions(callback, {
428
- ignoreWhitespace: true
429
- });
430
- return lineDiff.diff(oldStr, newStr, options);
431
- }
432
-
433
- var sentenceDiff = new Diff();
434
-
435
- sentenceDiff.tokenize = function (value) {
436
- return value.split(/(\S.+?[.!?])(?=\s+|$)/);
437
- };
438
-
439
- function diffSentences(oldStr, newStr, callback) {
440
- return sentenceDiff.diff(oldStr, newStr, callback);
441
- }
442
-
443
- var cssDiff = new Diff();
444
-
445
- cssDiff.tokenize = function (value) {
446
- return value.split(/([{}:;,]|\s+)/);
447
- };
448
-
449
- function diffCss(oldStr, newStr, callback) {
450
- return cssDiff.diff(oldStr, newStr, callback);
451
- }
452
-
453
- function _typeof(obj) {
454
- "@babel/helpers - typeof";
455
-
456
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
457
- _typeof = function (obj) {
458
- return typeof obj;
459
- };
460
- } else {
461
- _typeof = function (obj) {
462
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
463
- };
464
- }
465
-
466
- return _typeof(obj);
467
- }
468
-
469
- function _defineProperty(obj, key, value) {
470
- if (key in obj) {
471
- Object.defineProperty(obj, key, {
472
- value: value,
473
- enumerable: true,
474
- configurable: true,
475
- writable: true
476
- });
477
- } else {
478
- obj[key] = value;
479
- }
480
-
481
- return obj;
482
- }
483
-
484
- function ownKeys(object, enumerableOnly) {
485
- var keys = Object.keys(object);
486
-
487
- if (Object.getOwnPropertySymbols) {
488
- var symbols = Object.getOwnPropertySymbols(object);
489
- if (enumerableOnly) symbols = symbols.filter(function (sym) {
490
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
491
- });
492
- keys.push.apply(keys, symbols);
493
- }
494
-
495
- return keys;
496
- }
497
-
498
- function _objectSpread2(target) {
499
- for (var i = 1; i < arguments.length; i++) {
500
- var source = arguments[i] != null ? arguments[i] : {};
501
-
502
- if (i % 2) {
503
- ownKeys(Object(source), true).forEach(function (key) {
504
- _defineProperty(target, key, source[key]);
505
- });
506
- } else if (Object.getOwnPropertyDescriptors) {
507
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
508
- } else {
509
- ownKeys(Object(source)).forEach(function (key) {
510
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
511
- });
512
- }
513
- }
514
-
515
- return target;
516
- }
517
-
518
- function _toConsumableArray(arr) {
519
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
520
- }
521
-
522
- function _arrayWithoutHoles(arr) {
523
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
524
- }
525
-
526
- function _iterableToArray(iter) {
527
- if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
528
- }
529
-
530
- function _unsupportedIterableToArray(o, minLen) {
531
- if (!o) return;
532
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
533
- var n = Object.prototype.toString.call(o).slice(8, -1);
534
- if (n === "Object" && o.constructor) n = o.constructor.name;
535
- if (n === "Map" || n === "Set") return Array.from(o);
536
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
537
- }
538
-
539
- function _arrayLikeToArray(arr, len) {
540
- if (len == null || len > arr.length) len = arr.length;
541
-
542
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
543
-
544
- return arr2;
545
- }
546
-
547
- function _nonIterableSpread() {
548
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
549
- }
550
-
551
- var objectPrototypeToString = Object.prototype.toString;
552
- var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
553
- // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
554
-
555
- jsonDiff.useLongestToken = true;
556
- jsonDiff.tokenize = lineDiff.tokenize;
557
-
558
- jsonDiff.castInput = function (value) {
559
- var _this$options = this.options,
560
- undefinedReplacement = _this$options.undefinedReplacement,
561
- _this$options$stringi = _this$options.stringifyReplacer,
562
- stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) {
563
- return typeof v === 'undefined' ? undefinedReplacement : v;
564
- } : _this$options$stringi;
565
- return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');
566
- };
567
-
568
- jsonDiff.equals = function (left, right) {
569
- return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1'));
570
- };
571
-
572
- function diffJson(oldObj, newObj, options) {
573
- return jsonDiff.diff(oldObj, newObj, options);
574
- } // This function handles the presence of circular references by bailing out when encountering an
575
- // object that is already on the "stack" of items being processed. Accepts an optional replacer
576
-
577
- function canonicalize(obj, stack, replacementStack, replacer, key) {
578
- stack = stack || [];
579
- replacementStack = replacementStack || [];
580
-
581
- if (replacer) {
582
- obj = replacer(key, obj);
583
- }
584
-
585
- var i;
586
-
587
- for (i = 0; i < stack.length; i += 1) {
588
- if (stack[i] === obj) {
589
- return replacementStack[i];
590
- }
591
- }
592
-
593
- var canonicalizedObj;
594
-
595
- if ('[object Array]' === objectPrototypeToString.call(obj)) {
596
- stack.push(obj);
597
- canonicalizedObj = new Array(obj.length);
598
- replacementStack.push(canonicalizedObj);
599
-
600
- for (i = 0; i < obj.length; i += 1) {
601
- canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);
602
- }
603
-
604
- stack.pop();
605
- replacementStack.pop();
606
- return canonicalizedObj;
607
- }
608
-
609
- if (obj && obj.toJSON) {
610
- obj = obj.toJSON();
611
- }
612
-
613
- if (_typeof(obj) === 'object' && obj !== null) {
614
- stack.push(obj);
615
- canonicalizedObj = {};
616
- replacementStack.push(canonicalizedObj);
617
-
618
- var sortedKeys = [],
619
- _key;
620
-
621
- for (_key in obj) {
622
- /* istanbul ignore else */
623
- if (obj.hasOwnProperty(_key)) {
624
- sortedKeys.push(_key);
625
- }
626
- }
627
-
628
- sortedKeys.sort();
629
-
630
- for (i = 0; i < sortedKeys.length; i += 1) {
631
- _key = sortedKeys[i];
632
- canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);
633
- }
634
-
635
- stack.pop();
636
- replacementStack.pop();
637
- } else {
638
- canonicalizedObj = obj;
639
- }
640
-
641
- return canonicalizedObj;
642
- }
643
-
644
- var arrayDiff = new Diff();
645
-
646
- arrayDiff.tokenize = function (value) {
647
- return value.slice();
648
- };
649
-
650
- arrayDiff.join = arrayDiff.removeEmpty = function (value) {
651
- return value;
652
- };
653
-
654
- function diffArrays(oldArr, newArr, callback) {
655
- return arrayDiff.diff(oldArr, newArr, callback);
656
- }
657
-
658
- function parsePatch(uniDiff) {
659
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
660
- var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
661
- delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
662
- list = [],
663
- i = 0;
664
-
665
- function parseIndex() {
666
- var index = {};
667
- list.push(index); // Parse diff metadata
668
-
669
- while (i < diffstr.length) {
670
- var line = diffstr[i]; // File header found, end parsing diff metadata
671
-
672
- if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
673
- break;
674
- } // Diff index
675
-
676
-
677
- var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
678
-
679
- if (header) {
680
- index.index = header[1];
681
- }
682
-
683
- i++;
684
- } // Parse file headers if they are defined. Unified diff requires them, but
685
- // there's no technical issues to have an isolated hunk without file header
686
-
687
-
688
- parseFileHeader(index);
689
- parseFileHeader(index); // Parse hunks
690
-
691
- index.hunks = [];
692
-
693
- while (i < diffstr.length) {
694
- var _line = diffstr[i];
695
-
696
- if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) {
697
- break;
698
- } else if (/^@@/.test(_line)) {
699
- index.hunks.push(parseHunk());
700
- } else if (_line && options.strict) {
701
- // Ignore unexpected content unless in strict mode
702
- throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));
703
- } else {
704
- i++;
705
- }
706
- }
707
- } // Parses the --- and +++ headers, if none are found, no lines
708
- // are consumed.
709
-
710
-
711
- function parseFileHeader(index) {
712
- var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]);
713
-
714
- if (fileHeader) {
715
- var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';
716
- var data = fileHeader[2].split('\t', 2);
717
- var fileName = data[0].replace(/\\\\/g, '\\');
718
-
719
- if (/^".*"$/.test(fileName)) {
720
- fileName = fileName.substr(1, fileName.length - 2);
721
- }
722
-
723
- index[keyPrefix + 'FileName'] = fileName;
724
- index[keyPrefix + 'Header'] = (data[1] || '').trim();
725
- i++;
726
- }
727
- } // Parses a hunk
728
- // This assumes that we are at the start of a hunk.
729
-
730
-
731
- function parseHunk() {
732
- var chunkHeaderIndex = i,
733
- chunkHeaderLine = diffstr[i++],
734
- chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
735
- var hunk = {
736
- oldStart: +chunkHeader[1],
737
- oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],
738
- newStart: +chunkHeader[3],
739
- newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],
740
- lines: [],
741
- linedelimiters: []
742
- }; // Unified Diff Format quirk: If the chunk size is 0,
743
- // the first number is one lower than one would expect.
744
- // https://www.artima.com/weblogs/viewpost.jsp?thread=164293
745
-
746
- if (hunk.oldLines === 0) {
747
- hunk.oldStart += 1;
748
- }
749
-
750
- if (hunk.newLines === 0) {
751
- hunk.newStart += 1;
752
- }
753
-
754
- var addCount = 0,
755
- removeCount = 0;
756
-
757
- for (; i < diffstr.length; i++) {
758
- // Lines starting with '---' could be mistaken for the "remove line" operation
759
- // But they could be the header for the next file. Therefore prune such cases out.
760
- if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) {
761
- break;
762
- }
763
-
764
- var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];
765
-
766
- if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
767
- hunk.lines.push(diffstr[i]);
768
- hunk.linedelimiters.push(delimiters[i] || '\n');
769
-
770
- if (operation === '+') {
771
- addCount++;
772
- } else if (operation === '-') {
773
- removeCount++;
774
- } else if (operation === ' ') {
775
- addCount++;
776
- removeCount++;
777
- }
778
- } else {
779
- break;
780
- }
781
- } // Handle the empty block count case
782
-
783
-
784
- if (!addCount && hunk.newLines === 1) {
785
- hunk.newLines = 0;
786
- }
787
-
788
- if (!removeCount && hunk.oldLines === 1) {
789
- hunk.oldLines = 0;
790
- } // Perform optional sanity checking
791
-
792
-
793
- if (options.strict) {
794
- if (addCount !== hunk.newLines) {
795
- throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
796
- }
797
-
798
- if (removeCount !== hunk.oldLines) {
799
- throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
800
- }
801
- }
802
-
803
- return hunk;
804
- }
805
-
806
- while (i < diffstr.length) {
807
- parseIndex();
808
- }
809
-
810
- return list;
811
- }
812
-
813
- // Iterator that traverses in the range of [min, max], stepping
814
- // by distance from a given start position. I.e. for [0, 4], with
815
- // start of 2, this will iterate 2, 3, 1, 4, 0.
816
- function distanceIterator (start, minLine, maxLine) {
817
- var wantForward = true,
818
- backwardExhausted = false,
819
- forwardExhausted = false,
820
- localOffset = 1;
821
- return function iterator() {
822
- if (wantForward && !forwardExhausted) {
823
- if (backwardExhausted) {
824
- localOffset++;
825
- } else {
826
- wantForward = false;
827
- } // Check if trying to fit beyond text length, and if not, check it fits
828
- // after offset location (or desired location on first iteration)
829
-
830
-
831
- if (start + localOffset <= maxLine) {
832
- return localOffset;
833
- }
834
-
835
- forwardExhausted = true;
836
- }
837
-
838
- if (!backwardExhausted) {
839
- if (!forwardExhausted) {
840
- wantForward = true;
841
- } // Check if trying to fit before text beginning, and if not, check it fits
842
- // before offset location
843
-
844
-
845
- if (minLine <= start - localOffset) {
846
- return -localOffset++;
847
- }
848
-
849
- backwardExhausted = true;
850
- return iterator();
851
- } // We tried to fit hunk before text beginning and beyond text length, then
852
- // hunk can't fit on the text. Return undefined
853
-
854
- };
855
- }
856
-
857
- function applyPatch(source, uniDiff) {
858
- var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
859
-
860
- if (typeof uniDiff === 'string') {
861
- uniDiff = parsePatch(uniDiff);
862
- }
863
-
864
- if (Array.isArray(uniDiff)) {
865
- if (uniDiff.length > 1) {
866
- throw new Error('applyPatch only works with a single input.');
867
- }
868
-
869
- uniDiff = uniDiff[0];
870
- } // Apply the diff to the input
871
-
872
-
873
- var lines = source.split(/\r\n|[\n\v\f\r\x85]/),
874
- delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [],
875
- hunks = uniDiff.hunks,
876
- compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) {
877
- return line === patchContent;
878
- },
879
- errorCount = 0,
880
- fuzzFactor = options.fuzzFactor || 0,
881
- minLine = 0,
882
- offset = 0,
883
- removeEOFNL,
884
- addEOFNL;
885
- /**
886
- * Checks if the hunk exactly fits on the provided location
887
- */
888
-
889
-
890
- function hunkFits(hunk, toPos) {
891
- for (var j = 0; j < hunk.lines.length; j++) {
892
- var line = hunk.lines[j],
893
- operation = line.length > 0 ? line[0] : ' ',
894
- content = line.length > 0 ? line.substr(1) : line;
895
-
896
- if (operation === ' ' || operation === '-') {
897
- // Context sanity check
898
- if (!compareLine(toPos + 1, lines[toPos], operation, content)) {
899
- errorCount++;
900
-
901
- if (errorCount > fuzzFactor) {
902
- return false;
903
- }
904
- }
905
-
906
- toPos++;
907
- }
908
- }
909
-
910
- return true;
911
- } // Search best fit offsets for each hunk based on the previous ones
912
-
913
-
914
- for (var i = 0; i < hunks.length; i++) {
915
- var hunk = hunks[i],
916
- maxLine = lines.length - hunk.oldLines,
917
- localOffset = 0,
918
- toPos = offset + hunk.oldStart - 1;
919
- var iterator = distanceIterator(toPos, minLine, maxLine);
920
-
921
- for (; localOffset !== undefined; localOffset = iterator()) {
922
- if (hunkFits(hunk, toPos + localOffset)) {
923
- hunk.offset = offset += localOffset;
924
- break;
925
- }
926
- }
927
-
928
- if (localOffset === undefined) {
929
- return false;
930
- } // Set lower text limit to end of the current hunk, so next ones don't try
931
- // to fit over already patched text
932
-
933
-
934
- minLine = hunk.offset + hunk.oldStart + hunk.oldLines;
935
- } // Apply patch hunks
936
-
937
-
938
- var diffOffset = 0;
939
-
940
- for (var _i = 0; _i < hunks.length; _i++) {
941
- var _hunk = hunks[_i],
942
- _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1;
943
-
944
- diffOffset += _hunk.newLines - _hunk.oldLines;
945
-
946
- for (var j = 0; j < _hunk.lines.length; j++) {
947
- var line = _hunk.lines[j],
948
- operation = line.length > 0 ? line[0] : ' ',
949
- content = line.length > 0 ? line.substr(1) : line,
950
- delimiter = _hunk.linedelimiters && _hunk.linedelimiters[j] || '\n';
951
-
952
- if (operation === ' ') {
953
- _toPos++;
954
- } else if (operation === '-') {
955
- lines.splice(_toPos, 1);
956
- delimiters.splice(_toPos, 1);
957
- /* istanbul ignore else */
958
- } else if (operation === '+') {
959
- lines.splice(_toPos, 0, content);
960
- delimiters.splice(_toPos, 0, delimiter);
961
- _toPos++;
962
- } else if (operation === '\\') {
963
- var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null;
964
-
965
- if (previousOperation === '+') {
966
- removeEOFNL = true;
967
- } else if (previousOperation === '-') {
968
- addEOFNL = true;
969
- }
970
- }
971
- }
972
- } // Handle EOFNL insertion/removal
973
-
974
-
975
- if (removeEOFNL) {
976
- while (!lines[lines.length - 1]) {
977
- lines.pop();
978
- delimiters.pop();
979
- }
980
- } else if (addEOFNL) {
981
- lines.push('');
982
- delimiters.push('\n');
983
- }
984
-
985
- for (var _k = 0; _k < lines.length - 1; _k++) {
986
- lines[_k] = lines[_k] + delimiters[_k];
987
- }
988
-
989
- return lines.join('');
990
- } // Wrapper that supports multiple file patches via callbacks.
991
-
992
- function applyPatches(uniDiff, options) {
993
- if (typeof uniDiff === 'string') {
994
- uniDiff = parsePatch(uniDiff);
995
- }
996
-
997
- var currentIndex = 0;
998
-
999
- function processIndex() {
1000
- var index = uniDiff[currentIndex++];
1001
-
1002
- if (!index) {
1003
- return options.complete();
1004
- }
1005
-
1006
- options.loadFile(index, function (err, data) {
1007
- if (err) {
1008
- return options.complete(err);
1009
- }
1010
-
1011
- var updatedContent = applyPatch(data, index, options);
1012
- options.patched(index, updatedContent, function (err) {
1013
- if (err) {
1014
- return options.complete(err);
1015
- }
1016
-
1017
- processIndex();
1018
- });
1019
- });
1020
- }
1021
-
1022
- processIndex();
1023
- }
1024
-
1025
- function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
1026
- if (!options) {
1027
- options = {};
1028
- }
1029
-
1030
- if (typeof options.context === 'undefined') {
1031
- options.context = 4;
1032
- }
1033
-
1034
- var diff = diffLines(oldStr, newStr, options);
1035
-
1036
- if (!diff) {
1037
- return;
1038
- }
1039
-
1040
- diff.push({
1041
- value: '',
1042
- lines: []
1043
- }); // Append an empty value to make cleanup easier
1044
-
1045
- function contextLines(lines) {
1046
- return lines.map(function (entry) {
1047
- return ' ' + entry;
1048
- });
1049
- }
1050
-
1051
- var hunks = [];
1052
- var oldRangeStart = 0,
1053
- newRangeStart = 0,
1054
- curRange = [],
1055
- oldLine = 1,
1056
- newLine = 1;
1057
-
1058
- var _loop = function _loop(i) {
1059
- var current = diff[i],
1060
- lines = current.lines || current.value.replace(/\n$/, '').split('\n');
1061
- current.lines = lines;
1062
-
1063
- if (current.added || current.removed) {
1064
- var _curRange;
1065
-
1066
- // If we have previous context, start with that
1067
- if (!oldRangeStart) {
1068
- var prev = diff[i - 1];
1069
- oldRangeStart = oldLine;
1070
- newRangeStart = newLine;
1071
-
1072
- if (prev) {
1073
- curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];
1074
- oldRangeStart -= curRange.length;
1075
- newRangeStart -= curRange.length;
1076
- }
1077
- } // Output our changes
1078
-
1079
-
1080
- (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) {
1081
- return (current.added ? '+' : '-') + entry;
1082
- }))); // Track the updated file position
1083
-
1084
-
1085
- if (current.added) {
1086
- newLine += lines.length;
1087
- } else {
1088
- oldLine += lines.length;
1089
- }
1090
- } else {
1091
- // Identical context lines. Track line changes
1092
- if (oldRangeStart) {
1093
- // Close out any changes that have been output (or join overlapping)
1094
- if (lines.length <= options.context * 2 && i < diff.length - 2) {
1095
- var _curRange2;
1096
-
1097
- // Overlapping
1098
- (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines)));
1099
- } else {
1100
- var _curRange3;
1101
-
1102
- // end the range and output
1103
- var contextSize = Math.min(lines.length, options.context);
1104
-
1105
- (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize))));
1106
-
1107
- var hunk = {
1108
- oldStart: oldRangeStart,
1109
- oldLines: oldLine - oldRangeStart + contextSize,
1110
- newStart: newRangeStart,
1111
- newLines: newLine - newRangeStart + contextSize,
1112
- lines: curRange
1113
- };
1114
-
1115
- if (i >= diff.length - 2 && lines.length <= options.context) {
1116
- // EOF is inside this hunk
1117
- var oldEOFNewline = /\n$/.test(oldStr);
1118
- var newEOFNewline = /\n$/.test(newStr);
1119
- var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;
1120
-
1121
- if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {
1122
- // special case: old has no eol and no trailing context; no-nl can end up before adds
1123
- // however, if the old file is empty, do not output the no-nl line
1124
- curRange.splice(hunk.oldLines, 0, '\');
1125
- }
1126
-
1127
- if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) {
1128
- curRange.push('\');
1129
- }
1130
- }
1131
-
1132
- hunks.push(hunk);
1133
- oldRangeStart = 0;
1134
- newRangeStart = 0;
1135
- curRange = [];
1136
- }
1137
- }
1138
-
1139
- oldLine += lines.length;
1140
- newLine += lines.length;
1141
- }
1142
- };
1143
-
1144
- for (var i = 0; i < diff.length; i++) {
1145
- _loop(i);
1146
- }
1147
-
1148
- return {
1149
- oldFileName: oldFileName,
1150
- newFileName: newFileName,
1151
- oldHeader: oldHeader,
1152
- newHeader: newHeader,
1153
- hunks: hunks
1154
- };
1155
- }
1156
- function formatPatch(diff) {
1157
- if (Array.isArray(diff)) {
1158
- return diff.map(formatPatch).join('\n');
1159
- }
1160
-
1161
- var ret = [];
1162
-
1163
- if (diff.oldFileName == diff.newFileName) {
1164
- ret.push('Index: ' + diff.oldFileName);
1165
- }
1166
-
1167
- ret.push('===================================================================');
1168
- ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader));
1169
- ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader));
1170
-
1171
- for (var i = 0; i < diff.hunks.length; i++) {
1172
- var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0,
1173
- // the first number is one lower than one would expect.
1174
- // https://www.artima.com/weblogs/viewpost.jsp?thread=164293
1175
-
1176
- if (hunk.oldLines === 0) {
1177
- hunk.oldStart -= 1;
1178
- }
1179
-
1180
- if (hunk.newLines === 0) {
1181
- hunk.newStart -= 1;
1182
- }
1183
-
1184
- ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@');
1185
- ret.push.apply(ret, hunk.lines);
1186
- }
1187
-
1188
- return ret.join('\n') + '\n';
1189
- }
1190
- function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
1191
- return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));
1192
- }
1193
- function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {
1194
- return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);
1195
- }
1196
-
1197
- function arrayEqual(a, b) {
1198
- if (a.length !== b.length) {
1199
- return false;
1200
- }
1201
-
1202
- return arrayStartsWith(a, b);
1203
- }
1204
- function arrayStartsWith(array, start) {
1205
- if (start.length > array.length) {
1206
- return false;
1207
- }
1208
-
1209
- for (var i = 0; i < start.length; i++) {
1210
- if (start[i] !== array[i]) {
1211
- return false;
1212
- }
1213
- }
1214
-
1215
- return true;
1216
- }
1217
-
1218
- function calcLineCount(hunk) {
1219
- var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines),
1220
- oldLines = _calcOldNewLineCount.oldLines,
1221
- newLines = _calcOldNewLineCount.newLines;
1222
-
1223
- if (oldLines !== undefined) {
1224
- hunk.oldLines = oldLines;
1225
- } else {
1226
- delete hunk.oldLines;
1227
- }
1228
-
1229
- if (newLines !== undefined) {
1230
- hunk.newLines = newLines;
1231
- } else {
1232
- delete hunk.newLines;
1233
- }
1234
- }
1235
- function merge(mine, theirs, base) {
1236
- mine = loadPatch(mine, base);
1237
- theirs = loadPatch(theirs, base);
1238
- var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning.
1239
- // Leaving sanity checks on this to the API consumer that may know more about the
1240
- // meaning in their own context.
1241
-
1242
- if (mine.index || theirs.index) {
1243
- ret.index = mine.index || theirs.index;
1244
- }
1245
-
1246
- if (mine.newFileName || theirs.newFileName) {
1247
- if (!fileNameChanged(mine)) {
1248
- // No header or no change in ours, use theirs (and ours if theirs does not exist)
1249
- ret.oldFileName = theirs.oldFileName || mine.oldFileName;
1250
- ret.newFileName = theirs.newFileName || mine.newFileName;
1251
- ret.oldHeader = theirs.oldHeader || mine.oldHeader;
1252
- ret.newHeader = theirs.newHeader || mine.newHeader;
1253
- } else if (!fileNameChanged(theirs)) {
1254
- // No header or no change in theirs, use ours
1255
- ret.oldFileName = mine.oldFileName;
1256
- ret.newFileName = mine.newFileName;
1257
- ret.oldHeader = mine.oldHeader;
1258
- ret.newHeader = mine.newHeader;
1259
- } else {
1260
- // Both changed... figure it out
1261
- ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);
1262
- ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);
1263
- ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);
1264
- ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);
1265
- }
1266
- }
1267
-
1268
- ret.hunks = [];
1269
- var mineIndex = 0,
1270
- theirsIndex = 0,
1271
- mineOffset = 0,
1272
- theirsOffset = 0;
1273
-
1274
- while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {
1275
- var mineCurrent = mine.hunks[mineIndex] || {
1276
- oldStart: Infinity
1277
- },
1278
- theirsCurrent = theirs.hunks[theirsIndex] || {
1279
- oldStart: Infinity
1280
- };
1281
-
1282
- if (hunkBefore(mineCurrent, theirsCurrent)) {
1283
- // This patch does not overlap with any of the others, yay.
1284
- ret.hunks.push(cloneHunk(mineCurrent, mineOffset));
1285
- mineIndex++;
1286
- theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;
1287
- } else if (hunkBefore(theirsCurrent, mineCurrent)) {
1288
- // This patch does not overlap with any of the others, yay.
1289
- ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));
1290
- theirsIndex++;
1291
- mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;
1292
- } else {
1293
- // Overlap, merge as best we can
1294
- var mergedHunk = {
1295
- oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),
1296
- oldLines: 0,
1297
- newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),
1298
- newLines: 0,
1299
- lines: []
1300
- };
1301
- mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);
1302
- theirsIndex++;
1303
- mineIndex++;
1304
- ret.hunks.push(mergedHunk);
1305
- }
1306
- }
1307
-
1308
- return ret;
1309
- }
1310
-
1311
- function loadPatch(param, base) {
1312
- if (typeof param === 'string') {
1313
- if (/^@@/m.test(param) || /^Index:/m.test(param)) {
1314
- return parsePatch(param)[0];
1315
- }
1316
-
1317
- if (!base) {
1318
- throw new Error('Must provide a base reference or pass in a patch');
1319
- }
1320
-
1321
- return structuredPatch(undefined, undefined, base, param);
1322
- }
1323
-
1324
- return param;
1325
- }
1326
-
1327
- function fileNameChanged(patch) {
1328
- return patch.newFileName && patch.newFileName !== patch.oldFileName;
1329
- }
1330
-
1331
- function selectField(index, mine, theirs) {
1332
- if (mine === theirs) {
1333
- return mine;
1334
- } else {
1335
- index.conflict = true;
1336
- return {
1337
- mine: mine,
1338
- theirs: theirs
1339
- };
1340
- }
1341
- }
1342
-
1343
- function hunkBefore(test, check) {
1344
- return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
1345
- }
1346
-
1347
- function cloneHunk(hunk, offset) {
1348
- return {
1349
- oldStart: hunk.oldStart,
1350
- oldLines: hunk.oldLines,
1351
- newStart: hunk.newStart + offset,
1352
- newLines: hunk.newLines,
1353
- lines: hunk.lines
1354
- };
1355
- }
1356
-
1357
- function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {
1358
- // This will generally result in a conflicted hunk, but there are cases where the context
1359
- // is the only overlap where we can successfully merge the content here.
1360
- var mine = {
1361
- offset: mineOffset,
1362
- lines: mineLines,
1363
- index: 0
1364
- },
1365
- their = {
1366
- offset: theirOffset,
1367
- lines: theirLines,
1368
- index: 0
1369
- }; // Handle any leading content
1370
-
1371
- insertLeading(hunk, mine, their);
1372
- insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each.
1373
-
1374
- while (mine.index < mine.lines.length && their.index < their.lines.length) {
1375
- var mineCurrent = mine.lines[mine.index],
1376
- theirCurrent = their.lines[their.index];
1377
-
1378
- if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {
1379
- // Both modified ...
1380
- mutualChange(hunk, mine, their);
1381
- } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {
1382
- var _hunk$lines;
1383
-
1384
- // Mine inserted
1385
- (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine)));
1386
- } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {
1387
- var _hunk$lines2;
1388
-
1389
- // Theirs inserted
1390
- (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their)));
1391
- } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {
1392
- // Mine removed or edited
1393
- removal(hunk, mine, their);
1394
- } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {
1395
- // Their removed or edited
1396
- removal(hunk, their, mine, true);
1397
- } else if (mineCurrent === theirCurrent) {
1398
- // Context identity
1399
- hunk.lines.push(mineCurrent);
1400
- mine.index++;
1401
- their.index++;
1402
- } else {
1403
- // Context mismatch
1404
- conflict(hunk, collectChange(mine), collectChange(their));
1405
- }
1406
- } // Now push anything that may be remaining
1407
-
1408
-
1409
- insertTrailing(hunk, mine);
1410
- insertTrailing(hunk, their);
1411
- calcLineCount(hunk);
1412
- }
1413
-
1414
- function mutualChange(hunk, mine, their) {
1415
- var myChanges = collectChange(mine),
1416
- theirChanges = collectChange(their);
1417
-
1418
- if (allRemoves(myChanges) && allRemoves(theirChanges)) {
1419
- // Special case for remove changes that are supersets of one another
1420
- if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {
1421
- var _hunk$lines3;
1422
-
1423
- (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges));
1424
-
1425
- return;
1426
- } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {
1427
- var _hunk$lines4;
1428
-
1429
- (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges));
1430
-
1431
- return;
1432
- }
1433
- } else if (arrayEqual(myChanges, theirChanges)) {
1434
- var _hunk$lines5;
1435
-
1436
- (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges));
1437
-
1438
- return;
1439
- }
1440
-
1441
- conflict(hunk, myChanges, theirChanges);
1442
- }
1443
-
1444
- function removal(hunk, mine, their, swap) {
1445
- var myChanges = collectChange(mine),
1446
- theirChanges = collectContext(their, myChanges);
1447
-
1448
- if (theirChanges.merged) {
1449
- var _hunk$lines6;
1450
-
1451
- (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged));
1452
- } else {
1453
- conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);
1454
- }
1455
- }
1456
-
1457
- function conflict(hunk, mine, their) {
1458
- hunk.conflict = true;
1459
- hunk.lines.push({
1460
- conflict: true,
1461
- mine: mine,
1462
- theirs: their
1463
- });
1464
- }
1465
-
1466
- function insertLeading(hunk, insert, their) {
1467
- while (insert.offset < their.offset && insert.index < insert.lines.length) {
1468
- var line = insert.lines[insert.index++];
1469
- hunk.lines.push(line);
1470
- insert.offset++;
1471
- }
1472
- }
1473
-
1474
- function insertTrailing(hunk, insert) {
1475
- while (insert.index < insert.lines.length) {
1476
- var line = insert.lines[insert.index++];
1477
- hunk.lines.push(line);
1478
- }
1479
- }
1480
-
1481
- function collectChange(state) {
1482
- var ret = [],
1483
- operation = state.lines[state.index][0];
1484
-
1485
- while (state.index < state.lines.length) {
1486
- var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change.
1487
-
1488
- if (operation === '-' && line[0] === '+') {
1489
- operation = '+';
1490
- }
1491
-
1492
- if (operation === line[0]) {
1493
- ret.push(line);
1494
- state.index++;
1495
- } else {
1496
- break;
1497
- }
1498
- }
1499
-
1500
- return ret;
1501
- }
1502
-
1503
- function collectContext(state, matchChanges) {
1504
- var changes = [],
1505
- merged = [],
1506
- matchIndex = 0,
1507
- contextChanges = false,
1508
- conflicted = false;
1509
-
1510
- while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1511
- var change = state.lines[state.index],
1512
- match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1513
-
1514
- if (match[0] === '+') {
1515
- break;
1516
- }
1517
-
1518
- contextChanges = contextChanges || change[0] !== ' ';
1519
- merged.push(match);
1520
- matchIndex++; // Consume any additions in the other block as a conflict to attempt
1521
- // to pull in the remaining context after this
1522
-
1523
- if (change[0] === '+') {
1524
- conflicted = true;
1525
-
1526
- while (change[0] === '+') {
1527
- changes.push(change);
1528
- change = state.lines[++state.index];
1529
- }
1530
- }
1531
-
1532
- if (match.substr(1) === change.substr(1)) {
1533
- changes.push(change);
1534
- state.index++;
1535
- } else {
1536
- conflicted = true;
1537
- }
1538
- }
1539
-
1540
- if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1541
- conflicted = true;
1542
- }
1543
-
1544
- if (conflicted) {
1545
- return changes;
1546
- }
1547
-
1548
- while (matchIndex < matchChanges.length) {
1549
- merged.push(matchChanges[matchIndex++]);
1550
- }
1551
-
1552
- return {
1553
- merged: merged,
1554
- changes: changes
1555
- };
1556
- }
1557
-
1558
- function allRemoves(changes) {
1559
- return changes.reduce(function (prev, change) {
1560
- return prev && change[0] === '-';
1561
- }, true);
1562
- }
1563
-
1564
- function skipRemoveSuperset(state, removeChanges, delta) {
1565
- for (var i = 0; i < delta; i++) {
1566
- var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
1567
-
1568
- if (state.lines[state.index + i] !== ' ' + changeContent) {
1569
- return false;
1570
- }
1571
- }
1572
-
1573
- state.index += delta;
1574
- return true;
1575
- }
1576
-
1577
- function calcOldNewLineCount(lines) {
1578
- var oldLines = 0;
1579
- var newLines = 0;
1580
- lines.forEach(function (line) {
1581
- if (typeof line !== 'string') {
1582
- var myCount = calcOldNewLineCount(line.mine);
1583
- var theirCount = calcOldNewLineCount(line.theirs);
1584
-
1585
- if (oldLines !== undefined) {
1586
- if (myCount.oldLines === theirCount.oldLines) {
1587
- oldLines += myCount.oldLines;
1588
- } else {
1589
- oldLines = undefined;
1590
- }
1591
- }
1592
-
1593
- if (newLines !== undefined) {
1594
- if (myCount.newLines === theirCount.newLines) {
1595
- newLines += myCount.newLines;
1596
- } else {
1597
- newLines = undefined;
1598
- }
1599
- }
1600
- } else {
1601
- if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {
1602
- newLines++;
1603
- }
1604
-
1605
- if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {
1606
- oldLines++;
1607
- }
1608
- }
1609
- });
1610
- return {
1611
- oldLines: oldLines,
1612
- newLines: newLines
1613
- };
1614
- }
1615
-
1616
- function reversePatch(structuredPatch) {
1617
- if (Array.isArray(structuredPatch)) {
1618
- return structuredPatch.map(reversePatch).reverse();
1619
- }
1620
-
1621
- return _objectSpread2(_objectSpread2({}, structuredPatch), {}, {
1622
- oldFileName: structuredPatch.newFileName,
1623
- oldHeader: structuredPatch.newHeader,
1624
- newFileName: structuredPatch.oldFileName,
1625
- newHeader: structuredPatch.oldHeader,
1626
- hunks: structuredPatch.hunks.map(function (hunk) {
1627
- return {
1628
- oldLines: hunk.newLines,
1629
- oldStart: hunk.newStart,
1630
- newLines: hunk.oldLines,
1631
- newStart: hunk.oldStart,
1632
- linedelimiters: hunk.linedelimiters,
1633
- lines: hunk.lines.map(function (l) {
1634
- if (l.startsWith('-')) {
1635
- return "+".concat(l.slice(1));
1636
- }
1637
-
1638
- if (l.startsWith('+')) {
1639
- return "-".concat(l.slice(1));
1640
- }
1641
-
1642
- return l;
1643
- })
1644
- };
1645
- })
1646
- });
1647
- }
1648
-
1649
- // See: http://code.google.com/p/google-diff-match-patch/wiki/API
1650
- function convertChangesToDMP(changes) {
1651
- var ret = [],
1652
- change,
1653
- operation;
1654
-
1655
- for (var i = 0; i < changes.length; i++) {
1656
- change = changes[i];
1657
-
1658
- if (change.added) {
1659
- operation = 1;
1660
- } else if (change.removed) {
1661
- operation = -1;
1662
- } else {
1663
- operation = 0;
1664
- }
1665
-
1666
- ret.push([operation, change.value]);
1667
- }
1668
-
1669
- return ret;
1670
- }
1671
-
1672
- function convertChangesToXML(changes) {
1673
- var ret = [];
1674
-
1675
- for (var i = 0; i < changes.length; i++) {
1676
- var change = changes[i];
1677
-
1678
- if (change.added) {
1679
- ret.push('<ins>');
1680
- } else if (change.removed) {
1681
- ret.push('<del>');
1682
- }
1683
-
1684
- ret.push(escapeHTML(change.value));
1685
-
1686
- if (change.added) {
1687
- ret.push('</ins>');
1688
- } else if (change.removed) {
1689
- ret.push('</del>');
1690
- }
1691
- }
1692
-
1693
- return ret.join('');
1694
- }
1695
-
1696
- function escapeHTML(s) {
1697
- var n = s;
1698
- n = n.replace(/&/g, '&amp;');
1699
- n = n.replace(/</g, '&lt;');
1700
- n = n.replace(/>/g, '&gt;');
1701
- n = n.replace(/"/g, '&quot;');
1702
- return n;
1703
- }
1704
-
1705
- exports.Diff = Diff;
1706
- exports.applyPatch = applyPatch;
1707
- exports.applyPatches = applyPatches;
1708
- exports.canonicalize = canonicalize;
1709
- exports.convertChangesToDMP = convertChangesToDMP;
1710
- exports.convertChangesToXML = convertChangesToXML;
1711
- exports.createPatch = createPatch;
1712
- exports.createTwoFilesPatch = createTwoFilesPatch;
1713
- exports.diffArrays = diffArrays;
1714
- exports.diffChars = diffChars;
1715
- exports.diffCss = diffCss;
1716
- exports.diffJson = diffJson;
1717
- exports.diffLines = diffLines;
1718
- exports.diffSentences = diffSentences;
1719
- exports.diffTrimmedLines = diffTrimmedLines;
1720
- exports.diffWords = diffWords;
1721
- exports.diffWordsWithSpace = diffWordsWithSpace;
1722
- exports.formatPatch = formatPatch;
1723
- exports.merge = merge;
1724
- exports.parsePatch = parsePatch;
1725
- exports.reversePatch = reversePatch;
1726
- exports.structuredPatch = structuredPatch;
1727
-
1728
- Object.defineProperty(exports, '__esModule', { value: true });
1729
-
1730
- })));
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = global || self, factory(global.Diff = {}));
5
+ }(this, (function (exports) { 'use strict';
6
+
7
+ function Diff() {}
8
+ Diff.prototype = {
9
+ diff: function diff(oldString, newString) {
10
+ var _options$timeout;
11
+
12
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
13
+ var callback = options.callback;
14
+
15
+ if (typeof options === 'function') {
16
+ callback = options;
17
+ options = {};
18
+ }
19
+
20
+ this.options = options;
21
+ var self = this;
22
+
23
+ function done(value) {
24
+ if (callback) {
25
+ setTimeout(function () {
26
+ callback(undefined, value);
27
+ }, 0);
28
+ return true;
29
+ } else {
30
+ return value;
31
+ }
32
+ } // Allow subclasses to massage the input prior to running
33
+
34
+
35
+ oldString = this.castInput(oldString);
36
+ newString = this.castInput(newString);
37
+ oldString = this.removeEmpty(this.tokenize(oldString));
38
+ newString = this.removeEmpty(this.tokenize(newString));
39
+ var newLen = newString.length,
40
+ oldLen = oldString.length;
41
+ var editLength = 1;
42
+ var maxEditLength = newLen + oldLen;
43
+
44
+ if (options.maxEditLength) {
45
+ maxEditLength = Math.min(maxEditLength, options.maxEditLength);
46
+ }
47
+
48
+ var maxExecutionTime = (_options$timeout = options.timeout) !== null && _options$timeout !== void 0 ? _options$timeout : Infinity;
49
+ var abortAfterTimestamp = Date.now() + maxExecutionTime;
50
+ var bestPath = [{
51
+ oldPos: -1,
52
+ lastComponent: undefined
53
+ }]; // Seed editLength = 0, i.e. the content starts with the same values
54
+
55
+ var newPos = this.extractCommon(bestPath[0], newString, oldString, 0);
56
+
57
+ if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
58
+ // Identity per the equality and tokenizer
59
+ return done([{
60
+ value: this.join(newString),
61
+ count: newString.length
62
+ }]);
63
+ } // Once we hit the right edge of the edit graph on some diagonal k, we can
64
+ // definitely reach the end of the edit graph in no more than k edits, so
65
+ // there's no point in considering any moves to diagonal k+1 any more (from
66
+ // which we're guaranteed to need at least k+1 more edits).
67
+ // Similarly, once we've reached the bottom of the edit graph, there's no
68
+ // point considering moves to lower diagonals.
69
+ // We record this fact by setting minDiagonalToConsider and
70
+ // maxDiagonalToConsider to some finite value once we've hit the edge of
71
+ // the edit graph.
72
+ // This optimization is not faithful to the original algorithm presented in
73
+ // Myers's paper, which instead pointlessly extends D-paths off the end of
74
+ // the edit graph - see page 7 of Myers's paper which notes this point
75
+ // explicitly and illustrates it with a diagram. This has major performance
76
+ // implications for some common scenarios. For instance, to compute a diff
77
+ // where the new text simply appends d characters on the end of the
78
+ // original text of length n, the true Myers algorithm will take O(n+d^2)
79
+ // time while this optimization needs only O(n+d) time.
80
+
81
+
82
+ var minDiagonalToConsider = -Infinity,
83
+ maxDiagonalToConsider = Infinity; // Main worker method. checks all permutations of a given edit length for acceptance.
84
+
85
+ function execEditLength() {
86
+ for (var diagonalPath = Math.max(minDiagonalToConsider, -editLength); diagonalPath <= Math.min(maxDiagonalToConsider, editLength); diagonalPath += 2) {
87
+ var basePath = void 0;
88
+ var removePath = bestPath[diagonalPath - 1],
89
+ addPath = bestPath[diagonalPath + 1];
90
+
91
+ if (removePath) {
92
+ // No one else is going to attempt to use this value, clear it
93
+ bestPath[diagonalPath - 1] = undefined;
94
+ }
95
+
96
+ var canAdd = false;
97
+
98
+ if (addPath) {
99
+ // what newPos will be after we do an insertion:
100
+ var addPathNewPos = addPath.oldPos - diagonalPath;
101
+ canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;
102
+ }
103
+
104
+ var canRemove = removePath && removePath.oldPos + 1 < oldLen;
105
+
106
+ if (!canAdd && !canRemove) {
107
+ // If this path is a terminal then prune
108
+ bestPath[diagonalPath] = undefined;
109
+ continue;
110
+ } // Select the diagonal that we want to branch from. We select the prior
111
+ // path whose position in the old string is the farthest from the origin
112
+ // and does not pass the bounds of the diff graph
113
+ // TODO: Remove the `+ 1` here to make behavior match Myers algorithm
114
+ // and prefer to order removals before insertions.
115
+
116
+
117
+ if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
118
+ basePath = self.addToPath(addPath, true, undefined, 0);
119
+ } else {
120
+ basePath = self.addToPath(removePath, undefined, true, 1);
121
+ }
122
+
123
+ newPos = self.extractCommon(basePath, newString, oldString, diagonalPath);
124
+
125
+ if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
126
+ // If we have hit the end of both strings, then we are done
127
+ return done(buildValues(self, basePath.lastComponent, newString, oldString, self.useLongestToken));
128
+ } else {
129
+ bestPath[diagonalPath] = basePath;
130
+
131
+ if (basePath.oldPos + 1 >= oldLen) {
132
+ maxDiagonalToConsider = Math.min(maxDiagonalToConsider, diagonalPath - 1);
133
+ }
134
+
135
+ if (newPos + 1 >= newLen) {
136
+ minDiagonalToConsider = Math.max(minDiagonalToConsider, diagonalPath + 1);
137
+ }
138
+ }
139
+ }
140
+
141
+ editLength++;
142
+ } // Performs the length of edit iteration. Is a bit fugly as this has to support the
143
+ // sync and async mode which is never fun. Loops over execEditLength until a value
144
+ // is produced, or until the edit length exceeds options.maxEditLength (if given),
145
+ // in which case it will return undefined.
146
+
147
+
148
+ if (callback) {
149
+ (function exec() {
150
+ setTimeout(function () {
151
+ if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) {
152
+ return callback();
153
+ }
154
+
155
+ if (!execEditLength()) {
156
+ exec();
157
+ }
158
+ }, 0);
159
+ })();
160
+ } else {
161
+ while (editLength <= maxEditLength && Date.now() <= abortAfterTimestamp) {
162
+ var ret = execEditLength();
163
+
164
+ if (ret) {
165
+ return ret;
166
+ }
167
+ }
168
+ }
169
+ },
170
+ addToPath: function addToPath(path, added, removed, oldPosInc) {
171
+ var last = path.lastComponent;
172
+
173
+ if (last && last.added === added && last.removed === removed) {
174
+ return {
175
+ oldPos: path.oldPos + oldPosInc,
176
+ lastComponent: {
177
+ count: last.count + 1,
178
+ added: added,
179
+ removed: removed,
180
+ previousComponent: last.previousComponent
181
+ }
182
+ };
183
+ } else {
184
+ return {
185
+ oldPos: path.oldPos + oldPosInc,
186
+ lastComponent: {
187
+ count: 1,
188
+ added: added,
189
+ removed: removed,
190
+ previousComponent: last
191
+ }
192
+ };
193
+ }
194
+ },
195
+ extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {
196
+ var newLen = newString.length,
197
+ oldLen = oldString.length,
198
+ oldPos = basePath.oldPos,
199
+ newPos = oldPos - diagonalPath,
200
+ commonCount = 0;
201
+
202
+ while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
203
+ newPos++;
204
+ oldPos++;
205
+ commonCount++;
206
+ }
207
+
208
+ if (commonCount) {
209
+ basePath.lastComponent = {
210
+ count: commonCount,
211
+ previousComponent: basePath.lastComponent
212
+ };
213
+ }
214
+
215
+ basePath.oldPos = oldPos;
216
+ return newPos;
217
+ },
218
+ equals: function equals(left, right) {
219
+ if (this.options.comparator) {
220
+ return this.options.comparator(left, right);
221
+ } else {
222
+ return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();
223
+ }
224
+ },
225
+ removeEmpty: function removeEmpty(array) {
226
+ var ret = [];
227
+
228
+ for (var i = 0; i < array.length; i++) {
229
+ if (array[i]) {
230
+ ret.push(array[i]);
231
+ }
232
+ }
233
+
234
+ return ret;
235
+ },
236
+ castInput: function castInput(value) {
237
+ return value;
238
+ },
239
+ tokenize: function tokenize(value) {
240
+ return value.split('');
241
+ },
242
+ join: function join(chars) {
243
+ return chars.join('');
244
+ }
245
+ };
246
+
247
+ function buildValues(diff, lastComponent, newString, oldString, useLongestToken) {
248
+ // First we convert our linked list of components in reverse order to an
249
+ // array in the right order:
250
+ var components = [];
251
+ var nextComponent;
252
+
253
+ while (lastComponent) {
254
+ components.push(lastComponent);
255
+ nextComponent = lastComponent.previousComponent;
256
+ delete lastComponent.previousComponent;
257
+ lastComponent = nextComponent;
258
+ }
259
+
260
+ components.reverse();
261
+ var componentPos = 0,
262
+ componentLen = components.length,
263
+ newPos = 0,
264
+ oldPos = 0;
265
+
266
+ for (; componentPos < componentLen; componentPos++) {
267
+ var component = components[componentPos];
268
+
269
+ if (!component.removed) {
270
+ if (!component.added && useLongestToken) {
271
+ var value = newString.slice(newPos, newPos + component.count);
272
+ value = value.map(function (value, i) {
273
+ var oldValue = oldString[oldPos + i];
274
+ return oldValue.length > value.length ? oldValue : value;
275
+ });
276
+ component.value = diff.join(value);
277
+ } else {
278
+ component.value = diff.join(newString.slice(newPos, newPos + component.count));
279
+ }
280
+
281
+ newPos += component.count; // Common case
282
+
283
+ if (!component.added) {
284
+ oldPos += component.count;
285
+ }
286
+ } else {
287
+ component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
288
+ oldPos += component.count; // Reverse add and remove so removes are output first to match common convention
289
+ // The diffing algorithm is tied to add then remove output and this is the simplest
290
+ // route to get the desired output with minimal overhead.
291
+
292
+ if (componentPos && components[componentPos - 1].added) {
293
+ var tmp = components[componentPos - 1];
294
+ components[componentPos - 1] = components[componentPos];
295
+ components[componentPos] = tmp;
296
+ }
297
+ }
298
+ } // Special case handle for when one terminal is ignored (i.e. whitespace).
299
+ // For this case we merge the terminal into the prior string and drop the change.
300
+ // This is only available for string mode.
301
+
302
+
303
+ var finalComponent = components[componentLen - 1];
304
+
305
+ if (componentLen > 1 && typeof finalComponent.value === 'string' && (finalComponent.added || finalComponent.removed) && diff.equals('', finalComponent.value)) {
306
+ components[componentLen - 2].value += finalComponent.value;
307
+ components.pop();
308
+ }
309
+
310
+ return components;
311
+ }
312
+
313
+ var characterDiff = new Diff();
314
+ function diffChars(oldStr, newStr, options) {
315
+ return characterDiff.diff(oldStr, newStr, options);
316
+ }
317
+
318
+ function generateOptions(options, defaults) {
319
+ if (typeof options === 'function') {
320
+ defaults.callback = options;
321
+ } else if (options) {
322
+ for (var name in options) {
323
+ /* istanbul ignore else */
324
+ if (options.hasOwnProperty(name)) {
325
+ defaults[name] = options[name];
326
+ }
327
+ }
328
+ }
329
+
330
+ return defaults;
331
+ }
332
+
333
+ //
334
+ // Ranges and exceptions:
335
+ // Latin-1 Supplement, 0080–00FF
336
+ // - U+00D7 × Multiplication sign
337
+ // - U+00F7 ÷ Division sign
338
+ // Latin Extended-A, 0100–017F
339
+ // Latin Extended-B, 0180–024F
340
+ // IPA Extensions, 0250–02AF
341
+ // Spacing Modifier Letters, 02B0–02FF
342
+ // - U+02C7 ˇ &#711; Caron
343
+ // - U+02D8 ˘ &#728; Breve
344
+ // - U+02D9 ˙ &#729; Dot Above
345
+ // - U+02DA ˚ &#730; Ring Above
346
+ // - U+02DB ˛ &#731; Ogonek
347
+ // - U+02DC ˜ &#732; Small Tilde
348
+ // - U+02DD ˝ &#733; Double Acute Accent
349
+ // Latin Extended Additional, 1E00–1EFF
350
+
351
+ var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/;
352
+ var reWhitespace = /\S/;
353
+ var wordDiff = new Diff();
354
+
355
+ wordDiff.equals = function (left, right) {
356
+ if (this.options.ignoreCase) {
357
+ left = left.toLowerCase();
358
+ right = right.toLowerCase();
359
+ }
360
+
361
+ return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right);
362
+ };
363
+
364
+ wordDiff.tokenize = function (value) {
365
+ // All whitespace symbols except newline group into one token, each newline - in separate token
366
+ var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.
367
+
368
+ for (var i = 0; i < tokens.length - 1; i++) {
369
+ // If we have an empty string in the next field and we have only word chars before and after, merge
370
+ if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) {
371
+ tokens[i] += tokens[i + 2];
372
+ tokens.splice(i + 1, 2);
373
+ i--;
374
+ }
375
+ }
376
+
377
+ return tokens;
378
+ };
379
+
380
+ function diffWords(oldStr, newStr, options) {
381
+ options = generateOptions(options, {
382
+ ignoreWhitespace: true
383
+ });
384
+ return wordDiff.diff(oldStr, newStr, options);
385
+ }
386
+ function diffWordsWithSpace(oldStr, newStr, options) {
387
+ return wordDiff.diff(oldStr, newStr, options);
388
+ }
389
+
390
+ var lineDiff = new Diff();
391
+
392
+ lineDiff.tokenize = function (value) {
393
+ if (this.options.stripTrailingCr) {
394
+ // remove one \r before \n to match GNU diff's --strip-trailing-cr behavior
395
+ value = value.replace(/\r\n/g, '\n');
396
+ }
397
+
398
+ var retLines = [],
399
+ linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line
400
+
401
+ if (!linesAndNewlines[linesAndNewlines.length - 1]) {
402
+ linesAndNewlines.pop();
403
+ } // Merge the content and line separators into single tokens
404
+
405
+
406
+ for (var i = 0; i < linesAndNewlines.length; i++) {
407
+ var line = linesAndNewlines[i];
408
+
409
+ if (i % 2 && !this.options.newlineIsToken) {
410
+ retLines[retLines.length - 1] += line;
411
+ } else {
412
+ if (this.options.ignoreWhitespace) {
413
+ line = line.trim();
414
+ }
415
+
416
+ retLines.push(line);
417
+ }
418
+ }
419
+
420
+ return retLines;
421
+ };
422
+
423
+ function diffLines(oldStr, newStr, callback) {
424
+ return lineDiff.diff(oldStr, newStr, callback);
425
+ }
426
+ function diffTrimmedLines(oldStr, newStr, callback) {
427
+ var options = generateOptions(callback, {
428
+ ignoreWhitespace: true
429
+ });
430
+ return lineDiff.diff(oldStr, newStr, options);
431
+ }
432
+
433
+ var sentenceDiff = new Diff();
434
+
435
+ sentenceDiff.tokenize = function (value) {
436
+ return value.split(/(\S.+?[.!?])(?=\s+|$)/);
437
+ };
438
+
439
+ function diffSentences(oldStr, newStr, callback) {
440
+ return sentenceDiff.diff(oldStr, newStr, callback);
441
+ }
442
+
443
+ var cssDiff = new Diff();
444
+
445
+ cssDiff.tokenize = function (value) {
446
+ return value.split(/([{}:;,]|\s+)/);
447
+ };
448
+
449
+ function diffCss(oldStr, newStr, callback) {
450
+ return cssDiff.diff(oldStr, newStr, callback);
451
+ }
452
+
453
+ function _typeof(obj) {
454
+ "@babel/helpers - typeof";
455
+
456
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
457
+ _typeof = function (obj) {
458
+ return typeof obj;
459
+ };
460
+ } else {
461
+ _typeof = function (obj) {
462
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
463
+ };
464
+ }
465
+
466
+ return _typeof(obj);
467
+ }
468
+
469
+ function _defineProperty(obj, key, value) {
470
+ if (key in obj) {
471
+ Object.defineProperty(obj, key, {
472
+ value: value,
473
+ enumerable: true,
474
+ configurable: true,
475
+ writable: true
476
+ });
477
+ } else {
478
+ obj[key] = value;
479
+ }
480
+
481
+ return obj;
482
+ }
483
+
484
+ function ownKeys(object, enumerableOnly) {
485
+ var keys = Object.keys(object);
486
+
487
+ if (Object.getOwnPropertySymbols) {
488
+ var symbols = Object.getOwnPropertySymbols(object);
489
+ if (enumerableOnly) symbols = symbols.filter(function (sym) {
490
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
491
+ });
492
+ keys.push.apply(keys, symbols);
493
+ }
494
+
495
+ return keys;
496
+ }
497
+
498
+ function _objectSpread2(target) {
499
+ for (var i = 1; i < arguments.length; i++) {
500
+ var source = arguments[i] != null ? arguments[i] : {};
501
+
502
+ if (i % 2) {
503
+ ownKeys(Object(source), true).forEach(function (key) {
504
+ _defineProperty(target, key, source[key]);
505
+ });
506
+ } else if (Object.getOwnPropertyDescriptors) {
507
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
508
+ } else {
509
+ ownKeys(Object(source)).forEach(function (key) {
510
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
511
+ });
512
+ }
513
+ }
514
+
515
+ return target;
516
+ }
517
+
518
+ function _toConsumableArray(arr) {
519
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
520
+ }
521
+
522
+ function _arrayWithoutHoles(arr) {
523
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
524
+ }
525
+
526
+ function _iterableToArray(iter) {
527
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
528
+ }
529
+
530
+ function _unsupportedIterableToArray(o, minLen) {
531
+ if (!o) return;
532
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
533
+ var n = Object.prototype.toString.call(o).slice(8, -1);
534
+ if (n === "Object" && o.constructor) n = o.constructor.name;
535
+ if (n === "Map" || n === "Set") return Array.from(o);
536
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
537
+ }
538
+
539
+ function _arrayLikeToArray(arr, len) {
540
+ if (len == null || len > arr.length) len = arr.length;
541
+
542
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
543
+
544
+ return arr2;
545
+ }
546
+
547
+ function _nonIterableSpread() {
548
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
549
+ }
550
+
551
+ var objectPrototypeToString = Object.prototype.toString;
552
+ var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
553
+ // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
554
+
555
+ jsonDiff.useLongestToken = true;
556
+ jsonDiff.tokenize = lineDiff.tokenize;
557
+
558
+ jsonDiff.castInput = function (value) {
559
+ var _this$options = this.options,
560
+ undefinedReplacement = _this$options.undefinedReplacement,
561
+ _this$options$stringi = _this$options.stringifyReplacer,
562
+ stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) {
563
+ return typeof v === 'undefined' ? undefinedReplacement : v;
564
+ } : _this$options$stringi;
565
+ return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');
566
+ };
567
+
568
+ jsonDiff.equals = function (left, right) {
569
+ return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1'));
570
+ };
571
+
572
+ function diffJson(oldObj, newObj, options) {
573
+ return jsonDiff.diff(oldObj, newObj, options);
574
+ } // This function handles the presence of circular references by bailing out when encountering an
575
+ // object that is already on the "stack" of items being processed. Accepts an optional replacer
576
+
577
+ function canonicalize(obj, stack, replacementStack, replacer, key) {
578
+ stack = stack || [];
579
+ replacementStack = replacementStack || [];
580
+
581
+ if (replacer) {
582
+ obj = replacer(key, obj);
583
+ }
584
+
585
+ var i;
586
+
587
+ for (i = 0; i < stack.length; i += 1) {
588
+ if (stack[i] === obj) {
589
+ return replacementStack[i];
590
+ }
591
+ }
592
+
593
+ var canonicalizedObj;
594
+
595
+ if ('[object Array]' === objectPrototypeToString.call(obj)) {
596
+ stack.push(obj);
597
+ canonicalizedObj = new Array(obj.length);
598
+ replacementStack.push(canonicalizedObj);
599
+
600
+ for (i = 0; i < obj.length; i += 1) {
601
+ canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);
602
+ }
603
+
604
+ stack.pop();
605
+ replacementStack.pop();
606
+ return canonicalizedObj;
607
+ }
608
+
609
+ if (obj && obj.toJSON) {
610
+ obj = obj.toJSON();
611
+ }
612
+
613
+ if (_typeof(obj) === 'object' && obj !== null) {
614
+ stack.push(obj);
615
+ canonicalizedObj = {};
616
+ replacementStack.push(canonicalizedObj);
617
+
618
+ var sortedKeys = [],
619
+ _key;
620
+
621
+ for (_key in obj) {
622
+ /* istanbul ignore else */
623
+ if (obj.hasOwnProperty(_key)) {
624
+ sortedKeys.push(_key);
625
+ }
626
+ }
627
+
628
+ sortedKeys.sort();
629
+
630
+ for (i = 0; i < sortedKeys.length; i += 1) {
631
+ _key = sortedKeys[i];
632
+ canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);
633
+ }
634
+
635
+ stack.pop();
636
+ replacementStack.pop();
637
+ } else {
638
+ canonicalizedObj = obj;
639
+ }
640
+
641
+ return canonicalizedObj;
642
+ }
643
+
644
+ var arrayDiff = new Diff();
645
+
646
+ arrayDiff.tokenize = function (value) {
647
+ return value.slice();
648
+ };
649
+
650
+ arrayDiff.join = arrayDiff.removeEmpty = function (value) {
651
+ return value;
652
+ };
653
+
654
+ function diffArrays(oldArr, newArr, callback) {
655
+ return arrayDiff.diff(oldArr, newArr, callback);
656
+ }
657
+
658
+ function parsePatch(uniDiff) {
659
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
660
+ var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
661
+ delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
662
+ list = [],
663
+ i = 0;
664
+
665
+ function parseIndex() {
666
+ var index = {};
667
+ list.push(index); // Parse diff metadata
668
+
669
+ while (i < diffstr.length) {
670
+ var line = diffstr[i]; // File header found, end parsing diff metadata
671
+
672
+ if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
673
+ break;
674
+ } // Diff index
675
+
676
+
677
+ var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
678
+
679
+ if (header) {
680
+ index.index = header[1];
681
+ }
682
+
683
+ i++;
684
+ } // Parse file headers if they are defined. Unified diff requires them, but
685
+ // there's no technical issues to have an isolated hunk without file header
686
+
687
+
688
+ parseFileHeader(index);
689
+ parseFileHeader(index); // Parse hunks
690
+
691
+ index.hunks = [];
692
+
693
+ while (i < diffstr.length) {
694
+ var _line = diffstr[i];
695
+
696
+ if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) {
697
+ break;
698
+ } else if (/^@@/.test(_line)) {
699
+ index.hunks.push(parseHunk());
700
+ } else if (_line && options.strict) {
701
+ // Ignore unexpected content unless in strict mode
702
+ throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));
703
+ } else {
704
+ i++;
705
+ }
706
+ }
707
+ } // Parses the --- and +++ headers, if none are found, no lines
708
+ // are consumed.
709
+
710
+
711
+ function parseFileHeader(index) {
712
+ var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]);
713
+
714
+ if (fileHeader) {
715
+ var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';
716
+ var data = fileHeader[2].split('\t', 2);
717
+ var fileName = data[0].replace(/\\\\/g, '\\');
718
+
719
+ if (/^".*"$/.test(fileName)) {
720
+ fileName = fileName.substr(1, fileName.length - 2);
721
+ }
722
+
723
+ index[keyPrefix + 'FileName'] = fileName;
724
+ index[keyPrefix + 'Header'] = (data[1] || '').trim();
725
+ i++;
726
+ }
727
+ } // Parses a hunk
728
+ // This assumes that we are at the start of a hunk.
729
+
730
+
731
+ function parseHunk() {
732
+ var chunkHeaderIndex = i,
733
+ chunkHeaderLine = diffstr[i++],
734
+ chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
735
+ var hunk = {
736
+ oldStart: +chunkHeader[1],
737
+ oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],
738
+ newStart: +chunkHeader[3],
739
+ newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],
740
+ lines: [],
741
+ linedelimiters: []
742
+ }; // Unified Diff Format quirk: If the chunk size is 0,
743
+ // the first number is one lower than one would expect.
744
+ // https://www.artima.com/weblogs/viewpost.jsp?thread=164293
745
+
746
+ if (hunk.oldLines === 0) {
747
+ hunk.oldStart += 1;
748
+ }
749
+
750
+ if (hunk.newLines === 0) {
751
+ hunk.newStart += 1;
752
+ }
753
+
754
+ var addCount = 0,
755
+ removeCount = 0;
756
+
757
+ for (; i < diffstr.length; i++) {
758
+ // Lines starting with '---' could be mistaken for the "remove line" operation
759
+ // But they could be the header for the next file. Therefore prune such cases out.
760
+ if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) {
761
+ break;
762
+ }
763
+
764
+ var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];
765
+
766
+ if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
767
+ hunk.lines.push(diffstr[i]);
768
+ hunk.linedelimiters.push(delimiters[i] || '\n');
769
+
770
+ if (operation === '+') {
771
+ addCount++;
772
+ } else if (operation === '-') {
773
+ removeCount++;
774
+ } else if (operation === ' ') {
775
+ addCount++;
776
+ removeCount++;
777
+ }
778
+ } else {
779
+ break;
780
+ }
781
+ } // Handle the empty block count case
782
+
783
+
784
+ if (!addCount && hunk.newLines === 1) {
785
+ hunk.newLines = 0;
786
+ }
787
+
788
+ if (!removeCount && hunk.oldLines === 1) {
789
+ hunk.oldLines = 0;
790
+ } // Perform optional sanity checking
791
+
792
+
793
+ if (options.strict) {
794
+ if (addCount !== hunk.newLines) {
795
+ throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
796
+ }
797
+
798
+ if (removeCount !== hunk.oldLines) {
799
+ throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
800
+ }
801
+ }
802
+
803
+ return hunk;
804
+ }
805
+
806
+ while (i < diffstr.length) {
807
+ parseIndex();
808
+ }
809
+
810
+ return list;
811
+ }
812
+
813
+ // Iterator that traverses in the range of [min, max], stepping
814
+ // by distance from a given start position. I.e. for [0, 4], with
815
+ // start of 2, this will iterate 2, 3, 1, 4, 0.
816
+ function distanceIterator (start, minLine, maxLine) {
817
+ var wantForward = true,
818
+ backwardExhausted = false,
819
+ forwardExhausted = false,
820
+ localOffset = 1;
821
+ return function iterator() {
822
+ if (wantForward && !forwardExhausted) {
823
+ if (backwardExhausted) {
824
+ localOffset++;
825
+ } else {
826
+ wantForward = false;
827
+ } // Check if trying to fit beyond text length, and if not, check it fits
828
+ // after offset location (or desired location on first iteration)
829
+
830
+
831
+ if (start + localOffset <= maxLine) {
832
+ return localOffset;
833
+ }
834
+
835
+ forwardExhausted = true;
836
+ }
837
+
838
+ if (!backwardExhausted) {
839
+ if (!forwardExhausted) {
840
+ wantForward = true;
841
+ } // Check if trying to fit before text beginning, and if not, check it fits
842
+ // before offset location
843
+
844
+
845
+ if (minLine <= start - localOffset) {
846
+ return -localOffset++;
847
+ }
848
+
849
+ backwardExhausted = true;
850
+ return iterator();
851
+ } // We tried to fit hunk before text beginning and beyond text length, then
852
+ // hunk can't fit on the text. Return undefined
853
+
854
+ };
855
+ }
856
+
857
+ function applyPatch(source, uniDiff) {
858
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
859
+
860
+ if (typeof uniDiff === 'string') {
861
+ uniDiff = parsePatch(uniDiff);
862
+ }
863
+
864
+ if (Array.isArray(uniDiff)) {
865
+ if (uniDiff.length > 1) {
866
+ throw new Error('applyPatch only works with a single input.');
867
+ }
868
+
869
+ uniDiff = uniDiff[0];
870
+ } // Apply the diff to the input
871
+
872
+
873
+ var lines = source.split(/\r\n|[\n\v\f\r\x85]/),
874
+ delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [],
875
+ hunks = uniDiff.hunks,
876
+ compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) {
877
+ return line === patchContent;
878
+ },
879
+ errorCount = 0,
880
+ fuzzFactor = options.fuzzFactor || 0,
881
+ minLine = 0,
882
+ offset = 0,
883
+ removeEOFNL,
884
+ addEOFNL;
885
+ /**
886
+ * Checks if the hunk exactly fits on the provided location
887
+ */
888
+
889
+
890
+ function hunkFits(hunk, toPos) {
891
+ for (var j = 0; j < hunk.lines.length; j++) {
892
+ var line = hunk.lines[j],
893
+ operation = line.length > 0 ? line[0] : ' ',
894
+ content = line.length > 0 ? line.substr(1) : line;
895
+
896
+ if (operation === ' ' || operation === '-') {
897
+ // Context sanity check
898
+ if (!compareLine(toPos + 1, lines[toPos], operation, content)) {
899
+ errorCount++;
900
+
901
+ if (errorCount > fuzzFactor) {
902
+ return false;
903
+ }
904
+ }
905
+
906
+ toPos++;
907
+ }
908
+ }
909
+
910
+ return true;
911
+ } // Search best fit offsets for each hunk based on the previous ones
912
+
913
+
914
+ for (var i = 0; i < hunks.length; i++) {
915
+ var hunk = hunks[i],
916
+ maxLine = lines.length - hunk.oldLines,
917
+ localOffset = 0,
918
+ toPos = offset + hunk.oldStart - 1;
919
+ var iterator = distanceIterator(toPos, minLine, maxLine);
920
+
921
+ for (; localOffset !== undefined; localOffset = iterator()) {
922
+ if (hunkFits(hunk, toPos + localOffset)) {
923
+ hunk.offset = offset += localOffset;
924
+ break;
925
+ }
926
+ }
927
+
928
+ if (localOffset === undefined) {
929
+ return false;
930
+ } // Set lower text limit to end of the current hunk, so next ones don't try
931
+ // to fit over already patched text
932
+
933
+
934
+ minLine = hunk.offset + hunk.oldStart + hunk.oldLines;
935
+ } // Apply patch hunks
936
+
937
+
938
+ var diffOffset = 0;
939
+
940
+ for (var _i = 0; _i < hunks.length; _i++) {
941
+ var _hunk = hunks[_i],
942
+ _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1;
943
+
944
+ diffOffset += _hunk.newLines - _hunk.oldLines;
945
+
946
+ for (var j = 0; j < _hunk.lines.length; j++) {
947
+ var line = _hunk.lines[j],
948
+ operation = line.length > 0 ? line[0] : ' ',
949
+ content = line.length > 0 ? line.substr(1) : line,
950
+ delimiter = _hunk.linedelimiters && _hunk.linedelimiters[j] || '\n';
951
+
952
+ if (operation === ' ') {
953
+ _toPos++;
954
+ } else if (operation === '-') {
955
+ lines.splice(_toPos, 1);
956
+ delimiters.splice(_toPos, 1);
957
+ /* istanbul ignore else */
958
+ } else if (operation === '+') {
959
+ lines.splice(_toPos, 0, content);
960
+ delimiters.splice(_toPos, 0, delimiter);
961
+ _toPos++;
962
+ } else if (operation === '\\') {
963
+ var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null;
964
+
965
+ if (previousOperation === '+') {
966
+ removeEOFNL = true;
967
+ } else if (previousOperation === '-') {
968
+ addEOFNL = true;
969
+ }
970
+ }
971
+ }
972
+ } // Handle EOFNL insertion/removal
973
+
974
+
975
+ if (removeEOFNL) {
976
+ while (!lines[lines.length - 1]) {
977
+ lines.pop();
978
+ delimiters.pop();
979
+ }
980
+ } else if (addEOFNL) {
981
+ lines.push('');
982
+ delimiters.push('\n');
983
+ }
984
+
985
+ for (var _k = 0; _k < lines.length - 1; _k++) {
986
+ lines[_k] = lines[_k] + delimiters[_k];
987
+ }
988
+
989
+ return lines.join('');
990
+ } // Wrapper that supports multiple file patches via callbacks.
991
+
992
+ function applyPatches(uniDiff, options) {
993
+ if (typeof uniDiff === 'string') {
994
+ uniDiff = parsePatch(uniDiff);
995
+ }
996
+
997
+ var currentIndex = 0;
998
+
999
+ function processIndex() {
1000
+ var index = uniDiff[currentIndex++];
1001
+
1002
+ if (!index) {
1003
+ return options.complete();
1004
+ }
1005
+
1006
+ options.loadFile(index, function (err, data) {
1007
+ if (err) {
1008
+ return options.complete(err);
1009
+ }
1010
+
1011
+ var updatedContent = applyPatch(data, index, options);
1012
+ options.patched(index, updatedContent, function (err) {
1013
+ if (err) {
1014
+ return options.complete(err);
1015
+ }
1016
+
1017
+ processIndex();
1018
+ });
1019
+ });
1020
+ }
1021
+
1022
+ processIndex();
1023
+ }
1024
+
1025
+ function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
1026
+ if (!options) {
1027
+ options = {};
1028
+ }
1029
+
1030
+ if (typeof options.context === 'undefined') {
1031
+ options.context = 4;
1032
+ }
1033
+
1034
+ var diff = diffLines(oldStr, newStr, options);
1035
+
1036
+ if (!diff) {
1037
+ return;
1038
+ }
1039
+
1040
+ diff.push({
1041
+ value: '',
1042
+ lines: []
1043
+ }); // Append an empty value to make cleanup easier
1044
+
1045
+ function contextLines(lines) {
1046
+ return lines.map(function (entry) {
1047
+ return ' ' + entry;
1048
+ });
1049
+ }
1050
+
1051
+ var hunks = [];
1052
+ var oldRangeStart = 0,
1053
+ newRangeStart = 0,
1054
+ curRange = [],
1055
+ oldLine = 1,
1056
+ newLine = 1;
1057
+
1058
+ var _loop = function _loop(i) {
1059
+ var current = diff[i],
1060
+ lines = current.lines || current.value.replace(/\n$/, '').split('\n');
1061
+ current.lines = lines;
1062
+
1063
+ if (current.added || current.removed) {
1064
+ var _curRange;
1065
+
1066
+ // If we have previous context, start with that
1067
+ if (!oldRangeStart) {
1068
+ var prev = diff[i - 1];
1069
+ oldRangeStart = oldLine;
1070
+ newRangeStart = newLine;
1071
+
1072
+ if (prev) {
1073
+ curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];
1074
+ oldRangeStart -= curRange.length;
1075
+ newRangeStart -= curRange.length;
1076
+ }
1077
+ } // Output our changes
1078
+
1079
+
1080
+ (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) {
1081
+ return (current.added ? '+' : '-') + entry;
1082
+ }))); // Track the updated file position
1083
+
1084
+
1085
+ if (current.added) {
1086
+ newLine += lines.length;
1087
+ } else {
1088
+ oldLine += lines.length;
1089
+ }
1090
+ } else {
1091
+ // Identical context lines. Track line changes
1092
+ if (oldRangeStart) {
1093
+ // Close out any changes that have been output (or join overlapping)
1094
+ if (lines.length <= options.context * 2 && i < diff.length - 2) {
1095
+ var _curRange2;
1096
+
1097
+ // Overlapping
1098
+ (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines)));
1099
+ } else {
1100
+ var _curRange3;
1101
+
1102
+ // end the range and output
1103
+ var contextSize = Math.min(lines.length, options.context);
1104
+
1105
+ (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize))));
1106
+
1107
+ var hunk = {
1108
+ oldStart: oldRangeStart,
1109
+ oldLines: oldLine - oldRangeStart + contextSize,
1110
+ newStart: newRangeStart,
1111
+ newLines: newLine - newRangeStart + contextSize,
1112
+ lines: curRange
1113
+ };
1114
+
1115
+ if (i >= diff.length - 2 && lines.length <= options.context) {
1116
+ // EOF is inside this hunk
1117
+ var oldEOFNewline = /\n$/.test(oldStr);
1118
+ var newEOFNewline = /\n$/.test(newStr);
1119
+ var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;
1120
+
1121
+ if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {
1122
+ // special case: old has no eol and no trailing context; no-nl can end up before adds
1123
+ // however, if the old file is empty, do not output the no-nl line
1124
+ curRange.splice(hunk.oldLines, 0, '\');
1125
+ }
1126
+
1127
+ if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) {
1128
+ curRange.push('\');
1129
+ }
1130
+ }
1131
+
1132
+ hunks.push(hunk);
1133
+ oldRangeStart = 0;
1134
+ newRangeStart = 0;
1135
+ curRange = [];
1136
+ }
1137
+ }
1138
+
1139
+ oldLine += lines.length;
1140
+ newLine += lines.length;
1141
+ }
1142
+ };
1143
+
1144
+ for (var i = 0; i < diff.length; i++) {
1145
+ _loop(i);
1146
+ }
1147
+
1148
+ return {
1149
+ oldFileName: oldFileName,
1150
+ newFileName: newFileName,
1151
+ oldHeader: oldHeader,
1152
+ newHeader: newHeader,
1153
+ hunks: hunks
1154
+ };
1155
+ }
1156
+ function formatPatch(diff) {
1157
+ if (Array.isArray(diff)) {
1158
+ return diff.map(formatPatch).join('\n');
1159
+ }
1160
+
1161
+ var ret = [];
1162
+
1163
+ if (diff.oldFileName == diff.newFileName) {
1164
+ ret.push('Index: ' + diff.oldFileName);
1165
+ }
1166
+
1167
+ ret.push('===================================================================');
1168
+ ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader));
1169
+ ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader));
1170
+
1171
+ for (var i = 0; i < diff.hunks.length; i++) {
1172
+ var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0,
1173
+ // the first number is one lower than one would expect.
1174
+ // https://www.artima.com/weblogs/viewpost.jsp?thread=164293
1175
+
1176
+ if (hunk.oldLines === 0) {
1177
+ hunk.oldStart -= 1;
1178
+ }
1179
+
1180
+ if (hunk.newLines === 0) {
1181
+ hunk.newStart -= 1;
1182
+ }
1183
+
1184
+ ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@');
1185
+ ret.push.apply(ret, hunk.lines);
1186
+ }
1187
+
1188
+ return ret.join('\n') + '\n';
1189
+ }
1190
+ function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
1191
+ return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));
1192
+ }
1193
+ function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {
1194
+ return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);
1195
+ }
1196
+
1197
+ function arrayEqual(a, b) {
1198
+ if (a.length !== b.length) {
1199
+ return false;
1200
+ }
1201
+
1202
+ return arrayStartsWith(a, b);
1203
+ }
1204
+ function arrayStartsWith(array, start) {
1205
+ if (start.length > array.length) {
1206
+ return false;
1207
+ }
1208
+
1209
+ for (var i = 0; i < start.length; i++) {
1210
+ if (start[i] !== array[i]) {
1211
+ return false;
1212
+ }
1213
+ }
1214
+
1215
+ return true;
1216
+ }
1217
+
1218
+ function calcLineCount(hunk) {
1219
+ var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines),
1220
+ oldLines = _calcOldNewLineCount.oldLines,
1221
+ newLines = _calcOldNewLineCount.newLines;
1222
+
1223
+ if (oldLines !== undefined) {
1224
+ hunk.oldLines = oldLines;
1225
+ } else {
1226
+ delete hunk.oldLines;
1227
+ }
1228
+
1229
+ if (newLines !== undefined) {
1230
+ hunk.newLines = newLines;
1231
+ } else {
1232
+ delete hunk.newLines;
1233
+ }
1234
+ }
1235
+ function merge(mine, theirs, base) {
1236
+ mine = loadPatch(mine, base);
1237
+ theirs = loadPatch(theirs, base);
1238
+ var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning.
1239
+ // Leaving sanity checks on this to the API consumer that may know more about the
1240
+ // meaning in their own context.
1241
+
1242
+ if (mine.index || theirs.index) {
1243
+ ret.index = mine.index || theirs.index;
1244
+ }
1245
+
1246
+ if (mine.newFileName || theirs.newFileName) {
1247
+ if (!fileNameChanged(mine)) {
1248
+ // No header or no change in ours, use theirs (and ours if theirs does not exist)
1249
+ ret.oldFileName = theirs.oldFileName || mine.oldFileName;
1250
+ ret.newFileName = theirs.newFileName || mine.newFileName;
1251
+ ret.oldHeader = theirs.oldHeader || mine.oldHeader;
1252
+ ret.newHeader = theirs.newHeader || mine.newHeader;
1253
+ } else if (!fileNameChanged(theirs)) {
1254
+ // No header or no change in theirs, use ours
1255
+ ret.oldFileName = mine.oldFileName;
1256
+ ret.newFileName = mine.newFileName;
1257
+ ret.oldHeader = mine.oldHeader;
1258
+ ret.newHeader = mine.newHeader;
1259
+ } else {
1260
+ // Both changed... figure it out
1261
+ ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);
1262
+ ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);
1263
+ ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);
1264
+ ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);
1265
+ }
1266
+ }
1267
+
1268
+ ret.hunks = [];
1269
+ var mineIndex = 0,
1270
+ theirsIndex = 0,
1271
+ mineOffset = 0,
1272
+ theirsOffset = 0;
1273
+
1274
+ while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {
1275
+ var mineCurrent = mine.hunks[mineIndex] || {
1276
+ oldStart: Infinity
1277
+ },
1278
+ theirsCurrent = theirs.hunks[theirsIndex] || {
1279
+ oldStart: Infinity
1280
+ };
1281
+
1282
+ if (hunkBefore(mineCurrent, theirsCurrent)) {
1283
+ // This patch does not overlap with any of the others, yay.
1284
+ ret.hunks.push(cloneHunk(mineCurrent, mineOffset));
1285
+ mineIndex++;
1286
+ theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;
1287
+ } else if (hunkBefore(theirsCurrent, mineCurrent)) {
1288
+ // This patch does not overlap with any of the others, yay.
1289
+ ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));
1290
+ theirsIndex++;
1291
+ mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;
1292
+ } else {
1293
+ // Overlap, merge as best we can
1294
+ var mergedHunk = {
1295
+ oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),
1296
+ oldLines: 0,
1297
+ newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),
1298
+ newLines: 0,
1299
+ lines: []
1300
+ };
1301
+ mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);
1302
+ theirsIndex++;
1303
+ mineIndex++;
1304
+ ret.hunks.push(mergedHunk);
1305
+ }
1306
+ }
1307
+
1308
+ return ret;
1309
+ }
1310
+
1311
+ function loadPatch(param, base) {
1312
+ if (typeof param === 'string') {
1313
+ if (/^@@/m.test(param) || /^Index:/m.test(param)) {
1314
+ return parsePatch(param)[0];
1315
+ }
1316
+
1317
+ if (!base) {
1318
+ throw new Error('Must provide a base reference or pass in a patch');
1319
+ }
1320
+
1321
+ return structuredPatch(undefined, undefined, base, param);
1322
+ }
1323
+
1324
+ return param;
1325
+ }
1326
+
1327
+ function fileNameChanged(patch) {
1328
+ return patch.newFileName && patch.newFileName !== patch.oldFileName;
1329
+ }
1330
+
1331
+ function selectField(index, mine, theirs) {
1332
+ if (mine === theirs) {
1333
+ return mine;
1334
+ } else {
1335
+ index.conflict = true;
1336
+ return {
1337
+ mine: mine,
1338
+ theirs: theirs
1339
+ };
1340
+ }
1341
+ }
1342
+
1343
+ function hunkBefore(test, check) {
1344
+ return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
1345
+ }
1346
+
1347
+ function cloneHunk(hunk, offset) {
1348
+ return {
1349
+ oldStart: hunk.oldStart,
1350
+ oldLines: hunk.oldLines,
1351
+ newStart: hunk.newStart + offset,
1352
+ newLines: hunk.newLines,
1353
+ lines: hunk.lines
1354
+ };
1355
+ }
1356
+
1357
+ function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {
1358
+ // This will generally result in a conflicted hunk, but there are cases where the context
1359
+ // is the only overlap where we can successfully merge the content here.
1360
+ var mine = {
1361
+ offset: mineOffset,
1362
+ lines: mineLines,
1363
+ index: 0
1364
+ },
1365
+ their = {
1366
+ offset: theirOffset,
1367
+ lines: theirLines,
1368
+ index: 0
1369
+ }; // Handle any leading content
1370
+
1371
+ insertLeading(hunk, mine, their);
1372
+ insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each.
1373
+
1374
+ while (mine.index < mine.lines.length && their.index < their.lines.length) {
1375
+ var mineCurrent = mine.lines[mine.index],
1376
+ theirCurrent = their.lines[their.index];
1377
+
1378
+ if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {
1379
+ // Both modified ...
1380
+ mutualChange(hunk, mine, their);
1381
+ } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {
1382
+ var _hunk$lines;
1383
+
1384
+ // Mine inserted
1385
+ (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine)));
1386
+ } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {
1387
+ var _hunk$lines2;
1388
+
1389
+ // Theirs inserted
1390
+ (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their)));
1391
+ } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {
1392
+ // Mine removed or edited
1393
+ removal(hunk, mine, their);
1394
+ } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {
1395
+ // Their removed or edited
1396
+ removal(hunk, their, mine, true);
1397
+ } else if (mineCurrent === theirCurrent) {
1398
+ // Context identity
1399
+ hunk.lines.push(mineCurrent);
1400
+ mine.index++;
1401
+ their.index++;
1402
+ } else {
1403
+ // Context mismatch
1404
+ conflict(hunk, collectChange(mine), collectChange(their));
1405
+ }
1406
+ } // Now push anything that may be remaining
1407
+
1408
+
1409
+ insertTrailing(hunk, mine);
1410
+ insertTrailing(hunk, their);
1411
+ calcLineCount(hunk);
1412
+ }
1413
+
1414
+ function mutualChange(hunk, mine, their) {
1415
+ var myChanges = collectChange(mine),
1416
+ theirChanges = collectChange(their);
1417
+
1418
+ if (allRemoves(myChanges) && allRemoves(theirChanges)) {
1419
+ // Special case for remove changes that are supersets of one another
1420
+ if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {
1421
+ var _hunk$lines3;
1422
+
1423
+ (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges));
1424
+
1425
+ return;
1426
+ } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {
1427
+ var _hunk$lines4;
1428
+
1429
+ (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges));
1430
+
1431
+ return;
1432
+ }
1433
+ } else if (arrayEqual(myChanges, theirChanges)) {
1434
+ var _hunk$lines5;
1435
+
1436
+ (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges));
1437
+
1438
+ return;
1439
+ }
1440
+
1441
+ conflict(hunk, myChanges, theirChanges);
1442
+ }
1443
+
1444
+ function removal(hunk, mine, their, swap) {
1445
+ var myChanges = collectChange(mine),
1446
+ theirChanges = collectContext(their, myChanges);
1447
+
1448
+ if (theirChanges.merged) {
1449
+ var _hunk$lines6;
1450
+
1451
+ (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged));
1452
+ } else {
1453
+ conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);
1454
+ }
1455
+ }
1456
+
1457
+ function conflict(hunk, mine, their) {
1458
+ hunk.conflict = true;
1459
+ hunk.lines.push({
1460
+ conflict: true,
1461
+ mine: mine,
1462
+ theirs: their
1463
+ });
1464
+ }
1465
+
1466
+ function insertLeading(hunk, insert, their) {
1467
+ while (insert.offset < their.offset && insert.index < insert.lines.length) {
1468
+ var line = insert.lines[insert.index++];
1469
+ hunk.lines.push(line);
1470
+ insert.offset++;
1471
+ }
1472
+ }
1473
+
1474
+ function insertTrailing(hunk, insert) {
1475
+ while (insert.index < insert.lines.length) {
1476
+ var line = insert.lines[insert.index++];
1477
+ hunk.lines.push(line);
1478
+ }
1479
+ }
1480
+
1481
+ function collectChange(state) {
1482
+ var ret = [],
1483
+ operation = state.lines[state.index][0];
1484
+
1485
+ while (state.index < state.lines.length) {
1486
+ var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change.
1487
+
1488
+ if (operation === '-' && line[0] === '+') {
1489
+ operation = '+';
1490
+ }
1491
+
1492
+ if (operation === line[0]) {
1493
+ ret.push(line);
1494
+ state.index++;
1495
+ } else {
1496
+ break;
1497
+ }
1498
+ }
1499
+
1500
+ return ret;
1501
+ }
1502
+
1503
+ function collectContext(state, matchChanges) {
1504
+ var changes = [],
1505
+ merged = [],
1506
+ matchIndex = 0,
1507
+ contextChanges = false,
1508
+ conflicted = false;
1509
+
1510
+ while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1511
+ var change = state.lines[state.index],
1512
+ match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1513
+
1514
+ if (match[0] === '+') {
1515
+ break;
1516
+ }
1517
+
1518
+ contextChanges = contextChanges || change[0] !== ' ';
1519
+ merged.push(match);
1520
+ matchIndex++; // Consume any additions in the other block as a conflict to attempt
1521
+ // to pull in the remaining context after this
1522
+
1523
+ if (change[0] === '+') {
1524
+ conflicted = true;
1525
+
1526
+ while (change[0] === '+') {
1527
+ changes.push(change);
1528
+ change = state.lines[++state.index];
1529
+ }
1530
+ }
1531
+
1532
+ if (match.substr(1) === change.substr(1)) {
1533
+ changes.push(change);
1534
+ state.index++;
1535
+ } else {
1536
+ conflicted = true;
1537
+ }
1538
+ }
1539
+
1540
+ if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1541
+ conflicted = true;
1542
+ }
1543
+
1544
+ if (conflicted) {
1545
+ return changes;
1546
+ }
1547
+
1548
+ while (matchIndex < matchChanges.length) {
1549
+ merged.push(matchChanges[matchIndex++]);
1550
+ }
1551
+
1552
+ return {
1553
+ merged: merged,
1554
+ changes: changes
1555
+ };
1556
+ }
1557
+
1558
+ function allRemoves(changes) {
1559
+ return changes.reduce(function (prev, change) {
1560
+ return prev && change[0] === '-';
1561
+ }, true);
1562
+ }
1563
+
1564
+ function skipRemoveSuperset(state, removeChanges, delta) {
1565
+ for (var i = 0; i < delta; i++) {
1566
+ var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
1567
+
1568
+ if (state.lines[state.index + i] !== ' ' + changeContent) {
1569
+ return false;
1570
+ }
1571
+ }
1572
+
1573
+ state.index += delta;
1574
+ return true;
1575
+ }
1576
+
1577
+ function calcOldNewLineCount(lines) {
1578
+ var oldLines = 0;
1579
+ var newLines = 0;
1580
+ lines.forEach(function (line) {
1581
+ if (typeof line !== 'string') {
1582
+ var myCount = calcOldNewLineCount(line.mine);
1583
+ var theirCount = calcOldNewLineCount(line.theirs);
1584
+
1585
+ if (oldLines !== undefined) {
1586
+ if (myCount.oldLines === theirCount.oldLines) {
1587
+ oldLines += myCount.oldLines;
1588
+ } else {
1589
+ oldLines = undefined;
1590
+ }
1591
+ }
1592
+
1593
+ if (newLines !== undefined) {
1594
+ if (myCount.newLines === theirCount.newLines) {
1595
+ newLines += myCount.newLines;
1596
+ } else {
1597
+ newLines = undefined;
1598
+ }
1599
+ }
1600
+ } else {
1601
+ if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {
1602
+ newLines++;
1603
+ }
1604
+
1605
+ if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {
1606
+ oldLines++;
1607
+ }
1608
+ }
1609
+ });
1610
+ return {
1611
+ oldLines: oldLines,
1612
+ newLines: newLines
1613
+ };
1614
+ }
1615
+
1616
+ function reversePatch(structuredPatch) {
1617
+ if (Array.isArray(structuredPatch)) {
1618
+ return structuredPatch.map(reversePatch).reverse();
1619
+ }
1620
+
1621
+ return _objectSpread2(_objectSpread2({}, structuredPatch), {}, {
1622
+ oldFileName: structuredPatch.newFileName,
1623
+ oldHeader: structuredPatch.newHeader,
1624
+ newFileName: structuredPatch.oldFileName,
1625
+ newHeader: structuredPatch.oldHeader,
1626
+ hunks: structuredPatch.hunks.map(function (hunk) {
1627
+ return {
1628
+ oldLines: hunk.newLines,
1629
+ oldStart: hunk.newStart,
1630
+ newLines: hunk.oldLines,
1631
+ newStart: hunk.oldStart,
1632
+ linedelimiters: hunk.linedelimiters,
1633
+ lines: hunk.lines.map(function (l) {
1634
+ if (l.startsWith('-')) {
1635
+ return "+".concat(l.slice(1));
1636
+ }
1637
+
1638
+ if (l.startsWith('+')) {
1639
+ return "-".concat(l.slice(1));
1640
+ }
1641
+
1642
+ return l;
1643
+ })
1644
+ };
1645
+ })
1646
+ });
1647
+ }
1648
+
1649
+ // See: http://code.google.com/p/google-diff-match-patch/wiki/API
1650
+ function convertChangesToDMP(changes) {
1651
+ var ret = [],
1652
+ change,
1653
+ operation;
1654
+
1655
+ for (var i = 0; i < changes.length; i++) {
1656
+ change = changes[i];
1657
+
1658
+ if (change.added) {
1659
+ operation = 1;
1660
+ } else if (change.removed) {
1661
+ operation = -1;
1662
+ } else {
1663
+ operation = 0;
1664
+ }
1665
+
1666
+ ret.push([operation, change.value]);
1667
+ }
1668
+
1669
+ return ret;
1670
+ }
1671
+
1672
+ function convertChangesToXML(changes) {
1673
+ var ret = [];
1674
+
1675
+ for (var i = 0; i < changes.length; i++) {
1676
+ var change = changes[i];
1677
+
1678
+ if (change.added) {
1679
+ ret.push('<ins>');
1680
+ } else if (change.removed) {
1681
+ ret.push('<del>');
1682
+ }
1683
+
1684
+ ret.push(escapeHTML(change.value));
1685
+
1686
+ if (change.added) {
1687
+ ret.push('</ins>');
1688
+ } else if (change.removed) {
1689
+ ret.push('</del>');
1690
+ }
1691
+ }
1692
+
1693
+ return ret.join('');
1694
+ }
1695
+
1696
+ function escapeHTML(s) {
1697
+ var n = s;
1698
+ n = n.replace(/&/g, '&amp;');
1699
+ n = n.replace(/</g, '&lt;');
1700
+ n = n.replace(/>/g, '&gt;');
1701
+ n = n.replace(/"/g, '&quot;');
1702
+ return n;
1703
+ }
1704
+
1705
+ exports.Diff = Diff;
1706
+ exports.applyPatch = applyPatch;
1707
+ exports.applyPatches = applyPatches;
1708
+ exports.canonicalize = canonicalize;
1709
+ exports.convertChangesToDMP = convertChangesToDMP;
1710
+ exports.convertChangesToXML = convertChangesToXML;
1711
+ exports.createPatch = createPatch;
1712
+ exports.createTwoFilesPatch = createTwoFilesPatch;
1713
+ exports.diffArrays = diffArrays;
1714
+ exports.diffChars = diffChars;
1715
+ exports.diffCss = diffCss;
1716
+ exports.diffJson = diffJson;
1717
+ exports.diffLines = diffLines;
1718
+ exports.diffSentences = diffSentences;
1719
+ exports.diffTrimmedLines = diffTrimmedLines;
1720
+ exports.diffWords = diffWords;
1721
+ exports.diffWordsWithSpace = diffWordsWithSpace;
1722
+ exports.formatPatch = formatPatch;
1723
+ exports.merge = merge;
1724
+ exports.parsePatch = parsePatch;
1725
+ exports.reversePatch = reversePatch;
1726
+ exports.structuredPatch = structuredPatch;
1727
+
1728
+ Object.defineProperty(exports, '__esModule', { value: true });
1729
+
1730
+ })));