clawatch 1.0.22 → 1.0.26

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 (388) hide show
  1. package/backend/dist/alertChecker.d.ts.map +1 -1
  2. package/backend/dist/alertChecker.js +44 -0
  3. package/backend/dist/alertChecker.js.map +1 -1
  4. package/backend/dist/db.d.ts +33 -3
  5. package/backend/dist/db.d.ts.map +1 -1
  6. package/backend/dist/db.js +140 -10
  7. package/backend/dist/db.js.map +1 -1
  8. package/backend/dist/index.js +41 -34
  9. package/backend/dist/index.js.map +1 -1
  10. package/backend/dist/routes.d.ts.map +1 -1
  11. package/backend/dist/routes.js +118 -11
  12. package/backend/dist/routes.js.map +1 -1
  13. package/backend/dist/seed.js +115 -109
  14. package/backend/dist/seed.js.map +1 -1
  15. package/backend/dist/sessions.d.ts +2 -0
  16. package/backend/dist/sessions.d.ts.map +1 -1
  17. package/backend/dist/sessions.js +9 -0
  18. package/backend/dist/sessions.js.map +1 -1
  19. package/backend/dist/sync.d.ts +1 -4
  20. package/backend/dist/sync.d.ts.map +1 -1
  21. package/backend/dist/sync.js +4 -0
  22. package/backend/dist/sync.js.map +1 -1
  23. package/backend/node_modules/.package-lock.json +4 -380
  24. package/backend/node_modules/sql.js/.devcontainer/Dockerfile +76 -0
  25. package/backend/node_modules/sql.js/.devcontainer/devcontainer.json +20 -0
  26. package/backend/node_modules/sql.js/.jsdoc.config.json +38 -0
  27. package/backend/node_modules/sql.js/.nojekyll +0 -0
  28. package/backend/node_modules/sql.js/AUTHORS +8 -0
  29. package/backend/node_modules/sql.js/dist/sql-asm-debug.js +140890 -0
  30. package/backend/node_modules/sql.js/dist/sql-asm-memory-growth.js +204 -0
  31. package/backend/node_modules/sql.js/dist/sql-asm.js +202 -0
  32. package/backend/node_modules/sql.js/dist/sql-wasm-browser-debug.js +7157 -0
  33. package/backend/node_modules/sql.js/dist/sql-wasm-browser-debug.wasm +0 -0
  34. package/backend/node_modules/sql.js/dist/sql-wasm-browser.js +183 -0
  35. package/backend/node_modules/sql.js/dist/sql-wasm-browser.wasm +0 -0
  36. package/backend/node_modules/sql.js/dist/sql-wasm-debug.js +7265 -0
  37. package/backend/node_modules/sql.js/dist/sql-wasm-debug.wasm +0 -0
  38. package/backend/node_modules/sql.js/dist/sql-wasm.js +185 -0
  39. package/backend/node_modules/sql.js/dist/sql-wasm.wasm +0 -0
  40. package/backend/node_modules/sql.js/dist/worker.sql-asm-debug.js +141011 -0
  41. package/backend/node_modules/sql.js/dist/worker.sql-asm.js +323 -0
  42. package/backend/node_modules/sql.js/dist/worker.sql-wasm-debug.js +7386 -0
  43. package/backend/node_modules/sql.js/dist/worker.sql-wasm.js +306 -0
  44. package/backend/node_modules/sql.js/eslint.config.cjs +57 -0
  45. package/backend/node_modules/sql.js/logo.svg +13 -0
  46. package/backend/node_modules/sql.js/package.json +58 -0
  47. package/backend/package-lock.json +5 -392
  48. package/backend/package.json +1 -2
  49. package/dist/cli.js +0 -38
  50. package/dist/cli.js.map +1 -1
  51. package/frontend/.env +1 -0
  52. package/frontend/.next/BUILD_ID +1 -1
  53. package/frontend/.next/app-path-routes-manifest.json +1 -0
  54. package/frontend/.next/build-manifest.json +2 -2
  55. package/frontend/.next/prerender-manifest.json +24 -0
  56. package/frontend/.next/routes-manifest.json +6 -0
  57. package/frontend/.next/server/app/_global-error.html +2 -2
  58. package/frontend/.next/server/app/_global-error.rsc +1 -1
  59. package/frontend/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  60. package/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  61. package/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  62. package/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  63. package/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  64. package/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  65. package/frontend/.next/server/app/_not-found.html +1 -1
  66. package/frontend/.next/server/app/_not-found.rsc +2 -2
  67. package/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  68. package/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  69. package/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  70. package/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  71. package/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  72. package/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  73. package/frontend/.next/server/app/dashboard/costs/page/app-paths-manifest.json +3 -0
  74. package/frontend/.next/server/app/dashboard/costs/page/build-manifest.json +17 -0
  75. package/frontend/.next/server/app/dashboard/costs/page/next-font-manifest.json +11 -0
  76. package/frontend/.next/server/app/dashboard/costs/page/react-loadable-manifest.json +1 -0
  77. package/frontend/.next/server/app/dashboard/costs/page/server-reference-manifest.json +4 -0
  78. package/frontend/.next/server/app/dashboard/costs/page.js +16 -0
  79. package/frontend/.next/server/app/dashboard/costs/page.js.map +5 -0
  80. package/frontend/.next/server/app/dashboard/costs/page.js.nft.json +1 -0
  81. package/frontend/.next/server/app/dashboard/costs/page_client-reference-manifest.js +2 -0
  82. package/frontend/.next/server/app/dashboard/costs.html +1 -0
  83. package/frontend/.next/server/app/dashboard/costs.meta +16 -0
  84. package/frontend/.next/server/app/dashboard/costs.rsc +20 -0
  85. package/frontend/.next/server/app/dashboard/costs.segments/_full.segment.rsc +20 -0
  86. package/frontend/.next/server/app/dashboard/costs.segments/_head.segment.rsc +6 -0
  87. package/frontend/.next/server/app/dashboard/costs.segments/_index.segment.rsc +5 -0
  88. package/frontend/.next/server/app/dashboard/costs.segments/_tree.segment.rsc +4 -0
  89. package/frontend/.next/server/app/dashboard/costs.segments/dashboard/costs/__PAGE__.segment.rsc +9 -0
  90. package/frontend/.next/server/app/dashboard/costs.segments/dashboard/costs.segment.rsc +4 -0
  91. package/frontend/.next/server/app/dashboard/costs.segments/dashboard.segment.rsc +4 -0
  92. package/frontend/.next/server/app/dashboard/page.js.nft.json +1 -1
  93. package/frontend/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
  94. package/frontend/.next/server/app/dashboard/projects/[id]/page.js.nft.json +1 -1
  95. package/frontend/.next/server/app/dashboard/projects/[id]/page_client-reference-manifest.js +1 -1
  96. package/frontend/.next/server/app/dashboard/sessions/[id]/page.js.nft.json +1 -1
  97. package/frontend/.next/server/app/dashboard/sessions/[id]/page_client-reference-manifest.js +1 -1
  98. package/frontend/.next/server/app/dashboard.html +1 -1
  99. package/frontend/.next/server/app/dashboard.rsc +3 -3
  100. package/frontend/.next/server/app/dashboard.segments/_full.segment.rsc +3 -3
  101. package/frontend/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  102. package/frontend/.next/server/app/dashboard.segments/_index.segment.rsc +2 -2
  103. package/frontend/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  104. package/frontend/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +2 -2
  105. package/frontend/.next/server/app/dashboard.segments/dashboard.segment.rsc +1 -1
  106. package/frontend/.next/server/app/index.html +1 -1
  107. package/frontend/.next/server/app/index.rsc +3 -3
  108. package/frontend/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  109. package/frontend/.next/server/app/index.segments/_full.segment.rsc +3 -3
  110. package/frontend/.next/server/app/index.segments/_head.segment.rsc +1 -1
  111. package/frontend/.next/server/app/index.segments/_index.segment.rsc +2 -2
  112. package/frontend/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  113. package/frontend/.next/server/app/page.js.nft.json +1 -1
  114. package/frontend/.next/server/app/page_client-reference-manifest.js +1 -1
  115. package/frontend/.next/server/app-paths-manifest.json +1 -0
  116. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__96998d39._.js +3 -0
  117. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__ad9c7c6a._.js +3 -0
  118. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__cb471d02._.js +3 -0
  119. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__f99f8278._.js +3 -0
  120. package/frontend/.next/server/chunks/ssr/{_2bfdd77b._.js → _7062b9c0._.js} +2 -2
  121. package/frontend/.next/server/chunks/ssr/_81435076._.js +3 -0
  122. package/frontend/.next/server/chunks/ssr/_8f399861._.js +4 -0
  123. package/frontend/.next/server/chunks/ssr/{_f26b1aca._.js → _aa02b285._.js} +2 -2
  124. package/frontend/.next/server/chunks/ssr/_b0ae6d33._.js +1 -1
  125. package/frontend/.next/server/chunks/ssr/_next-internal_server_app_dashboard_costs_page_actions_b5efa95e.js +3 -0
  126. package/frontend/.next/server/chunks/ssr/node_modules_09eef5ec._.js +3 -0
  127. package/frontend/.next/server/chunks/ssr/node_modules_b4c16e3a._.js +3 -0
  128. package/frontend/.next/server/chunks/ssr/src_app_dashboard_page_tsx_196c74b5._.js +3 -0
  129. package/frontend/.next/server/chunks/ssr/src_app_page_tsx_a7111f3e._.js +1 -1
  130. package/frontend/.next/server/chunks/ssr/src_components_ui_button_tsx_d75cfe12._.js +3 -0
  131. package/frontend/.next/server/next-font-manifest.js +1 -1
  132. package/frontend/.next/server/next-font-manifest.json +4 -0
  133. package/frontend/.next/server/pages/404.html +1 -1
  134. package/frontend/.next/server/pages/500.html +2 -2
  135. package/frontend/.next/static/chunks/139d48bcbc462224.js +1 -0
  136. package/frontend/.next/static/chunks/25c0d885ca7bcbe1.js +1 -0
  137. package/frontend/.next/static/chunks/31f0905710e3dfc3.js +1 -0
  138. package/frontend/.next/static/chunks/34b822c87d271e34.js +1 -0
  139. package/frontend/.next/static/chunks/790649543cff1084.js +1 -0
  140. package/frontend/.next/static/chunks/88a2c1056ccf4825.js +1 -0
  141. package/frontend/.next/static/chunks/9dc87ca9ab86c348.css +3 -0
  142. package/frontend/.next/static/chunks/b1b1c7e52e2182c7.js +1 -0
  143. package/frontend/.next/static/chunks/be5e61723b600d44.js +1 -0
  144. package/frontend/.next/static/chunks/c3af0c75d8e1b7b4.js +1 -0
  145. package/frontend/.next/static/chunks/f5dbb90939b55e4f.js +1 -0
  146. package/frontend/public/providers/nanobot.png +0 -0
  147. package/frontend/public/providers/nanoclaw.webp +0 -0
  148. package/frontend/public/providers/picoclaw.ico +0 -0
  149. package/frontend/public/providers/trustclaw.svg +1 -0
  150. package/frontend/public/providers/zeroclaw.png +0 -0
  151. package/package.json +2 -2
  152. package/backend/node_modules/base64-js/base64js.min.js +0 -1
  153. package/backend/node_modules/base64-js/index.d.ts +0 -3
  154. package/backend/node_modules/base64-js/index.js +0 -150
  155. package/backend/node_modules/base64-js/package.json +0 -47
  156. package/backend/node_modules/better-sqlite3/binding.gyp +0 -38
  157. package/backend/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  158. package/backend/node_modules/better-sqlite3/deps/common.gypi +0 -68
  159. package/backend/node_modules/better-sqlite3/deps/copy.js +0 -31
  160. package/backend/node_modules/better-sqlite3/deps/defines.gypi +0 -41
  161. package/backend/node_modules/better-sqlite3/deps/download.sh +0 -122
  162. package/backend/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
  163. package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -261480
  164. package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -13715
  165. package/backend/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -719
  166. package/backend/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
  167. package/backend/node_modules/better-sqlite3/deps/test_extension.c +0 -21
  168. package/backend/node_modules/better-sqlite3/lib/database.js +0 -90
  169. package/backend/node_modules/better-sqlite3/lib/index.js +0 -3
  170. package/backend/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
  171. package/backend/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
  172. package/backend/node_modules/better-sqlite3/lib/methods/function.js +0 -31
  173. package/backend/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
  174. package/backend/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
  175. package/backend/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
  176. package/backend/node_modules/better-sqlite3/lib/methods/table.js +0 -189
  177. package/backend/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
  178. package/backend/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
  179. package/backend/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
  180. package/backend/node_modules/better-sqlite3/lib/util.js +0 -12
  181. package/backend/node_modules/better-sqlite3/package.json +0 -54
  182. package/backend/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -2186
  183. package/backend/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
  184. package/backend/node_modules/bindings/bindings.js +0 -221
  185. package/backend/node_modules/bindings/package.json +0 -28
  186. package/backend/node_modules/buffer/index.d.ts +0 -186
  187. package/backend/node_modules/buffer/index.js +0 -1817
  188. package/backend/node_modules/buffer/package.json +0 -96
  189. package/backend/node_modules/chownr/chownr.js +0 -167
  190. package/backend/node_modules/chownr/package.json +0 -29
  191. package/backend/node_modules/decompress-response/index.d.ts +0 -22
  192. package/backend/node_modules/decompress-response/index.js +0 -58
  193. package/backend/node_modules/decompress-response/license +0 -9
  194. package/backend/node_modules/decompress-response/package.json +0 -56
  195. package/backend/node_modules/deep-extend/index.js +0 -1
  196. package/backend/node_modules/deep-extend/lib/deep-extend.js +0 -150
  197. package/backend/node_modules/deep-extend/package.json +0 -62
  198. package/backend/node_modules/detect-libc/index.d.ts +0 -14
  199. package/backend/node_modules/detect-libc/lib/detect-libc.js +0 -313
  200. package/backend/node_modules/detect-libc/lib/elf.js +0 -39
  201. package/backend/node_modules/detect-libc/lib/filesystem.js +0 -51
  202. package/backend/node_modules/detect-libc/lib/process.js +0 -24
  203. package/backend/node_modules/detect-libc/package.json +0 -44
  204. package/backend/node_modules/expand-template/.travis.yml +0 -6
  205. package/backend/node_modules/expand-template/index.js +0 -26
  206. package/backend/node_modules/expand-template/package.json +0 -29
  207. package/backend/node_modules/expand-template/test.js +0 -67
  208. package/backend/node_modules/file-uri-to-path/.travis.yml +0 -30
  209. package/backend/node_modules/file-uri-to-path/index.d.ts +0 -2
  210. package/backend/node_modules/file-uri-to-path/index.js +0 -66
  211. package/backend/node_modules/file-uri-to-path/package.json +0 -32
  212. package/backend/node_modules/fs-constants/browser.js +0 -1
  213. package/backend/node_modules/fs-constants/index.js +0 -1
  214. package/backend/node_modules/fs-constants/package.json +0 -19
  215. package/backend/node_modules/github-from-package/.travis.yml +0 -4
  216. package/backend/node_modules/github-from-package/index.js +0 -17
  217. package/backend/node_modules/github-from-package/package.json +0 -30
  218. package/backend/node_modules/github-from-package/readme.markdown +0 -53
  219. package/backend/node_modules/ieee754/index.d.ts +0 -10
  220. package/backend/node_modules/ieee754/index.js +0 -85
  221. package/backend/node_modules/ieee754/package.json +0 -52
  222. package/backend/node_modules/ini/ini.js +0 -206
  223. package/backend/node_modules/ini/package.json +0 -33
  224. package/backend/node_modules/mimic-response/index.d.ts +0 -17
  225. package/backend/node_modules/mimic-response/index.js +0 -77
  226. package/backend/node_modules/mimic-response/license +0 -9
  227. package/backend/node_modules/mimic-response/package.json +0 -42
  228. package/backend/node_modules/minimist/.github/FUNDING.yml +0 -12
  229. package/backend/node_modules/minimist/.nycrc +0 -14
  230. package/backend/node_modules/minimist/index.js +0 -263
  231. package/backend/node_modules/minimist/package.json +0 -75
  232. package/backend/node_modules/mkdirp-classic/index.js +0 -98
  233. package/backend/node_modules/mkdirp-classic/package.json +0 -18
  234. package/backend/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  235. package/backend/node_modules/napi-build-utils/index.js +0 -214
  236. package/backend/node_modules/napi-build-utils/package.json +0 -42
  237. package/backend/node_modules/node-abi/abi_registry.json +0 -432
  238. package/backend/node_modules/node-abi/index.js +0 -179
  239. package/backend/node_modules/node-abi/package.json +0 -45
  240. package/backend/node_modules/prebuild-install/asset.js +0 -44
  241. package/backend/node_modules/prebuild-install/bin.js +0 -78
  242. package/backend/node_modules/prebuild-install/download.js +0 -142
  243. package/backend/node_modules/prebuild-install/error.js +0 -14
  244. package/backend/node_modules/prebuild-install/help.txt +0 -16
  245. package/backend/node_modules/prebuild-install/index.js +0 -1
  246. package/backend/node_modules/prebuild-install/log.js +0 -33
  247. package/backend/node_modules/prebuild-install/node_modules/pump/.github/FUNDING.yml +0 -2
  248. package/backend/node_modules/prebuild-install/node_modules/pump/.travis.yml +0 -5
  249. package/backend/node_modules/prebuild-install/node_modules/pump/LICENSE +0 -21
  250. package/backend/node_modules/prebuild-install/node_modules/pump/README.md +0 -74
  251. package/backend/node_modules/prebuild-install/node_modules/pump/SECURITY.md +0 -5
  252. package/backend/node_modules/prebuild-install/node_modules/pump/empty.js +0 -1
  253. package/backend/node_modules/prebuild-install/node_modules/pump/index.js +0 -86
  254. package/backend/node_modules/prebuild-install/node_modules/pump/package.json +0 -30
  255. package/backend/node_modules/prebuild-install/node_modules/pump/test-browser.js +0 -66
  256. package/backend/node_modules/prebuild-install/node_modules/pump/test-node.js +0 -53
  257. package/backend/node_modules/prebuild-install/package.json +0 -67
  258. package/backend/node_modules/prebuild-install/proxy.js +0 -35
  259. package/backend/node_modules/prebuild-install/rc.js +0 -64
  260. package/backend/node_modules/prebuild-install/util.js +0 -143
  261. package/backend/node_modules/rc/browser.js +0 -7
  262. package/backend/node_modules/rc/cli.js +0 -4
  263. package/backend/node_modules/rc/index.js +0 -53
  264. package/backend/node_modules/rc/lib/utils.js +0 -104
  265. package/backend/node_modules/rc/package.json +0 -29
  266. package/backend/node_modules/semver/bin/semver.js +0 -191
  267. package/backend/node_modules/semver/classes/comparator.js +0 -143
  268. package/backend/node_modules/semver/classes/index.js +0 -7
  269. package/backend/node_modules/semver/classes/range.js +0 -557
  270. package/backend/node_modules/semver/classes/semver.js +0 -333
  271. package/backend/node_modules/semver/functions/clean.js +0 -8
  272. package/backend/node_modules/semver/functions/cmp.js +0 -54
  273. package/backend/node_modules/semver/functions/coerce.js +0 -62
  274. package/backend/node_modules/semver/functions/compare-build.js +0 -9
  275. package/backend/node_modules/semver/functions/compare-loose.js +0 -5
  276. package/backend/node_modules/semver/functions/compare.js +0 -7
  277. package/backend/node_modules/semver/functions/diff.js +0 -60
  278. package/backend/node_modules/semver/functions/eq.js +0 -5
  279. package/backend/node_modules/semver/functions/gt.js +0 -5
  280. package/backend/node_modules/semver/functions/gte.js +0 -5
  281. package/backend/node_modules/semver/functions/inc.js +0 -21
  282. package/backend/node_modules/semver/functions/lt.js +0 -5
  283. package/backend/node_modules/semver/functions/lte.js +0 -5
  284. package/backend/node_modules/semver/functions/major.js +0 -5
  285. package/backend/node_modules/semver/functions/minor.js +0 -5
  286. package/backend/node_modules/semver/functions/neq.js +0 -5
  287. package/backend/node_modules/semver/functions/parse.js +0 -18
  288. package/backend/node_modules/semver/functions/patch.js +0 -5
  289. package/backend/node_modules/semver/functions/prerelease.js +0 -8
  290. package/backend/node_modules/semver/functions/rcompare.js +0 -5
  291. package/backend/node_modules/semver/functions/rsort.js +0 -5
  292. package/backend/node_modules/semver/functions/satisfies.js +0 -12
  293. package/backend/node_modules/semver/functions/sort.js +0 -5
  294. package/backend/node_modules/semver/functions/valid.js +0 -8
  295. package/backend/node_modules/semver/index.js +0 -91
  296. package/backend/node_modules/semver/internal/constants.js +0 -37
  297. package/backend/node_modules/semver/internal/debug.js +0 -11
  298. package/backend/node_modules/semver/internal/identifiers.js +0 -29
  299. package/backend/node_modules/semver/internal/lrucache.js +0 -42
  300. package/backend/node_modules/semver/internal/parse-options.js +0 -17
  301. package/backend/node_modules/semver/internal/re.js +0 -223
  302. package/backend/node_modules/semver/package.json +0 -78
  303. package/backend/node_modules/semver/preload.js +0 -4
  304. package/backend/node_modules/semver/range.bnf +0 -16
  305. package/backend/node_modules/semver/ranges/gtr.js +0 -6
  306. package/backend/node_modules/semver/ranges/intersects.js +0 -9
  307. package/backend/node_modules/semver/ranges/ltr.js +0 -6
  308. package/backend/node_modules/semver/ranges/max-satisfying.js +0 -27
  309. package/backend/node_modules/semver/ranges/min-satisfying.js +0 -26
  310. package/backend/node_modules/semver/ranges/min-version.js +0 -63
  311. package/backend/node_modules/semver/ranges/outside.js +0 -82
  312. package/backend/node_modules/semver/ranges/simplify.js +0 -49
  313. package/backend/node_modules/semver/ranges/subset.js +0 -249
  314. package/backend/node_modules/semver/ranges/to-comparators.js +0 -10
  315. package/backend/node_modules/semver/ranges/valid.js +0 -13
  316. package/backend/node_modules/simple-concat/.travis.yml +0 -3
  317. package/backend/node_modules/simple-concat/index.js +0 -15
  318. package/backend/node_modules/simple-concat/package.json +0 -47
  319. package/backend/node_modules/simple-get/.github/dependabot.yml +0 -15
  320. package/backend/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  321. package/backend/node_modules/simple-get/index.js +0 -108
  322. package/backend/node_modules/simple-get/package.json +0 -67
  323. package/backend/node_modules/strip-json-comments/index.js +0 -70
  324. package/backend/node_modules/strip-json-comments/license +0 -21
  325. package/backend/node_modules/strip-json-comments/package.json +0 -42
  326. package/backend/node_modules/tar-fs/.travis.yml +0 -6
  327. package/backend/node_modules/tar-fs/index.js +0 -363
  328. package/backend/node_modules/tar-fs/node_modules/pump/.github/FUNDING.yml +0 -2
  329. package/backend/node_modules/tar-fs/node_modules/pump/.travis.yml +0 -5
  330. package/backend/node_modules/tar-fs/node_modules/pump/LICENSE +0 -21
  331. package/backend/node_modules/tar-fs/node_modules/pump/README.md +0 -74
  332. package/backend/node_modules/tar-fs/node_modules/pump/SECURITY.md +0 -5
  333. package/backend/node_modules/tar-fs/node_modules/pump/empty.js +0 -1
  334. package/backend/node_modules/tar-fs/node_modules/pump/index.js +0 -86
  335. package/backend/node_modules/tar-fs/node_modules/pump/package.json +0 -30
  336. package/backend/node_modules/tar-fs/node_modules/pump/test-browser.js +0 -66
  337. package/backend/node_modules/tar-fs/node_modules/pump/test-node.js +0 -53
  338. package/backend/node_modules/tar-fs/package.json +0 -41
  339. package/backend/node_modules/tar-stream/extract.js +0 -257
  340. package/backend/node_modules/tar-stream/headers.js +0 -295
  341. package/backend/node_modules/tar-stream/index.js +0 -2
  342. package/backend/node_modules/tar-stream/node_modules/bl/.travis.yml +0 -17
  343. package/backend/node_modules/tar-stream/node_modules/bl/BufferList.js +0 -396
  344. package/backend/node_modules/tar-stream/node_modules/bl/LICENSE.md +0 -13
  345. package/backend/node_modules/tar-stream/node_modules/bl/README.md +0 -247
  346. package/backend/node_modules/tar-stream/node_modules/bl/bl.js +0 -84
  347. package/backend/node_modules/tar-stream/node_modules/bl/package.json +0 -37
  348. package/backend/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  349. package/backend/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
  350. package/backend/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
  351. package/backend/node_modules/tar-stream/node_modules/readable-stream/README.md +0 -106
  352. package/backend/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +0 -127
  353. package/backend/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -116
  354. package/backend/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
  355. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  356. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  357. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  358. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  359. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  360. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  361. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  362. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  363. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  364. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  365. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  366. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  367. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  368. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  369. package/backend/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  370. package/backend/node_modules/tar-stream/node_modules/readable-stream/package.json +0 -68
  371. package/backend/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +0 -9
  372. package/backend/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -16
  373. package/backend/node_modules/tar-stream/pack.js +0 -255
  374. package/backend/node_modules/tar-stream/package.json +0 -58
  375. package/backend/node_modules/tar-stream/sandbox.js +0 -11
  376. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__008d27c3._.js +0 -3
  377. package/frontend/.next/server/chunks/ssr/[root-of-the-server]__69cb56c5._.js +0 -3
  378. package/frontend/.next/server/chunks/ssr/_e17fe96b._.js +0 -3
  379. package/frontend/.next/static/chunks/641e855850e79de9.css +0 -3
  380. package/frontend/.next/static/chunks/88faea50dcf8f778.js +0 -1
  381. package/frontend/.next/static/chunks/8ffedcb68f4a998f.js +0 -1
  382. package/frontend/.next/static/chunks/a909e37955d0604e.js +0 -1
  383. package/frontend/.next/static/chunks/ba72b58eb8cb3f4e.js +0 -1
  384. package/frontend/.next/static/chunks/c8ee4845be50f9b7.js +0 -1
  385. package/frontend/.next/static/chunks/e975763f7a359fb5.js +0 -1
  386. /package/frontend/.next/static/{3i-dBEEyQLocTNHX5oPZn → w4h18_Clp_ODehKO0HkwI}/_buildManifest.js +0 -0
  387. /package/frontend/.next/static/{3i-dBEEyQLocTNHX5oPZn → w4h18_Clp_ODehKO0HkwI}/_clientMiddlewareManifest.json +0 -0
  388. /package/frontend/.next/static/{3i-dBEEyQLocTNHX5oPZn → w4h18_Clp_ODehKO0HkwI}/_ssgManifest.js +0 -0
