@dbmx/confy 0.0.67 → 0.0.71
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/index10.js +2 -2
- package/esm/_virtual/index11.js +2 -2
- package/esm/_virtual/index12.js +2 -2
- package/esm/_virtual/index13.js +2 -2
- package/esm/_virtual/index14.js +2 -2
- 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/index8.js +2 -2
- package/esm/_virtual/index9.js +2 -2
- 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 -3
- package/esm/components/Confy/index.js.map +1 -1
- package/esm/components/UserCard/index.js +1 -1
- package/esm/components/UserCard/index.js.map +1 -1
- package/esm/lib/api/auth.js +2 -1
- package/esm/lib/api/auth.js.map +1 -1
- package/esm/lib/api/config.js +2 -1
- package/esm/lib/api/config.js.map +1 -1
- package/esm/lib/api/index.js +2 -1
- package/esm/lib/api/index.js.map +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/ansi-styles/index.js +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/@testing-library/react-hooks/lib/core/index.js +7 -7
- package/esm/node_modules/@testing-library/react-hooks/lib/core/index.js.map +1 -1
- package/esm/node_modules/@testing-library/react-hooks/lib/dom/index.js +4 -4
- package/esm/node_modules/@testing-library/react-hooks/lib/dom/index.js.map +1 -1
- package/esm/node_modules/@testing-library/react-hooks/lib/dom/pure.js +11 -11
- package/esm/node_modules/@testing-library/react-hooks/lib/dom/pure.js.map +1 -1
- package/esm/node_modules/@testing-library/react-hooks/lib/types/react.js +4 -4
- package/esm/node_modules/@testing-library/react-hooks/lib/types/react.js.map +1 -1
- package/esm/node_modules/aria-query/lib/index.js +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/index.js +1 -1
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/index.js +4 -4
- package/esm/node_modules/call-bind-apply-helpers/index.js.map +1 -1
- 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/define-data-property/index.js +2 -2
- package/esm/node_modules/define-data-property/index.js.map +1 -1
- 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-errors/type.js +12 -3
- package/esm/node_modules/es-errors/type.js.map +1 -1
- 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/function-bind/implementation.js +84 -93
- package/esm/node_modules/function-bind/implementation.js.map +1 -1
- package/esm/node_modules/function-bind/index.js +4 -13
- package/esm/node_modules/function-bind/index.js.map +1 -1
- package/esm/node_modules/get-intrinsic/index.js +4 -4
- package/esm/node_modules/get-intrinsic/index.js.map +1 -1
- 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/has-symbols/index.js +2 -2
- package/esm/node_modules/has-symbols/index.js.map +1 -1
- package/esm/node_modules/has-symbols/shams.js +43 -34
- package/esm/node_modules/has-symbols/shams.js.map +1 -1
- package/esm/node_modules/has-tostringtag/shams.js +16 -7
- package/esm/node_modules/has-tostringtag/shams.js.map +1 -1
- package/esm/node_modules/hasown/index.js +2 -2
- package/esm/node_modules/hasown/index.js.map +1 -1
- 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-arguments/index.js +2 -2
- package/esm/node_modules/is-arguments/index.js.map +1 -1
- package/esm/node_modules/is-bigint/index.js +1 -1
- package/esm/node_modules/is-boolean-object/index.js +2 -2
- package/esm/node_modules/is-boolean-object/index.js.map +1 -1
- 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-date-object/index.js +2 -2
- package/esm/node_modules/is-date-object/index.js.map +1 -1
- package/esm/node_modules/is-number-object/index.js +2 -2
- package/esm/node_modules/is-number-object/index.js.map +1 -1
- 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-regex/index.js +2 -2
- package/esm/node_modules/is-regex/index.js.map +1 -1
- package/esm/node_modules/is-string/index.js +2 -2
- package/esm/node_modules/is-string/index.js.map +1 -1
- 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/index.js +1 -1
- 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/is-weakset/index.js +1 -1
- 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/object-inspect/util.inspect.js +2 -2
- package/esm/node_modules/object-inspect/util.inspect.js.map +1 -1
- package/esm/node_modules/object.assign/implementation.js +2 -2
- package/esm/node_modules/object.assign/implementation.js.map +1 -1
- 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/regexp.prototype.flags/implementation.js +2 -2
- package/esm/node_modules/regexp.prototype.flags/implementation.js.map +1 -1
- package/esm/node_modules/safe-regex-test/index.js +2 -2
- package/esm/node_modules/safe-regex-test/index.js.map +1 -1
- package/esm/node_modules/set-function-length/index.js +2 -2
- package/esm/node_modules/set-function-length/index.js.map +1 -1
- package/esm/node_modules/set-function-name/index.js +2 -2
- package/esm/node_modules/set-function-name/index.js.map +1 -1
- package/esm/node_modules/side-channel/index.js +2 -2
- package/esm/node_modules/side-channel/index.js.map +1 -1
- 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/side-channel-list/index.js +2 -2
- package/esm/node_modules/side-channel-list/index.js.map +1 -1
- package/esm/node_modules/side-channel-map/index.js +2 -2
- package/esm/node_modules/side-channel-map/index.js.map +1 -1
- package/esm/node_modules/side-channel-weakmap/index.js +2 -2
- package/esm/node_modules/side-channel-weakmap/index.js.map +1 -1
- package/esm/node_modules/supports-color/index.js +149 -0
- package/esm/node_modules/supports-color/index.js.map +1 -0
- package/esm/node_modules/which-typed-array/index.js +2 -2
- package/esm/node_modules/which-typed-array/index.js.map +1 -1
- package/package.json +57 -61
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-list/index.js"],"sourcesContent":["'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,OAAO,GAAGA,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-list/index.js"],"sourcesContent":["'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,OAAO,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,CAAC,EAAE,EAAE,GAAG,CAAC;AAC1B,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,OAAO,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC;AAC1B,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE,KAAK,EAAE;AAC7B,GAAG,IAAI,CAAC,EAAE,EAAE;AACZ;AACA,IAAI,EAAE,GAAG;AACT,KAAK,IAAI,EAAE,KAAK;AAChB,KAAK;AACL,GAAA;AACA;AACA,GAAG,OAAO,wCAAwC,EAAE,GAAG,GAAG,EAAE,KAAK,CAAC;AAClE,EAAA;AACA,EAAE;AACF;AACA,CAAC,OAAO,OAAO;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
2
2
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
3
3
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { __require as requireType } from '../es-errors/type.js';
|
|
5
5
|
|
|
6
6
|
var GetIntrinsic = getIntrinsic;
|
|
7
7
|
var callBound = callBound$1;
|
|
8
8
|
var inspect = objectInspect;
|
|
9
9
|
|
|
10
|
-
var $TypeError =
|
|
10
|
+
var $TypeError = requireType();
|
|
11
11
|
var $Map = GetIntrinsic('%Map%', true);
|
|
12
12
|
|
|
13
13
|
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-map/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-map/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;;AAEvC,IAAI,UAAU,GAAGC,WAAA,EAAyB;AAC1C,IAAI,IAAI,GAAG,YAAY,CAAC,OAAO,EAAE,IAAI,CAAC;;AAEtC;AACA,IAAI,OAAO,GAAG,SAAS,CAAC,mBAAmB,EAAE,IAAI,CAAC;AAClD;AACA,IAAI,OAAO,GAAG,SAAS,CAAC,mBAAmB,EAAE,IAAI,CAAC;AAClD;AACA,IAAI,OAAO,GAAG,SAAS,CAAC,mBAAmB,EAAE,IAAI,CAAC;AAClD;AACA,IAAI,UAAU,GAAG,SAAS,CAAC,sBAAsB,EAAE,IAAI,CAAC;AACxD;AACA,IAAI,QAAQ,GAAG,SAAS,CAAC,oBAAoB,EAAE,IAAI,CAAC;;AAEpD;AACA,IAAA,cAAc,GAAG,CAAC,CAAC,IAAI,+CAA+C,SAAS,iBAAiB,GAAG;AACnG;AACA;AACA;;AAEA,sCAAsC,IAAI,EAAE;;AAE5C;AACA,CAAC,IAAI,OAAO,GAAG;AACf,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE;AACzB,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;AAC1B,IAAI,MAAM,IAAI,UAAU,CAAC,gCAAgC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AACzE,GAAA;AACA,EAAA,CAAG;AACH,EAAE,QAAQ,EAAE,UAAU,GAAG,EAAE;AAC3B,GAAG,IAAI,EAAE,EAAE;AACX,IAAI,IAAI,MAAM,GAAG,UAAU,CAAC,EAAE,EAAE,GAAG,CAAC;AACpC,IAAI,IAAI,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;AAC5B,KAAK,EAAE,GAAG,KAAK,SAAS;AACxB,IAAA;AACA,IAAI,OAAO,MAAM;AACjB,GAAA;AACA,GAAG,OAAO,KAAK;AACf,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,IAAI,EAAE,EAAE;AACX,IAAI,OAAO,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC;AAC3B,GAAA;AACA,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE;AACtB,GAAG,IAAI,EAAE,EAAE;AACX,IAAI,OAAO,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC;AAC3B,GAAA;AACA,GAAG,OAAO,KAAK;AACf,EAAA,CAAG;AACH,EAAE,GAAG,EAAE,UAAU,GAAG,EAAE,KAAK,EAAE;AAC7B,GAAG,IAAI,CAAC,EAAE,EAAE;AACZ;AACA,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE;AACnB,GAAA;AACA,GAAG,OAAO,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC;AAC1B,EAAA;AACA,EAAE;;AAEF;AACA,CAAC,OAAO,OAAO;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -2,14 +2,14 @@ import { g as getIntrinsic } from '../get-intrinsic/index.js';
|
|
|
2
2
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
3
3
|
import { o as objectInspect } from '../object-inspect/index.js';
|
|
4
4
|
import { s as sideChannelMap } from '../side-channel-map/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { __require as requireType } from '../es-errors/type.js';
|
|
6
6
|
|
|
7
7
|
var GetIntrinsic = getIntrinsic;
|
|
8
8
|
var callBound = callBound$1;
|
|
9
9
|
var inspect = objectInspect;
|
|
10
10
|
var getSideChannelMap = sideChannelMap;
|
|
11
11
|
|
|
12
|
-
var $TypeError =
|
|
12
|
+
var $TypeError = requireType();
|
|
13
13
|
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
14
14
|
|
|
15
15
|
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-weakmap/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;AACvC,IAAI,iBAAiB,GAAGC,cAA2B;;AAEnD,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/side-channel-weakmap/index.js"],"sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;AAEA,IAAI,YAAY,GAAGA,YAAwB;AAC3C,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,OAAO,GAAGC,aAAyB;AACvC,IAAI,iBAAiB,GAAGC,cAA2B;;AAEnD,IAAI,UAAU,GAAGC,WAAA,EAAyB;AAC1C,IAAI,QAAQ,GAAG,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC;;AAE9C;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,WAAW,GAAG,SAAS,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAC1D;AACA,IAAI,cAAc,GAAG,SAAS,CAAC,0BAA0B,EAAE,IAAI,CAAC;;AAEhE;AACA,IAAA,kBAAc,GAAG;AACjB,8CAA8C,SAAS,qBAAqB,GAAG;AAC/E;AACA;AACA;;AAEA,oDAAoD,IAAI,GAAG;AAC3D,qCAAqC,IAAI,EAAE;;AAE3C;AACA,EAAE,IAAI,OAAO,GAAG;AAChB,GAAG,MAAM,EAAE,UAAU,GAAG,EAAE;AAC1B,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;AAC3B,KAAK,MAAM,IAAI,UAAU,CAAC,gCAAgC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AAC1E,IAAA;AACA,GAAA,CAAI;AACJ,GAAG,QAAQ,EAAE,UAAU,GAAG,EAAE;AAC5B,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,CAAC,EAAE;AACnF,KAAK,IAAI,GAAG,EAAE;AACd,MAAM,OAAO,cAAc,CAAC,GAAG,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AAK,CAAC;AACjC,IAAA,CAAK,MAAM,IAAI,iBAAiB,EAAE;AAClC,KAAK,IAAI,CAAC,EAAE,EAAE;AACd,MAAM,EAAE,GAAG,iBAAiB,EAAE;AAC9B,KAAA;AACA;AACA,2CAA2C,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC;AAC/D,IAAA;AACA,GAAA;AACA,GAAG;;AAEH;AACA,EAAE,OAAO,OAAO;AAChB,CAAA;AACA,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import require$$0 from 'os';
|
|
2
|
+
import require$$1 from 'tty';
|
|
3
|
+
import { __require as requireHasFlag } from '../has-flag/index.js';
|
|
4
|
+
|
|
5
|
+
var supportsColor_1;
|
|
6
|
+
var hasRequiredSupportsColor;
|
|
7
|
+
|
|
8
|
+
function requireSupportsColor () {
|
|
9
|
+
if (hasRequiredSupportsColor) return supportsColor_1;
|
|
10
|
+
hasRequiredSupportsColor = 1;
|
|
11
|
+
const os = require$$0;
|
|
12
|
+
const tty = require$$1;
|
|
13
|
+
const hasFlag = requireHasFlag();
|
|
14
|
+
|
|
15
|
+
const {env} = process;
|
|
16
|
+
|
|
17
|
+
let forceColor;
|
|
18
|
+
if (hasFlag('no-color') ||
|
|
19
|
+
hasFlag('no-colors') ||
|
|
20
|
+
hasFlag('color=false') ||
|
|
21
|
+
hasFlag('color=never')) {
|
|
22
|
+
forceColor = 0;
|
|
23
|
+
} else if (hasFlag('color') ||
|
|
24
|
+
hasFlag('colors') ||
|
|
25
|
+
hasFlag('color=true') ||
|
|
26
|
+
hasFlag('color=always')) {
|
|
27
|
+
forceColor = 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if ('FORCE_COLOR' in env) {
|
|
31
|
+
if (env.FORCE_COLOR === 'true') {
|
|
32
|
+
forceColor = 1;
|
|
33
|
+
} else if (env.FORCE_COLOR === 'false') {
|
|
34
|
+
forceColor = 0;
|
|
35
|
+
} else {
|
|
36
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function translateLevel(level) {
|
|
41
|
+
if (level === 0) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return {
|
|
46
|
+
level,
|
|
47
|
+
hasBasic: true,
|
|
48
|
+
has256: level >= 2,
|
|
49
|
+
has16m: level >= 3
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
54
|
+
if (forceColor === 0) {
|
|
55
|
+
return 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (hasFlag('color=16m') ||
|
|
59
|
+
hasFlag('color=full') ||
|
|
60
|
+
hasFlag('color=truecolor')) {
|
|
61
|
+
return 3;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (hasFlag('color=256')) {
|
|
65
|
+
return 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
69
|
+
return 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
const min = forceColor || 0;
|
|
73
|
+
|
|
74
|
+
if (env.TERM === 'dumb') {
|
|
75
|
+
return min;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (process.platform === 'win32') {
|
|
79
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
80
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
81
|
+
const osRelease = os.release().split('.');
|
|
82
|
+
if (
|
|
83
|
+
Number(osRelease[0]) >= 10 &&
|
|
84
|
+
Number(osRelease[2]) >= 10586
|
|
85
|
+
) {
|
|
86
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if ('CI' in env) {
|
|
93
|
+
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
94
|
+
return 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return min;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if ('TEAMCITY_VERSION' in env) {
|
|
101
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (env.COLORTERM === 'truecolor') {
|
|
105
|
+
return 3;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if ('TERM_PROGRAM' in env) {
|
|
109
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
110
|
+
|
|
111
|
+
switch (env.TERM_PROGRAM) {
|
|
112
|
+
case 'iTerm.app':
|
|
113
|
+
return version >= 3 ? 3 : 2;
|
|
114
|
+
case 'Apple_Terminal':
|
|
115
|
+
return 2;
|
|
116
|
+
// No default
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
121
|
+
return 2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
125
|
+
return 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if ('COLORTERM' in env) {
|
|
129
|
+
return 1;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return min;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function getSupportLevel(stream) {
|
|
136
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
137
|
+
return translateLevel(level);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
supportsColor_1 = {
|
|
141
|
+
supportsColor: getSupportLevel,
|
|
142
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
143
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
144
|
+
};
|
|
145
|
+
return supportsColor_1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export { requireSupportsColor as __require };
|
|
149
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/supports-color/index.js"],"sourcesContent":["'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n"],"names":["require$$2"],"mappings":";;;;;;;;;;CACA,MAAM,EAAE,GAAG,UAAa;CACxB,MAAM,GAAG,GAAG,UAAc;CAC1B,MAAM,OAAO,GAAGA,cAAA,EAAmB;;AAEnC,CAAA,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO;;AAErB,CAAA,IAAI,UAAU;CACd,IAAI,OAAO,CAAC,UAAU,CAAC;EACtB,OAAO,CAAC,WAAW,CAAC;EACpB,OAAO,CAAC,aAAa,CAAC;AACvB,EAAC,OAAO,CAAC,aAAa,CAAC,EAAE;EACxB,UAAU,GAAG,CAAC;AACf,CAAA,CAAC,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;EAC1B,OAAO,CAAC,QAAQ,CAAC;EACjB,OAAO,CAAC,YAAY,CAAC;AACtB,EAAC,OAAO,CAAC,cAAc,CAAC,EAAE;EACzB,UAAU,GAAG,CAAC;AACf,CAAA;;CAEA,IAAI,aAAa,IAAI,GAAG,EAAE;AAC1B,EAAC,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,EAAE;GAC/B,UAAU,GAAG,CAAC;AAChB,EAAA,CAAE,MAAM,IAAI,GAAG,CAAC,WAAW,KAAK,OAAO,EAAE;GACvC,UAAU,GAAG,CAAC;AAChB,EAAA,CAAE,MAAM;GACN,UAAU,GAAG,GAAG,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5F,EAAA;AACA,CAAA;;CAEA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,EAAC,IAAI,KAAK,KAAK,CAAC,EAAE;AAClB,GAAE,OAAO,KAAK;AACd,EAAA;;AAEA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AAC,MAAM,EAAE;AACjC,EAAC,MAAM,KAAK,GAAG,aAAa,CAAC,MAAM,EAAE,MAAM,IAAI,MAAM,CAAC,KAAK,CAAC;AAC5D,EAAC,OAAO,cAAc,CAAC,KAAK,CAAC;AAC7B,CAAA;;AAEA,CAAA,eAAc,GAAG;EAChB,aAAa,EAAE,eAAe;AAC/B,EAAC,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3D,EAAC,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;EACzD;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -5,7 +5,7 @@ import { c as callBindExports } from '../call-bind/index.js';
|
|
|
5
5
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
6
6
|
import { g as gopd } from '../gopd/index.js';
|
|
7
7
|
import { g as getProto$1 } from '../get-proto/index.js';
|
|
8
|
-
import {
|
|
8
|
+
import { __require as requireShams } from '../has-tostringtag/shams.js';
|
|
9
9
|
|
|
10
10
|
var forEach = forEach$1;
|
|
11
11
|
var availableTypedArrays = availableTypedArrays$1;
|
|
@@ -15,7 +15,7 @@ var gOPD = gopd;
|
|
|
15
15
|
var getProto = getProto$1;
|
|
16
16
|
|
|
17
17
|
var $toString = callBound('Object.prototype.toString');
|
|
18
|
-
var hasToStringTag =
|
|
18
|
+
var hasToStringTag = requireShams()();
|
|
19
19
|
|
|
20
20
|
var g = typeof globalThis === 'undefined' ? commonjsGlobal : globalThis;
|
|
21
21
|
var typedArrays = availableTypedArrays();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/which-typed-array/index.js"],"sourcesContent":["'use strict';\n\nvar forEach = require('for-each');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBind = require('call-bind');\nvar callBound = require('call-bound');\nvar gOPD = require('gopd');\nvar getProto = require('get-proto');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\n\n/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {import('./types').Getter} Getter */\n/** @type {import('./types').Cache} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getProto) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr && getProto) {\n\t\t\tvar proto = getProto(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor && proto) {\n\t\t\t\tvar superProto = getProto(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\tcache[\n\t\t\t\t/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)\n\t\t\t] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (\n\t\t\t\t// @ts-expect-error TODO FIXME\n\t\t\t\tcallBind(fn)\n\t\t\t);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */(cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","global"],"mappings":";;;;;;;;;AAEA,IAAI,OAAO,GAAGA,SAAmB;AACjC,IAAI,oBAAoB,GAAGC,sBAAiC;AAC5D,IAAI,QAAQ,GAAGC,eAAoB;AACnC,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,IAAI,GAAGC,IAAe;AAC1B,IAAI,QAAQ,GAAGC,UAAoB;;AAEnC,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;AACtD,IAAI,cAAc,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/which-typed-array/index.js"],"sourcesContent":["'use strict';\n\nvar forEach = require('for-each');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBind = require('call-bind');\nvar callBound = require('call-bound');\nvar gOPD = require('gopd');\nvar getProto = require('get-proto');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nvar g = typeof globalThis === 'undefined' ? global : globalThis;\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\n\n/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\n\n/** @typedef {import('./types').Getter} Getter */\n/** @type {import('./types').Cache} */\nvar cache = { __proto__: null };\nif (hasToStringTag && gOPD && getProto) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tif (Symbol.toStringTag in arr && getProto) {\n\t\t\tvar proto = getProto(arr);\n\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor && proto) {\n\t\t\t\tvar superProto = getProto(proto);\n\t\t\t\t// @ts-expect-error TS won't narrow inside a closure\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\t// @ts-expect-error TODO: fix\n\t\t\tcache['$' + typedArray] = callBind(descriptor.get);\n\t\t}\n\t});\n} else {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new g[typedArray]();\n\t\tvar fn = arr.slice || arr.set;\n\t\tif (fn) {\n\t\t\tcache[\n\t\t\t\t/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)\n\t\t\t] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (\n\t\t\t\t// @ts-expect-error TODO FIXME\n\t\t\t\tcallBind(fn)\n\t\t\t);\n\t\t}\n\t});\n}\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\t/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */ (cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */\n\t\tfunction (getter, typedArray) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tif ('$' + getter(value) === typedArray) {\n\t\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));\n\t\t\t\t\t}\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {(value: object) => false | import('.').TypedArrayName} */\nvar trySlices = function tryAllSlices(value) {\n\t/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;\n\tforEach(\n\t\t/** @type {Record<`\\$${import('.').TypedArrayName}`, Getter>} */(cache),\n\t\t/** @type {(getter: Getter, name: `\\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {\n\t\t\tif (!found) {\n\t\t\t\ttry {\n\t\t\t\t\t// @ts-expect-error a throw is fine here\n\t\t\t\t\tgetter(value);\n\t\t\t\t\tfound = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t}\n\t);\n\treturn found;\n};\n\n/** @type {import('.')} */\nmodule.exports = function whichTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\t/** @type {string} */\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\tif ($indexOf(typedArrays, tag) > -1) {\n\t\t\treturn tag;\n\t\t}\n\t\tif (tag !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\t// node < 0.6 hits here on real Typed Arrays\n\t\treturn trySlices(value);\n\t}\n\tif (!gOPD) { return null; } // unknown engine\n\treturn tryTypedArrays(value);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","global"],"mappings":";;;;;;;;;AAEA,IAAI,OAAO,GAAGA,SAAmB;AACjC,IAAI,oBAAoB,GAAGC,sBAAiC;AAC5D,IAAI,QAAQ,GAAGC,eAAoB;AACnC,IAAI,SAAS,GAAGC,WAAqB;AACrC,IAAI,IAAI,GAAGC,IAAe;AAC1B,IAAI,QAAQ,GAAGC,UAAoB;;AAEnC,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;AACtD,IAAI,cAAc,GAAGC,YAAA,EAAgC,EAAE;;AAEvD,IAAI,CAAC,GAAG,OAAO,UAAU,KAAK,WAAW,GAAGC,cAAM,GAAG,UAAU;AAC/D,IAAI,WAAW,GAAG,oBAAoB,EAAE;;AAExC,IAAI,MAAM,GAAG,SAAS,CAAC,wBAAwB,CAAC;;AAEhD;AACA,IAAI,QAAQ,GAAG,SAAS,CAAC,yBAAyB,EAAE,IAAI,CAAC,IAAI,SAAS,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE;AAC5F,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;AAC3C,EAAE,IAAI,KAA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AG,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;AAC3C,EAAE,IAAI,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,GAAG,EAAE,EAAE;AACvC,GAAG,OAAO,GAAG;AACb,EAAA;AACA,EAAE,IAAI,GAAG,KAAK,QAAQ,EAAE;AACxB,GAAG,OAAO,KAAK;AACf,EAAA;AACA;AACA,EAAE,OAAO,SAAS,CAAC,KAAK,CAAC;AACzB,CAAA;AACA,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,IAAI,CAAC,CAAA,CAAE;AAC5B,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC;AAC7B;;;;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbmx/confy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Eric Basley <eric.basley@redpelicans.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"@mui/material": "^6.1.3",
|
|
33
33
|
"@mui/styles": "^6.1.3",
|
|
34
34
|
"@mui/x-date-pickers": "^7.20.0",
|
|
35
|
-
"axios": "^0.21.1",
|
|
36
35
|
"core-js": "^3.8.3",
|
|
37
36
|
"dagre": "^0.8.5",
|
|
38
37
|
"date-fns": "^2.0.0",
|
|
@@ -55,39 +54,36 @@
|
|
|
55
54
|
"tss-react": "^4.9.13"
|
|
56
55
|
},
|
|
57
56
|
"dependencies": {
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@mui/
|
|
64
|
-
"@mui/
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"@mui/x-date-pickers": "^7.20.0",
|
|
68
|
-
"axios": "^0.21.1",
|
|
69
|
-
"core-js": "^3.8.3",
|
|
57
|
+
"@emotion/react": "^11.14.0",
|
|
58
|
+
"@emotion/styled": "^11.14.1",
|
|
59
|
+
"@mui/icons-material": "^6.5.0",
|
|
60
|
+
"@mui/lab": "^6.0.0-dev.20240529-082515-213b5e33ab",
|
|
61
|
+
"@mui/material": "^6.5.0",
|
|
62
|
+
"@mui/styles": "^6.5.0",
|
|
63
|
+
"@mui/x-date-pickers": "^7.29.4",
|
|
64
|
+
"axios": "^1.13.6",
|
|
65
|
+
"core-js": "^3.48.0",
|
|
70
66
|
"dagre": "^0.8.5",
|
|
71
|
-
"date-fns": "^2.
|
|
72
|
-
"dayjs": "^1.11.
|
|
67
|
+
"date-fns": "^2.30.0",
|
|
68
|
+
"dayjs": "^1.11.19",
|
|
73
69
|
"final-form": "^5.0.0",
|
|
74
70
|
"nanoid": "^5.1.6",
|
|
75
|
-
"ramda": "^0.27.
|
|
76
|
-
"react": "^18.
|
|
77
|
-
"react-dom": "^18.
|
|
78
|
-
"react-final-form": "^6.5.
|
|
79
|
-
"react-flow-renderer": "^10.
|
|
71
|
+
"ramda": "^0.27.2",
|
|
72
|
+
"react": "^18.3.1",
|
|
73
|
+
"react-dom": "^18.3.1",
|
|
74
|
+
"react-final-form": "^6.5.9",
|
|
75
|
+
"react-flow-renderer": "^10.3.17",
|
|
80
76
|
"react-full-screen": "^1.1.1",
|
|
81
77
|
"react-google-recaptcha": "^3.1.0",
|
|
82
|
-
"react-intl": "^5.
|
|
83
|
-
"react-query": "^3.
|
|
84
|
-
"react-router-dom": "^5.
|
|
85
|
-
"react-test-renderer": "^18.
|
|
78
|
+
"react-intl": "^5.25.1",
|
|
79
|
+
"react-query": "^3.39.3",
|
|
80
|
+
"react-router-dom": "^5.3.4",
|
|
81
|
+
"react-test-renderer": "^18.3.1",
|
|
86
82
|
"redux": "^4.2.1",
|
|
87
|
-
"redux-devtools-extension": "^2.13.
|
|
83
|
+
"redux-devtools-extension": "^2.13.9",
|
|
88
84
|
"redux-logger": "^3.0.6",
|
|
89
|
-
"redux-thunk": "^2.
|
|
90
|
-
"tss-react": "^4.9.
|
|
85
|
+
"redux-thunk": "^2.4.2",
|
|
86
|
+
"tss-react": "^4.9.20",
|
|
91
87
|
"url-join": "^4.0.1"
|
|
92
88
|
},
|
|
93
89
|
"publishConfig": {
|
|
@@ -115,51 +111,51 @@
|
|
|
115
111
|
}
|
|
116
112
|
},
|
|
117
113
|
"devDependencies": {
|
|
118
|
-
"@babel/cli": "^7.
|
|
119
|
-
"@babel/core": "^7.
|
|
120
|
-
"@babel/eslint-parser": "^7.
|
|
121
|
-
"@babel/node": "^7.
|
|
122
|
-
"@babel/plugin-syntax-import-assertions": "^7.
|
|
123
|
-
"@babel/preset-env": "^7.
|
|
124
|
-
"@babel/preset-react": "^7.
|
|
114
|
+
"@babel/cli": "^7.28.6",
|
|
115
|
+
"@babel/core": "^7.29.0",
|
|
116
|
+
"@babel/eslint-parser": "^7.28.6",
|
|
117
|
+
"@babel/node": "^7.29.0",
|
|
118
|
+
"@babel/plugin-syntax-import-assertions": "^7.28.6",
|
|
119
|
+
"@babel/preset-env": "^7.29.0",
|
|
120
|
+
"@babel/preset-react": "^7.28.5",
|
|
125
121
|
"@rollup/plugin-alias": "^5.1.1",
|
|
126
|
-
"@rollup/plugin-babel": "^6.0
|
|
127
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
128
|
-
"@rollup/plugin-
|
|
129
|
-
"@rollup/plugin-
|
|
130
|
-
"@
|
|
131
|
-
"@testing-library/
|
|
132
|
-
"@testing-library/
|
|
122
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
123
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
124
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
125
|
+
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
126
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
127
|
+
"@testing-library/dom": "^9.3.4",
|
|
128
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
129
|
+
"@testing-library/react": "^14.3.1",
|
|
133
130
|
"@testing-library/react-hooks": "^8.0.1",
|
|
134
|
-
"@testing-library/user-event": "^14.
|
|
131
|
+
"@testing-library/user-event": "^14.6.1",
|
|
135
132
|
"babel-eslint": "^10.1.0",
|
|
136
133
|
"babel-jest": "^29.7.0",
|
|
137
|
-
"classnames": "^2.
|
|
138
|
-
"core-js": "^3.
|
|
139
|
-
"eslint": "^
|
|
140
|
-
"eslint-config-prettier": "^8.
|
|
141
|
-
"eslint-plugin-formatjs": "^4.
|
|
142
|
-
"eslint-plugin-import": "^2.
|
|
143
|
-
"eslint-plugin-react": "^7.
|
|
134
|
+
"classnames": "^2.5.1",
|
|
135
|
+
"core-js": "^3.48.0",
|
|
136
|
+
"eslint": "^9.39.4",
|
|
137
|
+
"eslint-config-prettier": "^8.10.2",
|
|
138
|
+
"eslint-plugin-formatjs": "^4.13.3",
|
|
139
|
+
"eslint-plugin-import": "^2.32.0",
|
|
140
|
+
"eslint-plugin-react": "^7.37.5",
|
|
144
141
|
"fast-glob": "^3.3.3",
|
|
145
142
|
"husky": "^6.0.0",
|
|
146
143
|
"jest": "^29.7.0",
|
|
147
144
|
"jest-environment-jsdom": "^29.7.0",
|
|
148
145
|
"jest-resolve": "^29.7.0",
|
|
149
|
-
"lint-staged": "^11.
|
|
150
|
-
"mock-amqplib": "^1.
|
|
146
|
+
"lint-staged": "^11.2.6",
|
|
147
|
+
"mock-amqplib": "^1.8.2",
|
|
151
148
|
"mock-require": "^3.0.3",
|
|
152
|
-
"postcss": "^8.
|
|
153
|
-
"prettier": "^2.
|
|
154
|
-
"prop-types": "^15.
|
|
155
|
-
"react-redux": "^7.2.
|
|
156
|
-
"reselect": "^4.
|
|
157
|
-
"rollup": "^4.0
|
|
149
|
+
"postcss": "^8.5.8",
|
|
150
|
+
"prettier": "^2.8.8",
|
|
151
|
+
"prop-types": "^15.8.1",
|
|
152
|
+
"react-redux": "^7.2.9",
|
|
153
|
+
"reselect": "^4.1.8",
|
|
154
|
+
"rollup": "^4.59.0",
|
|
158
155
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
159
156
|
"rollup-plugin-postcss": "^4.0.2",
|
|
160
157
|
"rollup-plugin-terser": "^7.0.2",
|
|
161
|
-
"rollup-plugin-visualizer": "^5.14.0"
|
|
162
|
-
"shx": "^0.3.3"
|
|
158
|
+
"rollup-plugin-visualizer": "^5.14.0"
|
|
163
159
|
},
|
|
164
160
|
"babel": {
|
|
165
161
|
"presets": [
|
|
@@ -167,5 +163,5 @@
|
|
|
167
163
|
"@babel/preset-react"
|
|
168
164
|
]
|
|
169
165
|
},
|
|
170
|
-
"gitHead": "
|
|
166
|
+
"gitHead": "e540253c4afa2a99cd112b53c1b64147ad529255"
|
|
171
167
|
}
|
package/esm/lib/api/apiKeys.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import axios from 'axios';
|
|
2
|
-
import prop from '../../node_modules/ramda/es/prop.js';
|
|
3
|
-
|
|
4
|
-
var apiKeys = (function (_ref) {
|
|
5
|
-
var endPoint = _ref.endPoint,
|
|
6
|
-
bearer = _ref.bearer;
|
|
7
|
-
return {
|
|
8
|
-
loadAll: function loadAll() {
|
|
9
|
-
return axios.get(endPoint("/api/apiKeys/loadAll"), {
|
|
10
|
-
headers: bearer()
|
|
11
|
-
}).then(prop('data'));
|
|
12
|
-
},
|
|
13
|
-
loadOne: function loadOne(_ref2) {
|
|
14
|
-
var id = _ref2.id;
|
|
15
|
-
return axios.get(endPoint("/api/apiKeys/loadOne/".concat(id)), {
|
|
16
|
-
headers: bearer()
|
|
17
|
-
}).then(prop('data'));
|
|
18
|
-
},
|
|
19
|
-
create: function create(input) {
|
|
20
|
-
return axios.post(endPoint("/api/apiKeys/create"), input, {
|
|
21
|
-
headers: bearer()
|
|
22
|
-
}).then(prop('data'));
|
|
23
|
-
},
|
|
24
|
-
update: function update(updates) {
|
|
25
|
-
return axios.post(endPoint("/api/apiKeys/update"), updates, {
|
|
26
|
-
headers: bearer()
|
|
27
|
-
}).then(prop('data'));
|
|
28
|
-
},
|
|
29
|
-
disable: function disable(_ref3) {
|
|
30
|
-
var id = _ref3.id;
|
|
31
|
-
return axios.get(endPoint("/api/apiKeys/disable/".concat(id)), {
|
|
32
|
-
headers: bearer()
|
|
33
|
-
}).then(prop('data'));
|
|
34
|
-
},
|
|
35
|
-
activate: function activate(_ref4) {
|
|
36
|
-
var id = _ref4.id;
|
|
37
|
-
return axios.get(endPoint("/api/apiKeys/activate/".concat(id)), {
|
|
38
|
-
headers: bearer()
|
|
39
|
-
}).then(prop('data'));
|
|
40
|
-
},
|
|
41
|
-
remove: function remove(_ref5) {
|
|
42
|
-
var id = _ref5.id;
|
|
43
|
-
return axios.get(endPoint("/api/apiKeys/remove/".concat(id)), {
|
|
44
|
-
headers: bearer()
|
|
45
|
-
}).then(prop('data'));
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export { apiKeys as default };
|
|
51
|
-
//# sourceMappingURL=apiKeys.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apiKeys.js","sources":["../../../src/lib/api/apiKeys.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint, bearer }) => ({\n loadAll: () => axios.get(endPoint(`/api/apiKeys/loadAll`), { headers: bearer() }).then(prop('data')),\n loadOne: ({ id }) => axios.get(endPoint(`/api/apiKeys/loadOne/${id}`), { headers: bearer() }).then(prop('data')),\n create: input => axios.post(endPoint(`/api/apiKeys/create`), input, { headers: bearer() }).then(prop('data')),\n update: updates => axios.post(endPoint(`/api/apiKeys/update`), updates, { headers: bearer() }).then(prop('data')),\n disable: ({ id }) => axios.get(endPoint(`/api/apiKeys/disable/${id}`), { headers: bearer() }).then(prop('data')),\n activate: ({ id }) => axios.get(endPoint(`/api/apiKeys/activate/${id}`), { headers: bearer() }).then(prop('data')),\n remove: ({ id }) => axios.get(endPoint(`/api/apiKeys/remove/${id}`), { headers: bearer() }).then(prop('data')),\n})\n"],"names":["_ref","endPoint","bearer","loadAll","axios","get","headers","then","prop","loadOne","_ref2","id","concat","create","input","post","update","updates","disable","_ref3","activate","_ref4","remove","_ref5"],"mappings":";;;AAGA,cAAA,CAAe,UAAAA,IAAA,EAAA;AAAA,EAAA,IAAGC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;EAAA,OAAQ;IACxCC,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,MAAA,OAAQC,KAAK,CAACC,GAAG,CAACJ,QAAQ,CAAA,sBAAuB,CAAC,EAAE;QAAEK,OAAO,EAAEJ,MAAM;OAAI,CAAC,CAACK,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,KAAA;AACpGC,IAAAA,OAAO,EAAE,SAATA,OAAOA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKC,EAAE,GAAAD,KAAA,CAAFC,EAAE;MAAA,OAAOP,KAAK,CAACC,GAAG,CAACJ,QAAQ,CAAAW,uBAAAA,CAAAA,MAAA,CAAyBD,EAAE,CAAE,CAAC,EAAE;QAAEL,OAAO,EAAEJ,MAAM;OAAI,CAAC,CAACK,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,KAAA;AAChHK,IAAAA,MAAM,EAAE,SAARA,MAAMA,CAAEC,KAAK,EAAA;MAAA,OAAIV,KAAK,CAACW,IAAI,CAACd,QAAQ,CAAsB,qBAAA,CAAC,EAAEa,KAAK,EAAE;QAAER,OAAO,EAAEJ,MAAM;OAAI,CAAC,CAACK,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,KAAA;AAC7GQ,IAAAA,MAAM,EAAE,SAARA,MAAMA,CAAEC,OAAO,EAAA;MAAA,OAAIb,KAAK,CAACW,IAAI,CAACd,QAAQ,CAAsB,qBAAA,CAAC,EAAEgB,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5
|
-
var endPoint = _ref.endPoint,
|
|
6
|
-
bearer = _ref.bearer;
|
|
7
|
-
return {
|
|
8
|
-
uploadFileData: function uploadFileData(_ref2) {
|
|
9
|
-
var formData = _ref2.formData;
|
|
10
|
-
return axios.post(endPoint("/api/dataBuckets/uploadFileData"), formData, {
|
|
11
|
-
headers: bearer()
|
|
12
|
-
}).then(prop('data'));
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export { dataBuckets as default };
|
|
18
|
-
//# sourceMappingURL=dataBuckets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataBuckets.js","sources":["../../../src/lib/api/dataBuckets.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint, bearer }) => ({\n uploadFileData: ({ formData }) =>\n axios.post(endPoint(`/api/dataBuckets/uploadFileData`), formData, { headers: bearer() }).then(prop('data')),\n})\n"],"names":["_ref","endPoint","bearer","uploadFileData","_ref2","formData","axios","post","headers","then","prop"],"mappings":";;;AAGA,kBAAA,CAAe,UAAAA,IAAA,EAAA;AAAA,EAAA,IAAGC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,MAAM,GAAAF,IAAA,CAANE,MAAM;EAAA,OAAQ;AACxCC,IAAAA,cAAc,EAAE,SAAhBA,cAAcA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;MAAA,OACzBC,KAAK,CAACC,IAAI,CAACN,QAAQ,CAAkC,iCAAA,CAAC,EAAEI,QAAQ,EAAE;QAAEG,OAAO,EAAEN,MAAM;OAAI,CAAC,CAACO,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA;GAC9G;AAAA,CAAC;;;;"}
|