@ontos-ai/knowhere-claw 0.2.1 → 0.2.2

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 (219) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -35
  2. package/dist/client.js +1 -1
  3. package/dist/graph-builder.js +8 -4
  4. package/dist/kg-service.js +25 -28
  5. package/dist/parser.js +1 -1
  6. package/openclaw.plugin.json +1 -1
  7. package/package.json +2 -1
  8. package/dist/node_modules/.pnpm/@knowhere-ai_sdk@0.1.1/node_modules/@knowhere-ai/sdk/dist/index.js +0 -717
  9. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +0 -212
  10. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +0 -35
  11. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.js +0 -2609
  12. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +0 -142
  13. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +0 -103
  14. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +0 -199
  15. package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/package.js +0 -67
  16. package/dist/node_modules/.pnpm/abbrev@1.1.1/node_modules/abbrev/abbrev.js +0 -59
  17. package/dist/node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js +0 -11
  18. package/dist/node_modules/.pnpm/aproba@2.1.0/node_modules/aproba/index.js +0 -119
  19. package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/index.js +0 -13
  20. package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-base.js +0 -16
  21. package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-group.js +0 -98
  22. package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-stream.js +0 -37
  23. package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker.js +0 -32
  24. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js +0 -83
  25. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js +0 -170
  26. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js +0 -106
  27. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js +0 -57
  28. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js +0 -90
  29. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js +0 -20
  30. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js +0 -6
  31. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js +0 -174
  32. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js +0 -70
  33. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js +0 -204
  34. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js +0 -60
  35. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js +0 -20
  36. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js +0 -52
  37. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js +0 -81
  38. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js +0 -18
  39. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js +0 -25
  40. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js +0 -107
  41. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js +0 -9
  42. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js +0 -4
  43. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -50
  44. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  45. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js +0 -15
  46. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js +0 -40
  47. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  48. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js +0 -39
  49. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js +0 -31
  50. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js +0 -67
  51. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  52. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  53. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
  54. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  55. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  56. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js +0 -38
  57. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js +0 -36
  58. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js +0 -36
  59. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js +0 -29
  60. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js +0 -38
  61. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js +0 -151
  62. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
  63. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js +0 -69
  64. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js +0 -76
  65. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  66. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  67. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  68. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js +0 -22
  69. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js +0 -46
  70. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js +0 -9
  71. package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js +0 -698
  72. package/dist/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js +0 -53
  73. package/dist/node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js +0 -132
  74. package/dist/node_modules/.pnpm/color-support@1.1.3/node_modules/color-support/browser.js +0 -18
  75. package/dist/node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js +0 -19
  76. package/dist/node_modules/.pnpm/console-control-strings@1.1.0/node_modules/console-control-strings/index.js +0 -104
  77. package/dist/node_modules/.pnpm/delegates@1.0.0/node_modules/delegates/index.js +0 -104
  78. package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js +0 -221
  79. package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js +0 -26
  80. package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/filesystem.js +0 -48
  81. package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js +0 -24
  82. package/dist/node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js +0 -10
  83. package/dist/node_modules/.pnpm/fflate@0.8.2/node_modules/fflate/esm/browser.js +0 -426
  84. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy-sync.js +0 -120
  85. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy.js +0 -100
  86. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/index.js +0 -15
  87. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/empty/index.js +0 -43
  88. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/file.js +0 -53
  89. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/index.js +0 -27
  90. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/link.js +0 -56
  91. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -89
  92. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -35
  93. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink.js +0 -81
  94. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/fs/index.js +0 -113
  95. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/index.js +0 -29
  96. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/index.js +0 -22
  97. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/jsonfile.js +0 -15
  98. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json-sync.js +0 -15
  99. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json.js +0 -15
  100. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/index.js +0 -20
  101. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -33
  102. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/utils.js +0 -17
  103. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/index.js +0 -15
  104. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move-sync.js +0 -56
  105. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move.js +0 -49
  106. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/output-file/index.js +0 -30
  107. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/path-exists/index.js +0 -18
  108. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/remove/index.js +0 -27
  109. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/async.js +0 -15
  110. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/stat.js +0 -131
  111. package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/utimes.js +0 -34
  112. package/dist/node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js +0 -51
  113. package/dist/node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js +0 -171
  114. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/base-theme.js +0 -21
  115. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/error.js +0 -27
  116. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/has-color.js +0 -9
  117. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/index.js +0 -224
  118. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/plumbing.js +0 -48
  119. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/process.js +0 -8
  120. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/progress-bar.js +0 -46
  121. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/render-template.js +0 -155
  122. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/set-immediate.js +0 -14
  123. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/set-interval.js +0 -8
  124. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/spin.js +0 -10
  125. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/template-item.js +0 -58
  126. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/theme-set.js +0 -99
  127. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/themes.js +0 -67
  128. package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/wide-truncate.js +0 -22
  129. package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/common.js +0 -162
  130. package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/glob.js +0 -451
  131. package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/sync.js +0 -280
  132. package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js +0 -20
  133. package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js +0 -362
  134. package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js +0 -92
  135. package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js +0 -255
  136. package/dist/node_modules/.pnpm/has-unicode@2.0.1/node_modules/has-unicode/index.js +0 -14
  137. package/dist/node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js +0 -45
  138. package/dist/node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js +0 -27
  139. package/dist/node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js +0 -14
  140. package/dist/node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/index.js +0 -68
  141. package/dist/node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/utils.js +0 -19
  142. package/dist/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js +0 -3110
  143. package/dist/node_modules/.pnpm/minimatch@3.1.5/node_modules/minimatch/minimatch.js +0 -578
  144. package/dist/node_modules/.pnpm/nodejieba@2.6.0/node_modules/nodejieba/index.js +0 -46
  145. package/dist/node_modules/.pnpm/nopt@5.0.0/node_modules/nopt/lib/nopt.js +0 -330
  146. package/dist/node_modules/.pnpm/npmlog@5.0.1/node_modules/npmlog/log.js +0 -305
  147. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +0 -54
  148. package/dist/node_modules/.pnpm/once@1.4.0/node_modules/once/once.js +0 -44
  149. package/dist/node_modules/.pnpm/path-is-absolute@1.0.1/node_modules/path-is-absolute/index.js +0 -19
  150. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js +0 -88
  151. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
  152. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_passthrough.js +0 -19
  153. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js +0 -666
  154. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js +0 -89
  155. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js +0 -423
  156. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -172
  157. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -243
  158. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -77
  159. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -87
  160. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -10
  161. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -80
  162. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js +0 -21
  163. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -8
  164. package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/readable-browser.js +0 -23
  165. package/dist/node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js +0 -229
  166. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js +0 -79
  167. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js +0 -282
  168. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js +0 -186
  169. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js +0 -14
  170. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js +0 -41
  171. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js +0 -34
  172. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js +0 -15
  173. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js +0 -11
  174. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js +0 -11
  175. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js +0 -32
  176. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js +0 -11
  177. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js +0 -11
  178. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js +0 -11
  179. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js +0 -22
  180. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js +0 -11
  181. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js +0 -11
  182. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js +0 -11
  183. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js +0 -11
  184. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js +0 -11
  185. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js +0 -19
  186. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js +0 -11
  187. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js +0 -14
  188. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js +0 -11
  189. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js +0 -11
  190. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js +0 -18
  191. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js +0 -11
  192. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js +0 -14
  193. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js +0 -99
  194. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js +0 -28
  195. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js +0 -8
  196. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js +0 -23
  197. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js +0 -36
  198. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js +0 -15
  199. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js +0 -84
  200. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js +0 -11
  201. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js +0 -15
  202. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js +0 -11
  203. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js +0 -31
  204. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js +0 -31
  205. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js +0 -45
  206. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js +0 -64
  207. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js +0 -35
  208. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js +0 -102
  209. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js +0 -11
  210. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js +0 -17
  211. package/dist/node_modules/.pnpm/set-blocking@2.0.0/node_modules/set-blocking/index.js +0 -12
  212. package/dist/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js +0 -130
  213. package/dist/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js +0 -16
  214. package/dist/node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js +0 -30
  215. package/dist/node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js +0 -10
  216. package/dist/node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js +0 -26
  217. package/dist/node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js +0 -59
  218. package/dist/node_modules/.pnpm/wide-align@1.1.5/node_modules/wide-align/align.js +0 -52
  219. package/dist/node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js +0 -26