@@ -1,96 +0,0 @@
1
- {
2
- "name": "buffer",
3
- "description": "Node.js Buffer API, for the browser",
4
- "version": "5.7.1",
5
- "author": {
6
- "name": "Feross Aboukhadijeh",
7
- "email": "feross@feross.org",
8
- "url": "https://feross.org"
9
- },
10
- "bugs": {
11
- "url": "https://github.com/feross/buffer/issues"
12
- },
13
- "contributors": [
14
- "Romain Beauxis <toots@rastageeks.org>",
15
- "James Halliday <mail@substack.net>"
16
- ],
17
- "dependencies": {
18
- "base64-js": "^1.3.1",
19
- "ieee754": "^1.1.13"
20
- },
21
- "devDependencies": {
22
- "airtap": "^3.0.0",
23
- "benchmark": "^2.1.4",
24
- "browserify": "^17.0.0",
25
- "concat-stream": "^2.0.0",
26
- "hyperquest": "^2.1.3",
27
- "is-buffer": "^2.0.4",
28
- "is-nan": "^1.3.0",
29
- "split": "^1.0.1",
30
- "standard": "*",
31
- "tape": "^5.0.1",
32
- "through2": "^4.0.2",
33
- "uglify-js": "^3.11.3"
34
- },
35
- "homepage": "https://github.com/feross/buffer",
36
- "jspm": {
37
- "map": {
38
- "./index.js": {
39
- "node": "@node/buffer"
40
- }
41
- }
42
- },
43
- "keywords": [
44
- "arraybuffer",
45
- "browser",
46
- "browserify",
47
- "buffer",
48
- "compatible",
49
- "dataview",
50
- "uint8array"
51
- ],
52
- "license": "MIT",
53
- "main": "index.js",
54
- "types": "index.d.ts",
55
- "repository": {
56
- "type": "git",
57
- "url": "git://github.com/feross/buffer.git"
58
- },
59
- "scripts": {
60
- "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html",
61
- "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
62
- "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c",
63
- "test": "standard && node ./bin/test.js",
64
- "test-browser-es5": "airtap -- test/*.js",
65
- "test-browser-es5-local": "airtap --local -- test/*.js",
66
- "test-browser-es6": "airtap -- test/*.js test/node/*.js",
67
- "test-browser-es6-local": "airtap --local -- test/*.js test/node/*.js",
68
- "test-node": "tape test/*.js test/node/*.js",
69
- "update-authors": "./bin/update-authors.sh"
70
- },
71
- "standard": {
72
- "ignore": [
73
- "test/node/**/*.js",
74
- "test/common.js",
75
- "test/_polyfill.js",
76
- "perf/**/*.js"
77
- ],
78
- "globals": [
79
- "SharedArrayBuffer"
80
- ]
81
- },
82
- "funding": [
83
- {
84
- "type": "github",
85
- "url": "https://github.com/sponsors/feross"
86
- },
87
- {
88
- "type": "patreon",
89
- "url": "https://www.patreon.com/feross"
90
- },
91
- {
92
- "type": "consulting",
93
- "url": "https://feross.org/support"
94
- }
95
- ]
96
- }
@@ -1,167 +0,0 @@
1
- 'use strict'
2
- const fs = require('fs')
3
- const path = require('path')
4
-
5
- /* istanbul ignore next */
6
- const LCHOWN = fs.lchown ? 'lchown' : 'chown'
7
- /* istanbul ignore next */
8
- const LCHOWNSYNC = fs.lchownSync ? 'lchownSync' : 'chownSync'
9
-
10
- /* istanbul ignore next */
11
- const needEISDIRHandled = fs.lchown &&
12
- !process.version.match(/v1[1-9]+\./) &&
13
- !process.version.match(/v10\.[6-9]/)
14
-
15
- const lchownSync = (path, uid, gid) => {
16
- try {
17
- return fs[LCHOWNSYNC](path, uid, gid)
18
- } catch (er) {
19
- if (er.code !== 'ENOENT')
20
- throw er
21
- }
22
- }
23
-
24
- /* istanbul ignore next */
25
- const chownSync = (path, uid, gid) => {
26
- try {
27
- return fs.chownSync(path, uid, gid)
28
- } catch (er) {
29
- if (er.code !== 'ENOENT')
30
- throw er
31
- }
32
- }
33
-
34
- /* istanbul ignore next */
35
- const handleEISDIR =
36
- needEISDIRHandled ? (path, uid, gid, cb) => er => {
37
- // Node prior to v10 had a very questionable implementation of
38
- // fs.lchown, which would always try to call fs.open on a directory
39
- // Fall back to fs.chown in those cases.
40
- if (!er || er.code !== 'EISDIR')
41
- cb(er)
42
- else
43
- fs.chown(path, uid, gid, cb)
44
- }
45
- : (_, __, ___, cb) => cb
46
-
47
- /* istanbul ignore next */
48
- const handleEISDirSync =
49
- needEISDIRHandled ? (path, uid, gid) => {
50
- try {
51
- return lchownSync(path, uid, gid)
52
- } catch (er) {
53
- if (er.code !== 'EISDIR')
54
- throw er
55
- chownSync(path, uid, gid)
56
- }
57
- }
58
- : (path, uid, gid) => lchownSync(path, uid, gid)
59
-
60
- // fs.readdir could only accept an options object as of node v6
61
- const nodeVersion = process.version
62
- let readdir = (path, options, cb) => fs.readdir(path, options, cb)
63
- let readdirSync = (path, options) => fs.readdirSync(path, options)
64
- /* istanbul ignore next */
65
- if (/^v4\./.test(nodeVersion))
66
- readdir = (path, options, cb) => fs.readdir(path, cb)
67
-
68
- const chown = (cpath, uid, gid, cb) => {
69
- fs[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, er => {
70
- // Skip ENOENT error
71
- cb(er && er.code !== 'ENOENT' ? er : null)
72
- }))
73
- }
74
-
75
- const chownrKid = (p, child, uid, gid, cb) => {
76
- if (typeof child === 'string')
77
- return fs.lstat(path.resolve(p, child), (er, stats) => {
78
- // Skip ENOENT error
79
- if (er)
80
- return cb(er.code !== 'ENOENT' ? er : null)
81
- stats.name = child
82
- chownrKid(p, stats, uid, gid, cb)
83
- })
84
-
85
- if (child.isDirectory()) {
86
- chownr(path.resolve(p, child.name), uid, gid, er => {
87
- if (er)
88
- return cb(er)
89
- const cpath = path.resolve(p, child.name)
90
- chown(cpath, uid, gid, cb)
91
- })
92
- } else {
93
- const cpath = path.resolve(p, child.name)
94
- chown(cpath, uid, gid, cb)
95
- }
96
- }
97
-
98
-
99
- const chownr = (p, uid, gid, cb) => {
100
- readdir(p, { withFileTypes: true }, (er, children) => {
101
- // any error other than ENOTDIR or ENOTSUP means it's not readable,
102
- // or doesn't exist. give up.
103
- if (er) {
104
- if (er.code === 'ENOENT')
105
- return cb()
106
- else if (er.code !== 'ENOTDIR' && er.code !== 'ENOTSUP')
107
- return cb(er)
108
- }
109
- if (er || !children.length)
110
- return chown(p, uid, gid, cb)
111
-
112
- let len = children.length
113
- let errState = null
114
- const then = er => {
115
- if (errState)
116
- return
117
- if (er)
118
- return cb(errState = er)
119
- if (-- len === 0)
120
- return chown(p, uid, gid, cb)
121
- }
122
-
123
- children.forEach(child => chownrKid(p, child, uid, gid, then))
124
- })
125
- }
126
-
127
- const chownrKidSync = (p, child, uid, gid) => {
128
- if (typeof child === 'string') {
129
- try {
130
- const stats = fs.lstatSync(path.resolve(p, child))
131
- stats.name = child
132
- child = stats
133
- } catch (er) {
134
- if (er.code === 'ENOENT')
135
- return
136
- else
137
- throw er
138
- }
139
- }
140
-
141
- if (child.isDirectory())
142
- chownrSync(path.resolve(p, child.name), uid, gid)
143
-
144
- handleEISDirSync(path.resolve(p, child.name), uid, gid)
145
- }
146
-
147
- const chownrSync = (p, uid, gid) => {
148
- let children
149
- try {
150
- children = readdirSync(p, { withFileTypes: true })
151
- } catch (er) {
152
- if (er.code === 'ENOENT')
153
- return
154
- else if (er.code === 'ENOTDIR' || er.code === 'ENOTSUP')
155
- return handleEISDirSync(p, uid, gid)
156
- else
157
- throw er
158
- }
159
-
160
- if (children && children.length)
161
- children.forEach(child => chownrKidSync(p, child, uid, gid))
162
-
163
- return handleEISDirSync(p, uid, gid)
164
- }
165
-
166
- module.exports = chownr
167
- chownr.sync = chownrSync
@@ -1,29 +0,0 @@
1
- {
2
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
3
- "name": "chownr",
4
- "description": "like `chown -R`",
5
- "version": "1.1.4",
6
- "repository": {
7
- "type": "git",
8
- "url": "git://github.com/isaacs/chownr.git"
9
- },
10
- "main": "chownr.js",
11
- "files": [
12
- "chownr.js"
13
- ],
14
- "devDependencies": {
15
- "mkdirp": "0.3",
16
- "rimraf": "^2.7.1",
17
- "tap": "^14.10.6"
18
- },
19
- "tap": {
20
- "check-coverage": true
21
- },
22
- "scripts": {
23
- "test": "tap",
24
- "preversion": "npm test",
25
- "postversion": "npm publish",
26
- "prepublishOnly": "git push origin --follow-tags"
27
- },
28
- "license": "ISC"
29
- }
@@ -1,22 +0,0 @@
1
- /// <reference types="node"/>
2
- import {IncomingMessage} from 'http';
3
-
4
- /**
5
- Decompress a HTTP response if needed.
6
-
7
- @param response - The HTTP incoming stream with compressed data.
8
- @returns The decompressed HTTP response stream.
9
-
10
- @example
11
- ```
12
- import {http} from 'http';
13
- import decompressResponse = require('decompress-response');
14
-
15
- http.get('https://sindresorhus.com', response => {
16
- response = decompressResponse(response);
17
- });
18
- ```
19
- */
20
- declare function decompressResponse(response: IncomingMessage): IncomingMessage;
21
-
22
- export = decompressResponse;
@@ -1,58 +0,0 @@
1
- 'use strict';
2
- const {Transform, PassThrough} = require('stream');
3
- const zlib = require('zlib');
4
- const mimicResponse = require('mimic-response');
5
-
6
- module.exports = response => {
7
- const contentEncoding = (response.headers['content-encoding'] || '').toLowerCase();
8
-
9
- if (!['gzip', 'deflate', 'br'].includes(contentEncoding)) {
10
- return response;
11
- }
12
-
13
- // TODO: Remove this when targeting Node.js 12.
14
- const isBrotli = contentEncoding === 'br';
15
- if (isBrotli && typeof zlib.createBrotliDecompress !== 'function') {
16
- response.destroy(new Error('Brotli is not supported on Node.js < 12'));
17
- return response;
18
- }
19
-
20
- let isEmpty = true;
21
-
22
- const checker = new Transform({
23
- transform(data, _encoding, callback) {
24
- isEmpty = false;
25
-
26
- callback(null, data);
27
- },
28
-
29
- flush(callback) {
30
- callback();
31
- }
32
- });
33
-
34
- const finalStream = new PassThrough({
35
- autoDestroy: false,
36
- destroy(error, callback) {
37
- response.destroy();
38
-
39
- callback(error);
40
- }
41
- });
42
-
43
- const decompressStream = isBrotli ? zlib.createBrotliDecompress() : zlib.createUnzip();
44
-
45
- decompressStream.once('error', error => {
46
- if (isEmpty && !response.readable) {
47
- finalStream.end();
48
- return;
49
- }
50
-
51
- finalStream.destroy(error);
52
- });
53
-
54
- mimicResponse(response, finalStream);
55
- response.pipe(checker).pipe(decompressStream).pipe(finalStream);
56
-
57
- return finalStream;
58
- };
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,56 +0,0 @@
1
- {
2
- "name": "decompress-response",
3
- "version": "6.0.0",
4
- "description": "Decompress a HTTP response if needed",
5
- "license": "MIT",
6
- "repository": "sindresorhus/decompress-response",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "engines": {
14
- "node": ">=10"
15
- },
16
- "scripts": {
17
- "test": "xo && ava && tsd"
18
- },
19
- "files": [
20
- "index.js",
21
- "index.d.ts"
22
- ],
23
- "keywords": [
24
- "decompress",
25
- "response",
26
- "http",
27
- "https",
28
- "zlib",
29
- "gzip",
30
- "zip",
31
- "deflate",
32
- "unzip",
33
- "ungzip",
34
- "incoming",
35
- "message",
36
- "stream",
37
- "compressed",
38
- "brotli"
39
- ],
40
- "dependencies": {
41
- "mimic-response": "^3.1.0"
42
- },
43
- "devDependencies": {
44
- "@types/node": "^14.0.1",
45
- "ava": "^2.2.0",
46
- "get-stream": "^5.0.0",
47
- "pify": "^5.0.0",
48
- "tsd": "^0.11.0",
49
- "xo": "^0.30.0"
50
- },
51
- "xo": {
52
- "rules": {
53
- "@typescript-eslint/prefer-readonly-parameter-types": "off"
54
- }
55
- }
56
- }
@@ -1 +0,0 @@
1
- module.exports = require('./lib/deep-extend');
@@ -1,150 +0,0 @@
1
- /*!
2
- * @description Recursive object extending
3
- * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
4
- * @license MIT
5
- *
6
- * The MIT License (MIT)
7
- *
8
- * Copyright (c) 2013-2018 Viacheslav Lotsmanov
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
11
- * this software and associated documentation files (the "Software"), to deal in
12
- * the Software without restriction, including without limitation the rights to
13
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
14
- * the Software, and to permit persons to whom the Software is furnished to do so,
15
- * subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in all
18
- * copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
22
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
23
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
24
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
- */
27
-
28
- 'use strict';
29
-
30
- function isSpecificValue(val) {
31
- return (
32
- val instanceof Buffer
33
- || val instanceof Date
34
- || val instanceof RegExp
35
- ) ? true : false;
36
- }
37
-
38
- function cloneSpecificValue(val) {
39
- if (val instanceof Buffer) {
40
- var x = Buffer.alloc
41
- ? Buffer.alloc(val.length)
42
- : new Buffer(val.length);
43
- val.copy(x);
44
- return x;
45
- } else if (val instanceof Date) {
46
- return new Date(val.getTime());
47
- } else if (val instanceof RegExp) {
48
- return new RegExp(val);
49
- } else {
50
- throw new Error('Unexpected situation');
51
- }
52
- }
53
-
54
- /**
55
- * Recursive cloning array.
56
- */
57
- function deepCloneArray(arr) {
58
- var clone = [];
59
- arr.forEach(function (item, index) {
60
- if (typeof item === 'object' && item !== null) {
61
- if (Array.isArray(item)) {
62
- clone[index] = deepCloneArray(item);
63
- } else if (isSpecificValue(item)) {
64
- clone[index] = cloneSpecificValue(item);
65
- } else {
66
- clone[index] = deepExtend({}, item);
67
- }
68
- } else {
69
- clone[index] = item;
70
- }
71
- });
72
- return clone;
73
- }
74
-
75
- function safeGetProperty(object, property) {
76
- return property === '__proto__' ? undefined : object[property];
77
- }
78
-
79
- /**
80
- * Extening object that entered in first argument.
81
- *
82
- * Returns extended object or false if have no target object or incorrect type.
83
- *
84
- * If you wish to clone source object (without modify it), just use empty new
85
- * object as first argument, like this:
86
- * deepExtend({}, yourObj_1, [yourObj_N]);
87
- */
88
- var deepExtend = module.exports = function (/*obj_1, [obj_2], [obj_N]*/) {
89
- if (arguments.length < 1 || typeof arguments[0] !== 'object') {
90
- return false;
91
- }
92
-
93
- if (arguments.length < 2) {
94
- return arguments[0];
95
- }
96
-
97
- var target = arguments[0];
98
-
99
- // convert arguments to array and cut off target object
100
- var args = Array.prototype.slice.call(arguments, 1);
101
-
102
- var val, src, clone;
103
-
104
- args.forEach(function (obj) {
105
- // skip argument if isn't an object, is null, or is an array
106
- if (typeof obj !== 'object' || obj === null || Array.isArray(obj)) {
107
- return;
108
- }
109
-
110
- Object.keys(obj).forEach(function (key) {
111
- src = safeGetProperty(target, key); // source value
112
- val = safeGetProperty(obj, key); // new value
113
-
114
- // recursion prevention
115
- if (val === target) {
116
- return;
117
-
118
- /**
119
- * if new value isn't object then just overwrite by new value
120
- * instead of extending.
121
- */
122
- } else if (typeof val !== 'object' || val === null) {
123
- target[key] = val;
124
- return;
125
-
126
- // just clone arrays (and recursive clone objects inside)
127
- } else if (Array.isArray(val)) {
128
- target[key] = deepCloneArray(val);
129
- return;
130
-
131
- // custom cloning and overwrite for specific objects
132
- } else if (isSpecificValue(val)) {
133
- target[key] = cloneSpecificValue(val);
134
- return;
135
-
136
- // overwrite by new value if source isn't object or array
137
- } else if (typeof src !== 'object' || src === null || Array.isArray(src)) {
138
- target[key] = deepExtend({}, val);
139
- return;
140
-
141
- // source value and new value is objects both, extending...
142
- } else {
143
- target[key] = deepExtend(src, val);
144
- return;
145
- }
146
- });
147
- });
148
-
149
- return target;
150
- };
@@ -1,62 +0,0 @@
1
- {
2
- "name": "deep-extend",
3
- "description": "Recursive object extending",
4
- "license": "MIT",
5
- "version": "0.6.0",
6
- "homepage": "https://github.com/unclechu/node-deep-extend",
7
- "keywords": [
8
- "deep-extend",
9
- "extend",
10
- "deep",
11
- "recursive",
12
- "xtend",
13
- "clone",
14
- "merge",
15
- "json"
16
- ],
17
- "licenses": [
18
- {
19
- "type": "MIT",
20
- "url": "https://raw.githubusercontent.com/unclechu/node-deep-extend/master/LICENSE"
21
- }
22
- ],
23
- "repository": {
24
- "type": "git",
25
- "url": "git://github.com/unclechu/node-deep-extend.git"
26
- },
27
- "author": "Viacheslav Lotsmanov <lotsmanov89@gmail.com>",
28
- "bugs": "https://github.com/unclechu/node-deep-extend/issues",
29
- "contributors": [
30
- {
31
- "name": "Romain Prieto",
32
- "url": "https://github.com/rprieto"
33
- },
34
- {
35
- "name": "Max Maximov",
36
- "url": "https://github.com/maxmaximov"
37
- },
38
- {
39
- "name": "Marshall Bowers",
40
- "url": "https://github.com/maxdeviant"
41
- },
42
- {
43
- "name": "Misha Wakerman",
44
- "url": "https://github.com/mwakerman"
45
- }
46
- ],
47
- "main": "lib/deep-extend.js",
48
- "engines": {
49
- "node": ">=4.0.0"
50
- },
51
- "scripts": {
52
- "test": "./node_modules/.bin/mocha"
53
- },
54
- "devDependencies": {
55
- "mocha": "5.2.0",
56
- "should": "13.2.1"
57
- },
58
- "files": [
59
- "index.js",
60
- "lib/"
61
- ]
62
- }
@@ -1,14 +0,0 @@
1
- // Copyright 2017 Lovell Fuller and others.
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- export const GLIBC: 'glibc';
5
- export const MUSL: 'musl';
6
-
7
- export function family(): Promise<string | null>;
8
- export function familySync(): string | null;
9
-
10
- export function isNonGlibcLinux(): Promise<boolean>;
11
- export function isNonGlibcLinuxSync(): boolean;
12
-
13
- export function version(): Promise<string | null>;
14
- export function versionSync(): string | null;