@nocobase/plugin-ai-gigachat 2.2.17 → 2.2.18
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/externalVersion.js +5 -5
- package/dist/node_modules/gigachat/index.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/dist/axios.js +2165 -1269
- package/dist/node_modules/gigachat/node_modules/axios/dist/axios.min.js +3 -3
- package/dist/node_modules/gigachat/node_modules/axios/dist/browser/axios.cjs +2771 -1604
- package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.js +2784 -1619
- package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/dist/node_modules/gigachat/node_modules/axios/dist/node/axios.cjs +3201 -2520
- package/dist/node_modules/gigachat/node_modules/axios/index.d.cts +270 -123
- package/dist/node_modules/gigachat/node_modules/axios/index.d.ts +176 -231
- package/dist/node_modules/gigachat/node_modules/axios/index.js +5 -3
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/adapters.js +23 -17
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/fetch.js +467 -112
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/http.js +1158 -639
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/xhr.js +192 -164
- package/dist/node_modules/gigachat/node_modules/axios/lib/axios.js +6 -6
- package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/CancelToken.js +4 -4
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/Axios.js +84 -50
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosError.js +161 -46
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosHeaders.js +65 -28
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/buildFullPath.js +30 -2
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/dispatchRequest.js +37 -29
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/mergeConfig.js +65 -25
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/settle.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/index.js +92 -76
- package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/transitional.js +3 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/env/data.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +10 -9
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/buildURL.js +24 -19
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/callbackify.js +13 -11
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/composeSignals.js +42 -33
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/cookies.js +55 -44
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +37 -5
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToJSON.js +29 -5
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToStream.js +34 -27
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/fromDataURI.js +22 -7
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseHeaders.js +34 -20
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseProtocol.js +2 -2
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/progressEventReducer.js +30 -20
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/readBlob.js +4 -4
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/resolveConfig.js +87 -29
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/shouldBypassProxy.js +210 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/speedometer.js +1 -1
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/throttle.js +4 -4
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toFormData.js +94 -32
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/trackStream.js +33 -31
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/validator.js +20 -7
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/index.js +5 -5
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/common/utils.js +6 -5
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/index.js +2 -2
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/index.js +9 -10
- package/dist/node_modules/gigachat/node_modules/axios/lib/utils.js +270 -116
- package/dist/node_modules/gigachat/node_modules/axios/package.json +113 -132
- package/dist/node_modules/gigachat/node_modules/follow-redirects/index.js +24 -1
- package/dist/node_modules/gigachat/node_modules/follow-redirects/package.json +1 -1
- package/dist/node_modules/gigachat/node_modules/proxy-from-env/index.cjs +105 -0
- package/dist/node_modules/gigachat/node_modules/proxy-from-env/index.js +103 -0
- package/dist/node_modules/gigachat/node_modules/proxy-from-env/package.json +43 -0
- package/dist/node_modules/gigachat/package.json +1 -1
- package/dist/node_modules/langchain-gigachat/index.cjs +2 -2
- package/dist/node_modules/langchain-gigachat/package.json +1 -1
- package/package.json +2 -2
- package/dist/node_modules/gigachat/node_modules/es-define-property/.eslintrc +0 -13
- package/dist/node_modules/gigachat/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/es-define-property/.nycrc +0 -9
- package/dist/node_modules/gigachat/node_modules/es-define-property/index.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/es-define-property/index.js +0 -14
- package/dist/node_modules/gigachat/node_modules/es-define-property/package.json +0 -81
- package/dist/node_modules/gigachat/node_modules/es-define-property/test/index.js +0 -56
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/.eslintrc +0 -16
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/ToObject.js +0 -10
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/index.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/index.js +0 -4
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/isObject.js +0 -6
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/package.json +0 -80
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/test/index.js +0 -38
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/.nycrc +0 -9
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/index.js +0 -35
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/package.json +0 -78
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/dist/node_modules/gigachat/node_modules/form-data/License +0 -19
- package/dist/node_modules/gigachat/node_modules/form-data/index.d.ts +0 -62
- package/dist/node_modules/gigachat/node_modules/form-data/lib/browser.js +0 -4
- package/dist/node_modules/gigachat/node_modules/form-data/lib/form_data.js +0 -494
- package/dist/node_modules/gigachat/node_modules/form-data/lib/populate.js +0 -10
- package/dist/node_modules/gigachat/node_modules/form-data/package.json +0 -82
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.eslintrc +0 -42
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.nycrc +0 -9
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/index.js +0 -378
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.eslintrc +0 -11
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.nycrc +0 -9
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/index.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/index.js +0 -14
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/package.json +0 -111
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/shams.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/shams.js +0 -45
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/index.js +0 -22
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/tests.js +0 -58
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/package.json +0 -97
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/dist/node_modules/gigachat/node_modules/gopd/.eslintrc +0 -16
- package/dist/node_modules/gigachat/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/gopd/gOPD.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/gopd/gOPD.js +0 -4
- package/dist/node_modules/gigachat/node_modules/gopd/index.d.ts +0 -5
- package/dist/node_modules/gigachat/node_modules/gopd/index.js +0 -15
- package/dist/node_modules/gigachat/node_modules/gopd/package.json +0 -77
- package/dist/node_modules/gigachat/node_modules/gopd/test/index.js +0 -36
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.eslintrc +0 -5
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.nycrc +0 -13
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/index.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/index.js +0 -8
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/package.json +0 -108
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/shams.js +0 -8
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/index.js +0 -21
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/tests.js +0 -15
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/index.js +0 -31
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/max.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/native.d.ts +0 -6
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/native.js +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/package.json +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/stringify.js +0 -39
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/types.js +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1.js +0 -87
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v35.js +0 -44
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v4.js +0 -29
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6.js +0 -22
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v7.js +0 -69
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/version.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v35.js +0 -44
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6.js +0 -22
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/bin/uuid +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/index.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/max.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/md5.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/md5.js +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/native.d.ts +0 -6
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/native.js +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/nil.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/parse.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/regex.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/rng.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/sha1.js +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/stringify.js +0 -35
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/types.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1.js +0 -83
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v3.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v35.js +0 -39
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v4.js +0 -27
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v5.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6.js +0 -20
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v7.js +0 -65
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/validate.js +0 -5
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/version.js +0 -8
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/index.js +0 -14
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/max.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/md5.js +0 -135
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/parse.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/rng.js +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/types.js +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1.js +0 -83
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v3.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v35.js +0 -39
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v4.js +0 -27
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v5.js +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6.js +0 -20
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v7.js +0 -65
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/validate.js +0 -5
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/version.js +0 -8
- package/dist/node_modules/gigachat/node_modules/uuid/package.json +0 -132
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/index.js +0 -31
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/max.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/native.d.ts +0 -6
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/native.js +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/package.json +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/stringify.js +0 -39
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/types.js +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1.js +0 -87
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v35.js +0 -44
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v4.js +0 -29
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6.js +0 -22
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v7.js +0 -69
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/version.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v35.js +0 -44
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6.js +0 -22
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/bin/uuid +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/index.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/max.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/md5.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/md5.js +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/native.d.ts +0 -6
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/native.js +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/nil.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/parse.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/regex.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/rng.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/sha1.js +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/stringify.js +0 -35
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/types.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1.js +0 -83
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v3.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v35.js +0 -39
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v4.js +0 -27
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v5.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6.js +0 -20
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v7.js +0 -65
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/validate.js +0 -5
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/version.js +0 -8
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/index.js +0 -14
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/max.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/md5.js +0 -135
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/parse.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/rng.js +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/types.js +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1.js +0 -83
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v3.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v35.js +0 -39
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v4.js +0 -27
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v5.js +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6.js +0 -20
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v7.js +0 -65
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/validate.js +0 -5
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/version.js +0 -8
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/package.json +0 -132
package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/package.json
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "has-symbols",
|
|
3
|
-
"version": "1.1.0",
|
|
4
|
-
"description": "Determine if the JS environment has Symbol support. Supports spec, or shams.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
8
|
-
"prepublishOnly": "safe-publish-latest",
|
|
9
|
-
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
10
|
-
"pretest": "npm run --silent lint",
|
|
11
|
-
"test": "npm run tests-only",
|
|
12
|
-
"posttest": "npx npm@'>=10.2' audit --production",
|
|
13
|
-
"tests-only": "npm run test:stock && npm run test:shams",
|
|
14
|
-
"test:stock": "nyc node test",
|
|
15
|
-
"test:staging": "nyc node --harmony --es-staging test",
|
|
16
|
-
"test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs",
|
|
17
|
-
"test:shams:corejs": "nyc node test/shams/core-js.js",
|
|
18
|
-
"test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js",
|
|
19
|
-
"lint": "eslint --ext=js,mjs .",
|
|
20
|
-
"postlint": "tsc -p . && attw -P",
|
|
21
|
-
"version": "auto-changelog && git add CHANGELOG.md",
|
|
22
|
-
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
23
|
-
},
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git://github.com/inspect-js/has-symbols.git"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"Symbol",
|
|
30
|
-
"symbols",
|
|
31
|
-
"typeof",
|
|
32
|
-
"sham",
|
|
33
|
-
"polyfill",
|
|
34
|
-
"native",
|
|
35
|
-
"core-js",
|
|
36
|
-
"ES6"
|
|
37
|
-
],
|
|
38
|
-
"author": {
|
|
39
|
-
"name": "Jordan Harband",
|
|
40
|
-
"email": "ljharb@gmail.com",
|
|
41
|
-
"url": "http://ljharb.codes"
|
|
42
|
-
},
|
|
43
|
-
"contributors": [
|
|
44
|
-
{
|
|
45
|
-
"name": "Jordan Harband",
|
|
46
|
-
"email": "ljharb@gmail.com",
|
|
47
|
-
"url": "http://ljharb.codes"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"funding": {
|
|
51
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
52
|
-
},
|
|
53
|
-
"license": "MIT",
|
|
54
|
-
"bugs": {
|
|
55
|
-
"url": "https://github.com/ljharb/has-symbols/issues"
|
|
56
|
-
},
|
|
57
|
-
"homepage": "https://github.com/ljharb/has-symbols#readme",
|
|
58
|
-
"devDependencies": {
|
|
59
|
-
"@arethetypeswrong/cli": "^0.17.0",
|
|
60
|
-
"@ljharb/eslint-config": "^21.1.1",
|
|
61
|
-
"@ljharb/tsconfig": "^0.2.0",
|
|
62
|
-
"@types/core-js": "^2.5.8",
|
|
63
|
-
"@types/tape": "^5.6.5",
|
|
64
|
-
"auto-changelog": "^2.5.0",
|
|
65
|
-
"core-js": "^2.6.12",
|
|
66
|
-
"encoding": "^0.1.13",
|
|
67
|
-
"eslint": "=8.8.0",
|
|
68
|
-
"get-own-property-symbols": "^0.9.5",
|
|
69
|
-
"in-publish": "^2.0.1",
|
|
70
|
-
"npmignore": "^0.3.1",
|
|
71
|
-
"nyc": "^10.3.2",
|
|
72
|
-
"safe-publish-latest": "^2.0.0",
|
|
73
|
-
"tape": "^5.9.0",
|
|
74
|
-
"typescript": "next"
|
|
75
|
-
},
|
|
76
|
-
"testling": {
|
|
77
|
-
"files": "test/index.js",
|
|
78
|
-
"browsers": [
|
|
79
|
-
"iexplore/6.0..latest",
|
|
80
|
-
"firefox/3.0..6.0",
|
|
81
|
-
"firefox/15.0..latest",
|
|
82
|
-
"firefox/nightly",
|
|
83
|
-
"chrome/4.0..10.0",
|
|
84
|
-
"chrome/20.0..latest",
|
|
85
|
-
"chrome/canary",
|
|
86
|
-
"opera/10.0..latest",
|
|
87
|
-
"opera/next",
|
|
88
|
-
"safari/4.0..latest",
|
|
89
|
-
"ipad/6.0..latest",
|
|
90
|
-
"iphone/6.0..latest",
|
|
91
|
-
"android-browser/4.2"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
"engines": {
|
|
95
|
-
"node": ">= 0.4"
|
|
96
|
-
},
|
|
97
|
-
"auto-changelog": {
|
|
98
|
-
"output": "CHANGELOG.md",
|
|
99
|
-
"template": "keepachangelog",
|
|
100
|
-
"unreleased": false,
|
|
101
|
-
"commitLimit": false,
|
|
102
|
-
"backfillLimit": false,
|
|
103
|
-
"hideCredit": true
|
|
104
|
-
},
|
|
105
|
-
"publishConfig": {
|
|
106
|
-
"ignore": [
|
|
107
|
-
".github/workflows",
|
|
108
|
-
"types"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
}
|
package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/shams.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/** @type {import('./shams')} */
|
|
4
|
-
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
5
|
-
module.exports = function hasSymbols() {
|
|
6
|
-
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
7
|
-
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
8
|
-
|
|
9
|
-
/** @type {{ [k in symbol]?: unknown }} */
|
|
10
|
-
var obj = {};
|
|
11
|
-
var sym = Symbol('test');
|
|
12
|
-
var symObj = Object(sym);
|
|
13
|
-
if (typeof sym === 'string') { return false; }
|
|
14
|
-
|
|
15
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
16
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
17
|
-
|
|
18
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
19
|
-
// if (sym instanceof Symbol) { return false; }
|
|
20
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
21
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
22
|
-
|
|
23
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
24
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
25
|
-
|
|
26
|
-
var symVal = 42;
|
|
27
|
-
obj[sym] = symVal;
|
|
28
|
-
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
29
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
30
|
-
|
|
31
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
32
|
-
|
|
33
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
34
|
-
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
35
|
-
|
|
36
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
37
|
-
|
|
38
|
-
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
39
|
-
// eslint-disable-next-line no-extra-parens
|
|
40
|
-
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
41
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return true;
|
|
45
|
-
};
|
package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var test = require('tape');
|
|
4
|
-
var hasSymbols = require('../');
|
|
5
|
-
var runSymbolTests = require('./tests');
|
|
6
|
-
|
|
7
|
-
test('interface', function (t) {
|
|
8
|
-
t.equal(typeof hasSymbols, 'function', 'is a function');
|
|
9
|
-
t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean');
|
|
10
|
-
t.end();
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
test('Symbols are supported', { skip: !hasSymbols() }, function (t) {
|
|
14
|
-
runSymbolTests(t);
|
|
15
|
-
t.end();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
test('Symbols are not supported', { skip: hasSymbols() }, function (t) {
|
|
19
|
-
t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined');
|
|
20
|
-
t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist');
|
|
21
|
-
t.end();
|
|
22
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var test = require('tape');
|
|
4
|
-
|
|
5
|
-
if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
|
|
6
|
-
test('has native Symbol support', function (t) {
|
|
7
|
-
t.equal(typeof Symbol, 'function');
|
|
8
|
-
t.equal(typeof Symbol(), 'symbol');
|
|
9
|
-
t.end();
|
|
10
|
-
});
|
|
11
|
-
// @ts-expect-error TS is stupid and doesn't know about top level return
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
var hasSymbols = require('../../shams');
|
|
16
|
-
|
|
17
|
-
test('polyfilled Symbols', function (t) {
|
|
18
|
-
/* eslint-disable global-require */
|
|
19
|
-
t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling');
|
|
20
|
-
require('core-js/fn/symbol');
|
|
21
|
-
require('core-js/fn/symbol/to-string-tag');
|
|
22
|
-
|
|
23
|
-
require('../tests')(t);
|
|
24
|
-
|
|
25
|
-
var hasSymbolsAfter = hasSymbols();
|
|
26
|
-
t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling');
|
|
27
|
-
/* eslint-enable global-require */
|
|
28
|
-
t.end();
|
|
29
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var test = require('tape');
|
|
4
|
-
|
|
5
|
-
if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
|
|
6
|
-
test('has native Symbol support', function (t) {
|
|
7
|
-
t.equal(typeof Symbol, 'function');
|
|
8
|
-
t.equal(typeof Symbol(), 'symbol');
|
|
9
|
-
t.end();
|
|
10
|
-
});
|
|
11
|
-
// @ts-expect-error TS is stupid and doesn't know about top level return
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
var hasSymbols = require('../../shams');
|
|
16
|
-
|
|
17
|
-
test('polyfilled Symbols', function (t) {
|
|
18
|
-
/* eslint-disable global-require */
|
|
19
|
-
t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling');
|
|
20
|
-
|
|
21
|
-
require('get-own-property-symbols');
|
|
22
|
-
|
|
23
|
-
require('../tests')(t);
|
|
24
|
-
|
|
25
|
-
var hasSymbolsAfter = hasSymbols();
|
|
26
|
-
t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling');
|
|
27
|
-
/* eslint-enable global-require */
|
|
28
|
-
t.end();
|
|
29
|
-
});
|
package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/tests.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/** @type {(t: import('tape').Test) => false | void} */
|
|
4
|
-
// eslint-disable-next-line consistent-return
|
|
5
|
-
module.exports = function runSymbolTests(t) {
|
|
6
|
-
t.equal(typeof Symbol, 'function', 'global Symbol is a function');
|
|
7
|
-
|
|
8
|
-
if (typeof Symbol !== 'function') { return false; }
|
|
9
|
-
|
|
10
|
-
t.notEqual(Symbol(), Symbol(), 'two symbols are not equal');
|
|
11
|
-
|
|
12
|
-
/*
|
|
13
|
-
t.equal(
|
|
14
|
-
Symbol.prototype.toString.call(Symbol('foo')),
|
|
15
|
-
Symbol.prototype.toString.call(Symbol('foo')),
|
|
16
|
-
'two symbols with the same description stringify the same'
|
|
17
|
-
);
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/*
|
|
21
|
-
var foo = Symbol('foo');
|
|
22
|
-
|
|
23
|
-
t.notEqual(
|
|
24
|
-
String(foo),
|
|
25
|
-
String(Symbol('bar')),
|
|
26
|
-
'two symbols with different descriptions do not stringify the same'
|
|
27
|
-
);
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
t.equal(typeof Symbol.prototype.toString, 'function', 'Symbol#toString is a function');
|
|
31
|
-
// t.equal(String(foo), Symbol.prototype.toString.call(foo), 'Symbol#toString equals String of the same symbol');
|
|
32
|
-
|
|
33
|
-
t.equal(typeof Object.getOwnPropertySymbols, 'function', 'Object.getOwnPropertySymbols is a function');
|
|
34
|
-
|
|
35
|
-
/** @type {{ [k in symbol]?: unknown }} */
|
|
36
|
-
var obj = {};
|
|
37
|
-
var sym = Symbol('test');
|
|
38
|
-
var symObj = Object(sym);
|
|
39
|
-
t.notEqual(typeof sym, 'string', 'Symbol is not a string');
|
|
40
|
-
t.equal(Object.prototype.toString.call(sym), '[object Symbol]', 'symbol primitive Object#toStrings properly');
|
|
41
|
-
t.equal(Object.prototype.toString.call(symObj), '[object Symbol]', 'symbol primitive Object#toStrings properly');
|
|
42
|
-
|
|
43
|
-
var symVal = 42;
|
|
44
|
-
obj[sym] = symVal;
|
|
45
|
-
// eslint-disable-next-line no-restricted-syntax, no-unused-vars
|
|
46
|
-
for (var _ in obj) { t.fail('symbol property key was found in for..in of object'); }
|
|
47
|
-
|
|
48
|
-
t.deepEqual(Object.keys(obj), [], 'no enumerable own keys on symbol-valued object');
|
|
49
|
-
t.deepEqual(Object.getOwnPropertyNames(obj), [], 'no own names on symbol-valued object');
|
|
50
|
-
t.deepEqual(Object.getOwnPropertySymbols(obj), [sym], 'one own symbol on symbol-valued object');
|
|
51
|
-
t.equal(Object.prototype.propertyIsEnumerable.call(obj, sym), true, 'symbol is enumerable');
|
|
52
|
-
t.deepEqual(Object.getOwnPropertyDescriptor(obj, sym), {
|
|
53
|
-
configurable: true,
|
|
54
|
-
enumerable: true,
|
|
55
|
-
value: 42,
|
|
56
|
-
writable: true
|
|
57
|
-
}, 'property descriptor is correct');
|
|
58
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "get-intrinsic",
|
|
3
|
-
"version": "1.3.0",
|
|
4
|
-
"description": "Get and robustly cache all JS language-level intrinsics at first require time",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": "./index.js",
|
|
8
|
-
"./package.json": "./package.json"
|
|
9
|
-
},
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"scripts": {
|
|
12
|
-
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
13
|
-
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
14
|
-
"prepublishOnly": "safe-publish-latest",
|
|
15
|
-
"prelint": "evalmd README.md",
|
|
16
|
-
"lint": "eslint --ext=.js,.mjs .",
|
|
17
|
-
"pretest": "npm run lint",
|
|
18
|
-
"tests-only": "nyc tape 'test/**/*.js'",
|
|
19
|
-
"test": "npm run tests-only",
|
|
20
|
-
"posttest": "npx npm@'>= 10.2' audit --production",
|
|
21
|
-
"version": "auto-changelog && git add CHANGELOG.md",
|
|
22
|
-
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
23
|
-
},
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/ljharb/get-intrinsic.git"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"javascript",
|
|
30
|
-
"ecmascript",
|
|
31
|
-
"es",
|
|
32
|
-
"js",
|
|
33
|
-
"intrinsic",
|
|
34
|
-
"getintrinsic",
|
|
35
|
-
"es-abstract"
|
|
36
|
-
],
|
|
37
|
-
"author": "Jordan Harband <ljharb@gmail.com>",
|
|
38
|
-
"funding": {
|
|
39
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
40
|
-
},
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/ljharb/get-intrinsic/issues"
|
|
44
|
-
},
|
|
45
|
-
"homepage": "https://github.com/ljharb/get-intrinsic#readme",
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"call-bind-apply-helpers": "^1.0.2",
|
|
48
|
-
"es-define-property": "^1.0.1",
|
|
49
|
-
"es-errors": "^1.3.0",
|
|
50
|
-
"es-object-atoms": "^1.1.1",
|
|
51
|
-
"function-bind": "^1.1.2",
|
|
52
|
-
"get-proto": "^1.0.1",
|
|
53
|
-
"gopd": "^1.2.0",
|
|
54
|
-
"has-symbols": "^1.1.0",
|
|
55
|
-
"hasown": "^2.0.2",
|
|
56
|
-
"math-intrinsics": "^1.1.0"
|
|
57
|
-
},
|
|
58
|
-
"devDependencies": {
|
|
59
|
-
"@ljharb/eslint-config": "^21.1.1",
|
|
60
|
-
"auto-changelog": "^2.5.0",
|
|
61
|
-
"call-bound": "^1.0.3",
|
|
62
|
-
"encoding": "^0.1.13",
|
|
63
|
-
"es-abstract": "^1.23.9",
|
|
64
|
-
"es-value-fixtures": "^1.7.1",
|
|
65
|
-
"eslint": "=8.8.0",
|
|
66
|
-
"evalmd": "^0.0.19",
|
|
67
|
-
"for-each": "^0.3.5",
|
|
68
|
-
"make-async-function": "^1.0.0",
|
|
69
|
-
"make-async-generator-function": "^1.0.0",
|
|
70
|
-
"make-generator-function": "^2.0.0",
|
|
71
|
-
"mock-property": "^1.1.0",
|
|
72
|
-
"npmignore": "^0.3.1",
|
|
73
|
-
"nyc": "^10.3.2",
|
|
74
|
-
"object-inspect": "^1.13.4",
|
|
75
|
-
"safe-publish-latest": "^2.0.0",
|
|
76
|
-
"tape": "^5.9.0"
|
|
77
|
-
},
|
|
78
|
-
"auto-changelog": {
|
|
79
|
-
"output": "CHANGELOG.md",
|
|
80
|
-
"template": "keepachangelog",
|
|
81
|
-
"unreleased": false,
|
|
82
|
-
"commitLimit": false,
|
|
83
|
-
"backfillLimit": false,
|
|
84
|
-
"hideCredit": true
|
|
85
|
-
},
|
|
86
|
-
"testling": {
|
|
87
|
-
"files": "test/GetIntrinsic.js"
|
|
88
|
-
},
|
|
89
|
-
"publishConfig": {
|
|
90
|
-
"ignore": [
|
|
91
|
-
".github/workflows"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
"engines": {
|
|
95
|
-
"node": ">= 0.4"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var GetIntrinsic = require('../');
|
|
4
|
-
|
|
5
|
-
var test = require('tape');
|
|
6
|
-
var forEach = require('for-each');
|
|
7
|
-
var debug = require('object-inspect');
|
|
8
|
-
var generatorFns = require('make-generator-function')();
|
|
9
|
-
var asyncFns = require('make-async-function').list();
|
|
10
|
-
var asyncGenFns = require('make-async-generator-function')();
|
|
11
|
-
var mockProperty = require('mock-property');
|
|
12
|
-
|
|
13
|
-
var callBound = require('call-bound');
|
|
14
|
-
var v = require('es-value-fixtures');
|
|
15
|
-
var $gOPD = require('gopd');
|
|
16
|
-
var DefinePropertyOrThrow = require('es-abstract/2023/DefinePropertyOrThrow');
|
|
17
|
-
|
|
18
|
-
var $isProto = callBound('%Object.prototype.isPrototypeOf%');
|
|
19
|
-
|
|
20
|
-
test('export', function (t) {
|
|
21
|
-
t.equal(typeof GetIntrinsic, 'function', 'it is a function');
|
|
22
|
-
t.equal(GetIntrinsic.length, 2, 'function has length of 2');
|
|
23
|
-
|
|
24
|
-
t.end();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
test('throws', function (t) {
|
|
28
|
-
t['throws'](
|
|
29
|
-
function () { GetIntrinsic('not an intrinsic'); },
|
|
30
|
-
SyntaxError,
|
|
31
|
-
'nonexistent intrinsic throws a syntax error'
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
t['throws'](
|
|
35
|
-
function () { GetIntrinsic(''); },
|
|
36
|
-
TypeError,
|
|
37
|
-
'empty string intrinsic throws a type error'
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
t['throws'](
|
|
41
|
-
function () { GetIntrinsic('.'); },
|
|
42
|
-
SyntaxError,
|
|
43
|
-
'"just a dot" intrinsic throws a syntax error'
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
t['throws'](
|
|
47
|
-
function () { GetIntrinsic('%String'); },
|
|
48
|
-
SyntaxError,
|
|
49
|
-
'Leading % without trailing % throws a syntax error'
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
t['throws'](
|
|
53
|
-
function () { GetIntrinsic('String%'); },
|
|
54
|
-
SyntaxError,
|
|
55
|
-
'Trailing % without leading % throws a syntax error'
|
|
56
|
-
);
|
|
57
|
-
|
|
58
|
-
t['throws'](
|
|
59
|
-
function () { GetIntrinsic("String['prototype]"); },
|
|
60
|
-
SyntaxError,
|
|
61
|
-
'Dynamic property access is disallowed for intrinsics (unterminated string)'
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
t['throws'](
|
|
65
|
-
function () { GetIntrinsic('%Proxy.prototype.undefined%'); },
|
|
66
|
-
TypeError,
|
|
67
|
-
"Throws when middle part doesn't exist (%Proxy.prototype.undefined%)"
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
t['throws'](
|
|
71
|
-
function () { GetIntrinsic('%Array.prototype%garbage%'); },
|
|
72
|
-
SyntaxError,
|
|
73
|
-
'Throws with extra percent signs'
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
t['throws'](
|
|
77
|
-
function () { GetIntrinsic('%Array.prototype%push%'); },
|
|
78
|
-
SyntaxError,
|
|
79
|
-
'Throws with extra percent signs, even on an existing intrinsic'
|
|
80
|
-
);
|
|
81
|
-
|
|
82
|
-
forEach(v.nonStrings, function (nonString) {
|
|
83
|
-
t['throws'](
|
|
84
|
-
function () { GetIntrinsic(nonString); },
|
|
85
|
-
TypeError,
|
|
86
|
-
debug(nonString) + ' is not a String'
|
|
87
|
-
);
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
forEach(v.nonBooleans, function (nonBoolean) {
|
|
91
|
-
t['throws'](
|
|
92
|
-
function () { GetIntrinsic('%', nonBoolean); },
|
|
93
|
-
TypeError,
|
|
94
|
-
debug(nonBoolean) + ' is not a Boolean'
|
|
95
|
-
);
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
forEach([
|
|
99
|
-
'toString',
|
|
100
|
-
'propertyIsEnumerable',
|
|
101
|
-
'hasOwnProperty'
|
|
102
|
-
], function (objectProtoMember) {
|
|
103
|
-
t['throws'](
|
|
104
|
-
function () { GetIntrinsic(objectProtoMember); },
|
|
105
|
-
SyntaxError,
|
|
106
|
-
debug(objectProtoMember) + ' is not an intrinsic'
|
|
107
|
-
);
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
t.end();
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
test('base intrinsics', function (t) {
|
|
114
|
-
t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object');
|
|
115
|
-
t.equal(GetIntrinsic('Object'), Object, 'Object yields Object');
|
|
116
|
-
t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array');
|
|
117
|
-
t.equal(GetIntrinsic('Array'), Array, 'Array yields Array');
|
|
118
|
-
|
|
119
|
-
t.end();
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
test('dotted paths', function (t) {
|
|
123
|
-
t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString');
|
|
124
|
-
t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString');
|
|
125
|
-
t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push');
|
|
126
|
-
t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push');
|
|
127
|
-
|
|
128
|
-
test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) {
|
|
129
|
-
var original = GetIntrinsic('%ObjProto_toString%');
|
|
130
|
-
|
|
131
|
-
forEach([
|
|
132
|
-
'%Object.prototype.toString%',
|
|
133
|
-
'Object.prototype.toString',
|
|
134
|
-
'%ObjectPrototype.toString%',
|
|
135
|
-
'ObjectPrototype.toString',
|
|
136
|
-
'%ObjProto_toString%',
|
|
137
|
-
'ObjProto_toString'
|
|
138
|
-
], function (name) {
|
|
139
|
-
DefinePropertyOrThrow(Object.prototype, 'toString', {
|
|
140
|
-
'[[Value]]': function toString() {
|
|
141
|
-
return original.apply(this, arguments);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString');
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original });
|
|
148
|
-
st.end();
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) {
|
|
152
|
-
var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%');
|
|
153
|
-
|
|
154
|
-
forEach([
|
|
155
|
-
'%Object.prototype.propertyIsEnumerable%',
|
|
156
|
-
'Object.prototype.propertyIsEnumerable',
|
|
157
|
-
'%ObjectPrototype.propertyIsEnumerable%',
|
|
158
|
-
'ObjectPrototype.propertyIsEnumerable'
|
|
159
|
-
], function (name) {
|
|
160
|
-
var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', {
|
|
161
|
-
value: function propertyIsEnumerable() {
|
|
162
|
-
return original.apply(this, arguments);
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable');
|
|
166
|
-
|
|
167
|
-
restore();
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
st.end();
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
test('dotted path reports correct error', function (st) {
|
|
174
|
-
st['throws'](function () {
|
|
175
|
-
GetIntrinsic('%NonExistentIntrinsic.prototype.property%');
|
|
176
|
-
}, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%');
|
|
177
|
-
|
|
178
|
-
st['throws'](function () {
|
|
179
|
-
GetIntrinsic('%NonExistentIntrinsicPrototype.property%');
|
|
180
|
-
}, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%');
|
|
181
|
-
|
|
182
|
-
st.end();
|
|
183
|
-
});
|
|
184
|
-
|
|
185
|
-
t.end();
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) {
|
|
189
|
-
var actual = $gOPD(Map.prototype, 'size');
|
|
190
|
-
t.ok(actual, 'Map.prototype.size has a descriptor');
|
|
191
|
-
t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function');
|
|
192
|
-
t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it');
|
|
193
|
-
t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it');
|
|
194
|
-
|
|
195
|
-
t.end();
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
test('generator functions', { skip: !generatorFns.length }, function (t) {
|
|
199
|
-
var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%');
|
|
200
|
-
var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%');
|
|
201
|
-
var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%');
|
|
202
|
-
|
|
203
|
-
forEach(generatorFns, function (genFn) {
|
|
204
|
-
var fnName = genFn.name;
|
|
205
|
-
fnName = fnName ? "'" + fnName + "'" : 'genFn';
|
|
206
|
-
|
|
207
|
-
t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%');
|
|
208
|
-
t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName);
|
|
209
|
-
t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype');
|
|
210
|
-
});
|
|
211
|
-
|
|
212
|
-
t.end();
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
test('async functions', { skip: !asyncFns.length }, function (t) {
|
|
216
|
-
var $AsyncFunction = GetIntrinsic('%AsyncFunction%');
|
|
217
|
-
var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%');
|
|
218
|
-
|
|
219
|
-
forEach(asyncFns, function (asyncFn) {
|
|
220
|
-
var fnName = asyncFn.name;
|
|
221
|
-
fnName = fnName ? "'" + fnName + "'" : 'asyncFn';
|
|
222
|
-
|
|
223
|
-
t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%');
|
|
224
|
-
t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName);
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
t.end();
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
test('async generator functions', { skip: asyncGenFns.length === 0 }, function (t) {
|
|
231
|
-
var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%');
|
|
232
|
-
var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%');
|
|
233
|
-
var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%');
|
|
234
|
-
|
|
235
|
-
forEach(asyncGenFns, function (asyncGenFn) {
|
|
236
|
-
var fnName = asyncGenFn.name;
|
|
237
|
-
fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn';
|
|
238
|
-
|
|
239
|
-
t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%');
|
|
240
|
-
t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName);
|
|
241
|
-
t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype');
|
|
242
|
-
});
|
|
243
|
-
|
|
244
|
-
t.end();
|
|
245
|
-
});
|
|
246
|
-
|
|
247
|
-
test('%ThrowTypeError%', function (t) {
|
|
248
|
-
var $ThrowTypeError = GetIntrinsic('%ThrowTypeError%');
|
|
249
|
-
|
|
250
|
-
t.equal(typeof $ThrowTypeError, 'function', 'is a function');
|
|
251
|
-
t['throws'](
|
|
252
|
-
$ThrowTypeError,
|
|
253
|
-
TypeError,
|
|
254
|
-
'%ThrowTypeError% throws a TypeError'
|
|
255
|
-
);
|
|
256
|
-
|
|
257
|
-
t.end();
|
|
258
|
-
});
|
|
259
|
-
|
|
260
|
-
test('allowMissing', { skip: asyncGenFns.length > 0 }, function (t) {
|
|
261
|
-
t['throws'](
|
|
262
|
-
function () { GetIntrinsic('%AsyncGeneratorPrototype%'); },
|
|
263
|
-
TypeError,
|
|
264
|
-
'throws when missing'
|
|
265
|
-
);
|
|
266
|
-
|
|
267
|
-
t.equal(
|
|
268
|
-
GetIntrinsic('%AsyncGeneratorPrototype%', true),
|
|
269
|
-
undefined,
|
|
270
|
-
'does not throw when allowMissing'
|
|
271
|
-
);
|
|
272
|
-
|
|
273
|
-
t.end();
|
|
274
|
-
});
|