@@ -1,15 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_jsonfile as require_jsonfile$1 } from "../../../../../jsonfile@6.2.0/node_modules/jsonfile/index.js";
3
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/jsonfile.js
4
- var require_jsonfile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
- const jsonFile = require_jsonfile$1();
6
- module.exports = {
7
- readJson: jsonFile.readFile,
8
- readJsonSync: jsonFile.readFileSync,
9
- writeJson: jsonFile.writeFile,
10
- writeJsonSync: jsonFile.writeFileSync
11
- };
12
- }));
13
- //#endregion
14
- export default require_jsonfile();
15
- export { require_jsonfile };
@@ -1,15 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_utils } from "../../../../../jsonfile@6.2.0/node_modules/jsonfile/utils.js";
3
- import { require_output_file } from "../output-file/index.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json-sync.js
5
- var require_output_json_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const { stringify } = require_utils();
7
- const { outputFileSync } = require_output_file();
8
- function outputJsonSync(file, data, options) {
9
- outputFileSync(file, stringify(data, options), options);
10
- }
11
- module.exports = outputJsonSync;
12
- }));
13
- //#endregion
14
- export default require_output_json_sync();
15
- export { require_output_json_sync };
@@ -1,15 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_utils } from "../../../../../jsonfile@6.2.0/node_modules/jsonfile/utils.js";
3
- import { require_output_file } from "../output-file/index.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json.js
5
- var require_output_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const { stringify } = require_utils();
7
- const { outputFile } = require_output_file();
8
- async function outputJson(file, data, options = {}) {
9
- await outputFile(file, stringify(data, options), options);
10
- }
11
- module.exports = outputJson;
12
- }));
13
- //#endregion
14
- export default require_output_json();
15
- export { require_output_json };
@@ -1,20 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_make_dir } from "./make-dir.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/index.js
5
- var require_mkdirs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const u = require_universalify().fromPromise;
7
- const { makeDir: _makeDir, makeDirSync } = require_make_dir();
8
- const makeDir = u(_makeDir);
9
- module.exports = {
10
- mkdirs: makeDir,
11
- mkdirsSync: makeDirSync,
12
- mkdirp: makeDir,
13
- mkdirpSync: makeDirSync,
14
- ensureDir: makeDir,
15
- ensureDirSync: makeDirSync
16
- };
17
- }));
18
- //#endregion
19
- export default require_mkdirs();
20
- export { require_mkdirs };
@@ -1,33 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_fs } from "../fs/index.js";
3
- import { require_utils } from "./utils.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/make-dir.js
5
- var require_make_dir = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const fs = require_fs();
7
- const { checkPath } = require_utils();
8
- const getMode = (options) => {
9
- const defaults = { mode: 511 };
10
- if (typeof options === "number") return options;
11
- return {
12
- ...defaults,
13
- ...options
14
- }.mode;
15
- };
16
- module.exports.makeDir = async (dir, options) => {
17
- checkPath(dir);
18
- return fs.mkdir(dir, {
19
- mode: getMode(options),
20
- recursive: true
21
- });
22
- };
23
- module.exports.makeDirSync = (dir, options) => {
24
- checkPath(dir);
25
- return fs.mkdirSync(dir, {
26
- mode: getMode(options),
27
- recursive: true
28
- });
29
- };
30
- }));
31
- //#endregion
32
- export default require_make_dir();
33
- export { require_make_dir };
@@ -1,17 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/utils.js
3
- var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- const path = __require("path");
5
- module.exports.checkPath = function checkPath(pth) {
6
- if (process.platform === "win32") {
7
- if (/[<>:"|?*]/.test(pth.replace(path.parse(pth).root, ""))) {
8
- const error = /* @__PURE__ */ new Error(`Path contains invalid characters: ${pth}`);
9
- error.code = "EINVAL";
10
- throw error;
11
- }
12
- }
13
- };
14
- }));
15
- //#endregion
16
- export default require_utils();
17
- export { require_utils };
@@ -1,15 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_move as require_move$1 } from "./move.js";
4
- import { require_move_sync } from "./move-sync.js";
5
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/index.js
6
- var require_move = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7
- const u = require_universalify().fromPromise;
8
- module.exports = {
9
- move: u(require_move$1()),
10
- moveSync: require_move_sync()
11
- };
12
- }));
13
- //#endregion
14
- export default require_move();
15
- export { require_move };
@@ -1,56 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_graceful_fs } from "../../../../../graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js";
3
- import { require_mkdirs } from "../mkdirs/index.js";
4
- import { require_stat } from "../util/stat.js";
5
- import { require_copy } from "../copy/index.js";
6
- import { require_remove } from "../remove/index.js";
7
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move-sync.js
8
- var require_move_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9
- const fs = require_graceful_fs();
10
- const path = __require("path");
11
- const copySync = require_copy().copySync;
12
- const removeSync = require_remove().removeSync;
13
- const mkdirpSync = require_mkdirs().mkdirpSync;
14
- const stat = require_stat();
15
- function moveSync(src, dest, opts) {
16
- opts = opts || {};
17
- const overwrite = opts.overwrite || opts.clobber || false;
18
- const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, "move", opts);
19
- stat.checkParentPathsSync(src, srcStat, dest, "move");
20
- if (!isParentRoot(dest)) mkdirpSync(path.dirname(dest));
21
- return doRename(src, dest, overwrite, isChangingCase);
22
- }
23
- function isParentRoot(dest) {
24
- const parent = path.dirname(dest);
25
- return path.parse(parent).root === parent;
26
- }
27
- function doRename(src, dest, overwrite, isChangingCase) {
28
- if (isChangingCase) return rename(src, dest, overwrite);
29
- if (overwrite) {
30
- removeSync(dest);
31
- return rename(src, dest, overwrite);
32
- }
33
- if (fs.existsSync(dest)) throw new Error("dest already exists.");
34
- return rename(src, dest, overwrite);
35
- }
36
- function rename(src, dest, overwrite) {
37
- try {
38
- fs.renameSync(src, dest);
39
- } catch (err) {
40
- if (err.code !== "EXDEV") throw err;
41
- return moveAcrossDevice(src, dest, overwrite);
42
- }
43
- }
44
- function moveAcrossDevice(src, dest, overwrite) {
45
- copySync(src, dest, {
46
- overwrite,
47
- errorOnExist: true,
48
- preserveTimestamps: true
49
- });
50
- return removeSync(src);
51
- }
52
- module.exports = moveSync;
53
- }));
54
- //#endregion
55
- export default require_move_sync();
56
- export { require_move_sync };
@@ -1,49 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_fs } from "../fs/index.js";
3
- import { require_mkdirs } from "../mkdirs/index.js";
4
- import { require_path_exists } from "../path-exists/index.js";
5
- import { require_stat } from "../util/stat.js";
6
- import { require_copy } from "../copy/index.js";
7
- import { require_remove } from "../remove/index.js";
8
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move.js
9
- var require_move = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10
- const fs = require_fs();
11
- const path = __require("path");
12
- const { copy } = require_copy();
13
- const { remove } = require_remove();
14
- const { mkdirp } = require_mkdirs();
15
- const { pathExists } = require_path_exists();
16
- const stat = require_stat();
17
- async function move(src, dest, opts = {}) {
18
- const overwrite = opts.overwrite || opts.clobber || false;
19
- const { srcStat, isChangingCase = false } = await stat.checkPaths(src, dest, "move", opts);
20
- await stat.checkParentPaths(src, srcStat, dest, "move");
21
- const destParent = path.dirname(dest);
22
- if (path.parse(destParent).root !== destParent) await mkdirp(destParent);
23
- return doRename(src, dest, overwrite, isChangingCase);
24
- }
25
- async function doRename(src, dest, overwrite, isChangingCase) {
26
- if (!isChangingCase) {
27
- if (overwrite) await remove(dest);
28
- else if (await pathExists(dest)) throw new Error("dest already exists.");
29
- }
30
- try {
31
- await fs.rename(src, dest);
32
- } catch (err) {
33
- if (err.code !== "EXDEV") throw err;
34
- await moveAcrossDevice(src, dest, overwrite);
35
- }
36
- }
37
- async function moveAcrossDevice(src, dest, overwrite) {
38
- await copy(src, dest, {
39
- overwrite,
40
- errorOnExist: true,
41
- preserveTimestamps: true
42
- });
43
- return remove(src);
44
- }
45
- module.exports = move;
46
- }));
47
- //#endregion
48
- export default require_move();
49
- export { require_move };
@@ -1,30 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_fs } from "../fs/index.js";
4
- import { require_mkdirs } from "../mkdirs/index.js";
5
- import { require_path_exists } from "../path-exists/index.js";
6
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/output-file/index.js
7
- var require_output_file = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8
- const u = require_universalify().fromPromise;
9
- const fs = require_fs();
10
- const path = __require("path");
11
- const mkdir = require_mkdirs();
12
- const pathExists = require_path_exists().pathExists;
13
- async function outputFile(file, data, encoding = "utf-8") {
14
- const dir = path.dirname(file);
15
- if (!await pathExists(dir)) await mkdir.mkdirs(dir);
16
- return fs.writeFile(file, data, encoding);
17
- }
18
- function outputFileSync(file, ...args) {
19
- const dir = path.dirname(file);
20
- if (!fs.existsSync(dir)) mkdir.mkdirsSync(dir);
21
- fs.writeFileSync(file, ...args);
22
- }
23
- module.exports = {
24
- outputFile: u(outputFile),
25
- outputFileSync
26
- };
27
- }));
28
- //#endregion
29
- export default require_output_file();
30
- export { require_output_file };
@@ -1,18 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_fs } from "../fs/index.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/path-exists/index.js
5
- var require_path_exists = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const u = require_universalify().fromPromise;
7
- const fs = require_fs();
8
- function pathExists(path) {
9
- return fs.access(path).then(() => true).catch(() => false);
10
- }
11
- module.exports = {
12
- pathExists: u(pathExists),
13
- pathExistsSync: fs.existsSync
14
- };
15
- }));
16
- //#endregion
17
- export default require_path_exists();
18
- export { require_path_exists };
@@ -1,27 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_graceful_fs } from "../../../../../graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/remove/index.js
5
- var require_remove = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const fs = require_graceful_fs();
7
- const u = require_universalify().fromCallback;
8
- function remove(path, callback) {
9
- fs.rm(path, {
10
- recursive: true,
11
- force: true
12
- }, callback);
13
- }
14
- function removeSync(path) {
15
- fs.rmSync(path, {
16
- recursive: true,
17
- force: true
18
- });
19
- }
20
- module.exports = {
21
- remove: u(remove),
22
- removeSync
23
- };
24
- }));
25
- //#endregion
26
- export default require_remove();
27
- export { require_remove };
@@ -1,15 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/async.js
3
- var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- async function asyncIteratorConcurrentProcess(iterator, fn) {
5
- const promises = [];
6
- for await (const item of iterator) promises.push(fn(item).then(() => null, (err) => err ?? /* @__PURE__ */ new Error("unknown error")));
7
- await Promise.all(promises.map((promise) => promise.then((possibleErr) => {
8
- if (possibleErr !== null) throw possibleErr;
9
- })));
10
- }
11
- module.exports = { asyncIteratorConcurrentProcess };
12
- }));
13
- //#endregion
14
- export default require_async();
15
- export { require_async };
@@ -1,131 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_fs } from "../fs/index.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/stat.js
5
- var require_stat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const fs = require_fs();
7
- const path = __require("path");
8
- const u = require_universalify().fromPromise;
9
- function getStats(src, dest, opts) {
10
- const statFunc = opts.dereference ? (file) => fs.stat(file, { bigint: true }) : (file) => fs.lstat(file, { bigint: true });
11
- return Promise.all([statFunc(src), statFunc(dest).catch((err) => {
12
- if (err.code === "ENOENT") return null;
13
- throw err;
14
- })]).then(([srcStat, destStat]) => ({
15
- srcStat,
16
- destStat
17
- }));
18
- }
19
- function getStatsSync(src, dest, opts) {
20
- let destStat;
21
- const statFunc = opts.dereference ? (file) => fs.statSync(file, { bigint: true }) : (file) => fs.lstatSync(file, { bigint: true });
22
- const srcStat = statFunc(src);
23
- try {
24
- destStat = statFunc(dest);
25
- } catch (err) {
26
- if (err.code === "ENOENT") return {
27
- srcStat,
28
- destStat: null
29
- };
30
- throw err;
31
- }
32
- return {
33
- srcStat,
34
- destStat
35
- };
36
- }
37
- async function checkPaths(src, dest, funcName, opts) {
38
- const { srcStat, destStat } = await getStats(src, dest, opts);
39
- if (destStat) {
40
- if (areIdentical(srcStat, destStat)) {
41
- const srcBaseName = path.basename(src);
42
- const destBaseName = path.basename(dest);
43
- if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) return {
44
- srcStat,
45
- destStat,
46
- isChangingCase: true
47
- };
48
- throw new Error("Source and destination must not be the same.");
49
- }
50
- if (srcStat.isDirectory() && !destStat.isDirectory()) throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`);
51
- if (!srcStat.isDirectory() && destStat.isDirectory()) throw new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`);
52
- }
53
- if (srcStat.isDirectory() && isSrcSubdir(src, dest)) throw new Error(errMsg(src, dest, funcName));
54
- return {
55
- srcStat,
56
- destStat
57
- };
58
- }
59
- function checkPathsSync(src, dest, funcName, opts) {
60
- const { srcStat, destStat } = getStatsSync(src, dest, opts);
61
- if (destStat) {
62
- if (areIdentical(srcStat, destStat)) {
63
- const srcBaseName = path.basename(src);
64
- const destBaseName = path.basename(dest);
65
- if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) return {
66
- srcStat,
67
- destStat,
68
- isChangingCase: true
69
- };
70
- throw new Error("Source and destination must not be the same.");
71
- }
72
- if (srcStat.isDirectory() && !destStat.isDirectory()) throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`);
73
- if (!srcStat.isDirectory() && destStat.isDirectory()) throw new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`);
74
- }
75
- if (srcStat.isDirectory() && isSrcSubdir(src, dest)) throw new Error(errMsg(src, dest, funcName));
76
- return {
77
- srcStat,
78
- destStat
79
- };
80
- }
81
- async function checkParentPaths(src, srcStat, dest, funcName) {
82
- const srcParent = path.resolve(path.dirname(src));
83
- const destParent = path.resolve(path.dirname(dest));
84
- if (destParent === srcParent || destParent === path.parse(destParent).root) return;
85
- let destStat;
86
- try {
87
- destStat = await fs.stat(destParent, { bigint: true });
88
- } catch (err) {
89
- if (err.code === "ENOENT") return;
90
- throw err;
91
- }
92
- if (areIdentical(srcStat, destStat)) throw new Error(errMsg(src, dest, funcName));
93
- return checkParentPaths(src, srcStat, destParent, funcName);
94
- }
95
- function checkParentPathsSync(src, srcStat, dest, funcName) {
96
- const srcParent = path.resolve(path.dirname(src));
97
- const destParent = path.resolve(path.dirname(dest));
98
- if (destParent === srcParent || destParent === path.parse(destParent).root) return;
99
- let destStat;
100
- try {
101
- destStat = fs.statSync(destParent, { bigint: true });
102
- } catch (err) {
103
- if (err.code === "ENOENT") return;
104
- throw err;
105
- }
106
- if (areIdentical(srcStat, destStat)) throw new Error(errMsg(src, dest, funcName));
107
- return checkParentPathsSync(src, srcStat, destParent, funcName);
108
- }
109
- function areIdentical(srcStat, destStat) {
110
- return destStat.ino !== void 0 && destStat.dev !== void 0 && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
111
- }
112
- function isSrcSubdir(src, dest) {
113
- const srcArr = path.resolve(src).split(path.sep).filter((i) => i);
114
- const destArr = path.resolve(dest).split(path.sep).filter((i) => i);
115
- return srcArr.every((cur, i) => destArr[i] === cur);
116
- }
117
- function errMsg(src, dest, funcName) {
118
- return `Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.`;
119
- }
120
- module.exports = {
121
- checkPaths: u(checkPaths),
122
- checkPathsSync,
123
- checkParentPaths: u(checkParentPaths),
124
- checkParentPathsSync,
125
- isSrcSubdir,
126
- areIdentical
127
- };
128
- }));
129
- //#endregion
130
- export default require_stat();
131
- export { require_stat };
@@ -1,34 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_universalify } from "../../../../../universalify@2.0.1/node_modules/universalify/index.js";
3
- import { require_fs } from "../fs/index.js";
4
- //#region node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/utimes.js
5
- var require_utimes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- const fs = require_fs();
7
- const u = require_universalify().fromPromise;
8
- async function utimesMillis(path, atime, mtime) {
9
- const fd = await fs.open(path, "r+");
10
- let closeErr = null;
11
- try {
12
- await fs.futimes(fd, atime, mtime);
13
- } finally {
14
- try {
15
- await fs.close(fd);
16
- } catch (e) {
17
- closeErr = e;
18
- }
19
- }
20
- if (closeErr) throw closeErr;
21
- }
22
- function utimesMillisSync(path, atime, mtime) {
23
- const fd = fs.openSync(path, "r+");
24
- fs.futimesSync(fd, atime, mtime);
25
- return fs.closeSync(fd);
26
- }
27
- module.exports = {
28
- utimesMillis: u(utimesMillis),
29
- utimesMillisSync
30
- };
31
- }));
32
- //#endregion
33
- export default require_utimes();
34
- export { require_utimes };
@@ -1,51 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_old } from "./old.js";
3
- //#region node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js
4
- var require_fs_realpath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
- module.exports = realpath;
6
- realpath.realpath = realpath;
7
- realpath.sync = realpathSync;
8
- realpath.realpathSync = realpathSync;
9
- realpath.monkeypatch = monkeypatch;
10
- realpath.unmonkeypatch = unmonkeypatch;
11
- var fs = __require("fs");
12
- var origRealpath = fs.realpath;
13
- var origRealpathSync = fs.realpathSync;
14
- var version = process.version;
15
- var ok = /^v[0-5]\./.test(version);
16
- var old = require_old();
17
- function newError(er) {
18
- return er && er.syscall === "realpath" && (er.code === "ELOOP" || er.code === "ENOMEM" || er.code === "ENAMETOOLONG");
19
- }
20
- function realpath(p, cache, cb) {
21
- if (ok) return origRealpath(p, cache, cb);
22
- if (typeof cache === "function") {
23
- cb = cache;
24
- cache = null;
25
- }
26
- origRealpath(p, cache, function(er, result) {
27
- if (newError(er)) old.realpath(p, cache, cb);
28
- else cb(er, result);
29
- });
30
- }
31
- function realpathSync(p, cache) {
32
- if (ok) return origRealpathSync(p, cache);
33
- try {
34
- return origRealpathSync(p, cache);
35
- } catch (er) {
36
- if (newError(er)) return old.realpathSync(p, cache);
37
- else throw er;
38
- }
39
- }
40
- function monkeypatch() {
41
- fs.realpath = realpath;
42
- fs.realpathSync = realpathSync;
43
- }
44
- function unmonkeypatch() {
45
- fs.realpath = origRealpath;
46
- fs.realpathSync = origRealpathSync;
47
- }
48
- }));
49
- //#endregion
50
- export default require_fs_realpath();
51
- export { require_fs_realpath };