@ontos-ai/knowhere-claw 0.2.0 → 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/__tests__/channel-route.test.d.ts +1 -0
- package/dist/__tests__/ingest-tool.test.d.ts +1 -0
- package/dist/__tests__/kg-service-test-helper.d.ts +2 -0
- package/dist/__tests__/kg-service.test.d.ts +1 -0
- package/dist/__tests__/read-result-file-tool.test.d.ts +1 -0
- package/dist/__tests__/tracker-progress.test.d.ts +1 -0
- package/dist/_virtual/_rolldown/runtime.js +1 -35
- package/dist/channel-delivery.d.ts +21 -0
- package/dist/client.d.ts +33 -0
- package/dist/client.js +1 -1
- package/dist/config.d.ts +13 -0
- package/dist/connect-builder.d.ts +48 -0
- package/dist/connect-builder.js +1 -2
- package/dist/error-message.d.ts +1 -0
- package/dist/graph-builder.d.ts +75 -0
- package/dist/graph-builder.js +9 -5
- package/dist/index.d.ts +9 -0
- package/dist/kg-service.d.ts +38 -0
- package/dist/kg-service.js +39 -33
- package/dist/parser.d.ts +16 -0
- package/dist/parser.js +1 -1
- package/dist/session.d.ts +11 -0
- package/dist/store.d.ts +79 -0
- package/dist/text.d.ts +10 -0
- package/dist/tools.d.ts +10 -0
- package/dist/tracker-progress.d.ts +10 -0
- package/dist/types.d.ts +320 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +4 -3
- 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,20 +0,0 @@
|
|
|
1
|
-
import isAbsoluteURL from "../helpers/isAbsoluteURL.js";
|
|
2
|
-
import combineURLs from "../helpers/combineURLs.js";
|
|
3
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js
|
|
4
|
-
/**
|
|
5
|
-
* Creates a new URL by combining the baseURL with the requestedURL,
|
|
6
|
-
* only when the requestedURL is not already an absolute URL.
|
|
7
|
-
* If the requestURL is absolute, this function returns the requestedURL untouched.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} baseURL The base URL
|
|
10
|
-
* @param {string} requestedURL Absolute or relative URL to combine
|
|
11
|
-
*
|
|
12
|
-
* @returns {string} The combined full path
|
|
13
|
-
*/
|
|
14
|
-
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
15
|
-
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
16
|
-
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) return combineURLs(baseURL, requestedURL);
|
|
17
|
-
return requestedURL;
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
export { buildFullPath as default };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import defaults from "../defaults/index.js";
|
|
2
|
-
import AxiosHeaders from "./AxiosHeaders.js";
|
|
3
|
-
import transformData from "./transformData.js";
|
|
4
|
-
import isCancel from "../cancel/isCancel.js";
|
|
5
|
-
import CanceledError from "../cancel/CanceledError.js";
|
|
6
|
-
import adapters_default from "../adapters/adapters.js";
|
|
7
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js
|
|
8
|
-
/**
|
|
9
|
-
* Throws a `CanceledError` if cancellation has been requested.
|
|
10
|
-
*
|
|
11
|
-
* @param {Object} config The config that is to be used for the request
|
|
12
|
-
*
|
|
13
|
-
* @returns {void}
|
|
14
|
-
*/
|
|
15
|
-
function throwIfCancellationRequested(config) {
|
|
16
|
-
if (config.cancelToken) config.cancelToken.throwIfRequested();
|
|
17
|
-
if (config.signal && config.signal.aborted) throw new CanceledError(null, config);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Dispatch a request to the server using the configured adapter.
|
|
21
|
-
*
|
|
22
|
-
* @param {object} config The config that is to be used for the request
|
|
23
|
-
*
|
|
24
|
-
* @returns {Promise} The Promise to be fulfilled
|
|
25
|
-
*/
|
|
26
|
-
function dispatchRequest(config) {
|
|
27
|
-
throwIfCancellationRequested(config);
|
|
28
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
29
|
-
config.data = transformData.call(config, config.transformRequest);
|
|
30
|
-
if ([
|
|
31
|
-
"post",
|
|
32
|
-
"put",
|
|
33
|
-
"patch"
|
|
34
|
-
].indexOf(config.method) !== -1) config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
35
|
-
return adapters_default.getAdapter(config.adapter || defaults.adapter, config)(config).then(function onAdapterResolution(response) {
|
|
36
|
-
throwIfCancellationRequested(config);
|
|
37
|
-
response.data = transformData.call(config, config.transformResponse, response);
|
|
38
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
39
|
-
return response;
|
|
40
|
-
}, function onAdapterRejection(reason) {
|
|
41
|
-
if (!isCancel(reason)) {
|
|
42
|
-
throwIfCancellationRequested(config);
|
|
43
|
-
if (reason && reason.response) {
|
|
44
|
-
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
45
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return Promise.reject(reason);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
//#endregion
|
|
52
|
-
export { dispatchRequest as default };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import AxiosHeaders from "./AxiosHeaders.js";
|
|
3
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js
|
|
4
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
5
|
-
/**
|
|
6
|
-
* Config-specific merge-function which creates a new config-object
|
|
7
|
-
* by merging two configuration objects together.
|
|
8
|
-
*
|
|
9
|
-
* @param {Object} config1
|
|
10
|
-
* @param {Object} config2
|
|
11
|
-
*
|
|
12
|
-
* @returns {Object} New object resulting from merging config2 to config1
|
|
13
|
-
*/
|
|
14
|
-
function mergeConfig(config1, config2) {
|
|
15
|
-
config2 = config2 || {};
|
|
16
|
-
const config = {};
|
|
17
|
-
function getMergedValue(target, source, prop, caseless) {
|
|
18
|
-
if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) return utils_default.merge.call({ caseless }, target, source);
|
|
19
|
-
else if (utils_default.isPlainObject(source)) return utils_default.merge({}, source);
|
|
20
|
-
else if (utils_default.isArray(source)) return source.slice();
|
|
21
|
-
return source;
|
|
22
|
-
}
|
|
23
|
-
function mergeDeepProperties(a, b, prop, caseless) {
|
|
24
|
-
if (!utils_default.isUndefined(b)) return getMergedValue(a, b, prop, caseless);
|
|
25
|
-
else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a, prop, caseless);
|
|
26
|
-
}
|
|
27
|
-
function valueFromConfig2(a, b) {
|
|
28
|
-
if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
|
|
29
|
-
}
|
|
30
|
-
function defaultToConfig2(a, b) {
|
|
31
|
-
if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
|
|
32
|
-
else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a);
|
|
33
|
-
}
|
|
34
|
-
function mergeDirectKeys(a, b, prop) {
|
|
35
|
-
if (prop in config2) return getMergedValue(a, b);
|
|
36
|
-
else if (prop in config1) return getMergedValue(void 0, a);
|
|
37
|
-
}
|
|
38
|
-
const mergeMap = {
|
|
39
|
-
url: valueFromConfig2,
|
|
40
|
-
method: valueFromConfig2,
|
|
41
|
-
data: valueFromConfig2,
|
|
42
|
-
baseURL: defaultToConfig2,
|
|
43
|
-
transformRequest: defaultToConfig2,
|
|
44
|
-
transformResponse: defaultToConfig2,
|
|
45
|
-
paramsSerializer: defaultToConfig2,
|
|
46
|
-
timeout: defaultToConfig2,
|
|
47
|
-
timeoutMessage: defaultToConfig2,
|
|
48
|
-
withCredentials: defaultToConfig2,
|
|
49
|
-
withXSRFToken: defaultToConfig2,
|
|
50
|
-
adapter: defaultToConfig2,
|
|
51
|
-
responseType: defaultToConfig2,
|
|
52
|
-
xsrfCookieName: defaultToConfig2,
|
|
53
|
-
xsrfHeaderName: defaultToConfig2,
|
|
54
|
-
onUploadProgress: defaultToConfig2,
|
|
55
|
-
onDownloadProgress: defaultToConfig2,
|
|
56
|
-
decompress: defaultToConfig2,
|
|
57
|
-
maxContentLength: defaultToConfig2,
|
|
58
|
-
maxBodyLength: defaultToConfig2,
|
|
59
|
-
beforeRedirect: defaultToConfig2,
|
|
60
|
-
transport: defaultToConfig2,
|
|
61
|
-
httpAgent: defaultToConfig2,
|
|
62
|
-
httpsAgent: defaultToConfig2,
|
|
63
|
-
cancelToken: defaultToConfig2,
|
|
64
|
-
socketPath: defaultToConfig2,
|
|
65
|
-
responseEncoding: defaultToConfig2,
|
|
66
|
-
validateStatus: mergeDirectKeys,
|
|
67
|
-
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
68
|
-
};
|
|
69
|
-
utils_default.forEach(Object.keys({
|
|
70
|
-
...config1,
|
|
71
|
-
...config2
|
|
72
|
-
}), function computeConfigValue(prop) {
|
|
73
|
-
if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
|
|
74
|
-
const merge = utils_default.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
75
|
-
const configValue = merge(config1[prop], config2[prop], prop);
|
|
76
|
-
utils_default.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
77
|
-
});
|
|
78
|
-
return config;
|
|
79
|
-
}
|
|
80
|
-
//#endregion
|
|
81
|
-
export { mergeConfig as default };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AxiosError from "./AxiosError.js";
|
|
2
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js
|
|
3
|
-
/**
|
|
4
|
-
* Resolve or reject a Promise based on response status.
|
|
5
|
-
*
|
|
6
|
-
* @param {Function} resolve A function that resolves the promise.
|
|
7
|
-
* @param {Function} reject A function that rejects the promise.
|
|
8
|
-
* @param {object} response The response.
|
|
9
|
-
*
|
|
10
|
-
* @returns {object} The response.
|
|
11
|
-
*/
|
|
12
|
-
function settle(resolve, reject, response) {
|
|
13
|
-
const validateStatus = response.config.validateStatus;
|
|
14
|
-
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
15
|
-
else reject(new AxiosError("Request failed with status code " + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { settle as default };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import defaults from "../defaults/index.js";
|
|
3
|
-
import AxiosHeaders from "./AxiosHeaders.js";
|
|
4
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js
|
|
5
|
-
/**
|
|
6
|
-
* Transform the data for a request or a response
|
|
7
|
-
*
|
|
8
|
-
* @param {Array|Function} fns A single function or Array of functions
|
|
9
|
-
* @param {?Object} response The response object
|
|
10
|
-
*
|
|
11
|
-
* @returns {*} The resulting transformed data
|
|
12
|
-
*/
|
|
13
|
-
function transformData(fns, response) {
|
|
14
|
-
const config = this || defaults;
|
|
15
|
-
const context = response || config;
|
|
16
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
17
|
-
let data = context.data;
|
|
18
|
-
utils_default.forEach(fns, function transform(fn) {
|
|
19
|
-
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
20
|
-
});
|
|
21
|
-
headers.normalize();
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { transformData as default };
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import AxiosError from "../core/AxiosError.js";
|
|
3
|
-
import toFormData from "../helpers/toFormData.js";
|
|
4
|
-
import transitional_default from "./transitional.js";
|
|
5
|
-
import platform_default from "../platform/index.js";
|
|
6
|
-
import toURLEncodedForm from "../helpers/toURLEncodedForm.js";
|
|
7
|
-
import formDataToJSON from "../helpers/formDataToJSON.js";
|
|
8
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js
|
|
9
|
-
/**
|
|
10
|
-
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
|
11
|
-
* of the input
|
|
12
|
-
*
|
|
13
|
-
* @param {any} rawValue - The value to be stringified.
|
|
14
|
-
* @param {Function} parser - A function that parses a string into a JavaScript object.
|
|
15
|
-
* @param {Function} encoder - A function that takes a value and returns a string.
|
|
16
|
-
*
|
|
17
|
-
* @returns {string} A stringified version of the rawValue.
|
|
18
|
-
*/
|
|
19
|
-
function stringifySafely(rawValue, parser, encoder) {
|
|
20
|
-
if (utils_default.isString(rawValue)) try {
|
|
21
|
-
(parser || JSON.parse)(rawValue);
|
|
22
|
-
return utils_default.trim(rawValue);
|
|
23
|
-
} catch (e) {
|
|
24
|
-
if (e.name !== "SyntaxError") throw e;
|
|
25
|
-
}
|
|
26
|
-
return (encoder || JSON.stringify)(rawValue);
|
|
27
|
-
}
|
|
28
|
-
const defaults = {
|
|
29
|
-
transitional: transitional_default,
|
|
30
|
-
adapter: [
|
|
31
|
-
"xhr",
|
|
32
|
-
"http",
|
|
33
|
-
"fetch"
|
|
34
|
-
],
|
|
35
|
-
transformRequest: [function transformRequest(data, headers) {
|
|
36
|
-
const contentType = headers.getContentType() || "";
|
|
37
|
-
const hasJSONContentType = contentType.indexOf("application/json") > -1;
|
|
38
|
-
const isObjectPayload = utils_default.isObject(data);
|
|
39
|
-
if (isObjectPayload && utils_default.isHTMLForm(data)) data = new FormData(data);
|
|
40
|
-
if (utils_default.isFormData(data)) return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
41
|
-
if (utils_default.isArrayBuffer(data) || utils_default.isBuffer(data) || utils_default.isStream(data) || utils_default.isFile(data) || utils_default.isBlob(data) || utils_default.isReadableStream(data)) return data;
|
|
42
|
-
if (utils_default.isArrayBufferView(data)) return data.buffer;
|
|
43
|
-
if (utils_default.isURLSearchParams(data)) {
|
|
44
|
-
headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
|
|
45
|
-
return data.toString();
|
|
46
|
-
}
|
|
47
|
-
let isFileList;
|
|
48
|
-
if (isObjectPayload) {
|
|
49
|
-
if (contentType.indexOf("application/x-www-form-urlencoded") > -1) return toURLEncodedForm(data, this.formSerializer).toString();
|
|
50
|
-
if ((isFileList = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
|
|
51
|
-
const _FormData = this.env && this.env.FormData;
|
|
52
|
-
return toFormData(isFileList ? { "files[]": data } : data, _FormData && new _FormData(), this.formSerializer);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
if (isObjectPayload || hasJSONContentType) {
|
|
56
|
-
headers.setContentType("application/json", false);
|
|
57
|
-
return stringifySafely(data);
|
|
58
|
-
}
|
|
59
|
-
return data;
|
|
60
|
-
}],
|
|
61
|
-
transformResponse: [function transformResponse(data) {
|
|
62
|
-
const transitional = this.transitional || defaults.transitional;
|
|
63
|
-
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
64
|
-
const JSONRequested = this.responseType === "json";
|
|
65
|
-
if (utils_default.isResponse(data) || utils_default.isReadableStream(data)) return data;
|
|
66
|
-
if (data && utils_default.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
67
|
-
const strictJSONParsing = !(transitional && transitional.silentJSONParsing) && JSONRequested;
|
|
68
|
-
try {
|
|
69
|
-
return JSON.parse(data, this.parseReviver);
|
|
70
|
-
} catch (e) {
|
|
71
|
-
if (strictJSONParsing) {
|
|
72
|
-
if (e.name === "SyntaxError") throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
73
|
-
throw e;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return data;
|
|
78
|
-
}],
|
|
79
|
-
timeout: 0,
|
|
80
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
81
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
82
|
-
maxContentLength: -1,
|
|
83
|
-
maxBodyLength: -1,
|
|
84
|
-
env: {
|
|
85
|
-
FormData: platform_default.classes.FormData,
|
|
86
|
-
Blob: platform_default.classes.Blob
|
|
87
|
-
},
|
|
88
|
-
validateStatus: function validateStatus(status) {
|
|
89
|
-
return status >= 200 && status < 300;
|
|
90
|
-
},
|
|
91
|
-
headers: { common: {
|
|
92
|
-
Accept: "application/json, text/plain, */*",
|
|
93
|
-
"Content-Type": void 0
|
|
94
|
-
} }
|
|
95
|
-
};
|
|
96
|
-
utils_default.forEach([
|
|
97
|
-
"delete",
|
|
98
|
-
"get",
|
|
99
|
-
"head",
|
|
100
|
-
"post",
|
|
101
|
-
"put",
|
|
102
|
-
"patch"
|
|
103
|
-
], (method) => {
|
|
104
|
-
defaults.headers[method] = {};
|
|
105
|
-
});
|
|
106
|
-
//#endregion
|
|
107
|
-
export { defaults as default };
|
package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js
|
|
2
|
-
var transitional_default = {
|
|
3
|
-
silentJSONParsing: true,
|
|
4
|
-
forcedJSONParsing: true,
|
|
5
|
-
clarifyTimeoutError: false,
|
|
6
|
-
legacyInterceptorReqResOrdering: true
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { transitional_default as default };
|
package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import toFormData from "./toFormData.js";
|
|
2
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
3
|
-
/**
|
|
4
|
-
* It encodes a string by replacing all characters that are not in the unreserved set with
|
|
5
|
-
* their percent-encoded equivalents
|
|
6
|
-
*
|
|
7
|
-
* @param {string} str - The string to encode.
|
|
8
|
-
*
|
|
9
|
-
* @returns {string} The encoded string.
|
|
10
|
-
*/
|
|
11
|
-
function encode(str) {
|
|
12
|
-
const charMap = {
|
|
13
|
-
"!": "%21",
|
|
14
|
-
"'": "%27",
|
|
15
|
-
"(": "%28",
|
|
16
|
-
")": "%29",
|
|
17
|
-
"~": "%7E",
|
|
18
|
-
"%20": "+",
|
|
19
|
-
"%00": "\0"
|
|
20
|
-
};
|
|
21
|
-
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
22
|
-
return charMap[match];
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* It takes a params object and converts it to a FormData object
|
|
27
|
-
*
|
|
28
|
-
* @param {Object<string, any>} params - The parameters to be converted to a FormData object.
|
|
29
|
-
* @param {Object<string, any>} options - The options object passed to the Axios constructor.
|
|
30
|
-
*
|
|
31
|
-
* @returns {void}
|
|
32
|
-
*/
|
|
33
|
-
function AxiosURLSearchParams(params, options) {
|
|
34
|
-
this._pairs = [];
|
|
35
|
-
params && toFormData(params, this, options);
|
|
36
|
-
}
|
|
37
|
-
const prototype = AxiosURLSearchParams.prototype;
|
|
38
|
-
prototype.append = function append(name, value) {
|
|
39
|
-
this._pairs.push([name, value]);
|
|
40
|
-
};
|
|
41
|
-
prototype.toString = function toString(encoder) {
|
|
42
|
-
const _encode = encoder ? function(value) {
|
|
43
|
-
return encoder.call(this, value, encode);
|
|
44
|
-
} : encode;
|
|
45
|
-
return this._pairs.map(function each(pair) {
|
|
46
|
-
return _encode(pair[0]) + "=" + _encode(pair[1]);
|
|
47
|
-
}, "").join("&");
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
export { AxiosURLSearchParams as default };
|
package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
2
|
-
const HttpStatusCode = {
|
|
3
|
-
Continue: 100,
|
|
4
|
-
SwitchingProtocols: 101,
|
|
5
|
-
Processing: 102,
|
|
6
|
-
EarlyHints: 103,
|
|
7
|
-
Ok: 200,
|
|
8
|
-
Created: 201,
|
|
9
|
-
Accepted: 202,
|
|
10
|
-
NonAuthoritativeInformation: 203,
|
|
11
|
-
NoContent: 204,
|
|
12
|
-
ResetContent: 205,
|
|
13
|
-
PartialContent: 206,
|
|
14
|
-
MultiStatus: 207,
|
|
15
|
-
AlreadyReported: 208,
|
|
16
|
-
ImUsed: 226,
|
|
17
|
-
MultipleChoices: 300,
|
|
18
|
-
MovedPermanently: 301,
|
|
19
|
-
Found: 302,
|
|
20
|
-
SeeOther: 303,
|
|
21
|
-
NotModified: 304,
|
|
22
|
-
UseProxy: 305,
|
|
23
|
-
Unused: 306,
|
|
24
|
-
TemporaryRedirect: 307,
|
|
25
|
-
PermanentRedirect: 308,
|
|
26
|
-
BadRequest: 400,
|
|
27
|
-
Unauthorized: 401,
|
|
28
|
-
PaymentRequired: 402,
|
|
29
|
-
Forbidden: 403,
|
|
30
|
-
NotFound: 404,
|
|
31
|
-
MethodNotAllowed: 405,
|
|
32
|
-
NotAcceptable: 406,
|
|
33
|
-
ProxyAuthenticationRequired: 407,
|
|
34
|
-
RequestTimeout: 408,
|
|
35
|
-
Conflict: 409,
|
|
36
|
-
Gone: 410,
|
|
37
|
-
LengthRequired: 411,
|
|
38
|
-
PreconditionFailed: 412,
|
|
39
|
-
PayloadTooLarge: 413,
|
|
40
|
-
UriTooLong: 414,
|
|
41
|
-
UnsupportedMediaType: 415,
|
|
42
|
-
RangeNotSatisfiable: 416,
|
|
43
|
-
ExpectationFailed: 417,
|
|
44
|
-
ImATeapot: 418,
|
|
45
|
-
MisdirectedRequest: 421,
|
|
46
|
-
UnprocessableEntity: 422,
|
|
47
|
-
Locked: 423,
|
|
48
|
-
FailedDependency: 424,
|
|
49
|
-
TooEarly: 425,
|
|
50
|
-
UpgradeRequired: 426,
|
|
51
|
-
PreconditionRequired: 428,
|
|
52
|
-
TooManyRequests: 429,
|
|
53
|
-
RequestHeaderFieldsTooLarge: 431,
|
|
54
|
-
UnavailableForLegalReasons: 451,
|
|
55
|
-
InternalServerError: 500,
|
|
56
|
-
NotImplemented: 501,
|
|
57
|
-
BadGateway: 502,
|
|
58
|
-
ServiceUnavailable: 503,
|
|
59
|
-
GatewayTimeout: 504,
|
|
60
|
-
HttpVersionNotSupported: 505,
|
|
61
|
-
VariantAlsoNegotiates: 506,
|
|
62
|
-
InsufficientStorage: 507,
|
|
63
|
-
LoopDetected: 508,
|
|
64
|
-
NotExtended: 510,
|
|
65
|
-
NetworkAuthenticationRequired: 511,
|
|
66
|
-
WebServerIsDown: 521,
|
|
67
|
-
ConnectionTimedOut: 522,
|
|
68
|
-
OriginIsUnreachable: 523,
|
|
69
|
-
TimeoutOccurred: 524,
|
|
70
|
-
SslHandshakeFailed: 525,
|
|
71
|
-
InvalidSslCertificate: 526
|
|
72
|
-
};
|
|
73
|
-
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
74
|
-
HttpStatusCode[value] = key;
|
|
75
|
-
});
|
|
76
|
-
//#endregion
|
|
77
|
-
export { HttpStatusCode as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js
|
|
2
|
-
/**
|
|
3
|
-
* Create a bound version of a function with a specified `this` context
|
|
4
|
-
*
|
|
5
|
-
* @param {Function} fn - The function to bind
|
|
6
|
-
* @param {*} thisArg - The value to be passed as the `this` parameter
|
|
7
|
-
* @returns {Function} A new function that will call the original function with the specified `this` context
|
|
8
|
-
*/
|
|
9
|
-
function bind(fn, thisArg) {
|
|
10
|
-
return function wrap() {
|
|
11
|
-
return fn.apply(thisArg, arguments);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { bind as default };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import AxiosURLSearchParams from "./AxiosURLSearchParams.js";
|
|
3
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js
|
|
4
|
-
/**
|
|
5
|
-
* It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
|
|
6
|
-
* URI encoded counterparts
|
|
7
|
-
*
|
|
8
|
-
* @param {string} val The value to be encoded.
|
|
9
|
-
*
|
|
10
|
-
* @returns {string} The encoded value.
|
|
11
|
-
*/
|
|
12
|
-
function encode(val) {
|
|
13
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Build a URL by appending params to the end
|
|
17
|
-
*
|
|
18
|
-
* @param {string} url The base of the url (e.g., http://www.google.com)
|
|
19
|
-
* @param {object} [params] The params to be appended
|
|
20
|
-
* @param {?(object|Function)} options
|
|
21
|
-
*
|
|
22
|
-
* @returns {string} The formatted url
|
|
23
|
-
*/
|
|
24
|
-
function buildURL(url, params, options) {
|
|
25
|
-
if (!params) return url;
|
|
26
|
-
const _encode = options && options.encode || encode;
|
|
27
|
-
const _options = utils_default.isFunction(options) ? { serialize: options } : options;
|
|
28
|
-
const serializeFn = _options && _options.serialize;
|
|
29
|
-
let serializedParams;
|
|
30
|
-
if (serializeFn) serializedParams = serializeFn(params, _options);
|
|
31
|
-
else serializedParams = utils_default.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
32
|
-
if (serializedParams) {
|
|
33
|
-
const hashmarkIndex = url.indexOf("#");
|
|
34
|
-
if (hashmarkIndex !== -1) url = url.slice(0, hashmarkIndex);
|
|
35
|
-
url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
|
|
36
|
-
}
|
|
37
|
-
return url;
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { buildURL as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new URL by combining the specified URLs
|
|
4
|
-
*
|
|
5
|
-
* @param {string} baseURL The base URL
|
|
6
|
-
* @param {string} relativeURL The relative URL
|
|
7
|
-
*
|
|
8
|
-
* @returns {string} The combined URL
|
|
9
|
-
*/
|
|
10
|
-
function combineURLs(baseURL, relativeURL) {
|
|
11
|
-
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { combineURLs as default };
|
package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import AxiosError from "../core/AxiosError.js";
|
|
3
|
-
import CanceledError from "../cancel/CanceledError.js";
|
|
4
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js
|
|
5
|
-
const composeSignals = (signals, timeout) => {
|
|
6
|
-
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
7
|
-
if (timeout || length) {
|
|
8
|
-
let controller = new AbortController();
|
|
9
|
-
let aborted;
|
|
10
|
-
const onabort = function(reason) {
|
|
11
|
-
if (!aborted) {
|
|
12
|
-
aborted = true;
|
|
13
|
-
unsubscribe();
|
|
14
|
-
const err = reason instanceof Error ? reason : this.reason;
|
|
15
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
let timer = timeout && setTimeout(() => {
|
|
19
|
-
timer = null;
|
|
20
|
-
onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));
|
|
21
|
-
}, timeout);
|
|
22
|
-
const unsubscribe = () => {
|
|
23
|
-
if (signals) {
|
|
24
|
-
timer && clearTimeout(timer);
|
|
25
|
-
timer = null;
|
|
26
|
-
signals.forEach((signal) => {
|
|
27
|
-
signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener("abort", onabort);
|
|
28
|
-
});
|
|
29
|
-
signals = null;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
signals.forEach((signal) => signal.addEventListener("abort", onabort));
|
|
33
|
-
const { signal } = controller;
|
|
34
|
-
signal.unsubscribe = () => utils_default.asap(unsubscribe);
|
|
35
|
-
return signal;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
//#endregion
|
|
39
|
-
export { composeSignals as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
import platform_default from "../platform/index.js";
|
|
3
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js
|
|
4
|
-
var cookies_default = platform_default.hasStandardBrowserEnv ? {
|
|
5
|
-
write(name, value, expires, path, domain, secure, sameSite) {
|
|
6
|
-
if (typeof document === "undefined") return;
|
|
7
|
-
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
8
|
-
if (utils_default.isNumber(expires)) cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
9
|
-
if (utils_default.isString(path)) cookie.push(`path=${path}`);
|
|
10
|
-
if (utils_default.isString(domain)) cookie.push(`domain=${domain}`);
|
|
11
|
-
if (secure === true) cookie.push("secure");
|
|
12
|
-
if (utils_default.isString(sameSite)) cookie.push(`SameSite=${sameSite}`);
|
|
13
|
-
document.cookie = cookie.join("; ");
|
|
14
|
-
},
|
|
15
|
-
read(name) {
|
|
16
|
-
if (typeof document === "undefined") return null;
|
|
17
|
-
const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
|
|
18
|
-
return match ? decodeURIComponent(match[1]) : null;
|
|
19
|
-
},
|
|
20
|
-
remove(name) {
|
|
21
|
-
this.write(name, "", Date.now() - 864e5, "/");
|
|
22
|
-
}
|
|
23
|
-
} : {
|
|
24
|
-
write() {},
|
|
25
|
-
read() {
|
|
26
|
-
return null;
|
|
27
|
-
},
|
|
28
|
-
remove() {}
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
export { cookies_default as default };
|
package/dist/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import utils_default from "../utils.js";
|
|
2
|
-
//#region node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
3
|
-
/**
|
|
4
|
-
* It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
|
|
5
|
-
*
|
|
6
|
-
* @param {string} name - The name of the property to get.
|
|
7
|
-
*
|
|
8
|
-
* @returns An array of strings.
|
|
9
|
-
*/
|
|
10
|
-
function parsePropPath(name) {
|
|
11
|
-
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
12
|
-
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Convert an array to an object.
|
|
17
|
-
*
|
|
18
|
-
* @param {Array<any>} arr - The array to convert to an object.
|
|
19
|
-
*
|
|
20
|
-
* @returns An object with the same keys and values as the array.
|
|
21
|
-
*/
|
|
22
|
-
function arrayToObject(arr) {
|
|
23
|
-
const obj = {};
|
|
24
|
-
const keys = Object.keys(arr);
|
|
25
|
-
let i;
|
|
26
|
-
const len = keys.length;
|
|
27
|
-
let key;
|
|
28
|
-
for (i = 0; i < len; i++) {
|
|
29
|
-
key = keys[i];
|
|
30
|
-
obj[key] = arr[key];
|
|
31
|
-
}
|
|
32
|
-
return obj;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* It takes a FormData object and returns a JavaScript object
|
|
36
|
-
*
|
|
37
|
-
* @param {string} formData The FormData object to convert to JSON.
|
|
38
|
-
*
|
|
39
|
-
* @returns {Object<string, any> | null} The converted object.
|
|
40
|
-
*/
|
|
41
|
-
function formDataToJSON(formData) {
|
|
42
|
-
function buildPath(path, value, target, index) {
|
|
43
|
-
let name = path[index++];
|
|
44
|
-
if (name === "__proto__") return true;
|
|
45
|
-
const isNumericKey = Number.isFinite(+name);
|
|
46
|
-
const isLast = index >= path.length;
|
|
47
|
-
name = !name && utils_default.isArray(target) ? target.length : name;
|
|
48
|
-
if (isLast) {
|
|
49
|
-
if (utils_default.hasOwnProp(target, name)) target[name] = [target[name], value];
|
|
50
|
-
else target[name] = value;
|
|
51
|
-
return !isNumericKey;
|
|
52
|
-
}
|
|
53
|
-
if (!target[name] || !utils_default.isObject(target[name])) target[name] = [];
|
|
54
|
-
if (buildPath(path, value, target[name], index) && utils_default.isArray(target[name])) target[name] = arrayToObject(target[name]);
|
|
55
|
-
return !isNumericKey;
|
|
56
|
-
}
|
|
57
|
-
if (utils_default.isFormData(formData) && utils_default.isFunction(formData.entries)) {
|
|
58
|
-
const obj = {};
|
|
59
|
-
utils_default.forEachEntry(formData, (name, value) => {
|
|
60
|
-
buildPath(parsePropPath(name), value, obj, 0);
|
|
61
|
-
});
|
|
62
|
-
return obj;
|
|
63
|
-
}
|
|
64
|
-
return null;
|
|
65
|
-
}
|
|
66
|
-
//#endregion
|
|
67
|
-
export { formDataToJSON as default };
|