@amazon/vinyl-util 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browserTestUtil/index.js +1853 -1853
- package/dist/browserTestUtil/index.js.map +4 -4
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/index.d.ts +17 -17
- package/dist/browserTestUtil/types/current/index.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/index.js +17 -17
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/globals.js +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts.map +1 -1
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.js +1 -1
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.js +1 -1
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.js +1 -1
- package/dist/browserTestUtil/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/browserTestUtil/types/ts3.7/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts3.7/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts3.7/index.d.ts +17 -17
- package/dist/browserTestUtil/types/ts3.7/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts3.7/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/ts4.1/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts4.1/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts4.1/index.d.ts +17 -17
- package/dist/browserTestUtil/types/ts4.1/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts4.1/mock/dom/lib.dom.d.ts +499 -499
- package/dist/browserTestUtil/types/ts4.7/async/createCallbackTimingTest.d.ts +1 -1
- package/dist/browserTestUtil/types/ts4.7/expect/typesafety.d.ts +5 -15
- package/dist/browserTestUtil/types/ts4.7/index.d.ts +17 -17
- package/dist/browserTestUtil/types/ts4.7/mock/dom/globals.d.ts +4 -4
- package/dist/browserTestUtil/types/ts4.7/mock/dom/lib.dom.d.ts +499 -499
- package/dist/index.cjs +5054 -5024
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +5054 -5024
- package/dist/index.js.map +4 -4
- package/dist/polyfill/index.d.ts +1 -0
- package/dist/polyfill/index.d.ts.map +1 -1
- package/dist/polyfill/index.js +172 -105
- package/dist/polyfill/index.js.map +3 -3
- package/dist/polyfill/tsconfig.tsbuildinfo +1 -1
- package/dist/test/benchmark.es5.js +70 -70
- package/dist/test/benchmark.js +1396 -1395
- package/dist/test/benchmark.js.map +4 -4
- package/dist/testUtil/index.js +418 -418
- package/dist/testUtil/index.js.map +4 -4
- package/dist/testUtil/types/current/index.d.ts +16 -16
- package/dist/testUtil/types/current/index.d.ts.map +1 -1
- package/dist/testUtil/types/current/index.js +16 -16
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/logging/MockLogger.js +1 -1
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockNetworkState.js +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts.map +1 -1
- package/dist/testUtil/types/current/mock/network/MockRequester.js +1 -1
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts +1 -0
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts.map +1 -1
- package/dist/testUtil/types/current/reporters/LogReporter.js +8 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts +1 -1
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts.map +1 -1
- package/dist/testUtil/types/current/reporters/RestApiReporter.js +1 -1
- package/dist/testUtil/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/testUtil/types/current/util/event/createEventSpy.d.ts.map +1 -1
- package/dist/testUtil/types/current/util/event/createEventSpy.js +6 -4
- package/dist/testUtil/types/ts3.7/index.d.ts +16 -16
- package/dist/testUtil/types/ts3.7/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts3.7/reporters/LogReporter.d.ts +1 -0
- package/dist/testUtil/types/ts3.7/reporters/RestApiReporter.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/index.d.ts +16 -16
- package/dist/testUtil/types/ts4.1/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts4.1/reporters/LogReporter.d.ts +1 -0
- package/dist/testUtil/types/ts4.1/reporters/RestApiReporter.d.ts +2 -2
- package/dist/testUtil/types/ts4.7/index.d.ts +16 -16
- package/dist/testUtil/types/ts4.7/mock/logging/MockLogger.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkMetricsController.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkState.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/mock/network/MockRequester.d.ts +1 -1
- package/dist/testUtil/types/ts4.7/reporters/LogReporter.d.ts +1 -0
- package/dist/testUtil/types/ts4.7/reporters/RestApiReporter.d.ts +1 -1
- package/dist/types/current/client/Version.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/hasBrowser.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/hasBrowser.js +1 -1
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts.map +1 -1
- package/dist/types/current/client/userAgent/tokenizeUserAgent.js +1 -1
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts.map +1 -1
- package/dist/types/current/core/disposable.d.ts +1 -1
- package/dist/types/current/core/disposable.d.ts.map +1 -1
- package/dist/types/current/error/AbortError.js +1 -1
- package/dist/types/current/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/current/error/MediaUnsupportedError.d.ts.map +1 -1
- package/dist/types/current/error/MediaUnsupportedError.js +2 -2
- package/dist/types/current/error/ReportableError.d.ts.map +1 -1
- package/dist/types/current/error/ServiceResponseError.d.ts.map +1 -1
- package/dist/types/current/error/TimeoutError.js +1 -1
- package/dist/types/current/error/ValidationError.d.ts +1 -1
- package/dist/types/current/error/ValidationError.d.ts.map +1 -1
- package/dist/types/current/error/ValidationError.js +2 -2
- package/dist/types/current/event/DomEventHost.d.ts +1 -1
- package/dist/types/current/event/DomEventHost.d.ts.map +1 -1
- package/dist/types/current/event/EventHost.d.ts.map +1 -1
- package/dist/types/current/event/Signal.d.ts.map +1 -1
- package/dist/types/current/event/nextEventAsPromise.d.ts +14 -4
- package/dist/types/current/event/nextEventAsPromise.d.ts.map +1 -1
- package/dist/types/current/event/nextEventAsPromise.js +8 -2
- package/dist/types/current/event/onAny.d.ts.map +1 -1
- package/dist/types/current/event/redispatchEvents.d.ts.map +1 -1
- package/dist/types/current/global/globalTarget.d.ts.map +1 -1
- package/dist/types/current/index.d.ts +114 -113
- package/dist/types/current/index.d.ts.map +1 -1
- package/dist/types/current/index.js +114 -113
- package/dist/types/current/logging/ConsoleLogHandler.d.ts.map +1 -1
- package/dist/types/current/logging/HistoryLogHandler.d.ts.map +1 -1
- package/dist/types/current/logging/Logger.d.ts +2 -2
- package/dist/types/current/logging/Logger.d.ts.map +1 -1
- package/dist/types/current/logging/Logger.js +1 -1
- package/dist/types/current/logging/VinylLogging.d.ts +2 -2
- package/dist/types/current/logging/VinylLogging.d.ts.map +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts.map +1 -1
- package/dist/types/current/logging/getLogLevelFromSearch.js +2 -2
- package/dist/types/current/logging/logTimer.d.ts +1 -1
- package/dist/types/current/logging/logTimer.d.ts.map +1 -1
- package/dist/types/current/logging/logTimer.js +1 -1
- package/dist/types/current/network/RequestError.d.ts.map +1 -1
- package/dist/types/current/network/Requester.d.ts.map +1 -1
- package/dist/types/current/network/RequesterImpl.d.ts +1 -1
- package/dist/types/current/network/RequesterImpl.d.ts.map +1 -1
- package/dist/types/current/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/current/network/RequesterImplEventMap.d.ts.map +1 -1
- package/dist/types/current/network/createRequester.d.ts.map +1 -1
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts.map +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts.map +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts.map +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts.map +1 -1
- package/dist/types/current/network/metrics/networkMetricsGlobal.js +1 -1
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts.map +1 -1
- package/dist/types/current/network/network.d.ts +1 -1
- package/dist/types/current/network/network.d.ts.map +1 -1
- package/dist/types/current/network/requesterGlobal.d.ts +1 -1
- package/dist/types/current/network/requesterGlobal.d.ts.map +1 -1
- package/dist/types/current/network/requesterUtil.d.ts.map +1 -1
- package/dist/types/current/patch/network/fetch.d.ts.map +1 -1
- package/dist/types/current/patch/patchTarget.d.ts.map +1 -1
- package/dist/types/current/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/current/persistence/PersistentItem.d.ts.map +1 -1
- package/dist/types/current/persistence/PersistentItem.js +1 -1
- package/dist/types/current/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/current/persistence/StoragePersistence.d.ts.map +1 -1
- package/dist/types/current/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/current/persistence/persistenceRef.d.ts.map +1 -1
- package/dist/types/current/persistence/persistenceRef.js +1 -1
- package/dist/types/current/tsconfig.tsbuildinfo +1 -1
- package/dist/types/current/util/async/Abort.d.ts.map +1 -1
- package/dist/types/current/util/async/Abort.js +1 -1
- package/dist/types/current/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/current/util/async/TaskQueue.d.ts.map +1 -1
- package/dist/types/current/util/async/TaskQueue.js +1 -1
- package/dist/types/current/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/current/util/async/TimeoutController.d.ts.map +1 -1
- package/dist/types/current/util/async/TimeoutController.js +1 -1
- package/dist/types/current/util/async/TimeoutSlot.d.ts.map +1 -1
- package/dist/types/current/util/async/abortUtils.d.ts +1 -1
- package/dist/types/current/util/async/abortUtils.d.ts.map +1 -1
- package/dist/types/current/util/async/poll.d.ts +34 -0
- package/dist/types/current/util/async/poll.d.ts.map +1 -0
- package/dist/types/current/util/async/poll.js +31 -0
- package/dist/types/current/util/async/promise.d.ts +1 -1
- package/dist/types/current/util/async/promise.d.ts.map +1 -1
- package/dist/types/current/util/async/promise.js +2 -2
- package/dist/types/current/util/async/sleep.d.ts +2 -1
- package/dist/types/current/util/async/sleep.d.ts.map +1 -1
- package/dist/types/current/util/async/timeout.d.ts +32 -10
- package/dist/types/current/util/async/timeout.d.ts.map +1 -1
- package/dist/types/current/util/async/timeout.js +8 -12
- package/dist/types/current/util/browser/searchParams.d.ts +1 -1
- package/dist/types/current/util/browser/searchParams.d.ts.map +1 -1
- package/dist/types/current/util/browser/searchParams.js +1 -1
- package/dist/types/current/util/buffer/BufferError.d.ts.map +1 -1
- package/dist/types/current/util/buffer/BufferReader.js +2 -2
- package/dist/types/current/util/buffer/buffer.d.ts +1 -1
- package/dist/types/current/util/buffer/buffer.d.ts.map +1 -1
- package/dist/types/current/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/current/util/collection/CacheMap.d.ts.map +1 -1
- package/dist/types/current/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/current/util/collection/LinkedList.d.ts.map +1 -1
- package/dist/types/current/util/collection/LruCache.js +1 -1
- package/dist/types/current/util/collection/array.d.ts +2 -2
- package/dist/types/current/util/collection/array.d.ts.map +1 -1
- package/dist/types/current/util/collection/array.js +2 -2
- package/dist/types/current/util/comparison/compare.d.ts +1 -1
- package/dist/types/current/util/comparison/compare.d.ts.map +1 -1
- package/dist/types/current/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/current/util/config/ValueProvider.d.ts.map +1 -1
- package/dist/types/current/util/date/date.d.ts +1 -1
- package/dist/types/current/util/date/date.d.ts.map +1 -1
- package/dist/types/current/util/date/date.js +1 -1
- package/dist/types/current/util/error/stack.d.ts +3 -3
- package/dist/types/current/util/error/stack.d.ts.map +1 -1
- package/dist/types/current/util/error/stack.js +2 -2
- package/dist/types/current/util/fun/debounce.d.ts.map +1 -1
- package/dist/types/current/util/fun/debounce.js +1 -1
- package/dist/types/current/util/fun/memoize.d.ts +1 -1
- package/dist/types/current/util/fun/memoize.d.ts.map +1 -1
- package/dist/types/current/util/fun/memoize.js +2 -2
- package/dist/types/current/util/fun/throttle.d.ts.map +1 -1
- package/dist/types/current/util/fun/throttle.js +1 -1
- package/dist/types/current/util/map/map.d.ts +10 -2
- package/dist/types/current/util/map/map.d.ts.map +1 -1
- package/dist/types/current/util/mpeg/parseSidxBox.js +1 -1
- package/dist/types/current/util/network/request.d.ts +1 -1
- package/dist/types/current/util/network/request.d.ts.map +1 -1
- package/dist/types/current/util/object/equalDeep.d.ts +1 -1
- package/dist/types/current/util/object/equalDeep.d.ts.map +1 -1
- package/dist/types/current/util/object/equalDeep.js +1 -1
- package/dist/types/current/util/object/lazy.d.ts.map +1 -1
- package/dist/types/current/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/current/util/object/mergeDeep.d.ts.map +1 -1
- package/dist/types/current/util/object/mergeDeep.js +3 -3
- package/dist/types/current/util/object/mutableType.d.ts +1 -1
- package/dist/types/current/util/object/mutableType.d.ts.map +1 -1
- package/dist/types/current/util/object/readonlyType.d.ts +1 -1
- package/dist/types/current/util/object/readonlyType.d.ts.map +1 -1
- package/dist/types/current/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/current/util/range/IntersectionRanges.d.ts.map +1 -1
- package/dist/types/current/util/range/Ranges.js +1 -1
- package/dist/types/current/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/current/util/range/UnionRanges.d.ts.map +1 -1
- package/dist/types/current/util/serialization/ParseError.js +1 -1
- package/dist/types/current/util/serialization/json.d.ts +1 -1
- package/dist/types/current/util/serialization/json.d.ts.map +1 -1
- package/dist/types/current/util/serialization/json.js +1 -1
- package/dist/types/current/util/serialization/primitives.d.ts +1 -1
- package/dist/types/current/util/serialization/primitives.d.ts.map +1 -1
- package/dist/types/current/util/serialization/stringifyForPrint.js +1 -1
- package/dist/types/current/util/string/StringReader.d.ts +2 -2
- package/dist/types/current/util/string/StringReader.d.ts.map +1 -1
- package/dist/types/current/util/string/StringReader.js +1 -1
- package/dist/types/current/util/string/string.d.ts +2 -2
- package/dist/types/current/util/string/string.d.ts.map +1 -1
- package/dist/types/current/util/string/string.js +1 -1
- package/dist/types/current/util/type.d.ts +13 -0
- package/dist/types/current/util/type.d.ts.map +1 -1
- package/dist/types/current/util/url/resolveUrl.d.ts +2 -1
- package/dist/types/current/util/url/resolveUrl.d.ts.map +1 -1
- package/dist/types/current/util/url/resolveUrl.js +9 -3
- package/dist/types/ts3.7/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts3.7/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts3.7/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts3.7/core/disposable.d.ts +1 -1
- package/dist/types/ts3.7/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts3.7/error/ValidationError.d.ts +1 -1
- package/dist/types/ts3.7/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts3.7/event/nextEventAsPromise.d.ts +14 -4
- package/dist/types/ts3.7/index.d.ts +114 -113
- package/dist/types/ts3.7/logging/Logger.d.ts +2 -2
- package/dist/types/ts3.7/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts3.7/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts3.7/logging/logTimer.d.ts +1 -1
- package/dist/types/ts3.7/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts3.7/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts3.7/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts3.7/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts3.7/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts3.7/network/network.d.ts +1 -1
- package/dist/types/ts3.7/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts3.7/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts3.7/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts3.7/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts3.7/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts3.7/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts3.7/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts3.7/util/async/poll.d.ts +34 -0
- package/dist/types/ts3.7/util/async/promise.d.ts +1 -1
- package/dist/types/ts3.7/util/async/sleep.d.ts +2 -1
- package/dist/types/ts3.7/util/async/timeout.d.ts +32 -10
- package/dist/types/ts3.7/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts3.7/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts3.7/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts3.7/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts3.7/util/collection/array.d.ts +2 -2
- package/dist/types/ts3.7/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts3.7/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts3.7/util/date/date.d.ts +1 -1
- package/dist/types/ts3.7/util/error/stack.d.ts +3 -3
- package/dist/types/ts3.7/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts3.7/util/map/map.d.ts +13 -2
- package/dist/types/ts3.7/util/network/request.d.ts +1 -1
- package/dist/types/ts3.7/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts3.7/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts3.7/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts3.7/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts3.7/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts3.7/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts3.7/util/serialization/json.d.ts +1 -1
- package/dist/types/ts3.7/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts3.7/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts3.7/util/string/string.d.ts +2 -2
- package/dist/types/ts3.7/util/type.d.ts +21 -0
- package/dist/types/ts3.7/util/url/resolveUrl.d.ts +2 -1
- package/dist/types/ts4.1/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts4.1/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts4.1/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts4.1/core/disposable.d.ts +1 -1
- package/dist/types/ts4.1/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts4.1/error/ValidationError.d.ts +1 -1
- package/dist/types/ts4.1/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts4.1/event/nextEventAsPromise.d.ts +14 -4
- package/dist/types/ts4.1/index.d.ts +114 -113
- package/dist/types/ts4.1/logging/Logger.d.ts +2 -2
- package/dist/types/ts4.1/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts4.1/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts4.1/logging/logTimer.d.ts +1 -1
- package/dist/types/ts4.1/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts4.1/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts4.1/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts4.1/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts4.1/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts4.1/network/network.d.ts +1 -1
- package/dist/types/ts4.1/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts4.1/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts4.1/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts4.1/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts4.1/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts4.1/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts4.1/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts4.1/util/async/poll.d.ts +34 -0
- package/dist/types/ts4.1/util/async/promise.d.ts +1 -1
- package/dist/types/ts4.1/util/async/sleep.d.ts +2 -1
- package/dist/types/ts4.1/util/async/timeout.d.ts +32 -10
- package/dist/types/ts4.1/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts4.1/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts4.1/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts4.1/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts4.1/util/collection/array.d.ts +2 -2
- package/dist/types/ts4.1/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts4.1/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts4.1/util/date/date.d.ts +1 -1
- package/dist/types/ts4.1/util/error/stack.d.ts +3 -3
- package/dist/types/ts4.1/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts4.1/util/map/map.d.ts +13 -2
- package/dist/types/ts4.1/util/network/request.d.ts +1 -1
- package/dist/types/ts4.1/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts4.1/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts4.1/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts4.1/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts4.1/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts4.1/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts4.1/util/serialization/json.d.ts +1 -1
- package/dist/types/ts4.1/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts4.1/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts4.1/util/string/string.d.ts +2 -2
- package/dist/types/ts4.1/util/type.d.ts +21 -0
- package/dist/types/ts4.1/util/url/resolveUrl.d.ts +2 -1
- package/dist/types/ts4.7/client/userAgent/UserAgentInfo.d.ts +1 -1
- package/dist/types/ts4.7/client/userAgent/parseUserAgent.d.ts +1 -1
- package/dist/types/ts4.7/client/userAgent/tokenizeUserAgent.d.ts +1 -1
- package/dist/types/ts4.7/core/disposable.d.ts +1 -1
- package/dist/types/ts4.7/error/MediaUnsupportedError.d.ts +1 -1
- package/dist/types/ts4.7/error/ValidationError.d.ts +1 -1
- package/dist/types/ts4.7/event/DomEventHost.d.ts +1 -1
- package/dist/types/ts4.7/event/nextEventAsPromise.d.ts +14 -4
- package/dist/types/ts4.7/index.d.ts +114 -113
- package/dist/types/ts4.7/logging/Logger.d.ts +2 -2
- package/dist/types/ts4.7/logging/VinylLogging.d.ts +2 -2
- package/dist/types/ts4.7/logging/getLogLevelFromSearch.d.ts +1 -1
- package/dist/types/ts4.7/logging/logTimer.d.ts +1 -1
- package/dist/types/ts4.7/network/RequesterImpl.d.ts +1 -1
- package/dist/types/ts4.7/network/RequesterImplEventMap.d.ts +1 -1
- package/dist/types/ts4.7/network/logging/networkLoggingHandler.d.ts +1 -1
- package/dist/types/ts4.7/network/metrics/NetworkMetricsControllerImpl.d.ts +1 -1
- package/dist/types/ts4.7/network/metrics/networkMetricsGlobal.d.ts +1 -1
- package/dist/types/ts4.7/network/network.d.ts +1 -1
- package/dist/types/ts4.7/network/requesterGlobal.d.ts +1 -1
- package/dist/types/ts4.7/persistence/PersistentItem.d.ts +1 -1
- package/dist/types/ts4.7/persistence/StoragePersistence.d.ts +1 -1
- package/dist/types/ts4.7/persistence/persistenceRef.d.ts +2 -2
- package/dist/types/ts4.7/util/async/TaskQueue.d.ts +2 -2
- package/dist/types/ts4.7/util/async/TimeoutController.d.ts +1 -1
- package/dist/types/ts4.7/util/async/abortUtils.d.ts +1 -1
- package/dist/types/ts4.7/util/async/poll.d.ts +34 -0
- package/dist/types/ts4.7/util/async/promise.d.ts +1 -1
- package/dist/types/ts4.7/util/async/sleep.d.ts +2 -1
- package/dist/types/ts4.7/util/async/timeout.d.ts +32 -10
- package/dist/types/ts4.7/util/browser/searchParams.d.ts +1 -1
- package/dist/types/ts4.7/util/buffer/buffer.d.ts +1 -1
- package/dist/types/ts4.7/util/collection/CacheMap.d.ts +12 -2
- package/dist/types/ts4.7/util/collection/LinkedList.d.ts +1 -4
- package/dist/types/ts4.7/util/collection/array.d.ts +2 -2
- package/dist/types/ts4.7/util/comparison/compare.d.ts +1 -1
- package/dist/types/ts4.7/util/config/ValueProvider.d.ts +1 -1
- package/dist/types/ts4.7/util/date/date.d.ts +1 -1
- package/dist/types/ts4.7/util/error/stack.d.ts +3 -3
- package/dist/types/ts4.7/util/fun/memoize.d.ts +1 -1
- package/dist/types/ts4.7/util/map/map.d.ts +13 -2
- package/dist/types/ts4.7/util/network/request.d.ts +1 -1
- package/dist/types/ts4.7/util/object/equalDeep.d.ts +1 -1
- package/dist/types/ts4.7/util/object/mergeDeep.d.ts +1 -1
- package/dist/types/ts4.7/util/object/mutableType.d.ts +1 -1
- package/dist/types/ts4.7/util/object/readonlyType.d.ts +1 -1
- package/dist/types/ts4.7/util/range/IntersectionRanges.d.ts +1 -1
- package/dist/types/ts4.7/util/range/UnionRanges.d.ts +1 -1
- package/dist/types/ts4.7/util/serialization/json.d.ts +1 -1
- package/dist/types/ts4.7/util/serialization/primitives.d.ts +1 -1
- package/dist/types/ts4.7/util/string/StringReader.d.ts +2 -2
- package/dist/types/ts4.7/util/string/string.d.ts +2 -2
- package/dist/types/ts4.7/util/type.d.ts +21 -0
- package/dist/types/ts4.7/util/url/resolveUrl.d.ts +2 -1
- package/dist/unit/types/current/tsconfig.tsbuildinfo +1 -0
- package/package.json +17 -17
|
@@ -1,118 +1,119 @@
|
|
|
1
1
|
/** Auto-generated from build scripts */
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './util/error/stack';
|
|
35
|
-
export * from './util/date/date';
|
|
36
|
-
export * from './util/config/ValueProvider';
|
|
37
|
-
export * from './util/comparison/compare';
|
|
38
|
-
export * from './util/collection/typedArray';
|
|
39
|
-
export * from './util/collection/array';
|
|
40
|
-
export * from './util/collection/LruCache';
|
|
41
|
-
export * from './util/collection/LinkedList';
|
|
42
|
-
export * from './util/collection/CacheMap';
|
|
43
|
-
export * from './util/buffer/buffer';
|
|
44
|
-
export * from './util/buffer/BufferWriter';
|
|
45
|
-
export * from './util/buffer/BufferReader';
|
|
46
|
-
export * from './util/buffer/BufferError';
|
|
47
|
-
export * from './util/browser/searchParams';
|
|
48
|
-
export * from './util/async/timeout';
|
|
49
|
-
export * from './util/async/sleep';
|
|
50
|
-
export * from './util/async/promise';
|
|
51
|
-
export * from './util/async/never';
|
|
52
|
-
export * from './util/async/abortUtils';
|
|
53
|
-
export * from './util/async/TimeoutSlot';
|
|
54
|
-
export * from './util/async/TimeoutController';
|
|
55
|
-
export * from './util/async/TaskQueue';
|
|
56
|
-
export * from './util/async/Deferred';
|
|
57
|
-
export * from './util/async/Abort';
|
|
58
|
-
export * from './persistence/persistenceRef';
|
|
59
|
-
export * from './persistence/StoragePersistence';
|
|
60
|
-
export * from './persistence/PersistentItem';
|
|
61
|
-
export * from './persistence/KeyValuePersistence';
|
|
62
|
-
export * from './patch/patchTarget';
|
|
63
|
-
export * from './patch/network/fetch';
|
|
64
|
-
export * from './network/responseUtil';
|
|
65
|
-
export * from './network/requesterUtil';
|
|
66
|
-
export * from './network/requesterGlobal';
|
|
67
|
-
export * from './network/network';
|
|
68
|
-
export * from './network/createRequester';
|
|
69
|
-
export * from './network/RequesterImplEventMap';
|
|
70
|
-
export * from './network/RequesterImpl';
|
|
71
|
-
export * from './network/Requester';
|
|
72
|
-
export * from './network/RequestInterceptor';
|
|
73
|
-
export * from './network/RequestError';
|
|
74
|
-
export * from './network/metrics/networkMetricsModel';
|
|
75
|
-
export * from './network/metrics/networkMetricsGlobal';
|
|
76
|
-
export * from './network/metrics/NetworkMetricsControllerImpl';
|
|
77
|
-
export * from './network/metrics/NetworkMetricsController';
|
|
78
|
-
export * from './network/logging/networkLoggingHandler';
|
|
79
|
-
export * from './network/browser/NetworkInformation';
|
|
80
|
-
export * from './logging/logTimer';
|
|
2
|
+
export * from './client/userAgent/defaultUserAgentRules';
|
|
3
|
+
export * from './client/userAgent/hasBrowser';
|
|
4
|
+
export * from './client/userAgent/parseUserAgent';
|
|
5
|
+
export * from './client/userAgent/tokenizeUserAgent';
|
|
6
|
+
export * from './client/userAgent/UserAgentInfo';
|
|
7
|
+
export * from './client/userAgent/userAgentRuleHelpers';
|
|
8
|
+
export * from './client/Version';
|
|
9
|
+
export * from './core/clearable';
|
|
10
|
+
export * from './core/cloneable';
|
|
11
|
+
export * from './core/disposable';
|
|
12
|
+
export * from './core/Unsubscribe';
|
|
13
|
+
export * from './error/AbortError';
|
|
14
|
+
export * from './error/ErrorOrigin';
|
|
15
|
+
export * from './error/IllegalArgumentError';
|
|
16
|
+
export * from './error/IllegalStateError';
|
|
17
|
+
export * from './error/MediaUnsupportedError';
|
|
18
|
+
export * from './error/ReportableError';
|
|
19
|
+
export * from './error/ServiceResponseError';
|
|
20
|
+
export * from './error/StackOverflowError';
|
|
21
|
+
export * from './error/TimeoutError';
|
|
22
|
+
export * from './error/UnreachableCodeError';
|
|
23
|
+
export * from './error/ValidationError';
|
|
24
|
+
export * from './event/DomEventHost';
|
|
25
|
+
export * from './event/EventHost';
|
|
26
|
+
export * from './event/nextEventAsPromise';
|
|
27
|
+
export * from './event/onAny';
|
|
28
|
+
export * from './event/redispatchEvents';
|
|
29
|
+
export * from './event/Signal';
|
|
30
|
+
export * from './global/environment';
|
|
31
|
+
export * from './global/globalRegistry';
|
|
32
|
+
export * from './global/globalTarget';
|
|
33
|
+
export * from './logging/ConsoleLogHandler';
|
|
81
34
|
export * from './logging/getLogLevelFromSearch';
|
|
82
|
-
export * from './logging/
|
|
35
|
+
export * from './logging/HistoryLogHandler';
|
|
83
36
|
export * from './logging/Logger';
|
|
84
37
|
export * from './logging/LogTarget';
|
|
85
|
-
export * from './logging/
|
|
86
|
-
export * from './logging/
|
|
87
|
-
export * from './
|
|
88
|
-
export * from './
|
|
89
|
-
export * from './
|
|
90
|
-
export * from './
|
|
91
|
-
export * from './
|
|
92
|
-
export * from './
|
|
93
|
-
export * from './
|
|
94
|
-
export * from './
|
|
95
|
-
export * from './
|
|
96
|
-
export * from './
|
|
97
|
-
export * from './
|
|
98
|
-
export * from './
|
|
99
|
-
export * from './
|
|
100
|
-
export * from './
|
|
101
|
-
export * from './
|
|
102
|
-
export * from './
|
|
103
|
-
export * from './
|
|
104
|
-
export * from './
|
|
105
|
-
export * from './
|
|
106
|
-
export * from './
|
|
107
|
-
export * from './
|
|
108
|
-
export * from './
|
|
109
|
-
export * from './
|
|
110
|
-
export * from './
|
|
111
|
-
export * from './
|
|
112
|
-
export * from './
|
|
113
|
-
export * from './
|
|
114
|
-
export * from './
|
|
115
|
-
export * from './
|
|
116
|
-
export * from './
|
|
117
|
-
export * from './
|
|
38
|
+
export * from './logging/logTimer';
|
|
39
|
+
export * from './logging/VinylLogging';
|
|
40
|
+
export * from './network/browser/NetworkInformation';
|
|
41
|
+
export * from './network/createRequester';
|
|
42
|
+
export * from './network/logging/networkLoggingHandler';
|
|
43
|
+
export * from './network/metrics/NetworkMetricsController';
|
|
44
|
+
export * from './network/metrics/NetworkMetricsControllerImpl';
|
|
45
|
+
export * from './network/metrics/networkMetricsGlobal';
|
|
46
|
+
export * from './network/metrics/networkMetricsModel';
|
|
47
|
+
export * from './network/network';
|
|
48
|
+
export * from './network/Requester';
|
|
49
|
+
export * from './network/requesterGlobal';
|
|
50
|
+
export * from './network/RequesterImpl';
|
|
51
|
+
export * from './network/RequesterImplEventMap';
|
|
52
|
+
export * from './network/RequestError';
|
|
53
|
+
export * from './network/requesterUtil';
|
|
54
|
+
export * from './network/RequestInterceptor';
|
|
55
|
+
export * from './network/responseUtil';
|
|
56
|
+
export * from './patch/network/fetch';
|
|
57
|
+
export * from './patch/patchTarget';
|
|
58
|
+
export * from './persistence/KeyValuePersistence';
|
|
59
|
+
export * from './persistence/persistenceRef';
|
|
60
|
+
export * from './persistence/PersistentItem';
|
|
61
|
+
export * from './persistence/StoragePersistence';
|
|
62
|
+
export * from './util/async/Abort';
|
|
63
|
+
export * from './util/async/abortUtils';
|
|
64
|
+
export * from './util/async/Deferred';
|
|
65
|
+
export * from './util/async/never';
|
|
66
|
+
export * from './util/async/poll';
|
|
67
|
+
export * from './util/async/promise';
|
|
68
|
+
export * from './util/async/sleep';
|
|
69
|
+
export * from './util/async/TaskQueue';
|
|
70
|
+
export * from './util/async/timeout';
|
|
71
|
+
export * from './util/async/TimeoutController';
|
|
72
|
+
export * from './util/async/TimeoutSlot';
|
|
73
|
+
export * from './util/browser/searchParams';
|
|
74
|
+
export * from './util/buffer/buffer';
|
|
75
|
+
export * from './util/buffer/BufferError';
|
|
76
|
+
export * from './util/buffer/BufferReader';
|
|
77
|
+
export * from './util/buffer/BufferWriter';
|
|
78
|
+
export * from './util/collection/array';
|
|
79
|
+
export * from './util/collection/CacheMap';
|
|
80
|
+
export * from './util/collection/LinkedList';
|
|
81
|
+
export * from './util/collection/LruCache';
|
|
82
|
+
export * from './util/collection/typedArray';
|
|
83
|
+
export * from './util/comparison/compare';
|
|
84
|
+
export * from './util/config/ValueProvider';
|
|
85
|
+
export * from './util/date/date';
|
|
86
|
+
export * from './util/error/stack';
|
|
87
|
+
export * from './util/fun/debounce';
|
|
88
|
+
export * from './util/fun/flow';
|
|
89
|
+
export * from './util/fun/function';
|
|
90
|
+
export * from './util/fun/memoize';
|
|
91
|
+
export * from './util/fun/throttle';
|
|
92
|
+
export * from './util/iteration/iterable';
|
|
93
|
+
export * from './util/map/map';
|
|
94
|
+
export * from './util/math/math';
|
|
95
|
+
export * from './util/mpeg/parseSidxBox';
|
|
96
|
+
export * from './util/network/request';
|
|
97
|
+
export * from './util/object/clone';
|
|
98
|
+
export * from './util/object/equalDeep';
|
|
99
|
+
export * from './util/object/lazy';
|
|
100
|
+
export * from './util/object/merge';
|
|
101
|
+
export * from './util/object/mergeDeep';
|
|
102
|
+
export * from './util/object/mutableType';
|
|
103
|
+
export * from './util/object/object';
|
|
104
|
+
export * from './util/object/readonlyType';
|
|
105
|
+
export * from './util/range/IntersectionRanges';
|
|
106
|
+
export * from './util/range/Ranges';
|
|
107
|
+
export * from './util/range/timeRanges';
|
|
108
|
+
export * from './util/range/UnionRanges';
|
|
109
|
+
export * from './util/serialization/json';
|
|
110
|
+
export * from './util/serialization/ParseError';
|
|
111
|
+
export * from './util/serialization/primitives';
|
|
112
|
+
export * from './util/serialization/stringifyForPrint';
|
|
113
|
+
export * from './util/set/set';
|
|
114
|
+
export * from './util/string/string';
|
|
115
|
+
export * from './util/string/StringReader';
|
|
116
|
+
export * from './util/string/uid';
|
|
117
|
+
export * from './util/type';
|
|
118
|
+
export * from './util/url/resolveUrl';
|
|
118
119
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReadonlyEventHost } from '../event/EventHost';
|
|
2
2
|
import { EventHostImpl } from '../event/EventHost';
|
|
3
|
-
import { LogTarget } from '
|
|
3
|
+
import { LogTarget } from './LogTarget';
|
|
4
4
|
export declare enum LogLevel {
|
|
5
5
|
VERBOSE = 0,
|
|
6
6
|
DEBUG = 1,
|
|
@@ -34,7 +34,7 @@ export declare class LoggerImpl extends EventHostImpl<LogEventMap> implements Lo
|
|
|
34
34
|
* A global reference to the logger.
|
|
35
35
|
* @private
|
|
36
36
|
*/
|
|
37
|
-
export declare const loggerRef: import("
|
|
37
|
+
export declare const loggerRef: import("..").GlobalRef<Logger>;
|
|
38
38
|
/**
|
|
39
39
|
* Returns the current log level.
|
|
40
40
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConsoleLogHandler } from './ConsoleLogHandler';
|
|
2
2
|
import { HistoryLogHandler } from './HistoryLogHandler';
|
|
3
|
-
export declare const historyLogHandler: import("
|
|
4
|
-
export declare const consoleLogHandler: import("
|
|
3
|
+
export declare const historyLogHandler: import("..").GlobalRef<HistoryLogHandler | undefined>;
|
|
4
|
+
export declare const consoleLogHandler: import("..").GlobalRef<ConsoleLogHandler | undefined>;
|
|
5
5
|
/**
|
|
6
6
|
* Initializes vinyl logging.
|
|
7
7
|
*/
|
|
@@ -112,5 +112,5 @@ export declare class RequesterImpl extends EventHostImpl<RequesterImplEventMap>
|
|
|
112
112
|
private doRequest;
|
|
113
113
|
private reportMetricsEntry;
|
|
114
114
|
}
|
|
115
|
-
export declare const nativeFetchRef: import("
|
|
115
|
+
export declare const nativeFetchRef: import("..").GlobalRef<Fetch>;
|
|
116
116
|
//# sourceMappingURL=RequesterImpl.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Disposable } from '../../core/disposable';
|
|
2
2
|
import { ReadonlyEventHost } from '../../event/EventHost';
|
|
3
|
-
import { RequesterImplEventMap } from '
|
|
3
|
+
import { RequesterImplEventMap } from '../RequesterImplEventMap';
|
|
4
4
|
import { LogTarget } from '../../logging/LogTarget';
|
|
5
5
|
/**
|
|
6
6
|
* Logs all network events.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventHostImpl } from '../../event/EventHost';
|
|
2
|
-
import { NetworkInformation } from '
|
|
2
|
+
import { NetworkInformation } from '../browser/NetworkInformation';
|
|
3
3
|
import { NetworkMetricsController, NetworkMetricsEventMap } from './NetworkMetricsController';
|
|
4
4
|
import { NetworkMetrics, NetworkMetricsEntry, NetworkTransferEntry, ServiceMetrics } from './networkMetricsModel';
|
|
5
5
|
import { ReadonlyDeep } from '../../util/object/readonlyType';
|
|
@@ -3,7 +3,7 @@ import { NetworkMetrics } from './networkMetricsModel';
|
|
|
3
3
|
/**
|
|
4
4
|
* A global reference to the network metrics controller.
|
|
5
5
|
*/
|
|
6
|
-
export declare const networkMetricsController: import("
|
|
6
|
+
export declare const networkMetricsController: import("../..").GlobalRef<NetworkMetricsController>;
|
|
7
7
|
/**
|
|
8
8
|
* Returns the global network metrics.
|
|
9
9
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class NetworkStateImpl extends DomEventHost<NetworkStateEventMap>
|
|
|
41
41
|
/**
|
|
42
42
|
* A global reference to the network state.
|
|
43
43
|
*/
|
|
44
|
-
export declare const networkState: import("
|
|
44
|
+
export declare const networkState: import("..").GlobalRef<NetworkState>;
|
|
45
45
|
export declare function getNetworkState(): NetworkState;
|
|
46
46
|
export declare function onLine(): boolean;
|
|
47
47
|
//# sourceMappingURL=network.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { Requester, RequestInitOptions, RequestOptions } from './Requester';
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
|
5
5
|
*/
|
|
6
|
-
export declare const requesterWithRetryRef: import("
|
|
6
|
+
export declare const requesterWithRetryRef: import("..").GlobalRef<Requester>;
|
|
7
7
|
/**
|
|
8
8
|
* Requests a resource.
|
|
9
9
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LogTarget } from '../logging/LogTarget';
|
|
2
|
-
import { KeyValuePersistence } from '
|
|
2
|
+
import { KeyValuePersistence } from './KeyValuePersistence';
|
|
3
3
|
import { Maybe } from '../util/type';
|
|
4
4
|
/**
|
|
5
5
|
* Configuration for PersistentItemImpl
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyValuePersistence } from '
|
|
1
|
+
import { KeyValuePersistence } from './KeyValuePersistence';
|
|
2
2
|
import { Maybe } from '../util/type';
|
|
3
3
|
export declare class StoragePersistence implements KeyValuePersistence<string> {
|
|
4
4
|
private readonly storage;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { KeyValuePersistence } from '
|
|
1
|
+
import { KeyValuePersistence } from './KeyValuePersistence';
|
|
2
2
|
/**
|
|
3
3
|
* The default storage persistence for simple key / value pairs.
|
|
4
4
|
* This may be overridden, and by default resolves to local storage persistence.
|
|
5
5
|
*/
|
|
6
|
-
export declare const persistenceRef: import("
|
|
6
|
+
export declare const persistenceRef: import("..").GlobalRef<KeyValuePersistence<string>>;
|
|
7
7
|
//# sourceMappingURL=persistenceRef.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReadonlyAbort } from './Abort';
|
|
2
|
-
import { Comparator } from '
|
|
3
|
-
import { Maybe, MaybePromise } from '
|
|
2
|
+
import { Comparator } from '../comparison/compare';
|
|
3
|
+
import { Maybe, MaybePromise } from '../type';
|
|
4
4
|
export type Task<T = void> = (abort: ReadonlyAbort) => MaybePromise<T>;
|
|
5
5
|
/**
|
|
6
6
|
* A TaskQueue runs actions in a sequence, with the ability to abort the queued tasks.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Disposable } from '../../core/disposable';
|
|
2
2
|
import { Abort, ReadonlyAbort } from './Abort';
|
|
3
|
-
import { Maybe } from '
|
|
3
|
+
import { Maybe } from '../type';
|
|
4
4
|
/**
|
|
5
5
|
* A `TimeoutController` is an {@link ReadonlyAbort} implementation that will abort either after
|
|
6
6
|
* an elapsed timeout, an explicit abort call, or if the optional external abort signal fires.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ReadonlyAbort } from './Abort';
|
|
2
|
+
import { Maybe } from '../type';
|
|
3
|
+
export interface PollOptions {
|
|
4
|
+
/**
|
|
5
|
+
* How long to keep polling before giving up, in seconds. If omitted,
|
|
6
|
+
* polling continues indefinitely until the predicate returns `true` (or the
|
|
7
|
+
* signal aborts).
|
|
8
|
+
*/
|
|
9
|
+
readonly timeout?: number;
|
|
10
|
+
/**
|
|
11
|
+
* If provided, aborting rejects the returned promise with the signal's
|
|
12
|
+
* abort reason, cancelling the poll.
|
|
13
|
+
*/
|
|
14
|
+
readonly abort?: Maybe<ReadonlyAbort>;
|
|
15
|
+
/**
|
|
16
|
+
* How often to re-evaluate the predicate, in seconds. Defaults to `0.05`
|
|
17
|
+
* (50ms).
|
|
18
|
+
*/
|
|
19
|
+
readonly pollInterval?: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Repeatedly evaluates `predicate` until it returns `true` or the timeout
|
|
23
|
+
* elapses, resolving to the predicate's final value. Useful for waiting on
|
|
24
|
+
* asynchronous state to settle without wiring up an event subscription.
|
|
25
|
+
*
|
|
26
|
+
* @param predicate Evaluated immediately and then every `pollInterval` seconds.
|
|
27
|
+
* Polling stops as soon as it returns `true`.
|
|
28
|
+
* @param options Optional {@link PollOptions}. With no `timeout`, polling
|
|
29
|
+
* continues indefinitely until the predicate is `true` or `abort` fires.
|
|
30
|
+
* @returns `true` if the predicate became true within the timeout, otherwise
|
|
31
|
+
* `false`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function poll(predicate: () => boolean, options?: PollOptions): Promise<boolean>;
|
|
34
|
+
//# sourceMappingURL=poll.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Unsubscribe } from '../../core/Unsubscribe';
|
|
2
2
|
import { ReadonlyAbort } from './Abort';
|
|
3
|
-
import { Maybe } from '
|
|
3
|
+
import { Maybe } from '../type';
|
|
4
4
|
import { Disposable } from '../../core/disposable';
|
|
5
5
|
/**
|
|
6
6
|
* Creates a promise that can be rejected early from an abort signal and can optionally provide
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReadonlyAbort } from './Abort';
|
|
2
|
+
import { Maybe } from '../type';
|
|
2
3
|
/**
|
|
3
4
|
* Returns a promise that resolves after the given amount of time.
|
|
4
5
|
*
|
|
@@ -23,5 +24,5 @@ import { ReadonlyAbort } from './Abort';
|
|
|
23
24
|
* reason when aborted. If the signal is already aborted and time is less than or equal to zero,
|
|
24
25
|
* the abort signal takes precedence.
|
|
25
26
|
*/
|
|
26
|
-
export declare function sleep(time: number, abort?: ReadonlyAbort
|
|
27
|
+
export declare function sleep(time: number, abort?: Maybe<ReadonlyAbort>): Promise<void>;
|
|
27
28
|
//# sourceMappingURL=sleep.d.ts.map
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { ReadonlyAbort } from './Abort';
|
|
2
2
|
import { ErrorLevel } from '../../error/ReportableError';
|
|
3
3
|
export declare const DEFAULT_TIMEOUT_MESSAGE = "Timed out after {time}s";
|
|
4
|
+
/**
|
|
5
|
+
* Options for {@link withTimeout}.
|
|
6
|
+
*/
|
|
7
|
+
export interface WithTimeoutOptions {
|
|
8
|
+
/**
|
|
9
|
+
* The message to set in the {@link TimeoutError}. Uses `{time}` token.
|
|
10
|
+
* (default: {@link DEFAULT_TIMEOUT_MESSAGE})
|
|
11
|
+
*/
|
|
12
|
+
readonly message?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The error origin. (default: `ErrorOrigin.INTERNAL`)
|
|
15
|
+
*/
|
|
16
|
+
readonly origin?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The error level. (default: `ErrorLevel.FATAL`)
|
|
19
|
+
*/
|
|
20
|
+
readonly level?: ErrorLevel | undefined;
|
|
21
|
+
}
|
|
4
22
|
/**
|
|
5
23
|
* Races a promise with a timeout, rejecting with a {@link TimeoutError} if the timeout is
|
|
6
24
|
* reached before the provided promise.
|
|
@@ -8,22 +26,26 @@ export declare const DEFAULT_TIMEOUT_MESSAGE = "Timed out after {time}s";
|
|
|
8
26
|
* @param promise The promise to race against a timeout.
|
|
9
27
|
* @param time The number of seconds to wait. If undefined, the promise is returned without
|
|
10
28
|
* wrapping.
|
|
11
|
-
* @param
|
|
12
|
-
|
|
13
|
-
|
|
29
|
+
* @param options Timeout error options (message, origin, level).
|
|
30
|
+
*/
|
|
31
|
+
export declare function withTimeout<T>(promise: PromiseLike<T>, time?: number, options?: WithTimeoutOptions): Promise<T>;
|
|
32
|
+
/**
|
|
33
|
+
* Options for {@link timeout}.
|
|
14
34
|
*/
|
|
15
|
-
export
|
|
35
|
+
export interface TimeoutOptions extends WithTimeoutOptions {
|
|
36
|
+
/**
|
|
37
|
+
* If provided, when aborted (regardless of reason) will resolve the
|
|
38
|
+
* returned promise rather than rejecting.
|
|
39
|
+
*/
|
|
40
|
+
readonly abort?: ReadonlyAbort | undefined;
|
|
41
|
+
}
|
|
16
42
|
/**
|
|
17
43
|
* Returns a promise that will reject after the provided number of seconds.
|
|
18
44
|
* If the optional abort signal is aborted, the timer will be canceled and the promise resolved.
|
|
19
45
|
* This is the inverse of {@link sleep}
|
|
20
46
|
*
|
|
21
47
|
* @param time The number of seconds to wait.
|
|
22
|
-
* @param
|
|
23
|
-
* promise.
|
|
24
|
-
* @param message The message to be used in the TimeoutError in case of timeout. Uses `{time}` token.
|
|
25
|
-
* @param origin The error origin. (default: `ErrorOrigin.INTERNAL`)
|
|
26
|
-
* @param level The error level (default: `ErrorLevel.FATAL`)
|
|
48
|
+
* @param options Timeout options (abort, message, origin, level).
|
|
27
49
|
*/
|
|
28
|
-
export declare function timeout(time: number,
|
|
50
|
+
export declare function timeout(time: number, options?: TimeoutOptions): Promise<void>;
|
|
29
51
|
//# sourceMappingURL=timeout.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param search (Optional) The window's search substring. Defaults to `location.search`, overridden
|
|
5
5
|
* only for unit tests.
|
|
6
6
|
*/
|
|
7
|
-
export declare const getSearchParams: import("
|
|
7
|
+
export declare const getSearchParams: import("../..").MemoizedFunction & ((search?: string) => URLSearchParams);
|
|
8
8
|
/**
|
|
9
9
|
* If the environment has a `location` object, returns the location's search. Otherwise,
|
|
10
10
|
* an empty string.
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A
|
|
2
|
+
* A map that notifies when an entry is evicted.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the ES2015 `Map<K, V>` interface (no iteration methods) so implementers
|
|
5
|
+
* are not coupled to the evolving `MapIterator` shape in newer lib types.
|
|
3
6
|
*/
|
|
4
|
-
export interface CacheMap<K, V>
|
|
7
|
+
export interface CacheMap<K, V> {
|
|
8
|
+
readonly size: number;
|
|
9
|
+
has(key: K): boolean;
|
|
10
|
+
get(key: K): V | undefined;
|
|
11
|
+
set(key: K, value: V): this;
|
|
12
|
+
delete(key: K): boolean;
|
|
13
|
+
clear(): void;
|
|
14
|
+
forEach(callbackfn: (value: V, key: K, map: CacheMap<K, V>) => void, thisArg?: any): void;
|
|
5
15
|
/**
|
|
6
16
|
* When an entry is added when at capacity, the least recently used entry will be removed.
|
|
7
17
|
* This callback can be set to be notified with the element and key being evicted, which may be
|
|
@@ -148,9 +148,6 @@ export declare class LinkedList<T> implements Iterable<T> {
|
|
|
148
148
|
* @param end The ending node (exclusive).
|
|
149
149
|
* @param next A method that is given the current node, and returns the next node.
|
|
150
150
|
*/
|
|
151
|
-
createIterator(start: LinkedNode<T> | null, end: LinkedNode<T> | null, next: (current: LinkedNode<T>) => LinkedNode<T> | null):
|
|
152
|
-
[Symbol.iterator](): IterableIterator<T>;
|
|
153
|
-
next: () => IteratorResult<T>;
|
|
154
|
-
};
|
|
151
|
+
createIterator(start: LinkedNode<T> | null, end: LinkedNode<T> | null, next: (current: LinkedNode<T>) => LinkedNode<T> | null): IterableIterator<T>;
|
|
155
152
|
}
|
|
156
153
|
//# sourceMappingURL=LinkedList.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Comparator } from '
|
|
2
|
-
import { Maybe, MaybePromise, Primitive } from '
|
|
1
|
+
import { Comparator } from '../comparison/compare';
|
|
2
|
+
import { Maybe, MaybePromise, Primitive } from '../type';
|
|
3
3
|
export type FilterPredicateAsync<T> = (value: T, index: number, array: ArrayLike<T>) => Promise<boolean>;
|
|
4
4
|
export type FilterPredicate<T> = (value: T, index: number, array: ArrayLike<T>) => boolean;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Maybe } from '
|
|
1
|
+
import { Maybe } from '../type';
|
|
2
2
|
/**
|
|
3
3
|
* A location in code.
|
|
4
4
|
*/
|
|
@@ -26,7 +26,7 @@ export interface CodeLocation {
|
|
|
26
26
|
*
|
|
27
27
|
* @private
|
|
28
28
|
*/
|
|
29
|
-
export declare const codeLocationComparator: import("
|
|
29
|
+
export declare const codeLocationComparator: import("../..").Comparator<Maybe<CodeLocation>, Maybe<CodeLocation>>;
|
|
30
30
|
/**
|
|
31
31
|
* Boundary code locations, used to determine if an error is within a certain range of code.
|
|
32
32
|
* The start and end boundaries must be the same path and file to be a valid range.
|
|
@@ -75,5 +75,5 @@ export declare const stackNoiseError2: Error;
|
|
|
75
75
|
* When corejs polyfills Error with clearErrorStack, the stack may begin with the polyfill
|
|
76
76
|
* location. Trim the beginning of stacks with the leading lines common to all errors.
|
|
77
77
|
*/
|
|
78
|
-
export declare const stackNoise: import("
|
|
78
|
+
export declare const stackNoise: import("../..").Lazy<string>;
|
|
79
79
|
//# sourceMappingURL=stack.d.ts.map
|