@dbmx/confy 0.0.68 → 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 -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
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { h as hasSymbols$1 } from '../has-symbols/index.js';
|
|
2
|
+
import { f as functionBind } from '../../../function-bind/index.js';
|
|
3
|
+
import { s as src } from '../../../has/src/index.js';
|
|
4
|
+
|
|
5
|
+
var undefined$1;
|
|
6
|
+
var $SyntaxError = SyntaxError;
|
|
7
|
+
var $Function = Function;
|
|
8
|
+
var $TypeError = TypeError;
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line consistent-return
|
|
11
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
12
|
+
try {
|
|
13
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
14
|
+
} catch (e) {}
|
|
15
|
+
};
|
|
16
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
17
|
+
if ($gOPD) {
|
|
18
|
+
try {
|
|
19
|
+
$gOPD({}, '');
|
|
20
|
+
} catch (e) {
|
|
21
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
var throwTypeError = function () {
|
|
25
|
+
throw new $TypeError();
|
|
26
|
+
};
|
|
27
|
+
var ThrowTypeError = $gOPD ? function () {
|
|
28
|
+
try {
|
|
29
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
30
|
+
arguments.callee; // IE 8 does not throw here
|
|
31
|
+
return throwTypeError;
|
|
32
|
+
} catch (calleeThrows) {
|
|
33
|
+
try {
|
|
34
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
35
|
+
return $gOPD(arguments, 'callee').get;
|
|
36
|
+
} catch (gOPDthrows) {
|
|
37
|
+
return throwTypeError;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}() : throwTypeError;
|
|
41
|
+
var hasSymbols = hasSymbols$1();
|
|
42
|
+
var getProto = Object.getPrototypeOf || function (x) {
|
|
43
|
+
return x.__proto__;
|
|
44
|
+
}; // eslint-disable-line no-proto
|
|
45
|
+
|
|
46
|
+
var needsEval = {};
|
|
47
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
|
|
48
|
+
var INTRINSICS = {
|
|
49
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
50
|
+
'%Array%': Array,
|
|
51
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
52
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
53
|
+
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
54
|
+
'%AsyncFunction%': needsEval,
|
|
55
|
+
'%AsyncGenerator%': needsEval,
|
|
56
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
57
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
58
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
59
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
60
|
+
'%Boolean%': Boolean,
|
|
61
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
62
|
+
'%Date%': Date,
|
|
63
|
+
'%decodeURI%': decodeURI,
|
|
64
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
65
|
+
'%encodeURI%': encodeURI,
|
|
66
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
67
|
+
'%Error%': Error,
|
|
68
|
+
'%eval%': eval,
|
|
69
|
+
// eslint-disable-line no-eval
|
|
70
|
+
'%EvalError%': EvalError,
|
|
71
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
72
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
73
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
74
|
+
'%Function%': $Function,
|
|
75
|
+
'%GeneratorFunction%': needsEval,
|
|
76
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
77
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
78
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
79
|
+
'%isFinite%': isFinite,
|
|
80
|
+
'%isNaN%': isNaN,
|
|
81
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
82
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
83
|
+
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
84
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
85
|
+
'%Math%': Math,
|
|
86
|
+
'%Number%': Number,
|
|
87
|
+
'%Object%': Object,
|
|
88
|
+
'%parseFloat%': parseFloat,
|
|
89
|
+
'%parseInt%': parseInt,
|
|
90
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
91
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
92
|
+
'%RangeError%': RangeError,
|
|
93
|
+
'%ReferenceError%': ReferenceError,
|
|
94
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
95
|
+
'%RegExp%': RegExp,
|
|
96
|
+
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
97
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
98
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
99
|
+
'%String%': String,
|
|
100
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
101
|
+
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
102
|
+
'%SyntaxError%': $SyntaxError,
|
|
103
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
104
|
+
'%TypedArray%': TypedArray,
|
|
105
|
+
'%TypeError%': $TypeError,
|
|
106
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
107
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
108
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
109
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
110
|
+
'%URIError%': URIError,
|
|
111
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
112
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
113
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
114
|
+
};
|
|
115
|
+
var doEval = function doEval(name) {
|
|
116
|
+
var value;
|
|
117
|
+
if (name === '%AsyncFunction%') {
|
|
118
|
+
value = getEvalledConstructor('async function () {}');
|
|
119
|
+
} else if (name === '%GeneratorFunction%') {
|
|
120
|
+
value = getEvalledConstructor('function* () {}');
|
|
121
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
122
|
+
value = getEvalledConstructor('async function* () {}');
|
|
123
|
+
} else if (name === '%AsyncGenerator%') {
|
|
124
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
125
|
+
if (fn) {
|
|
126
|
+
value = fn.prototype;
|
|
127
|
+
}
|
|
128
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
129
|
+
var gen = doEval('%AsyncGenerator%');
|
|
130
|
+
if (gen) {
|
|
131
|
+
value = getProto(gen.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
INTRINSICS[name] = value;
|
|
135
|
+
return value;
|
|
136
|
+
};
|
|
137
|
+
var LEGACY_ALIASES = {
|
|
138
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
139
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
140
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
141
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
142
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
143
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
144
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
145
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
146
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
147
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
148
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
149
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
150
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
151
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
152
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
153
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
154
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
155
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
156
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
157
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
158
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
159
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
160
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
161
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
162
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
163
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
164
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
165
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
166
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
167
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
168
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
169
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
170
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
171
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
172
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
173
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
174
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
175
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
176
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
177
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
178
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
179
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
180
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
181
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
182
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
183
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
184
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
185
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
186
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
187
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
188
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
189
|
+
};
|
|
190
|
+
var bind = functionBind;
|
|
191
|
+
var hasOwn = src;
|
|
192
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
193
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
194
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
195
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
196
|
+
|
|
197
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
198
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
199
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
200
|
+
var stringToPath = function stringToPath(string) {
|
|
201
|
+
var first = $strSlice(string, 0, 1);
|
|
202
|
+
var last = $strSlice(string, -1);
|
|
203
|
+
if (first === '%' && last !== '%') {
|
|
204
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
205
|
+
} else if (last === '%' && first !== '%') {
|
|
206
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
207
|
+
}
|
|
208
|
+
var result = [];
|
|
209
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
210
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
211
|
+
});
|
|
212
|
+
return result;
|
|
213
|
+
};
|
|
214
|
+
/* end adaptation */
|
|
215
|
+
|
|
216
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
217
|
+
var intrinsicName = name;
|
|
218
|
+
var alias;
|
|
219
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
220
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
221
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
222
|
+
}
|
|
223
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
224
|
+
var value = INTRINSICS[intrinsicName];
|
|
225
|
+
if (value === needsEval) {
|
|
226
|
+
value = doEval(intrinsicName);
|
|
227
|
+
}
|
|
228
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
229
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
230
|
+
}
|
|
231
|
+
return {
|
|
232
|
+
alias: alias,
|
|
233
|
+
name: intrinsicName,
|
|
234
|
+
value: value
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
238
|
+
};
|
|
239
|
+
var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
240
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
241
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
242
|
+
}
|
|
243
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
244
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
245
|
+
}
|
|
246
|
+
var parts = stringToPath(name);
|
|
247
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
248
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
249
|
+
var intrinsicRealName = intrinsic.name;
|
|
250
|
+
var value = intrinsic.value;
|
|
251
|
+
var skipFurtherCaching = false;
|
|
252
|
+
var alias = intrinsic.alias;
|
|
253
|
+
if (alias) {
|
|
254
|
+
intrinsicBaseName = alias[0];
|
|
255
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
256
|
+
}
|
|
257
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
258
|
+
var part = parts[i];
|
|
259
|
+
var first = $strSlice(part, 0, 1);
|
|
260
|
+
var last = $strSlice(part, -1);
|
|
261
|
+
if ((first === '"' || first === "'" || first === '`' || last === '"' || last === "'" || last === '`') && first !== last) {
|
|
262
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
263
|
+
}
|
|
264
|
+
if (part === 'constructor' || !isOwn) {
|
|
265
|
+
skipFurtherCaching = true;
|
|
266
|
+
}
|
|
267
|
+
intrinsicBaseName += '.' + part;
|
|
268
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
269
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
270
|
+
value = INTRINSICS[intrinsicRealName];
|
|
271
|
+
} else if (value != null) {
|
|
272
|
+
if (!(part in value)) {
|
|
273
|
+
if (!allowMissing) {
|
|
274
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
275
|
+
}
|
|
276
|
+
return void 0;
|
|
277
|
+
}
|
|
278
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
279
|
+
var desc = $gOPD(value, part);
|
|
280
|
+
isOwn = !!desc;
|
|
281
|
+
|
|
282
|
+
// By convention, when a data property is converted to an accessor
|
|
283
|
+
// property to emulate a data property that does not suffer from
|
|
284
|
+
// the override mistake, that accessor's getter is marked with
|
|
285
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
286
|
+
// uphold the illusion by pretending to see that original data
|
|
287
|
+
// property, i.e., returning the value rather than the getter
|
|
288
|
+
// itself.
|
|
289
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
290
|
+
value = desc.get;
|
|
291
|
+
} else {
|
|
292
|
+
value = value[part];
|
|
293
|
+
}
|
|
294
|
+
} else {
|
|
295
|
+
isOwn = hasOwn(value, part);
|
|
296
|
+
value = value[part];
|
|
297
|
+
}
|
|
298
|
+
if (isOwn && !skipFurtherCaching) {
|
|
299
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
return value;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
export { getIntrinsic as g };
|
|
307
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/get-intrinsic/index.js"],"sourcesContent":["'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n"],"names":["undefined","$SyntaxError","SyntaxError","$Function","Function","$TypeError","TypeError","getEvalledConstructor","expressionSyntax","e","$gOPD","Object","getOwnPropertyDescriptor","throwTypeError","ThrowTypeError","arguments","callee","calleeThrows","get","gOPDthrows","hasSymbols","require","getProto","getPrototypeOf","x","__proto__","needsEval","TypedArray","Uint8Array","INTRINSICS","AggregateError","Array","ArrayBuffer","Symbol","iterator","Atomics","BigInt","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","eval","EvalError","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","isFinite","isNaN","JSON","Map","Math","Number","parseFloat","parseInt","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakRef","WeakSet","doEval","name","value","fn","prototype","gen","LEGACY_ALIASES","bind","hasOwn","$concat","call","concat","$spliceApply","apply","splice","$replace","replace","$strSlice","slice","rePropName","reEscapeChar","stringToPath","string","first","last","result","match","number","quote","subString","length","getBaseIntrinsic","allowMissing","intrinsicName","alias","module","GetIntrinsic","parts","intrinsic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6G,CAAC,GAAG,CAAC,IAAKL,KAAK,CAACP,MAAM,EAAE;AACrC,QAAA,IAAIe,IAAI,GAAGhH,KAAK,CAACqE,KAAK,EAAE0C,IAAI,CAAC;QAC7BD,KAAK,GAAG,CAAC,CAACE,IAAI;;AAEd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAA,IAAIF,KAAK,IAAI,KAAK,IAAIE,IAAI,IAAI,EAAE,eAAe,IAAIA,IAAI,CAACxG,GAAG,CAAC,EAAE;UAC7D6D,KAAK,GAAG2C,IAAI,CAACxG,GAAG;AACjB,SAAC,MAAM;AACN6D,UAAAA,KAAK,GAAGA,KAAK,CAAC0C,IAAI,CAAC;AACpB;AACD,OAAC,MAAM;AACND,QAAAA,KAAK,GAAGnC,MAAM,CAACN,KAAK,EAAE0C,IAAI,CAAC;AAC3B1C,QAAAA,KAAK,GAAGA,KAAK,CAAC0C,IAAI,CAAC;AACpB;AAEA,MAAA,IAAID,KAAK,IAAI,CAACF,kBAAkB,EAAE;AACjCzF,QAAAA,UAAU,CAACwF,iBAAiB,CAAC,GAAGtC,KAAK;AACtC;AACD;AACD;AACA,EAAA,OAAOA,KAAK;AACb;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __require as requireShams } from './shams.js';
|
|
2
|
+
|
|
3
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
4
|
+
var hasSymbolSham = requireShams();
|
|
5
|
+
var hasSymbols = function hasNativeSymbols() {
|
|
6
|
+
if (typeof origSymbol !== 'function') {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
if (typeof Symbol !== 'function') {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
if (typeof origSymbol('foo') !== 'symbol') {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
if (typeof Symbol('bar') !== 'symbol') {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
return hasSymbolSham();
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { hasSymbols as h };
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/has-symbols/index.js"],"sourcesContent":["'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n"],"names":["origSymbol","Symbol","hasSymbolSham","require","module","hasNativeSymbols"],"mappings":";;AAEA,IAAIA,UAAU,GAAG,OAAOC,MAAM,KAAK,WAAW,IAAIA,MAAM;AACxD,IAAIC,aAAa,GAAGC,YAAkB,EAAA;IAEtCC,UAAc,GAAG,SAASC,gBAAgBA,GAAG;AAC5C,EAAA,IAAI,OAAOL,UAAU,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AACtD,EAAA,IAAI,OAAOC,MAAM,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAClD,EAAA,IAAI,OAAOD,UAAU,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAC3D,EAAA,IAAI,OAAOC,MAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;EAEvD,OAAOC,aAAa,EAAE;AACvB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
var shams;
|
|
2
|
+
var hasRequiredShams;
|
|
3
|
+
|
|
4
|
+
function requireShams () {
|
|
5
|
+
if (hasRequiredShams) return shams;
|
|
6
|
+
hasRequiredShams = 1;
|
|
7
|
+
|
|
8
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
9
|
+
shams = function hasSymbols() {
|
|
10
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
if (typeof Symbol.iterator === 'symbol') {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
var obj = {};
|
|
17
|
+
var sym = Symbol('test');
|
|
18
|
+
var symObj = Object(sym);
|
|
19
|
+
if (typeof sym === 'string') {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
30
|
+
// if (sym instanceof Symbol) { return false; }
|
|
31
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
32
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
33
|
+
|
|
34
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
35
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
36
|
+
|
|
37
|
+
var symVal = 42;
|
|
38
|
+
obj[sym] = symVal;
|
|
39
|
+
for (sym in obj) {
|
|
40
|
+
return false;
|
|
41
|
+
} // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
42
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
49
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
56
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
57
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return true;
|
|
62
|
+
};
|
|
63
|
+
return shams;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { requireShams as __require };
|
|
67
|
+
//# sourceMappingURL=shams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/has-symbols/shams.js"],"sourcesContent":["'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"],"names":["module","hasSymbols","Symbol","Object","getOwnPropertySymbols","iterator","obj","sym","symObj","prototype","toString","call","symVal","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","value","enumerable"],"mappings":";;;;;;;AAEA;AACAA,CAAc,KAAA,GAAG,SAASC,UAAUA,GAAG;GACtC,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOC,MAAM,CAACC,qBAAqB,KAAK,UAAU,EAAE;AAAE,KAAA,OAAO,KAAK;AAAE;AACxG,GAAA,IAAI,OAAOF,MAAM,CAACG,QAAQ,KAAK,QAAQ,EAAE;AAAE,KAAA,OAAO,IAAI;AAAE;GAExD,IAAIC,GAAG,GAAG,EAAE;AACZ,GAAA,IAAIC,GAAG,GAAGL,MAAM,CAAC,MAAM,CAAC;AACxB,GAAA,IAAIM,MAAM,GAAGL,MAAM,CAACI,GAAG,CAAC;AACxB,GAAA,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;AAAE,KAAA,OAAO,KAAK;AAAE;AAE7C,GAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ,GAAG,CAAC,KAAK,iBAAiB,EAAE;AAAE,KAAA,OAAO,KAAK;AAAE;AAC/E,GAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,C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List":[0]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __require as requireShams$1 } from '../has-symbols/shams.js';
|
|
2
|
+
|
|
3
|
+
var shams;
|
|
4
|
+
var hasRequiredShams;
|
|
5
|
+
|
|
6
|
+
function requireShams () {
|
|
7
|
+
if (hasRequiredShams) return shams;
|
|
8
|
+
hasRequiredShams = 1;
|
|
9
|
+
|
|
10
|
+
var hasSymbols = requireShams$1();
|
|
11
|
+
shams = function hasToStringTagShams() {
|
|
12
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
13
|
+
};
|
|
14
|
+
return shams;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { requireShams as __require };
|
|
18
|
+
//# sourceMappingURL=shams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js"],"sourcesContent":["'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n"],"names":["hasSymbols","require","module","hasToStringTagShams","Symbol","toStringTag"],"mappings":";;;;;;;;;CAEA,IAAIA,UAAU,GAAGC,cAA4B,EAAA;AAE7CC,CAAc,KAAA,GAAG,SAASC,mBAAmBA,GAAG;GAC/C,OAAOH,UAAU,EAAE,IAAI,CAAC,CAACI,MAAM,CAACC,WAAW;EAC3C;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { __require as requireShams } from '../has-tostringtag/shams.js';
|
|
3
3
|
|
|
4
4
|
var callBound = callBound$1;
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
|
|
|
17
17
|
/** @type {(value: unknown) => string} */
|
|
18
18
|
var toStr = callBound('Object.prototype.toString');
|
|
19
19
|
var dateClass = '[object Date]';
|
|
20
|
-
var hasToStringTag =
|
|
20
|
+
var hasToStringTag = requireShams()();
|
|
21
21
|
|
|
22
22
|
/** @type {import('.')} */
|
|
23
23
|
var isDateObject = function isDateObject(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/is-date-object/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\n\nvar getDay = callBound('Date.prototype.getDay');\n/** @type {import('.')} */\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\n/** @type {(value: unknown) => string} */\nvar toStr = callBound('Object.prototype.toString');\nvar dateClass = '[object Date]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\n/** @type {import('.')} */\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr(value) === dateClass;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,SAAS,GAAGA,WAAqB;;AAErC,IAAI,MAAM,GAAG,SAAS,CAAC,uBAAuB,CAAC;AAC/C;AACA,IAAI,aAAa,GAAG,SAAS,iBAAiB,CAAC,KAAK,EAAE;AACtD,CAAC,IAAI;AACL,EAAE,MAAM,CAAC,KAAK,CAAC;AACf,EAAE,OAAO,IAAI;AACb,CAAA,CAAE,CAAC,OAAO,CAAC,EAAE;AACb,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC;;AAED;AACA,IAAI,KAAK,GAAG,SAAS,CAAC,2BAA2B,CAAC;AAClD,IAAI,SAAS,GAAG,eAAe;AAC/B,IAAI,cAAc,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/is-date-object/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\n\nvar getDay = callBound('Date.prototype.getDay');\n/** @type {import('.')} */\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\n/** @type {(value: unknown) => string} */\nvar toStr = callBound('Object.prototype.toString');\nvar dateClass = '[object Date]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\n/** @type {import('.')} */\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr(value) === dateClass;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,SAAS,GAAGA,WAAqB;;AAErC,IAAI,MAAM,GAAG,SAAS,CAAC,uBAAuB,CAAC;AAC/C;AACA,IAAI,aAAa,GAAG,SAAS,iBAAiB,CAAC,KAAK,EAAE;AACtD,CAAC,IAAI;AACL,EAAE,MAAM,CAAC,KAAK,CAAC;AACf,EAAE,OAAO,IAAI;AACb,CAAA,CAAE,CAAC,OAAO,CAAC,EAAE;AACb,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC;;AAED;AACA,IAAI,KAAK,GAAG,SAAS,CAAC,2BAA2B,CAAC;AAClD,IAAI,SAAS,GAAG,eAAe;AAC/B,IAAI,cAAc,GAAGC,YAAA,EAAgC,EAAE;;AAEvD;AACA,IAAA,YAAc,GAAG,SAAS,YAAY,CAAC,KAAK,EAAE;AAC9C,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;AAClD,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC,OAAO,cAAc,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;AAC1E;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as callBound$1 } from '../call-bound/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { __require as requireShams } from '../has-tostringtag/shams.js';
|
|
3
3
|
|
|
4
4
|
var callBound = callBound$1;
|
|
5
5
|
|
|
@@ -16,7 +16,7 @@ var tryNumberObject = function tryNumberObject(value) {
|
|
|
16
16
|
};
|
|
17
17
|
var $toString = callBound('Object.prototype.toString');
|
|
18
18
|
var numClass = '[object Number]';
|
|
19
|
-
var hasToStringTag =
|
|
19
|
+
var hasToStringTag = requireShams()();
|
|
20
20
|
|
|
21
21
|
/** @type {import('.')} */
|
|
22
22
|
var isNumberObject = function isNumberObject(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/is-number-object/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\n\nvar $numToStr = callBound('Number.prototype.toString');\n\n/** @type {import('.')} */\nvar tryNumberObject = function tryNumberObject(value) {\n\ttry {\n\t\t$numToStr(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar $toString = callBound('Object.prototype.toString');\nvar numClass = '[object Number]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\n/** @type {import('.')} */\nmodule.exports = function isNumberObject(value) {\n\tif (typeof value === 'number') {\n\t\treturn true;\n\t}\n\tif (!value || typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryNumberObject(value) : $toString(value) === numClass;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,SAAS,GAAGA,WAAqB;;AAErC,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;;AAEtD;AACA,IAAI,eAAe,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AACtD,CAAC,IAAI;AACL,EAAE,SAAS,CAAC,KAAK,CAAC;AAClB,EAAE,OAAO,IAAI;AACb,CAAA,CAAE,CAAC,OAAO,CAAC,EAAE;AACb,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC;AACD,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;AACtD,IAAI,QAAQ,GAAG,iBAAiB;AAChC,IAAI,cAAc,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/is-number-object/index.js"],"sourcesContent":["'use strict';\n\nvar callBound = require('call-bound');\n\nvar $numToStr = callBound('Number.prototype.toString');\n\n/** @type {import('.')} */\nvar tryNumberObject = function tryNumberObject(value) {\n\ttry {\n\t\t$numToStr(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar $toString = callBound('Object.prototype.toString');\nvar numClass = '[object Number]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\n/** @type {import('.')} */\nmodule.exports = function isNumberObject(value) {\n\tif (typeof value === 'number') {\n\t\treturn true;\n\t}\n\tif (!value || typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryNumberObject(value) : $toString(value) === numClass;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;AAEA,IAAI,SAAS,GAAGA,WAAqB;;AAErC,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;;AAEtD;AACA,IAAI,eAAe,GAAG,SAAS,eAAe,CAAC,KAAK,EAAE;AACtD,CAAC,IAAI;AACL,EAAE,SAAS,CAAC,KAAK,CAAC;AAClB,EAAE,OAAO,IAAI;AACb,CAAA,CAAE,CAAC,OAAO,CAAC,EAAE;AACb,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC;AACD,IAAI,SAAS,GAAG,SAAS,CAAC,2BAA2B,CAAC;AACtD,IAAI,QAAQ,GAAG,iBAAiB;AAChC,IAAI,cAAc,GAAGC,YAAA,EAAgC,EAAE;;AAEvD;AACA,IAAA,cAAc,GAAG,SAAS,cAAc,CAAC,KAAK,EAAE;AAChD,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAChC,EAAE,OAAO,IAAI;AACb,CAAA;AACA,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC1C,EAAE,OAAO,KAAK;AACd,CAAA;AACA,CAAC,OAAO,cAAc,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,QAAQ;AAC/E;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2
|
+
var shams = function hasSymbols() {
|
|
3
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
|
|
4
|
+
return false;
|
|
5
|
+
}
|
|
6
|
+
if (typeof Symbol.iterator === 'symbol') {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
var obj = {};
|
|
10
|
+
var sym = Symbol('test');
|
|
11
|
+
var symObj = Object(sym);
|
|
12
|
+
if (typeof sym === 'string') {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
23
|
+
// if (sym instanceof Symbol) { return false; }
|
|
24
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
25
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
26
|
+
|
|
27
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
28
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
29
|
+
|
|
30
|
+
var symVal = 42;
|
|
31
|
+
obj[sym] = symVal;
|
|
32
|
+
for (sym in obj) {
|
|
33
|
+
return false;
|
|
34
|
+
} // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
35
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
42
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
49
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
50
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return true;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { shams as s };
|
|
58
|
+
//# sourceMappingURL=shams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shams.js","sources":["../../../../../../../node_modules/is-number-object/node_modules/has-symbols/shams.js"],"sourcesContent":["'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"],"names":["module","hasSymbols","Symbol","Object","getOwnPropertySymbols","iterator","obj","sym","symObj","prototype","toString","call","symVal","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","value","enumerable"],"mappings":"AAEA;IACAA,KAAc,GAAG,SAASC,UAAUA,GAAG;EACtC,IAAI,OAAOC,MAAM,KAAK,UAAU,IAAI,OAAOC,MAAM,CAACC,qBAAqB,KAAK,UAAU,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AACxG,EAAA,IAAI,OAAOF,MAAM,CAACG,QAAQ,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,IAAI;AAAE;EAExD,IAAIC,GAAG,GAAG,EAAE;AACZ,EAAA,IAAIC,GAAG,GAAGL,MAAM,CAAC,MAAM,CAAC;AACxB,EAAA,IAAIM,MAAM,GAAGL,MAAM,CAACI,GAAG,CAAC;AACxB,EAAA,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;AAAE,IAAA,OAAO,KAAK;AAAE;AAE7C,EAAA,IAAIJ,MAAM,CAACM,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ,GAAG,CAAC,KA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