@dbmx/confy 0.0.77 → 0.0.84
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/esm/_virtual/browser.js +4 -0
- package/esm/_virtual/browser.js.map +1 -0
- package/esm/_virtual/index15.js +4 -0
- package/esm/_virtual/index15.js.map +1 -0
- package/esm/_virtual/index16.js +4 -0
- package/esm/_virtual/index16.js.map +1 -0
- package/esm/_virtual/index17.js +4 -0
- package/esm/_virtual/index17.js.map +1 -0
- package/esm/_virtual/index18.js +4 -0
- package/esm/_virtual/index18.js.map +1 -0
- package/esm/_virtual/node.js +4 -0
- package/esm/_virtual/node.js.map +1 -0
- package/esm/_virtual/serialOrdered.js +4 -0
- package/esm/_virtual/serialOrdered.js.map +1 -0
- package/esm/components/Confy/index.js +1 -1
- package/esm/components/Confy/index.js.map +1 -1
- package/esm/node_modules/@dbmx/semver/dist/index.esm.js +4 -2
- package/esm/node_modules/@dbmx/semver/dist/index.esm.js.map +1 -1
- package/esm/node_modules/@dbmx/users/esm/roles.js +5 -0
- package/esm/node_modules/@dbmx/users/esm/roles.js.map +1 -1
- package/esm/node_modules/asynckit/index.js +13 -0
- package/esm/node_modules/asynckit/index.js.map +1 -0
- package/esm/node_modules/asynckit/lib/abort.js +32 -0
- package/esm/node_modules/asynckit/lib/abort.js.map +1 -0
- package/esm/node_modules/asynckit/lib/async.js +39 -0
- package/esm/node_modules/asynckit/lib/async.js.map +1 -0
- package/esm/node_modules/asynckit/lib/defer.js +29 -0
- package/esm/node_modules/asynckit/lib/defer.js.map +1 -0
- package/esm/node_modules/asynckit/lib/iterate.js +81 -0
- package/esm/node_modules/asynckit/lib/iterate.js.map +1 -0
- package/esm/node_modules/asynckit/lib/state.js +40 -0
- package/esm/node_modules/asynckit/lib/state.js.map +1 -0
- package/esm/node_modules/asynckit/lib/terminator.js +35 -0
- package/esm/node_modules/asynckit/lib/terminator.js.map +1 -0
- package/esm/node_modules/asynckit/parallel.js +50 -0
- package/esm/node_modules/asynckit/parallel.js.map +1 -0
- package/esm/node_modules/asynckit/serial.js +22 -0
- package/esm/node_modules/asynckit/serial.js.map +1 -0
- package/esm/node_modules/asynckit/serialOrdered.js +85 -0
- package/esm/node_modules/asynckit/serialOrdered.js.map +1 -0
- package/esm/node_modules/axios/index.js +26 -0
- package/esm/node_modules/axios/index.js.map +1 -0
- package/esm/node_modules/axios/lib/adapters/adapters.js +133 -0
- package/esm/node_modules/axios/lib/adapters/adapters.js.map +1 -0
- package/esm/node_modules/axios/lib/adapters/fetch.js +331 -0
- package/esm/node_modules/axios/lib/adapters/fetch.js.map +1 -0
- package/esm/node_modules/axios/lib/adapters/http.js +945 -0
- package/esm/node_modules/axios/lib/adapters/http.js.map +1 -0
- package/esm/node_modules/axios/lib/adapters/xhr.js +225 -0
- package/esm/node_modules/axios/lib/adapters/xhr.js.map +1 -0
- package/esm/node_modules/axios/lib/axios.js +87 -0
- package/esm/node_modules/axios/lib/axios.js.map +1 -0
- package/esm/node_modules/axios/lib/cancel/CancelToken.js +134 -0
- package/esm/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
- package/esm/node_modules/axios/lib/cancel/CanceledError.js +21 -0
- package/esm/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
- package/esm/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/esm/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
- package/esm/node_modules/axios/lib/core/Axios.js +260 -0
- package/esm/node_modules/axios/lib/core/Axios.js.map +1 -0
- package/esm/node_modules/axios/lib/core/AxiosError.js +89 -0
- package/esm/node_modules/axios/lib/core/AxiosError.js.map +1 -0
- package/esm/node_modules/axios/lib/core/AxiosHeaders.js +343 -0
- package/esm/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
- package/esm/node_modules/axios/lib/core/InterceptorManager.js +71 -0
- package/esm/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
- package/esm/node_modules/axios/lib/core/buildFullPath.js +23 -0
- package/esm/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
- package/esm/node_modules/axios/lib/core/dispatchRequest.js +78 -0
- package/esm/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
- package/esm/node_modules/axios/lib/core/mergeConfig.js +108 -0
- package/esm/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
- package/esm/node_modules/axios/lib/core/settle.js +32 -0
- package/esm/node_modules/axios/lib/core/settle.js.map +1 -0
- package/esm/node_modules/axios/lib/core/transformData.js +29 -0
- package/esm/node_modules/axios/lib/core/transformData.js.map +1 -0
- package/esm/node_modules/axios/lib/defaults/index.js +171 -0
- package/esm/node_modules/axios/lib/defaults/index.js.map +1 -0
- package/esm/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/esm/node_modules/axios/lib/defaults/transitional.js.map +1 -0
- package/esm/node_modules/axios/lib/env/data.js +4 -0
- package/esm/node_modules/axios/lib/env/data.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js +155 -0
- package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +61 -0
- package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
- package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
- package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/bind.js +15 -0
- package/esm/node_modules/axios/lib/helpers/bind.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/buildURL.js +67 -0
- package/esm/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/callbackify.js +19 -0
- package/esm/node_modules/axios/lib/helpers/callbackify.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/combineURLs.js +16 -0
- package/esm/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/composeSignals.js +57 -0
- package/esm/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/cookies.js +51 -0
- package/esm/node_modules/axios/lib/helpers/cookies.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +76 -0
- package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/formDataToJSON.js +94 -0
- package/esm/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/esm/node_modules/axios/lib/helpers/formDataToStream.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/fromDataURI.js +54 -0
- package/esm/node_modules/axios/lib/helpers/fromDataURI.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js +20 -0
- package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/isAxiosError.js +15 -0
- package/esm/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js +19 -0
- package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/parseHeaders.js +70 -0
- package/esm/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/esm/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/esm/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/readBlob.js +16 -0
- package/esm/node_modules/axios/lib/helpers/readBlob.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/resolveConfig.js +73 -0
- package/esm/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/speedometer.js +54 -0
- package/esm/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/spread.js +29 -0
- package/esm/node_modules/axios/lib/helpers/spread.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/esm/node_modules/axios/lib/helpers/throttle.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/toFormData.js +239 -0
- package/esm/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js +20 -0
- package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/trackStream.js +92 -0
- package/esm/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
- package/esm/node_modules/axios/lib/helpers/validator.js +111 -0
- package/esm/node_modules/axios/lib/helpers/validator.js.map +1 -0
- package/esm/node_modules/axios/lib/platform/common/utils.js +47 -0
- package/esm/node_modules/axios/lib/platform/common/utils.js.map +1 -0
- package/esm/node_modules/axios/lib/platform/index.js +10 -0
- package/esm/node_modules/axios/lib/platform/index.js.map +1 -0
- package/esm/node_modules/axios/lib/platform/node/classes/FormData.js +6 -0
- package/esm/node_modules/axios/lib/platform/node/classes/FormData.js.map +1 -0
- package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +6 -0
- package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +1 -0
- package/esm/node_modules/axios/lib/platform/node/index.js +40 -0
- package/esm/node_modules/axios/lib/platform/node/index.js.map +1 -0
- package/esm/node_modules/axios/lib/utils.js +920 -0
- package/esm/node_modules/axios/lib/utils.js.map +1 -0
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js +66 -0
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js.map +1 -0
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js +7 -0
- package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js.map +1 -0
- package/esm/node_modules/combined-stream/lib/combined_stream.js +215 -0
- package/esm/node_modules/combined-stream/lib/combined_stream.js.map +1 -0
- package/esm/node_modules/debug/src/browser.js +287 -0
- package/esm/node_modules/debug/src/browser.js.map +1 -0
- package/esm/node_modules/debug/src/common.js +304 -0
- package/esm/node_modules/debug/src/common.js.map +1 -0
- package/esm/node_modules/debug/src/index.js +24 -0
- package/esm/node_modules/debug/src/index.js.map +1 -0
- package/esm/node_modules/debug/src/node.js +281 -0
- package/esm/node_modules/debug/src/node.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js +22 -0
- package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js +58 -0
- package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js +9 -0
- package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/index.js +53 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/index.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js +16 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js +53 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js.map +1 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js +307 -0
- package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js.map +1 -0
- package/esm/node_modules/delayed-stream/lib/delayed_stream.js +113 -0
- package/esm/node_modules/delayed-stream/lib/delayed_stream.js.map +1 -0
- package/esm/node_modules/es-set-tostringtag/index.js +41 -0
- package/esm/node_modules/es-set-tostringtag/index.js.map +1 -0
- package/esm/node_modules/follow-redirects/debug.js +20 -0
- package/esm/node_modules/follow-redirects/debug.js.map +1 -0
- package/esm/node_modules/follow-redirects/index.js +701 -0
- package/esm/node_modules/follow-redirects/index.js.map +1 -0
- package/esm/node_modules/form-data/lib/form_data.js +514 -0
- package/esm/node_modules/form-data/lib/form_data.js.map +1 -0
- package/esm/node_modules/form-data/lib/populate.js +11 -0
- package/esm/node_modules/form-data/lib/populate.js.map +1 -0
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js +75 -0
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js.map +1 -0
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js +16 -0
- package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js.map +1 -0
- package/esm/node_modules/has/src/index.js +7 -0
- package/esm/node_modules/has/src/index.js.map +1 -0
- package/esm/node_modules/has-flag/index.js +18 -0
- package/esm/node_modules/has-flag/index.js.map +1 -0
- package/esm/node_modules/hasown/node_modules/function-bind/implementation.js +75 -0
- package/esm/node_modules/hasown/node_modules/function-bind/implementation.js.map +1 -0
- package/esm/node_modules/hasown/node_modules/function-bind/index.js +16 -0
- package/esm/node_modules/hasown/node_modules/function-bind/index.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js +16 -0
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js +53 -0
- package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js +307 -0
- package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js +22 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js +67 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js +18 -0
- package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js.map +1 -0
- package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js +58 -0
- package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js +9 -0
- package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js.map +1 -0
- package/esm/node_modules/is-string/node_modules/has-symbols/shams.js +58 -0
- package/esm/node_modules/is-string/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js +9 -0
- package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js.map +1 -0
- package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js +22 -0
- package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js.map +1 -0
- package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js +58 -0
- package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/mime-db/db.json.js +10705 -0
- package/esm/node_modules/mime-db/db.json.js.map +1 -0
- package/esm/node_modules/mime-db/index.js +17 -0
- package/esm/node_modules/mime-db/index.js.map +1 -0
- package/esm/node_modules/mime-types/index.js +194 -0
- package/esm/node_modules/mime-types/index.js.map +1 -0
- package/esm/node_modules/ms/index.js +173 -0
- package/esm/node_modules/ms/index.js.map +1 -0
- package/esm/node_modules/proxy-from-env/index.js +112 -0
- package/esm/node_modules/proxy-from-env/index.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js +16 -0
- package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/call-bind/index.js +53 -0
- package/esm/node_modules/side-channel/node_modules/call-bind/index.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js +307 -0
- package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/has-symbols/index.js +22 -0
- package/esm/node_modules/side-channel/node_modules/has-symbols/index.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js +58 -0
- package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/object-inspect/index.js +469 -0
- package/esm/node_modules/side-channel/node_modules/object-inspect/index.js.map +1 -0
- package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js +6 -0
- package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js.map +1 -0
- package/esm/node_modules/supports-color/index.js +149 -0
- package/esm/node_modules/supports-color/index.js.map +1 -0
- package/package.json +3 -3
- package/esm/lib/api/apiKeys.js +0 -51
- package/esm/lib/api/apiKeys.js.map +0 -1
- package/esm/lib/api/dataBuckets.js +0 -18
- package/esm/lib/api/dataBuckets.js.map +0 -1
- package/esm/lib/api/jobs.js +0 -56
- package/esm/lib/api/jobs.js.map +0 -1
- package/esm/lib/api/members.js +0 -33
- package/esm/lib/api/members.js.map +0 -1
- package/esm/lib/api/people.js +0 -50
- package/esm/lib/api/people.js.map +0 -1
- package/esm/lib/api/roles.js +0 -17
- package/esm/lib/api/roles.js.map +0 -1
- package/esm/lib/api/routes.js +0 -43
- package/esm/lib/api/routes.js.map +0 -1
- package/esm/lib/api/servicesMap.js +0 -17
- package/esm/lib/api/servicesMap.js.map +0 -1
- package/esm/lib/api/spaces.js +0 -32
- package/esm/lib/api/spaces.js.map +0 -1
- package/esm/lib/api/storage.js +0 -94
- package/esm/lib/api/storage.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form_data.js","sources":["../../../../node_modules/form-data/lib/form_data.js"],"sourcesContent":["'use strict';\n\nvar CombinedStream = require('combined-stream');\nvar util = require('util');\nvar path = require('path');\nvar http = require('http');\nvar https = require('https');\nvar parseUrl = require('url').parse;\nvar fs = require('fs');\nvar Stream = require('stream').Stream;\nvar crypto = require('crypto');\nvar mime = require('mime-types');\nvar asynckit = require('asynckit');\nvar setToStringTag = require('es-set-tostringtag');\nvar hasOwn = require('hasown');\nvar populate = require('./populate.js');\n\n/**\n * Create readable \"multipart/form-data\" streams.\n * Can be used to submit forms\n * and file uploads to other web applications.\n *\n * @constructor\n * @param {object} options - Properties to be added/overriden for FormData and CombinedStream\n */\nfunction FormData(options) {\n if (!(this instanceof FormData)) {\n return new FormData(options);\n }\n\n this._overheadLength = 0;\n this._valueLength = 0;\n this._valuesToMeasure = [];\n\n CombinedStream.call(this);\n\n options = options || {}; // eslint-disable-line no-param-reassign\n for (var option in options) { // eslint-disable-line no-restricted-syntax\n this[option] = options[option];\n }\n}\n\n// make it a Stream\nutil.inherits(FormData, CombinedStream);\n\nFormData.LINE_BREAK = '\\r\\n';\nFormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n\nFormData.prototype.append = function (field, value, options) {\n options = options || {}; // eslint-disable-line no-param-reassign\n\n // allow filename as single option\n if (typeof options === 'string') {\n options = { filename: options }; // eslint-disable-line no-param-reassign\n }\n\n var append = CombinedStream.prototype.append.bind(this);\n\n // all that streamy business can't handle numbers\n if (typeof value === 'number' || value == null) {\n value = String(value); // eslint-disable-line no-param-reassign\n }\n\n // https://github.com/felixge/node-form-data/issues/38\n if (Array.isArray(value)) {\n /*\n * Please convert your array into string\n * the way web server expects it\n */\n this._error(new Error('Arrays are not supported.'));\n return;\n }\n\n var header = this._multiPartHeader(field, value, options);\n var footer = this._multiPartFooter();\n\n append(header);\n append(value);\n append(footer);\n\n // pass along options.knownLength\n this._trackLength(header, value, options);\n};\n\nFormData.prototype._trackLength = function (header, value, options) {\n var valueLength = 0;\n\n /*\n * used w/ getLengthSync(), when length is known.\n * e.g. for streaming directly from a remote server,\n * w/ a known file a size, and not wanting to wait for\n * incoming file to finish to get its size.\n */\n if (options.knownLength != null) {\n valueLength += Number(options.knownLength);\n } else if (Buffer.isBuffer(value)) {\n valueLength = value.length;\n } else if (typeof value === 'string') {\n valueLength = Buffer.byteLength(value);\n }\n\n this._valueLength += valueLength;\n\n // @check why add CRLF? does this account for custom/multiple CRLFs?\n this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;\n\n // empty or either doesn't have path or not an http response or not a stream\n if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) {\n return;\n }\n\n // no need to bother with the length\n if (!options.knownLength) {\n this._valuesToMeasure.push(value);\n }\n};\n\nFormData.prototype._lengthRetriever = function (value, callback) {\n if (hasOwn(value, 'fd')) {\n // take read range into a account\n // `end` = Infinity –> read file till the end\n //\n // TODO: Looks like there is bug in Node fs.createReadStream\n // it doesn't respect `end` options without `start` options\n // Fix it when node fixes it.\n // https://github.com/joyent/node/issues/7819\n if (value.end != undefined && value.end != Infinity && value.start != undefined) {\n // when end specified\n // no need to calculate range\n // inclusive, starts with 0\n callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return\n\n // not that fast snoopy\n } else {\n // still need to fetch file size from fs\n fs.stat(value.path, function (err, stat) {\n if (err) {\n callback(err);\n return;\n }\n\n // update final size based on the range options\n var fileSize = stat.size - (value.start ? value.start : 0);\n callback(null, fileSize);\n });\n }\n\n // or http response\n } else if (hasOwn(value, 'httpVersion')) {\n callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return\n\n // or request stream http://github.com/mikeal/request\n } else if (hasOwn(value, 'httpModule')) {\n // wait till response come back\n value.on('response', function (response) {\n value.pause();\n callback(null, Number(response.headers['content-length']));\n });\n value.resume();\n\n // something else\n } else {\n callback('Unknown stream'); // eslint-disable-line callback-return\n }\n};\n\nFormData.prototype._multiPartHeader = function (field, value, options) {\n /*\n * custom header specified (as string)?\n * it becomes responsible for boundary\n * (e.g. to handle extra CRLFs on .NET servers)\n */\n if (typeof options.header === 'string') {\n return options.header;\n }\n\n var contentDisposition = this._getContentDisposition(value, options);\n var contentType = this._getContentType(value, options);\n\n var contents = '';\n var headers = {\n // add custom disposition as third element or keep it two elements if not\n 'Content-Disposition': ['form-data', 'name=\"' + field + '\"'].concat(contentDisposition || []),\n // if no content type. allow it to be empty array\n 'Content-Type': [].concat(contentType || [])\n };\n\n // allow custom headers.\n if (typeof options.header === 'object') {\n populate(headers, options.header);\n }\n\n var header;\n for (var prop in headers) { // eslint-disable-line no-restricted-syntax\n if (hasOwn(headers, prop)) {\n header = headers[prop];\n\n // skip nullish headers.\n if (header == null) {\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n }\n\n // convert all headers to arrays.\n if (!Array.isArray(header)) {\n header = [header];\n }\n\n // add non-empty headers.\n if (header.length) {\n contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;\n }\n }\n }\n\n return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;\n};\n\nFormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return\n var filename;\n\n if (typeof options.filepath === 'string') {\n // custom filepath for relative paths\n filename = path.normalize(options.filepath).replace(/\\\\/g, '/');\n } else if (options.filename || (value && (value.name || value.path))) {\n /*\n * custom filename take precedence\n * formidable and the browser add a name property\n * fs- and request- streams have path property\n */\n filename = path.basename(options.filename || (value && (value.name || value.path)));\n } else if (value && value.readable && hasOwn(value, 'httpVersion')) {\n // or try http response\n filename = path.basename(value.client._httpMessage.path || '');\n }\n\n if (filename) {\n return 'filename=\"' + filename + '\"';\n }\n};\n\nFormData.prototype._getContentType = function (value, options) {\n // use custom content-type above all\n var contentType = options.contentType;\n\n // or try `name` from formidable, browser\n if (!contentType && value && value.name) {\n contentType = mime.lookup(value.name);\n }\n\n // or try `path` from fs-, request- streams\n if (!contentType && value && value.path) {\n contentType = mime.lookup(value.path);\n }\n\n // or if it's http-reponse\n if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) {\n contentType = value.headers['content-type'];\n }\n\n // or guess it from the filepath or filename\n if (!contentType && (options.filepath || options.filename)) {\n contentType = mime.lookup(options.filepath || options.filename);\n }\n\n // fallback to the default content type if `value` is not simple value\n if (!contentType && value && typeof value === 'object') {\n contentType = FormData.DEFAULT_CONTENT_TYPE;\n }\n\n return contentType;\n};\n\nFormData.prototype._multiPartFooter = function () {\n return function (next) {\n var footer = FormData.LINE_BREAK;\n\n var lastPart = this._streams.length === 0;\n if (lastPart) {\n footer += this._lastBoundary();\n }\n\n next(footer);\n }.bind(this);\n};\n\nFormData.prototype._lastBoundary = function () {\n return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;\n};\n\nFormData.prototype.getHeaders = function (userHeaders) {\n var header;\n var formHeaders = {\n 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()\n };\n\n for (header in userHeaders) { // eslint-disable-line no-restricted-syntax\n if (hasOwn(userHeaders, header)) {\n formHeaders[header.toLowerCase()] = userHeaders[header];\n }\n }\n\n return formHeaders;\n};\n\nFormData.prototype.setBoundary = function (boundary) {\n if (typeof boundary !== 'string') {\n throw new TypeError('FormData boundary must be a string');\n }\n this._boundary = boundary;\n};\n\nFormData.prototype.getBoundary = function () {\n if (!this._boundary) {\n this._generateBoundary();\n }\n\n return this._boundary;\n};\n\nFormData.prototype.getBuffer = function () {\n var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap\n var boundary = this.getBoundary();\n\n // Create the form content. Add Line breaks to the end of data.\n for (var i = 0, len = this._streams.length; i < len; i++) {\n if (typeof this._streams[i] !== 'function') {\n // Add content to the buffer.\n if (Buffer.isBuffer(this._streams[i])) {\n dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]);\n } else {\n dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]);\n }\n\n // Add break after content.\n if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) {\n dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]);\n }\n }\n }\n\n // Add the footer and return the Buffer object.\n return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);\n};\n\nFormData.prototype._generateBoundary = function () {\n // This generates a 50 character boundary similar to those used by Firefox.\n\n // They are optimized for boyer-moore parsing.\n this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex');\n};\n\n// Note: getLengthSync DOESN'T calculate streams length\n// As workaround one can calculate file size manually and add it as knownLength option\nFormData.prototype.getLengthSync = function () {\n var knownLength = this._overheadLength + this._valueLength;\n\n // Don't get confused, there are 3 \"internal\" streams for each keyval pair so it basically checks if there is any value added to the form\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n // https://github.com/form-data/form-data/issues/40\n if (!this.hasKnownLength()) {\n /*\n * Some async length retrievers are present\n * therefore synchronous length calculation is false.\n * Please use getLength(callback) to get proper length\n */\n this._error(new Error('Cannot calculate proper length in synchronous way.'));\n }\n\n return knownLength;\n};\n\n// Public API to check if length of added values is known\n// https://github.com/form-data/form-data/issues/196\n// https://github.com/form-data/form-data/issues/262\nFormData.prototype.hasKnownLength = function () {\n var hasKnownLength = true;\n\n if (this._valuesToMeasure.length) {\n hasKnownLength = false;\n }\n\n return hasKnownLength;\n};\n\nFormData.prototype.getLength = function (cb) {\n var knownLength = this._overheadLength + this._valueLength;\n\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n if (!this._valuesToMeasure.length) {\n process.nextTick(cb.bind(this, null, knownLength));\n return;\n }\n\n asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) {\n if (err) {\n cb(err);\n return;\n }\n\n values.forEach(function (length) {\n knownLength += length;\n });\n\n cb(null, knownLength);\n });\n};\n\nFormData.prototype.submit = function (params, cb) {\n var request;\n var options;\n var defaults = { method: 'post' };\n\n // parse provided url if it's string or treat it as options object\n if (typeof params === 'string') {\n params = parseUrl(params); // eslint-disable-line no-param-reassign\n /* eslint sort-keys: 0 */\n options = populate({\n port: params.port,\n path: params.pathname,\n host: params.hostname,\n protocol: params.protocol\n }, defaults);\n } else { // use custom params\n options = populate(params, defaults);\n // if no port provided use default one\n if (!options.port) {\n options.port = options.protocol === 'https:' ? 443 : 80;\n }\n }\n\n // put that good code in getHeaders to some use\n options.headers = this.getHeaders(params.headers);\n\n // https if specified, fallback to http in any other case\n if (options.protocol === 'https:') {\n request = https.request(options);\n } else {\n request = http.request(options);\n }\n\n // get content length and fire away\n this.getLength(function (err, length) {\n if (err && err !== 'Unknown stream') {\n this._error(err);\n return;\n }\n\n // add content length\n if (length) {\n request.setHeader('Content-Length', length);\n }\n\n this.pipe(request);\n if (cb) {\n var onResponse;\n\n var callback = function (error, responce) {\n request.removeListener('error', callback);\n request.removeListener('response', onResponse);\n\n return cb.call(this, error, responce);\n };\n\n onResponse = callback.bind(this, null);\n\n request.on('error', callback);\n request.on('response', onResponse);\n }\n }.bind(this));\n\n return request;\n};\n\nFormData.prototype._error = function (err) {\n if (!this.error) {\n this.error = err;\n this.pause();\n this.emit('error', err);\n }\n};\n\nFormData.prototype.toString = function () {\n return '[object FormData]';\n};\nsetToStringTag(FormData.prototype, 'FormData');\n\n// Public API\nmodule.exports = FormData;\n"],"names":["require$$0","require$$2","require$$5","require$$7","require$$9","require$$10","require$$11","require$$12","require$$13"],"mappings":";;;;;;;;;;;;;;;;;AAEA,IAAI,cAAc,GAAGA,eAA0B;AAC/C,IAAI,IAAI,GAAG,UAAe;AAC1B,IAAI,IAAI,GAAGC,YAAe;AAC1B,IAAI,IAAI,GAAG,UAAe;AAC1B,IAAI,KAAK,GAAG,UAAgB;AAC5B,IAAI,QAAQ,GAAGC,UAAc,CAAC,KAAK;AACnC,IAAI,EAAE,GAAG,UAAa;AACtB,IAAI,MAAM,GAAGC,MAAiB,CAAC,MAAM;AACrC,IAAI,MAAM,GAAG,UAAiB;AAC9B,IAAI,IAAI,GAAGC,SAAqB;AAChC,IAAI,QAAQ,GAAGC,UA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EAAE,GAAG,CAAC;AAC3B,EAAA;AACA,CAAC;;AAED,QAAQ,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;AAC1C,EAAE,OAAO,mBAAmB;AAC5B,CAAC;AACD,cAAc,CAAC,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;;AAE9C;AACA,IAAA,SAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// populates missing values
|
|
2
|
+
var populate = function (dst, src) {
|
|
3
|
+
Object.keys(src).forEach(function (prop) {
|
|
4
|
+
dst[prop] = dst[prop] || src[prop]; // eslint-disable-line no-param-reassign
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
return dst;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { populate as p };
|
|
11
|
+
//# sourceMappingURL=populate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"populate.js","sources":["../../../../node_modules/form-data/lib/populate.js"],"sourcesContent":["'use strict';\n\n// populates missing values\nmodule.exports = function (dst, src) {\n Object.keys(src).forEach(function (prop) {\n dst[prop] = dst[prop] || src[prop]; // eslint-disable-line no-param-reassign\n });\n\n return dst;\n};\n"],"names":[],"mappings":"AAEA;AACA,IAAA,QAAc,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE;AACrC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE;AAC3C,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;AACvC,EAAA,CAAG,CAAC;;AAEJ,EAAE,OAAO,GAAG;AACZ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var implementation;
|
|
2
|
+
var hasRequiredImplementation;
|
|
3
|
+
|
|
4
|
+
function requireImplementation () {
|
|
5
|
+
if (hasRequiredImplementation) return implementation;
|
|
6
|
+
hasRequiredImplementation = 1;
|
|
7
|
+
|
|
8
|
+
/* eslint no-invalid-this: 1 */
|
|
9
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
10
|
+
var toStr = Object.prototype.toString;
|
|
11
|
+
var max = Math.max;
|
|
12
|
+
var funcType = '[object Function]';
|
|
13
|
+
var concatty = function concatty(a, b) {
|
|
14
|
+
var arr = [];
|
|
15
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
16
|
+
arr[i] = a[i];
|
|
17
|
+
}
|
|
18
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
19
|
+
arr[j + a.length] = b[j];
|
|
20
|
+
}
|
|
21
|
+
return arr;
|
|
22
|
+
};
|
|
23
|
+
var slicy = function slicy(arrLike, offset) {
|
|
24
|
+
var arr = [];
|
|
25
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
26
|
+
arr[j] = arrLike[i];
|
|
27
|
+
}
|
|
28
|
+
return arr;
|
|
29
|
+
};
|
|
30
|
+
var joiny = function (arr, joiner) {
|
|
31
|
+
var str = '';
|
|
32
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
33
|
+
str += arr[i];
|
|
34
|
+
if (i + 1 < arr.length) {
|
|
35
|
+
str += joiner;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return str;
|
|
39
|
+
};
|
|
40
|
+
implementation = function bind(that) {
|
|
41
|
+
var target = this;
|
|
42
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
43
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
44
|
+
}
|
|
45
|
+
var args = slicy(arguments, 1);
|
|
46
|
+
var bound;
|
|
47
|
+
var binder = function () {
|
|
48
|
+
if (this instanceof bound) {
|
|
49
|
+
var result = target.apply(this, concatty(args, arguments));
|
|
50
|
+
if (Object(result) === result) {
|
|
51
|
+
return result;
|
|
52
|
+
}
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
return target.apply(that, concatty(args, arguments));
|
|
56
|
+
};
|
|
57
|
+
var boundLength = max(0, target.length - args.length);
|
|
58
|
+
var boundArgs = [];
|
|
59
|
+
for (var i = 0; i < boundLength; i++) {
|
|
60
|
+
boundArgs[i] = '$' + i;
|
|
61
|
+
}
|
|
62
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
63
|
+
if (target.prototype) {
|
|
64
|
+
var Empty = function Empty() {};
|
|
65
|
+
Empty.prototype = target.prototype;
|
|
66
|
+
bound.prototype = new Empty();
|
|
67
|
+
Empty.prototype = null;
|
|
68
|
+
}
|
|
69
|
+
return bound;
|
|
70
|
+
};
|
|
71
|
+
return implementation;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { requireImplementation as __require };
|
|
75
|
+
//# sourceMappingURL=implementation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../../../../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["ERROR_MESSAGE","toStr","Object","prototype","toString","max","Math","funcType","concatty","a","b","arr","i","length","j","slicy","arrLike","offset","joiny","joiner","str","module","bind","that","target","apply","TypeError","args","arguments","bound","binder","result","boundLength","boundArgs","Function","Empty"],"mappings":";;;;;;;AAEA;CAEA,IAAIA,aAAa,GAAG,iDAAiD;AACrE,CAAA,IAAIC,KAAK,GAAGC,MAAM,CAACC,SAAS,CAACC,QAAQ;AACrC,CAAA,IAAIC,GAAG,GAAGC,IAAI,CAACD,GAAG;CAClB,IAAIE,QAAQ,GAAG,mBAAmB;CAElC,IAAIC,QAAQ,GAAG,SAASA,QAAQA,CAACC,CAAC,EAAEC,CAAC,EAAE;GACnC,IAAIC,GAAG,GAAG,EAAE;AAEZ,GAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,CAAC,CAACI,MAAM,EAAED,CAAC,IAAI,CAAC,EAAE;KAClCD,GAAG,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;AACjB;AACA,GAAA,KAAK,IAAIE,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,CAAC,CAACG,MAAM,EAAEC,CAAC,IAAI,C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|
|
1
|
+
import { __require as requireImplementation } from './implementation.js';
|
|
2
|
+
|
|
3
|
+
var functionBind;
|
|
4
|
+
var hasRequiredFunctionBind;
|
|
5
|
+
|
|
6
|
+
function requireFunctionBind () {
|
|
7
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
8
|
+
hasRequiredFunctionBind = 1;
|
|
9
|
+
|
|
10
|
+
var implementation = requireImplementation();
|
|
11
|
+
functionBind = Function.prototype.bind || implementation;
|
|
12
|
+
return functionBind;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { requireFunctionBind as __require };
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/get-intrinsic/node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["implementation","require","module","Function","prototype","bind"],"mappings":";;;;;;;;;CAEA,IAAIA,cAAc,GAAGC,qBAA2B,EAAA;AAEhDC,CAAAA,YAAc,GAAGC,QAAQ,CAACC,SAAS,CAACC,IAAI,IAAIL,cAAc;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/has/src/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n"],"names":["bind","require","module","call","Function","Object","prototype","hasOwnProperty"],"mappings":";;AAEA,IAAIA,IAAI,GAAGC,YAAwB;AAEnCC,IAAAA,GAAc,GAAGF,IAAI,CAACG,IAAI,CAACC,QAAQ,CAACD,IAAI,EAAEE,MAAM,CAACC,SAAS,CAACC,cAAc;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var hasFlag;
|
|
2
|
+
var hasRequiredHasFlag;
|
|
3
|
+
|
|
4
|
+
function requireHasFlag () {
|
|
5
|
+
if (hasRequiredHasFlag) return hasFlag;
|
|
6
|
+
hasRequiredHasFlag = 1;
|
|
7
|
+
|
|
8
|
+
hasFlag = (flag, argv = process.argv) => {
|
|
9
|
+
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
10
|
+
const position = argv.indexOf(prefix + flag);
|
|
11
|
+
const terminatorPosition = argv.indexOf('--');
|
|
12
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
13
|
+
};
|
|
14
|
+
return hasFlag;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { requireHasFlag as __require };
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/has-flag/index.js"],"sourcesContent":["'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n"],"names":[],"mappings":";;;;;;;AAEA,CAAA,OAAc,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,KAAK;EAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC;EAC3E,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;EAC5C,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAC9C,EAAC,OAAO,QAAQ,KAAK,EAAE,KAAK,kBAAkB,KAAK,EAAE,IAAI,QAAQ,GAAG,kBAAkB,CAAC;CACvF,CAAC;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var implementation;
|
|
2
|
+
var hasRequiredImplementation;
|
|
3
|
+
|
|
4
|
+
function requireImplementation () {
|
|
5
|
+
if (hasRequiredImplementation) return implementation;
|
|
6
|
+
hasRequiredImplementation = 1;
|
|
7
|
+
|
|
8
|
+
/* eslint no-invalid-this: 1 */
|
|
9
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
10
|
+
var toStr = Object.prototype.toString;
|
|
11
|
+
var max = Math.max;
|
|
12
|
+
var funcType = '[object Function]';
|
|
13
|
+
var concatty = function concatty(a, b) {
|
|
14
|
+
var arr = [];
|
|
15
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
16
|
+
arr[i] = a[i];
|
|
17
|
+
}
|
|
18
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
19
|
+
arr[j + a.length] = b[j];
|
|
20
|
+
}
|
|
21
|
+
return arr;
|
|
22
|
+
};
|
|
23
|
+
var slicy = function slicy(arrLike, offset) {
|
|
24
|
+
var arr = [];
|
|
25
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
26
|
+
arr[j] = arrLike[i];
|
|
27
|
+
}
|
|
28
|
+
return arr;
|
|
29
|
+
};
|
|
30
|
+
var joiny = function (arr, joiner) {
|
|
31
|
+
var str = '';
|
|
32
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
33
|
+
str += arr[i];
|
|
34
|
+
if (i + 1 < arr.length) {
|
|
35
|
+
str += joiner;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return str;
|
|
39
|
+
};
|
|
40
|
+
implementation = function bind(that) {
|
|
41
|
+
var target = this;
|
|
42
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
43
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
44
|
+
}
|
|
45
|
+
var args = slicy(arguments, 1);
|
|
46
|
+
var bound;
|
|
47
|
+
var binder = function () {
|
|
48
|
+
if (this instanceof bound) {
|
|
49
|
+
var result = target.apply(this, concatty(args, arguments));
|
|
50
|
+
if (Object(result) === result) {
|
|
51
|
+
return result;
|
|
52
|
+
}
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
return target.apply(that, concatty(args, arguments));
|
|
56
|
+
};
|
|
57
|
+
var boundLength = max(0, target.length - args.length);
|
|
58
|
+
var boundArgs = [];
|
|
59
|
+
for (var i = 0; i < boundLength; i++) {
|
|
60
|
+
boundArgs[i] = '$' + i;
|
|
61
|
+
}
|
|
62
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
63
|
+
if (target.prototype) {
|
|
64
|
+
var Empty = function Empty() {};
|
|
65
|
+
Empty.prototype = target.prototype;
|
|
66
|
+
bound.prototype = new Empty();
|
|
67
|
+
Empty.prototype = null;
|
|
68
|
+
}
|
|
69
|
+
return bound;
|
|
70
|
+
};
|
|
71
|
+
return implementation;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { requireImplementation as __require };
|
|
75
|
+
//# sourceMappingURL=implementation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../../../../../node_modules/hasown/node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["ERROR_MESSAGE","toStr","Object","prototype","toString","max","Math","funcType","concatty","a","b","arr","i","length","j","slicy","arrLike","offset","joiny","joiner","str","module","bind","that","target","apply","TypeError","args","arguments","bound","binder","result","boundLength","boundArgs","Function","Empty"],"mappings":";;;;;;;AAEA;CAEA,IAAIA,aAAa,GAAG,iDAAiD;AACrE,CAAA,IAAIC,KAAK,GAAGC,MAAM,CAACC,SAAS,CAACC,QAAQ;AACrC,CAAA,IAAIC,GAAG,GAAGC,IAAI,CAACD,GAAG;CAClB,IAAIE,QAAQ,GAAG,mBAAmB;CAElC,IAAIC,QAAQ,GAAG,SAASA,QAAQA,CAACC,CAAC,EAAEC,CAAC,EAAE;GACnC,IAAIC,GAAG,GAAG,EAAE;AAEZ,GAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,CAAC,CAACI,MAAM,EAAED,CAAC,IAAI,CAAC,EAAE;KAClCD,GAAG,CAACC,CAAC,CAAC,GAAGH,CAAC,CAAC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,KAAK,CAAChC,SAAS,GAAG,IAAI;AAC1B;AAEA,GAAA,OAAO0B,KAAK;EACf;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __require as requireImplementation } from './implementation.js';
|
|
2
|
+
|
|
3
|
+
var functionBind;
|
|
4
|
+
var hasRequiredFunctionBind;
|
|
5
|
+
|
|
6
|
+
function requireFunctionBind () {
|
|
7
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
8
|
+
hasRequiredFunctionBind = 1;
|
|
9
|
+
|
|
10
|
+
var implementation = requireImplementation();
|
|
11
|
+
functionBind = Function.prototype.bind || implementation;
|
|
12
|
+
return functionBind;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { requireFunctionBind as __require };
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/hasown/node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["implementation","require","module","Function","prototype","bind"],"mappings":";;;;;;;;;CAEA,IAAIA,cAAc,GAAGC,qBAA2B,EAAA;AAEhDC,CAAAA,YAAc,GAAGC,QAAQ,CAACC,SAAS,CAACC,IAAI,IAAIL,cAAc;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
2
|
+
import { c as callBindExports } from './index.js';
|
|
3
|
+
|
|
4
|
+
var GetIntrinsic = getIntrinsic;
|
|
5
|
+
var callBind = callBindExports;
|
|
6
|
+
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
7
|
+
var callBound = function callBoundIntrinsic(name, allowMissing) {
|
|
8
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
9
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
10
|
+
return callBind(intrinsic);
|
|
11
|
+
}
|
|
12
|
+
return intrinsic;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { callBound as c };
|
|
16
|
+
//# sourceMappingURL=callBound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callBound.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/call-bind/callBound.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n"],"names":["GetIntrinsic","require","callBind","$indexOf","module","callBoundIntrinsic","name","allowMissing","intrinsic"],"mappings":";;;AAEA,IAAIA,YAAY,GAAGC,YAAwB;AAE3C,IAAIC,QAAQ,GAAGD,eAAa;AAE5B,IAAIE,QAAQ,GAAGD,QAAQ,CAACF,YAAY,CAAC,0BAA0B,CAAC,CAAC;AAEjEI,IAAAA,SAAc,GAAG,SAASC,kBAAkBA,CAACC,IAAI,EAAEC,YAAY,EAAE;EAChE,IAAIC,SAAS,GAAGR,YAAY,CAACM,IAAI,EAAE,CAAC,CAACC,YAAY,CAAC;AAClD,EAAA,IAAI,OAAOC,SAAS,KAAK,UAAU,IAAIL,QAAQ,CAACG,IAAI,EAAE,aAAa,CAAC,GAAG,EAAE,EAAE;IAC1E,OAAOJ,QAAQ,CAACM,SAAS,CAAC;AAC3B;AACA,EAAA,OAAOA,SAAS;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __module as callBind } from '../../../../_virtual/index16.js';
|
|
2
|
+
import { f as functionBind } from '../../../function-bind/index.js';
|
|
3
|
+
import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
4
|
+
|
|
5
|
+
(function (module) {
|
|
6
|
+
|
|
7
|
+
var bind = functionBind;
|
|
8
|
+
var GetIntrinsic = getIntrinsic;
|
|
9
|
+
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
10
|
+
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
11
|
+
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
12
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
13
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
14
|
+
var $max = GetIntrinsic('%Math.max%');
|
|
15
|
+
if ($defineProperty) {
|
|
16
|
+
try {
|
|
17
|
+
$defineProperty({}, 'a', {
|
|
18
|
+
value: 1
|
|
19
|
+
});
|
|
20
|
+
} catch (e) {
|
|
21
|
+
// IE 8 has a broken defineProperty
|
|
22
|
+
$defineProperty = null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
module.exports = function callBind(originalFunction) {
|
|
26
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
27
|
+
if ($gOPD && $defineProperty) {
|
|
28
|
+
var desc = $gOPD(func, 'length');
|
|
29
|
+
if (desc.configurable) {
|
|
30
|
+
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
31
|
+
$defineProperty(func, 'length', {
|
|
32
|
+
value: 1 + $max(0, originalFunction.length - (arguments.length - 1))
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return func;
|
|
37
|
+
};
|
|
38
|
+
var applyBind = function applyBind() {
|
|
39
|
+
return $reflectApply(bind, $apply, arguments);
|
|
40
|
+
};
|
|
41
|
+
if ($defineProperty) {
|
|
42
|
+
$defineProperty(module.exports, 'apply', {
|
|
43
|
+
value: applyBind
|
|
44
|
+
});
|
|
45
|
+
} else {
|
|
46
|
+
module.exports.apply = applyBind;
|
|
47
|
+
}
|
|
48
|
+
} (callBind));
|
|
49
|
+
|
|
50
|
+
var callBindExports = callBind.exports;
|
|
51
|
+
|
|
52
|
+
export { callBindExports as c };
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/call-bind/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n"],"names":["bind","require","GetIntrinsic","$apply","$call","$reflectApply","call","$gOPD","$defineProperty","$max","value","e","module","callBind","originalFunction","func","arguments","desc","configurable","length","applyBind","exports"],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