@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.
- package/dist/_virtual/_rolldown/runtime.js +1 -35
- package/dist/client.js +1 -1
- package/dist/graph-builder.js +8 -4
- package/dist/kg-service.js +25 -28
- package/dist/parser.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -1
- package/dist/node_modules/.pnpm/@knowhere-ai_sdk@0.1.1/node_modules/@knowhere-ai/sdk/dist/index.js +0 -717
- 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
- package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +0 -35
- 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
- package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +0 -142
- 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
- package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +0 -199
- package/dist/node_modules/.pnpm/@mapbox_node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/package.js +0 -67
- package/dist/node_modules/.pnpm/abbrev@1.1.1/node_modules/abbrev/abbrev.js +0 -59
- package/dist/node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js +0 -11
- package/dist/node_modules/.pnpm/aproba@2.1.0/node_modules/aproba/index.js +0 -119
- package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/index.js +0 -13
- package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-base.js +0 -16
- package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-group.js +0 -98
- package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker-stream.js +0 -37
- package/dist/node_modules/.pnpm/are-we-there-yet@2.0.0/node_modules/are-we-there-yet/lib/tracker.js +0 -32
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js +0 -83
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js +0 -170
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js +0 -106
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js +0 -57
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js +0 -90
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js +0 -20
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js +0 -174
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js +0 -70
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js +0 -204
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js +0 -60
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js +0 -52
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js +0 -81
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js +0 -18
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js +0 -25
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js +0 -107
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -50
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js +0 -15
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js +0 -40
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js +0 -39
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js +0 -31
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js +0 -38
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js +0 -36
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js +0 -36
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js +0 -29
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js +0 -38
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js +0 -151
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js +0 -69
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js +0 -76
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js +0 -22
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js +0 -46
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js +0 -698
- package/dist/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js +0 -53
- package/dist/node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js +0 -132
- package/dist/node_modules/.pnpm/color-support@1.1.3/node_modules/color-support/browser.js +0 -18
- package/dist/node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js +0 -19
- package/dist/node_modules/.pnpm/console-control-strings@1.1.0/node_modules/console-control-strings/index.js +0 -104
- package/dist/node_modules/.pnpm/delegates@1.0.0/node_modules/delegates/index.js +0 -104
- package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js +0 -221
- package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js +0 -26
- package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/filesystem.js +0 -48
- package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js +0 -24
- package/dist/node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js +0 -10
- package/dist/node_modules/.pnpm/fflate@0.8.2/node_modules/fflate/esm/browser.js +0 -426
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy-sync.js +0 -120
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/copy.js +0 -100
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/copy/index.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/empty/index.js +0 -43
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/file.js +0 -53
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/index.js +0 -27
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/link.js +0 -56
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -89
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -35
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/ensure/symlink.js +0 -81
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/fs/index.js +0 -113
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/index.js +0 -29
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/index.js +0 -22
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/jsonfile.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json-sync.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/json/output-json.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/index.js +0 -20
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -33
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/mkdirs/utils.js +0 -17
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/index.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move-sync.js +0 -56
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/move/move.js +0 -49
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/output-file/index.js +0 -30
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/path-exists/index.js +0 -18
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/remove/index.js +0 -27
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/async.js +0 -15
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/stat.js +0 -131
- package/dist/node_modules/.pnpm/fs-extra@11.3.4/node_modules/fs-extra/lib/util/utimes.js +0 -34
- package/dist/node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js +0 -51
- package/dist/node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js +0 -171
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/base-theme.js +0 -21
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/error.js +0 -27
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/has-color.js +0 -9
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/index.js +0 -224
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/plumbing.js +0 -48
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/process.js +0 -8
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/progress-bar.js +0 -46
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/render-template.js +0 -155
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/set-immediate.js +0 -14
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/set-interval.js +0 -8
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/spin.js +0 -10
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/template-item.js +0 -58
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/theme-set.js +0 -99
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/themes.js +0 -67
- package/dist/node_modules/.pnpm/gauge@3.0.2/node_modules/gauge/wide-truncate.js +0 -22
- package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/common.js +0 -162
- package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/glob.js +0 -451
- package/dist/node_modules/.pnpm/glob@7.2.3/node_modules/glob/sync.js +0 -280
- package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js +0 -20
- package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js +0 -362
- package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js +0 -92
- package/dist/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js +0 -255
- package/dist/node_modules/.pnpm/has-unicode@2.0.1/node_modules/has-unicode/index.js +0 -14
- package/dist/node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js +0 -45
- package/dist/node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js +0 -27
- package/dist/node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js +0 -14
- package/dist/node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/index.js +0 -68
- package/dist/node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/utils.js +0 -19
- package/dist/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js +0 -3110
- package/dist/node_modules/.pnpm/minimatch@3.1.5/node_modules/minimatch/minimatch.js +0 -578
- package/dist/node_modules/.pnpm/nodejieba@2.6.0/node_modules/nodejieba/index.js +0 -46
- package/dist/node_modules/.pnpm/nopt@5.0.0/node_modules/nopt/lib/nopt.js +0 -330
- package/dist/node_modules/.pnpm/npmlog@5.0.1/node_modules/npmlog/log.js +0 -305
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/.pnpm/once@1.4.0/node_modules/once/once.js +0 -44
- package/dist/node_modules/.pnpm/path-is-absolute@1.0.1/node_modules/path-is-absolute/index.js +0 -19
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js +0 -88
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_passthrough.js +0 -19
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js +0 -666
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js +0 -89
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js +0 -423
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -172
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -243
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -77
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -87
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -10
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -80
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js +0 -21
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -8
- package/dist/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/readable-browser.js +0 -23
- package/dist/node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js +0 -229
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js +0 -79
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js +0 -282
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js +0 -186
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js +0 -14
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js +0 -41
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js +0 -34
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js +0 -32
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js +0 -22
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js +0 -19
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js +0 -14
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js +0 -18
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js +0 -14
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js +0 -99
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js +0 -28
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js +0 -8
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js +0 -23
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js +0 -36
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js +0 -84
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js +0 -31
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js +0 -31
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js +0 -45
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js +0 -64
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js +0 -35
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js +0 -102
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js +0 -17
- package/dist/node_modules/.pnpm/set-blocking@2.0.0/node_modules/set-blocking/index.js +0 -12
- package/dist/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js +0 -130
- package/dist/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js +0 -16
- package/dist/node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js +0 -30
- package/dist/node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js +0 -10
- package/dist/node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js +0 -26
- package/dist/node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js +0 -59
- package/dist/node_modules/.pnpm/wide-align@1.1.5/node_modules/wide-align/align.js +0 -52
- package/dist/node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js +0 -26
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
3
|
-
var require_balanced_match = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
-
module.exports = balanced;
|
|
5
|
-
function balanced(a, b, str) {
|
|
6
|
-
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
7
|
-
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
8
|
-
var r = range(a, b, str);
|
|
9
|
-
return r && {
|
|
10
|
-
start: r[0],
|
|
11
|
-
end: r[1],
|
|
12
|
-
pre: str.slice(0, r[0]),
|
|
13
|
-
body: str.slice(r[0] + a.length, r[1]),
|
|
14
|
-
post: str.slice(r[1] + b.length)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function maybeMatch(reg, str) {
|
|
18
|
-
var m = str.match(reg);
|
|
19
|
-
return m ? m[0] : null;
|
|
20
|
-
}
|
|
21
|
-
balanced.range = range;
|
|
22
|
-
function range(a, b, str) {
|
|
23
|
-
var begs, beg, left, right, result;
|
|
24
|
-
var ai = str.indexOf(a);
|
|
25
|
-
var bi = str.indexOf(b, ai + 1);
|
|
26
|
-
var i = ai;
|
|
27
|
-
if (ai >= 0 && bi > 0) {
|
|
28
|
-
if (a === b) return [ai, bi];
|
|
29
|
-
begs = [];
|
|
30
|
-
left = str.length;
|
|
31
|
-
while (i >= 0 && !result) {
|
|
32
|
-
if (i == ai) {
|
|
33
|
-
begs.push(i);
|
|
34
|
-
ai = str.indexOf(a, i + 1);
|
|
35
|
-
} else if (begs.length == 1) result = [begs.pop(), bi];
|
|
36
|
-
else {
|
|
37
|
-
beg = begs.pop();
|
|
38
|
-
if (beg < left) {
|
|
39
|
-
left = beg;
|
|
40
|
-
right = bi;
|
|
41
|
-
}
|
|
42
|
-
bi = str.indexOf(b, i + 1);
|
|
43
|
-
}
|
|
44
|
-
i = ai < bi && ai >= 0 ? ai : bi;
|
|
45
|
-
}
|
|
46
|
-
if (begs.length) result = [left, right];
|
|
47
|
-
}
|
|
48
|
-
return result;
|
|
49
|
-
}
|
|
50
|
-
}));
|
|
51
|
-
//#endregion
|
|
52
|
-
export default require_balanced_match();
|
|
53
|
-
export { require_balanced_match };
|
package/dist/node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_concat_map } from "../../../concat-map@0.0.1/node_modules/concat-map/index.js";
|
|
3
|
-
import { require_balanced_match } from "../../../balanced-match@1.0.2/node_modules/balanced-match/index.js";
|
|
4
|
-
//#region node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js
|
|
5
|
-
var require_brace_expansion = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
-
var concatMap = require_concat_map();
|
|
7
|
-
var balanced = require_balanced_match();
|
|
8
|
-
module.exports = expandTop;
|
|
9
|
-
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
10
|
-
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
11
|
-
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
12
|
-
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
13
|
-
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
14
|
-
function numeric(str) {
|
|
15
|
-
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
16
|
-
}
|
|
17
|
-
function escapeBraces(str) {
|
|
18
|
-
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
19
|
-
}
|
|
20
|
-
function unescapeBraces(str) {
|
|
21
|
-
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
22
|
-
}
|
|
23
|
-
function parseCommaParts(str) {
|
|
24
|
-
if (!str) return [""];
|
|
25
|
-
var parts = [];
|
|
26
|
-
var m = balanced("{", "}", str);
|
|
27
|
-
if (!m) return str.split(",");
|
|
28
|
-
var pre = m.pre;
|
|
29
|
-
var body = m.body;
|
|
30
|
-
var post = m.post;
|
|
31
|
-
var p = pre.split(",");
|
|
32
|
-
p[p.length - 1] += "{" + body + "}";
|
|
33
|
-
var postParts = parseCommaParts(post);
|
|
34
|
-
if (post.length) {
|
|
35
|
-
p[p.length - 1] += postParts.shift();
|
|
36
|
-
p.push.apply(p, postParts);
|
|
37
|
-
}
|
|
38
|
-
parts.push.apply(parts, p);
|
|
39
|
-
return parts;
|
|
40
|
-
}
|
|
41
|
-
function expandTop(str) {
|
|
42
|
-
if (!str) return [];
|
|
43
|
-
if (str.substr(0, 2) === "{}") str = "\\{\\}" + str.substr(2);
|
|
44
|
-
return expand(escapeBraces(str), true).map(unescapeBraces);
|
|
45
|
-
}
|
|
46
|
-
function embrace(str) {
|
|
47
|
-
return "{" + str + "}";
|
|
48
|
-
}
|
|
49
|
-
function isPadded(el) {
|
|
50
|
-
return /^-?0\d/.test(el);
|
|
51
|
-
}
|
|
52
|
-
function lte(i, y) {
|
|
53
|
-
return i <= y;
|
|
54
|
-
}
|
|
55
|
-
function gte(i, y) {
|
|
56
|
-
return i >= y;
|
|
57
|
-
}
|
|
58
|
-
function expand(str, isTop) {
|
|
59
|
-
var expansions = [];
|
|
60
|
-
var m = balanced("{", "}", str);
|
|
61
|
-
if (!m || /\$$/.test(m.pre)) return [str];
|
|
62
|
-
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
63
|
-
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
64
|
-
var isSequence = isNumericSequence || isAlphaSequence;
|
|
65
|
-
var isOptions = m.body.indexOf(",") >= 0;
|
|
66
|
-
if (!isSequence && !isOptions) {
|
|
67
|
-
if (m.post.match(/,(?!,).*\}/)) {
|
|
68
|
-
str = m.pre + "{" + m.body + escClose + m.post;
|
|
69
|
-
return expand(str);
|
|
70
|
-
}
|
|
71
|
-
return [str];
|
|
72
|
-
}
|
|
73
|
-
var n;
|
|
74
|
-
if (isSequence) n = m.body.split(/\.\./);
|
|
75
|
-
else {
|
|
76
|
-
n = parseCommaParts(m.body);
|
|
77
|
-
if (n.length === 1) {
|
|
78
|
-
n = expand(n[0], false).map(embrace);
|
|
79
|
-
if (n.length === 1) {
|
|
80
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
81
|
-
return post.map(function(p) {
|
|
82
|
-
return m.pre + n[0] + p;
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
var pre = m.pre;
|
|
88
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
89
|
-
var N;
|
|
90
|
-
if (isSequence) {
|
|
91
|
-
var x = numeric(n[0]);
|
|
92
|
-
var y = numeric(n[1]);
|
|
93
|
-
var width = Math.max(n[0].length, n[1].length);
|
|
94
|
-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
95
|
-
var test = lte;
|
|
96
|
-
if (y < x) {
|
|
97
|
-
incr *= -1;
|
|
98
|
-
test = gte;
|
|
99
|
-
}
|
|
100
|
-
var pad = n.some(isPadded);
|
|
101
|
-
N = [];
|
|
102
|
-
for (var i = x; test(i, y); i += incr) {
|
|
103
|
-
var c;
|
|
104
|
-
if (isAlphaSequence) {
|
|
105
|
-
c = String.fromCharCode(i);
|
|
106
|
-
if (c === "\\") c = "";
|
|
107
|
-
} else {
|
|
108
|
-
c = String(i);
|
|
109
|
-
if (pad) {
|
|
110
|
-
var need = width - c.length;
|
|
111
|
-
if (need > 0) {
|
|
112
|
-
var z = new Array(need + 1).join("0");
|
|
113
|
-
if (i < 0) c = "-" + z + c.slice(1);
|
|
114
|
-
else c = z + c;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
N.push(c);
|
|
119
|
-
}
|
|
120
|
-
} else N = concatMap(n, function(el) {
|
|
121
|
-
return expand(el, false);
|
|
122
|
-
});
|
|
123
|
-
for (var j = 0; j < N.length; j++) for (var k = 0; k < post.length; k++) {
|
|
124
|
-
var expansion = pre + N[j] + post[k];
|
|
125
|
-
if (!isTop || isSequence || expansion) expansions.push(expansion);
|
|
126
|
-
}
|
|
127
|
-
return expansions;
|
|
128
|
-
}
|
|
129
|
-
}));
|
|
130
|
-
//#endregion
|
|
131
|
-
export default require_brace_expansion();
|
|
132
|
-
export { require_brace_expansion };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/color-support@1.1.3/node_modules/color-support/browser.js
|
|
3
|
-
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
-
module.exports = colorSupport({ alwaysReturn: true }, colorSupport);
|
|
5
|
-
function colorSupport(options, obj) {
|
|
6
|
-
obj = obj || {};
|
|
7
|
-
options = options || {};
|
|
8
|
-
obj.level = 0;
|
|
9
|
-
obj.hasBasic = false;
|
|
10
|
-
obj.has256 = false;
|
|
11
|
-
obj.has16m = false;
|
|
12
|
-
if (!options.alwaysReturn) return false;
|
|
13
|
-
return obj;
|
|
14
|
-
}
|
|
15
|
-
}));
|
|
16
|
-
//#endregion
|
|
17
|
-
export default require_browser();
|
|
18
|
-
export { require_browser };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js
|
|
3
|
-
var require_concat_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
-
module.exports = function(xs, fn) {
|
|
5
|
-
var res = [];
|
|
6
|
-
for (var i = 0; i < xs.length; i++) {
|
|
7
|
-
var x = fn(xs[i], i);
|
|
8
|
-
if (isArray(x)) res.push.apply(res, x);
|
|
9
|
-
else res.push(x);
|
|
10
|
-
}
|
|
11
|
-
return res;
|
|
12
|
-
};
|
|
13
|
-
var isArray = Array.isArray || function(xs) {
|
|
14
|
-
return Object.prototype.toString.call(xs) === "[object Array]";
|
|
15
|
-
};
|
|
16
|
-
}));
|
|
17
|
-
//#endregion
|
|
18
|
-
export default require_concat_map();
|
|
19
|
-
export { require_concat_map };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/console-control-strings@1.1.0/node_modules/console-control-strings/index.js
|
|
3
|
-
var require_console_control_strings = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
|
-
var prefix = "\x1B[";
|
|
5
|
-
exports.up = function up(num) {
|
|
6
|
-
return prefix + (num || "") + "A";
|
|
7
|
-
};
|
|
8
|
-
exports.down = function down(num) {
|
|
9
|
-
return prefix + (num || "") + "B";
|
|
10
|
-
};
|
|
11
|
-
exports.forward = function forward(num) {
|
|
12
|
-
return prefix + (num || "") + "C";
|
|
13
|
-
};
|
|
14
|
-
exports.back = function back(num) {
|
|
15
|
-
return prefix + (num || "") + "D";
|
|
16
|
-
};
|
|
17
|
-
exports.nextLine = function nextLine(num) {
|
|
18
|
-
return prefix + (num || "") + "E";
|
|
19
|
-
};
|
|
20
|
-
exports.previousLine = function previousLine(num) {
|
|
21
|
-
return prefix + (num || "") + "F";
|
|
22
|
-
};
|
|
23
|
-
exports.horizontalAbsolute = function horizontalAbsolute(num) {
|
|
24
|
-
if (num == null) throw new Error("horizontalAboslute requires a column to position to");
|
|
25
|
-
return prefix + num + "G";
|
|
26
|
-
};
|
|
27
|
-
exports.eraseData = function eraseData() {
|
|
28
|
-
return prefix + "J";
|
|
29
|
-
};
|
|
30
|
-
exports.eraseLine = function eraseLine() {
|
|
31
|
-
return prefix + "K";
|
|
32
|
-
};
|
|
33
|
-
exports.goto = function(x, y) {
|
|
34
|
-
return prefix + y + ";" + x + "H";
|
|
35
|
-
};
|
|
36
|
-
exports.gotoSOL = function() {
|
|
37
|
-
return "\r";
|
|
38
|
-
};
|
|
39
|
-
exports.beep = function() {
|
|
40
|
-
return "\x07";
|
|
41
|
-
};
|
|
42
|
-
exports.hideCursor = function hideCursor() {
|
|
43
|
-
return prefix + "?25l";
|
|
44
|
-
};
|
|
45
|
-
exports.showCursor = function showCursor() {
|
|
46
|
-
return prefix + "?25h";
|
|
47
|
-
};
|
|
48
|
-
var colors = {
|
|
49
|
-
reset: 0,
|
|
50
|
-
bold: 1,
|
|
51
|
-
italic: 3,
|
|
52
|
-
underline: 4,
|
|
53
|
-
inverse: 7,
|
|
54
|
-
stopBold: 22,
|
|
55
|
-
stopItalic: 23,
|
|
56
|
-
stopUnderline: 24,
|
|
57
|
-
stopInverse: 27,
|
|
58
|
-
white: 37,
|
|
59
|
-
black: 30,
|
|
60
|
-
blue: 34,
|
|
61
|
-
cyan: 36,
|
|
62
|
-
green: 32,
|
|
63
|
-
magenta: 35,
|
|
64
|
-
red: 31,
|
|
65
|
-
yellow: 33,
|
|
66
|
-
bgWhite: 47,
|
|
67
|
-
bgBlack: 40,
|
|
68
|
-
bgBlue: 44,
|
|
69
|
-
bgCyan: 46,
|
|
70
|
-
bgGreen: 42,
|
|
71
|
-
bgMagenta: 45,
|
|
72
|
-
bgRed: 41,
|
|
73
|
-
bgYellow: 43,
|
|
74
|
-
grey: 90,
|
|
75
|
-
brightBlack: 90,
|
|
76
|
-
brightRed: 91,
|
|
77
|
-
brightGreen: 92,
|
|
78
|
-
brightYellow: 93,
|
|
79
|
-
brightBlue: 94,
|
|
80
|
-
brightMagenta: 95,
|
|
81
|
-
brightCyan: 96,
|
|
82
|
-
brightWhite: 97,
|
|
83
|
-
bgGrey: 100,
|
|
84
|
-
bgBrightBlack: 100,
|
|
85
|
-
bgBrightRed: 101,
|
|
86
|
-
bgBrightGreen: 102,
|
|
87
|
-
bgBrightYellow: 103,
|
|
88
|
-
bgBrightBlue: 104,
|
|
89
|
-
bgBrightMagenta: 105,
|
|
90
|
-
bgBrightCyan: 106,
|
|
91
|
-
bgBrightWhite: 107
|
|
92
|
-
};
|
|
93
|
-
exports.color = function color(colorWith) {
|
|
94
|
-
if (arguments.length !== 1 || !Array.isArray(colorWith)) colorWith = Array.prototype.slice.call(arguments);
|
|
95
|
-
return prefix + colorWith.map(colorNameToCode).join(";") + "m";
|
|
96
|
-
};
|
|
97
|
-
function colorNameToCode(color) {
|
|
98
|
-
if (colors[color] != null) return colors[color];
|
|
99
|
-
throw new Error("Unknown color or style name: " + color);
|
|
100
|
-
}
|
|
101
|
-
}));
|
|
102
|
-
//#endregion
|
|
103
|
-
export default require_console_control_strings();
|
|
104
|
-
export { require_console_control_strings };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/delegates@1.0.0/node_modules/delegates/index.js
|
|
3
|
-
var require_delegates = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
-
/**
|
|
5
|
-
* Expose `Delegator`.
|
|
6
|
-
*/
|
|
7
|
-
module.exports = Delegator;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a delegator.
|
|
10
|
-
*
|
|
11
|
-
* @param {Object} proto
|
|
12
|
-
* @param {String} target
|
|
13
|
-
* @api public
|
|
14
|
-
*/
|
|
15
|
-
function Delegator(proto, target) {
|
|
16
|
-
if (!(this instanceof Delegator)) return new Delegator(proto, target);
|
|
17
|
-
this.proto = proto;
|
|
18
|
-
this.target = target;
|
|
19
|
-
this.methods = [];
|
|
20
|
-
this.getters = [];
|
|
21
|
-
this.setters = [];
|
|
22
|
-
this.fluents = [];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Delegate method `name`.
|
|
26
|
-
*
|
|
27
|
-
* @param {String} name
|
|
28
|
-
* @return {Delegator} self
|
|
29
|
-
* @api public
|
|
30
|
-
*/
|
|
31
|
-
Delegator.prototype.method = function(name) {
|
|
32
|
-
var proto = this.proto;
|
|
33
|
-
var target = this.target;
|
|
34
|
-
this.methods.push(name);
|
|
35
|
-
proto[name] = function() {
|
|
36
|
-
return this[target][name].apply(this[target], arguments);
|
|
37
|
-
};
|
|
38
|
-
return this;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Delegator accessor `name`.
|
|
42
|
-
*
|
|
43
|
-
* @param {String} name
|
|
44
|
-
* @return {Delegator} self
|
|
45
|
-
* @api public
|
|
46
|
-
*/
|
|
47
|
-
Delegator.prototype.access = function(name) {
|
|
48
|
-
return this.getter(name).setter(name);
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Delegator getter `name`.
|
|
52
|
-
*
|
|
53
|
-
* @param {String} name
|
|
54
|
-
* @return {Delegator} self
|
|
55
|
-
* @api public
|
|
56
|
-
*/
|
|
57
|
-
Delegator.prototype.getter = function(name) {
|
|
58
|
-
var proto = this.proto;
|
|
59
|
-
var target = this.target;
|
|
60
|
-
this.getters.push(name);
|
|
61
|
-
proto.__defineGetter__(name, function() {
|
|
62
|
-
return this[target][name];
|
|
63
|
-
});
|
|
64
|
-
return this;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Delegator setter `name`.
|
|
68
|
-
*
|
|
69
|
-
* @param {String} name
|
|
70
|
-
* @return {Delegator} self
|
|
71
|
-
* @api public
|
|
72
|
-
*/
|
|
73
|
-
Delegator.prototype.setter = function(name) {
|
|
74
|
-
var proto = this.proto;
|
|
75
|
-
var target = this.target;
|
|
76
|
-
this.setters.push(name);
|
|
77
|
-
proto.__defineSetter__(name, function(val) {
|
|
78
|
-
return this[target][name] = val;
|
|
79
|
-
});
|
|
80
|
-
return this;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Delegator fluent accessor
|
|
84
|
-
*
|
|
85
|
-
* @param {String} name
|
|
86
|
-
* @return {Delegator} self
|
|
87
|
-
* @api public
|
|
88
|
-
*/
|
|
89
|
-
Delegator.prototype.fluent = function(name) {
|
|
90
|
-
var proto = this.proto;
|
|
91
|
-
var target = this.target;
|
|
92
|
-
this.fluents.push(name);
|
|
93
|
-
proto[name] = function(val) {
|
|
94
|
-
if ("undefined" != typeof val) {
|
|
95
|
-
this[target][name] = val;
|
|
96
|
-
return this;
|
|
97
|
-
} else return this[target][name];
|
|
98
|
-
};
|
|
99
|
-
return this;
|
|
100
|
-
};
|
|
101
|
-
}));
|
|
102
|
-
//#endregion
|
|
103
|
-
export default require_delegates();
|
|
104
|
-
export { require_delegates };
|
package/dist/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_process } from "./process.js";
|
|
3
|
-
import { require_filesystem } from "./filesystem.js";
|
|
4
|
-
import { require_elf } from "./elf.js";
|
|
5
|
-
//#region node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js
|
|
6
|
-
var require_detect_libc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
-
const childProcess = __require("child_process");
|
|
8
|
-
const { isLinux, getReport } = require_process();
|
|
9
|
-
const { LDD_PATH, SELF_PATH, readFile, readFileSync } = require_filesystem();
|
|
10
|
-
const { interpreterPath } = require_elf();
|
|
11
|
-
let cachedFamilyInterpreter;
|
|
12
|
-
let cachedFamilyFilesystem;
|
|
13
|
-
let cachedVersionFilesystem;
|
|
14
|
-
const command = "getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true";
|
|
15
|
-
let commandOut = "";
|
|
16
|
-
const safeCommand = () => {
|
|
17
|
-
if (!commandOut) return new Promise((resolve) => {
|
|
18
|
-
childProcess.exec(command, (err, out) => {
|
|
19
|
-
commandOut = err ? " " : out;
|
|
20
|
-
resolve(commandOut);
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
return commandOut;
|
|
24
|
-
};
|
|
25
|
-
const safeCommandSync = () => {
|
|
26
|
-
if (!commandOut) try {
|
|
27
|
-
commandOut = childProcess.execSync(command, { encoding: "utf8" });
|
|
28
|
-
} catch (_err) {
|
|
29
|
-
commandOut = " ";
|
|
30
|
-
}
|
|
31
|
-
return commandOut;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* A String constant containing the value `glibc`.
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
const GLIBC = "glibc";
|
|
39
|
-
/**
|
|
40
|
-
* A Regexp constant to get the GLIBC Version.
|
|
41
|
-
* @type {string}
|
|
42
|
-
*/
|
|
43
|
-
const RE_GLIBC_VERSION = /LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i;
|
|
44
|
-
/**
|
|
45
|
-
* A String constant containing the value `musl`.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
const MUSL = "musl";
|
|
50
|
-
const isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
|
|
51
|
-
const familyFromReport = () => {
|
|
52
|
-
const report = getReport();
|
|
53
|
-
if (report.header && report.header.glibcVersionRuntime) return GLIBC;
|
|
54
|
-
if (Array.isArray(report.sharedObjects)) {
|
|
55
|
-
if (report.sharedObjects.some(isFileMusl)) return MUSL;
|
|
56
|
-
}
|
|
57
|
-
return null;
|
|
58
|
-
};
|
|
59
|
-
const familyFromCommand = (out) => {
|
|
60
|
-
const [getconf, ldd1] = out.split(/[\r\n]+/);
|
|
61
|
-
if (getconf && getconf.includes(GLIBC)) return GLIBC;
|
|
62
|
-
if (ldd1 && ldd1.includes(MUSL)) return MUSL;
|
|
63
|
-
return null;
|
|
64
|
-
};
|
|
65
|
-
const familyFromInterpreterPath = (path) => {
|
|
66
|
-
if (path) {
|
|
67
|
-
if (path.includes("/ld-musl-")) return MUSL;
|
|
68
|
-
else if (path.includes("/ld-linux-")) return GLIBC;
|
|
69
|
-
}
|
|
70
|
-
return null;
|
|
71
|
-
};
|
|
72
|
-
const getFamilyFromLddContent = (content) => {
|
|
73
|
-
content = content.toString();
|
|
74
|
-
if (content.includes("musl")) return MUSL;
|
|
75
|
-
if (content.includes("GNU C Library")) return GLIBC;
|
|
76
|
-
return null;
|
|
77
|
-
};
|
|
78
|
-
const familyFromFilesystem = async () => {
|
|
79
|
-
if (cachedFamilyFilesystem !== void 0) return cachedFamilyFilesystem;
|
|
80
|
-
cachedFamilyFilesystem = null;
|
|
81
|
-
try {
|
|
82
|
-
cachedFamilyFilesystem = getFamilyFromLddContent(await readFile(LDD_PATH));
|
|
83
|
-
} catch (e) {}
|
|
84
|
-
return cachedFamilyFilesystem;
|
|
85
|
-
};
|
|
86
|
-
const familyFromFilesystemSync = () => {
|
|
87
|
-
if (cachedFamilyFilesystem !== void 0) return cachedFamilyFilesystem;
|
|
88
|
-
cachedFamilyFilesystem = null;
|
|
89
|
-
try {
|
|
90
|
-
cachedFamilyFilesystem = getFamilyFromLddContent(readFileSync(LDD_PATH));
|
|
91
|
-
} catch (e) {}
|
|
92
|
-
return cachedFamilyFilesystem;
|
|
93
|
-
};
|
|
94
|
-
const familyFromInterpreter = async () => {
|
|
95
|
-
if (cachedFamilyInterpreter !== void 0) return cachedFamilyInterpreter;
|
|
96
|
-
cachedFamilyInterpreter = null;
|
|
97
|
-
try {
|
|
98
|
-
cachedFamilyInterpreter = familyFromInterpreterPath(interpreterPath(await readFile(SELF_PATH)));
|
|
99
|
-
} catch (e) {}
|
|
100
|
-
return cachedFamilyInterpreter;
|
|
101
|
-
};
|
|
102
|
-
const familyFromInterpreterSync = () => {
|
|
103
|
-
if (cachedFamilyInterpreter !== void 0) return cachedFamilyInterpreter;
|
|
104
|
-
cachedFamilyInterpreter = null;
|
|
105
|
-
try {
|
|
106
|
-
cachedFamilyInterpreter = familyFromInterpreterPath(interpreterPath(readFileSync(SELF_PATH)));
|
|
107
|
-
} catch (e) {}
|
|
108
|
-
return cachedFamilyInterpreter;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Resolves with the libc family when it can be determined, `null` otherwise.
|
|
112
|
-
* @returns {Promise<?string>}
|
|
113
|
-
*/
|
|
114
|
-
const family = async () => {
|
|
115
|
-
let family = null;
|
|
116
|
-
if (isLinux()) {
|
|
117
|
-
family = await familyFromInterpreter();
|
|
118
|
-
if (!family) {
|
|
119
|
-
family = await familyFromFilesystem();
|
|
120
|
-
if (!family) family = familyFromReport();
|
|
121
|
-
if (!family) family = familyFromCommand(await safeCommand());
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return family;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Returns the libc family when it can be determined, `null` otherwise.
|
|
128
|
-
* @returns {?string}
|
|
129
|
-
*/
|
|
130
|
-
const familySync = () => {
|
|
131
|
-
let family = null;
|
|
132
|
-
if (isLinux()) {
|
|
133
|
-
family = familyFromInterpreterSync();
|
|
134
|
-
if (!family) {
|
|
135
|
-
family = familyFromFilesystemSync();
|
|
136
|
-
if (!family) family = familyFromReport();
|
|
137
|
-
if (!family) family = familyFromCommand(safeCommandSync());
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return family;
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* Resolves `true` only when the platform is Linux and the libc family is not `glibc`.
|
|
144
|
-
* @returns {Promise<boolean>}
|
|
145
|
-
*/
|
|
146
|
-
const isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
|
|
147
|
-
/**
|
|
148
|
-
* Returns `true` only when the platform is Linux and the libc family is not `glibc`.
|
|
149
|
-
* @returns {boolean}
|
|
150
|
-
*/
|
|
151
|
-
const isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
|
|
152
|
-
const versionFromFilesystem = async () => {
|
|
153
|
-
if (cachedVersionFilesystem !== void 0) return cachedVersionFilesystem;
|
|
154
|
-
cachedVersionFilesystem = null;
|
|
155
|
-
try {
|
|
156
|
-
const versionMatch = (await readFile(LDD_PATH)).match(RE_GLIBC_VERSION);
|
|
157
|
-
if (versionMatch) cachedVersionFilesystem = versionMatch[1];
|
|
158
|
-
} catch (e) {}
|
|
159
|
-
return cachedVersionFilesystem;
|
|
160
|
-
};
|
|
161
|
-
const versionFromFilesystemSync = () => {
|
|
162
|
-
if (cachedVersionFilesystem !== void 0) return cachedVersionFilesystem;
|
|
163
|
-
cachedVersionFilesystem = null;
|
|
164
|
-
try {
|
|
165
|
-
const versionMatch = readFileSync(LDD_PATH).match(RE_GLIBC_VERSION);
|
|
166
|
-
if (versionMatch) cachedVersionFilesystem = versionMatch[1];
|
|
167
|
-
} catch (e) {}
|
|
168
|
-
return cachedVersionFilesystem;
|
|
169
|
-
};
|
|
170
|
-
const versionFromReport = () => {
|
|
171
|
-
const report = getReport();
|
|
172
|
-
if (report.header && report.header.glibcVersionRuntime) return report.header.glibcVersionRuntime;
|
|
173
|
-
return null;
|
|
174
|
-
};
|
|
175
|
-
const versionSuffix = (s) => s.trim().split(/\s+/)[1];
|
|
176
|
-
const versionFromCommand = (out) => {
|
|
177
|
-
const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
|
|
178
|
-
if (getconf && getconf.includes(GLIBC)) return versionSuffix(getconf);
|
|
179
|
-
if (ldd1 && ldd2 && ldd1.includes(MUSL)) return versionSuffix(ldd2);
|
|
180
|
-
return null;
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* Resolves with the libc version when it can be determined, `null` otherwise.
|
|
184
|
-
* @returns {Promise<?string>}
|
|
185
|
-
*/
|
|
186
|
-
const version = async () => {
|
|
187
|
-
let version = null;
|
|
188
|
-
if (isLinux()) {
|
|
189
|
-
version = await versionFromFilesystem();
|
|
190
|
-
if (!version) version = versionFromReport();
|
|
191
|
-
if (!version) version = versionFromCommand(await safeCommand());
|
|
192
|
-
}
|
|
193
|
-
return version;
|
|
194
|
-
};
|
|
195
|
-
/**
|
|
196
|
-
* Returns the libc version when it can be determined, `null` otherwise.
|
|
197
|
-
* @returns {?string}
|
|
198
|
-
*/
|
|
199
|
-
const versionSync = () => {
|
|
200
|
-
let version = null;
|
|
201
|
-
if (isLinux()) {
|
|
202
|
-
version = versionFromFilesystemSync();
|
|
203
|
-
if (!version) version = versionFromReport();
|
|
204
|
-
if (!version) version = versionFromCommand(safeCommandSync());
|
|
205
|
-
}
|
|
206
|
-
return version;
|
|
207
|
-
};
|
|
208
|
-
module.exports = {
|
|
209
|
-
GLIBC,
|
|
210
|
-
MUSL,
|
|
211
|
-
family,
|
|
212
|
-
familySync,
|
|
213
|
-
isNonGlibcLinux,
|
|
214
|
-
isNonGlibcLinuxSync,
|
|
215
|
-
version,
|
|
216
|
-
versionSync
|
|
217
|
-
};
|
|
218
|
-
}));
|
|
219
|
-
//#endregion
|
|
220
|
-
export default require_detect_libc();
|
|
221
|
-
export { require_detect_libc };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js
|
|
3
|
-
var require_elf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
-
const interpreterPath = (elf) => {
|
|
5
|
-
if (elf.length < 64) return null;
|
|
6
|
-
if (elf.readUInt32BE(0) !== 2135247942) return null;
|
|
7
|
-
if (elf.readUInt8(4) !== 2) return null;
|
|
8
|
-
if (elf.readUInt8(5) !== 1) return null;
|
|
9
|
-
const offset = elf.readUInt32LE(32);
|
|
10
|
-
const size = elf.readUInt16LE(54);
|
|
11
|
-
const count = elf.readUInt16LE(56);
|
|
12
|
-
for (let i = 0; i < count; i++) {
|
|
13
|
-
const headerOffset = offset + i * size;
|
|
14
|
-
if (elf.readUInt32LE(headerOffset) === 3) {
|
|
15
|
-
const fileOffset = elf.readUInt32LE(headerOffset + 8);
|
|
16
|
-
const fileSize = elf.readUInt32LE(headerOffset + 32);
|
|
17
|
-
return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, "");
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return null;
|
|
21
|
-
};
|
|
22
|
-
module.exports = { interpreterPath };
|
|
23
|
-
}));
|
|
24
|
-
//#endregion
|
|
25
|
-
export default require_elf();
|
|
26
|
-
export { require_elf };
|