@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,212 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_s3_setup } from "./util/s3_setup.js";
|
|
3
|
-
import { require_nopt } from "../../../../../nopt@5.0.0/node_modules/nopt/lib/nopt.js";
|
|
4
|
-
import { require_log } from "../../../../../npmlog@5.0.1/node_modules/npmlog/log.js";
|
|
5
|
-
import { require_napi } from "./util/napi.js";
|
|
6
|
-
import { require_pre_binding } from "./pre-binding.js";
|
|
7
|
-
import { require_package } from "../package.js";
|
|
8
|
-
//#region node_modules/.pnpm/@mapbox+node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js
|
|
9
|
-
var require_node_pre_gyp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10
|
-
/**
|
|
11
|
-
* Module exports.
|
|
12
|
-
*/
|
|
13
|
-
module.exports = exports;
|
|
14
|
-
/**
|
|
15
|
-
* Module dependencies.
|
|
16
|
-
*/
|
|
17
|
-
exports.mockS3Http = require_s3_setup().get_mockS3Http();
|
|
18
|
-
exports.mockS3Http("on");
|
|
19
|
-
const mocking = exports.mockS3Http("get");
|
|
20
|
-
const fs = __require("fs");
|
|
21
|
-
const path = __require("path");
|
|
22
|
-
const nopt = require_nopt();
|
|
23
|
-
const log = require_log();
|
|
24
|
-
log.disableProgress();
|
|
25
|
-
const napi = require_napi();
|
|
26
|
-
const EE = __require("events").EventEmitter;
|
|
27
|
-
const inherits = __require("util").inherits;
|
|
28
|
-
const cli_commands = [
|
|
29
|
-
"clean",
|
|
30
|
-
"install",
|
|
31
|
-
"reinstall",
|
|
32
|
-
"build",
|
|
33
|
-
"rebuild",
|
|
34
|
-
"package",
|
|
35
|
-
"testpackage",
|
|
36
|
-
"publish",
|
|
37
|
-
"unpublish",
|
|
38
|
-
"info",
|
|
39
|
-
"testbinary",
|
|
40
|
-
"reveal",
|
|
41
|
-
"configure"
|
|
42
|
-
];
|
|
43
|
-
const aliases = {};
|
|
44
|
-
log.heading = "node-pre-gyp";
|
|
45
|
-
if (mocking) log.warn(`mocking s3 to ${process.env.node_pre_gyp_mock_s3}`);
|
|
46
|
-
Object.defineProperty(exports, "find", {
|
|
47
|
-
get: function() {
|
|
48
|
-
return require_pre_binding().find;
|
|
49
|
-
},
|
|
50
|
-
enumerable: true
|
|
51
|
-
});
|
|
52
|
-
function Run({ package_json_path = "./package.json", argv }) {
|
|
53
|
-
this.package_json_path = package_json_path;
|
|
54
|
-
this.commands = {};
|
|
55
|
-
const self = this;
|
|
56
|
-
cli_commands.forEach((command) => {
|
|
57
|
-
self.commands[command] = function(argvx, callback) {
|
|
58
|
-
log.verbose("command", command, argvx);
|
|
59
|
-
return __require("./" + command)(self, argvx, callback);
|
|
60
|
-
};
|
|
61
|
-
});
|
|
62
|
-
this.parseArgv(argv);
|
|
63
|
-
this.binaryHostSet = false;
|
|
64
|
-
}
|
|
65
|
-
inherits(Run, EE);
|
|
66
|
-
exports.Run = Run;
|
|
67
|
-
const proto = Run.prototype;
|
|
68
|
-
/**
|
|
69
|
-
* Export the contents of the package.json.
|
|
70
|
-
*/
|
|
71
|
-
proto.package = require_package();
|
|
72
|
-
/**
|
|
73
|
-
* nopt configuration definitions
|
|
74
|
-
*/
|
|
75
|
-
proto.configDefs = {
|
|
76
|
-
help: Boolean,
|
|
77
|
-
arch: String,
|
|
78
|
-
debug: Boolean,
|
|
79
|
-
directory: String,
|
|
80
|
-
proxy: String,
|
|
81
|
-
loglevel: String
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* nopt shorthands
|
|
85
|
-
*/
|
|
86
|
-
proto.shorthands = {
|
|
87
|
-
release: "--no-debug",
|
|
88
|
-
C: "--directory",
|
|
89
|
-
debug: "--debug",
|
|
90
|
-
j: "--jobs",
|
|
91
|
-
silent: "--loglevel=silent",
|
|
92
|
-
silly: "--loglevel=silly",
|
|
93
|
-
verbose: "--loglevel=verbose"
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* expose the command aliases for the bin file to use.
|
|
97
|
-
*/
|
|
98
|
-
proto.aliases = aliases;
|
|
99
|
-
/**
|
|
100
|
-
* Parses the given argv array and sets the 'opts', 'argv',
|
|
101
|
-
* 'command', and 'package_json' properties.
|
|
102
|
-
*/
|
|
103
|
-
proto.parseArgv = function parseOpts(argv) {
|
|
104
|
-
this.opts = nopt(this.configDefs, this.shorthands, argv);
|
|
105
|
-
this.argv = this.opts.argv.remain.slice();
|
|
106
|
-
const commands = this.todo = [];
|
|
107
|
-
argv = this.argv.map((arg) => {
|
|
108
|
-
if (arg in this.aliases) arg = this.aliases[arg];
|
|
109
|
-
return arg;
|
|
110
|
-
});
|
|
111
|
-
argv.slice().forEach((arg) => {
|
|
112
|
-
if (arg in this.commands) {
|
|
113
|
-
const args = argv.splice(0, argv.indexOf(arg));
|
|
114
|
-
argv.shift();
|
|
115
|
-
if (commands.length > 0) commands[commands.length - 1].args = args;
|
|
116
|
-
commands.push({
|
|
117
|
-
name: arg,
|
|
118
|
-
args: []
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
if (commands.length > 0) commands[commands.length - 1].args = argv.splice(0);
|
|
123
|
-
let package_json_path = this.package_json_path;
|
|
124
|
-
if (this.opts.directory) package_json_path = path.join(this.opts.directory, package_json_path);
|
|
125
|
-
this.package_json = JSON.parse(fs.readFileSync(package_json_path));
|
|
126
|
-
this.todo = napi.expand_commands(this.package_json, this.opts, commands);
|
|
127
|
-
const npm_config_prefix = "npm_config_";
|
|
128
|
-
Object.keys(process.env).forEach((name) => {
|
|
129
|
-
if (name.indexOf(npm_config_prefix) !== 0) return;
|
|
130
|
-
const val = process.env[name];
|
|
131
|
-
if (name === npm_config_prefix + "loglevel") log.level = val;
|
|
132
|
-
else {
|
|
133
|
-
name = name.substring(11);
|
|
134
|
-
if (name === "argv") if (this.opts.argv && this.opts.argv.remain && this.opts.argv.remain.length) {} else this.opts[name] = val;
|
|
135
|
-
else this.opts[name] = val;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
if (this.opts.loglevel) log.level = this.opts.loglevel;
|
|
139
|
-
log.resume();
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* allow the binary.host property to be set at execution time.
|
|
143
|
-
*
|
|
144
|
-
* for this to take effect requires all the following to be true.
|
|
145
|
-
* - binary is a property in package.json
|
|
146
|
-
* - binary.host is falsey
|
|
147
|
-
* - binary.staging_host is not empty
|
|
148
|
-
* - binary.production_host is not empty
|
|
149
|
-
*
|
|
150
|
-
* if any of the previous checks fail then the function returns an empty string
|
|
151
|
-
* and makes no changes to package.json's binary property.
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* if command is "publish" then the default is set to "binary.staging_host"
|
|
155
|
-
* if command is not "publish" the the default is set to "binary.production_host"
|
|
156
|
-
*
|
|
157
|
-
* if the command-line option '--s3_host' is set to "staging" or "production" then
|
|
158
|
-
* "binary.host" is set to the specified "staging_host" or "production_host". if
|
|
159
|
-
* '--s3_host' is any other value an exception is thrown.
|
|
160
|
-
*
|
|
161
|
-
* if '--s3_host' is not present then "binary.host" is set to the default as above.
|
|
162
|
-
*
|
|
163
|
-
* this strategy was chosen so that any command other than "publish" or "unpublish" uses "production"
|
|
164
|
-
* as the default without requiring any command-line options but that "publish" and "unpublish" require
|
|
165
|
-
* '--s3_host production_host' to be specified in order to *really* publish (or unpublish). publishing
|
|
166
|
-
* to staging can be done freely without worrying about disturbing any production releases.
|
|
167
|
-
*/
|
|
168
|
-
proto.setBinaryHostProperty = function(command) {
|
|
169
|
-
if (this.binaryHostSet) return this.package_json.binary.host;
|
|
170
|
-
const p = this.package_json;
|
|
171
|
-
if (!p || !p.binary || p.binary.host) return "";
|
|
172
|
-
if (!p.binary.staging_host || !p.binary.production_host) return "";
|
|
173
|
-
let target = "production_host";
|
|
174
|
-
if (command === "publish" || command === "unpublish") target = "staging_host";
|
|
175
|
-
const npg_s3_host = process.env.node_pre_gyp_s3_host;
|
|
176
|
-
if (npg_s3_host === "staging" || npg_s3_host === "production") target = `${npg_s3_host}_host`;
|
|
177
|
-
else if (this.opts["s3_host"] === "staging" || this.opts["s3_host"] === "production") target = `${this.opts["s3_host"]}_host`;
|
|
178
|
-
else if (this.opts["s3_host"] || npg_s3_host) throw new Error(`invalid s3_host ${this.opts["s3_host"] || npg_s3_host}`);
|
|
179
|
-
p.binary.host = p.binary[target];
|
|
180
|
-
this.binaryHostSet = true;
|
|
181
|
-
return p.binary.host;
|
|
182
|
-
};
|
|
183
|
-
/**
|
|
184
|
-
* Returns the usage instructions for node-pre-gyp.
|
|
185
|
-
*/
|
|
186
|
-
proto.usage = function usage() {
|
|
187
|
-
return [
|
|
188
|
-
"",
|
|
189
|
-
" Usage: node-pre-gyp <command> [options]",
|
|
190
|
-
"",
|
|
191
|
-
" where <command> is one of:",
|
|
192
|
-
cli_commands.map((c) => {
|
|
193
|
-
return " - " + c + " - " + __require("./" + c).usage;
|
|
194
|
-
}).join("\n"),
|
|
195
|
-
"",
|
|
196
|
-
"node-pre-gyp@" + this.version + " " + path.resolve(__dirname, ".."),
|
|
197
|
-
"node@" + process.versions.node
|
|
198
|
-
].join("\n");
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* Version number getter.
|
|
202
|
-
*/
|
|
203
|
-
Object.defineProperty(proto, "version", {
|
|
204
|
-
get: function() {
|
|
205
|
-
return this.package.version;
|
|
206
|
-
},
|
|
207
|
-
enumerable: true
|
|
208
|
-
});
|
|
209
|
-
}));
|
|
210
|
-
//#endregion
|
|
211
|
-
export default require_node_pre_gyp();
|
|
212
|
-
export { require_node_pre_gyp };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_napi } from "./util/napi.js";
|
|
3
|
-
import { require_versioning } from "./util/versioning.js";
|
|
4
|
-
import { require_node_pre_gyp } from "./node-pre-gyp.js";
|
|
5
|
-
//#region node_modules/.pnpm/@mapbox+node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js
|
|
6
|
-
var require_pre_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
-
const npg = require_node_pre_gyp();
|
|
8
|
-
const versioning = require_versioning();
|
|
9
|
-
const napi = require_napi();
|
|
10
|
-
const existsSync = __require("fs").existsSync || __require("path").existsSync;
|
|
11
|
-
const path = __require("path");
|
|
12
|
-
module.exports = exports;
|
|
13
|
-
exports.usage = "Finds the require path for the node-pre-gyp installed module";
|
|
14
|
-
exports.validate = function(package_json, opts) {
|
|
15
|
-
versioning.validate_config(package_json, opts);
|
|
16
|
-
};
|
|
17
|
-
exports.find = function(package_json_path, opts) {
|
|
18
|
-
if (!existsSync(package_json_path)) throw new Error(package_json_path + "does not exist");
|
|
19
|
-
const prog = new npg.Run({
|
|
20
|
-
package_json_path,
|
|
21
|
-
argv: process.argv
|
|
22
|
-
});
|
|
23
|
-
prog.setBinaryHostProperty();
|
|
24
|
-
const package_json = prog.package_json;
|
|
25
|
-
versioning.validate_config(package_json, opts);
|
|
26
|
-
let napi_build_version;
|
|
27
|
-
if (napi.get_napi_build_versions(package_json, opts)) napi_build_version = napi.get_best_napi_build_version(package_json, opts);
|
|
28
|
-
opts = opts || {};
|
|
29
|
-
if (!opts.module_root) opts.module_root = path.dirname(package_json_path);
|
|
30
|
-
return versioning.evaluate(package_json, opts, napi_build_version).module;
|
|
31
|
-
};
|
|
32
|
-
}));
|
|
33
|
-
//#endregion
|
|
34
|
-
export default require_pre_binding();
|
|
35
|
-
export { require_pre_binding };
|