@amazon/vinyl-util 1.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 +2641 -0
- package/dist/browserTestUtil/index.js.map +7 -0
- package/dist/browserTestUtil/types/current/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/current/async/async.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/async.js +48 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.js +57 -0
- package/dist/browserTestUtil/types/current/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/current/async/marble.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/marble.js +27 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts +90 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.js +247 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.js +34 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.js +13 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.js +10 -0
- package/dist/browserTestUtil/types/current/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/current/expect/prototype.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/prototype.js +28 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts +38 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.js +43 -0
- package/dist/browserTestUtil/types/current/index.d.ts +22 -0
- package/dist/browserTestUtil/types/current/index.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/index.js +21 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.js +8 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.js +25 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.js +24 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.js +27 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts +12 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.js +30 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.js +15 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.js +1828 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.js +14 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.js +108 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.js +26 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.js +32 -0
- package/dist/browserTestUtil/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/browserTestUtil/types/ts3.7/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts3.7/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts3.7/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts3.7/benchmark/Benchmark.d.ts +84 -0
- package/dist/browserTestUtil/types/ts3.7/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts3.7/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts3.7/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts3.7/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts3.7/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts3.7/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts3.7/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts3.7/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts3.7/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts3.7/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts3.7/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts3.7/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts3.7/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/ts4.1/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts4.1/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts4.1/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts4.1/benchmark/Benchmark.d.ts +84 -0
- package/dist/browserTestUtil/types/ts4.1/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts4.1/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts4.1/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.1/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.1/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts4.1/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts4.1/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts4.1/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.1/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.1/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts4.1/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts4.1/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts4.1/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/ts4.7/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts4.7/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts4.7/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts4.7/benchmark/Benchmark.d.ts +90 -0
- package/dist/browserTestUtil/types/ts4.7/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts4.7/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts4.7/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.7/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.7/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts4.7/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts4.7/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts4.7/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.7/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.7/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts4.7/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts4.7/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts4.7/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/index.cjs +6104 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.js +6084 -0
- package/dist/index.js.map +7 -0
- package/dist/polyfill/index.d.ts +7 -0
- package/dist/polyfill/index.d.ts.map +1 -0
- package/dist/polyfill/index.js +3552 -0
- package/dist/polyfill/index.js.map +7 -0
- package/dist/polyfill/tsconfig.tsbuildinfo +1 -0
- package/dist/test/benchmark.es5.js +266 -0
- package/dist/test/benchmark.js +2026 -0
- package/dist/test/benchmark.js.map +7 -0
- package/dist/testUtil/index.js +593 -0
- package/dist/testUtil/index.js.map +7 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts.map +1 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.js +52 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts.map +1 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.js +10 -0
- package/dist/testUtil/types/current/index.d.ts +20 -0
- package/dist/testUtil/types/current/index.d.ts.map +1 -0
- package/dist/testUtil/types/current/index.js +19 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.js +21 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.js +7 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.js +41 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.js +15 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.js +12 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.js +15 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.js +11 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.js +10 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.js +71 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.js +12 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.js +20 -0
- package/dist/testUtil/types/current/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/current/patch/addPatchTests.d.ts.map +1 -0
- package/dist/testUtil/types/current/patch/addPatchTests.js +54 -0
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts.map +1 -0
- package/dist/testUtil/types/current/reporters/LogReporter.js +145 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts.map +1 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.js +91 -0
- package/dist/testUtil/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.d.ts.map +1 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.js +33 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts.map +1 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.js +20 -0
- package/dist/testUtil/types/ts3.7/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts3.7/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts3.7/index.d.ts +20 -0
- package/dist/testUtil/types/ts3.7/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts3.7/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts3.7/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts3.7/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts3.7/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts3.7/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts3.7/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts3.7/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/ts3.7/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/ts3.7/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts3.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts4.1/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts4.1/index.d.ts +20 -0
- package/dist/testUtil/types/ts4.1/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts4.1/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts4.1/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts4.1/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts4.1/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts4.1/reporters/LogReporter.d.ts +58 -0
- package/dist/testUtil/types/ts4.1/reporters/RestApiReporter.d.ts +24 -0
- package/dist/testUtil/types/ts4.1/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts4.1/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts4.7/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts4.7/index.d.ts +20 -0
- package/dist/testUtil/types/ts4.7/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts4.7/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts4.7/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts4.7/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts4.7/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts4.7/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/ts4.7/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/ts4.7/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts4.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/types/current/client/Version.d.ts +38 -0
- package/dist/types/current/client/Version.d.ts.map +1 -0
- package/dist/types/current/client/Version.js +40 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.js +12 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.js +251 -0
- package/dist/types/current/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/current/client/userAgent/hasBrowser.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/hasBrowser.js +49 -0
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/parseUserAgent.js +67 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.js +167 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.js +96 -0
- package/dist/types/current/core/Unsubscribe.d.ts +2 -0
- package/dist/types/current/core/Unsubscribe.d.ts.map +1 -0
- package/dist/types/current/core/Unsubscribe.js +5 -0
- package/dist/types/current/core/clearable.d.ts +19 -0
- package/dist/types/current/core/clearable.d.ts.map +1 -0
- package/dist/types/current/core/clearable.js +24 -0
- package/dist/types/current/core/cloneable.d.ts +14 -0
- package/dist/types/current/core/cloneable.d.ts.map +1 -0
- package/dist/types/current/core/cloneable.js +14 -0
- package/dist/types/current/core/disposable.d.ts +66 -0
- package/dist/types/current/core/disposable.d.ts.map +1 -0
- package/dist/types/current/core/disposable.js +91 -0
- package/dist/types/current/error/AbortError.d.ts +6 -0
- package/dist/types/current/error/AbortError.d.ts.map +1 -0
- package/dist/types/current/error/AbortError.js +15 -0
- package/dist/types/current/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/current/error/ErrorOrigin.d.ts.map +1 -0
- package/dist/types/current/error/ErrorOrigin.js +48 -0
- package/dist/types/current/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/current/error/IllegalArgumentError.d.ts.map +1 -0
- package/dist/types/current/error/IllegalArgumentError.js +20 -0
- package/dist/types/current/error/IllegalStateError.d.ts +9 -0
- package/dist/types/current/error/IllegalStateError.d.ts.map +1 -0
- package/dist/types/current/error/IllegalStateError.js +17 -0
- package/dist/types/current/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/current/error/MediaUnsupportedError.d.ts.map +1 -0
- package/dist/types/current/error/MediaUnsupportedError.js +20 -0
- package/dist/types/current/error/ReportableError.d.ts +39 -0
- package/dist/types/current/error/ReportableError.d.ts.map +1 -0
- package/dist/types/current/error/ReportableError.js +66 -0
- package/dist/types/current/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/current/error/ServiceResponseError.d.ts.map +1 -0
- package/dist/types/current/error/ServiceResponseError.js +31 -0
- package/dist/types/current/error/StackOverflowError.d.ts +9 -0
- package/dist/types/current/error/StackOverflowError.d.ts.map +1 -0
- package/dist/types/current/error/StackOverflowError.js +17 -0
- package/dist/types/current/error/TimeoutError.d.ts +6 -0
- package/dist/types/current/error/TimeoutError.d.ts.map +1 -0
- package/dist/types/current/error/TimeoutError.js +15 -0
- package/dist/types/current/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/current/error/UnreachableCodeError.d.ts.map +1 -0
- package/dist/types/current/error/UnreachableCodeError.js +17 -0
- package/dist/types/current/error/ValidationError.d.ts +17 -0
- package/dist/types/current/error/ValidationError.d.ts.map +1 -0
- package/dist/types/current/error/ValidationError.js +32 -0
- package/dist/types/current/event/DomEventHost.d.ts +45 -0
- package/dist/types/current/event/DomEventHost.d.ts.map +1 -0
- package/dist/types/current/event/DomEventHost.js +53 -0
- package/dist/types/current/event/EventHost.d.ts +69 -0
- package/dist/types/current/event/EventHost.d.ts.map +1 -0
- package/dist/types/current/event/EventHost.js +38 -0
- package/dist/types/current/event/Signal.d.ts +57 -0
- package/dist/types/current/event/Signal.d.ts.map +1 -0
- package/dist/types/current/event/Signal.js +66 -0
- package/dist/types/current/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/current/event/nextEventAsPromise.d.ts.map +1 -0
- package/dist/types/current/event/nextEventAsPromise.js +23 -0
- package/dist/types/current/event/onAny.d.ts +13 -0
- package/dist/types/current/event/onAny.d.ts.map +1 -0
- package/dist/types/current/event/onAny.js +24 -0
- package/dist/types/current/event/redispatchEvents.d.ts +15 -0
- package/dist/types/current/event/redispatchEvents.d.ts.map +1 -0
- package/dist/types/current/event/redispatchEvents.js +23 -0
- package/dist/types/current/global/environment.d.ts +26 -0
- package/dist/types/current/global/environment.d.ts.map +1 -0
- package/dist/types/current/global/environment.js +29 -0
- package/dist/types/current/global/globalRegistry.d.ts +86 -0
- package/dist/types/current/global/globalRegistry.d.ts.map +1 -0
- package/dist/types/current/global/globalRegistry.js +181 -0
- package/dist/types/current/global/globalTarget.d.ts +8 -0
- package/dist/types/current/global/globalTarget.d.ts.map +1 -0
- package/dist/types/current/global/globalTarget.js +12 -0
- package/dist/types/current/index.d.ts +118 -0
- package/dist/types/current/index.d.ts.map +1 -0
- package/dist/types/current/index.js +117 -0
- package/dist/types/current/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/current/logging/ConsoleLogHandler.d.ts.map +1 -0
- package/dist/types/current/logging/ConsoleLogHandler.js +43 -0
- package/dist/types/current/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/current/logging/HistoryLogHandler.d.ts.map +1 -0
- package/dist/types/current/logging/HistoryLogHandler.js +54 -0
- package/dist/types/current/logging/LogTarget.d.ts +19 -0
- package/dist/types/current/logging/LogTarget.d.ts.map +1 -0
- package/dist/types/current/logging/LogTarget.js +18 -0
- package/dist/types/current/logging/Logger.d.ts +66 -0
- package/dist/types/current/logging/Logger.d.ts.map +1 -0
- package/dist/types/current/logging/Logger.js +110 -0
- package/dist/types/current/logging/VinylLogging.d.ts +9 -0
- package/dist/types/current/logging/VinylLogging.d.ts.map +1 -0
- package/dist/types/current/logging/VinylLogging.js +22 -0
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts.map +1 -0
- package/dist/types/current/logging/getLogLevelFromSearch.js +17 -0
- package/dist/types/current/logging/logTimer.d.ts +10 -0
- package/dist/types/current/logging/logTimer.d.ts.map +1 -0
- package/dist/types/current/logging/logTimer.js +18 -0
- package/dist/types/current/network/RequestError.d.ts +26 -0
- package/dist/types/current/network/RequestError.d.ts.map +1 -0
- package/dist/types/current/network/RequestError.js +78 -0
- package/dist/types/current/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/current/network/RequestInterceptor.d.ts.map +1 -0
- package/dist/types/current/network/RequestInterceptor.js +5 -0
- package/dist/types/current/network/Requester.d.ts +84 -0
- package/dist/types/current/network/Requester.d.ts.map +1 -0
- package/dist/types/current/network/Requester.js +10 -0
- package/dist/types/current/network/RequesterImpl.d.ts +120 -0
- package/dist/types/current/network/RequesterImpl.d.ts.map +1 -0
- package/dist/types/current/network/RequesterImpl.js +321 -0
- package/dist/types/current/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/current/network/RequesterImplEventMap.d.ts.map +1 -0
- package/dist/types/current/network/RequesterImplEventMap.js +23 -0
- package/dist/types/current/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/current/network/browser/NetworkInformation.d.ts.map +1 -0
- package/dist/types/current/network/browser/NetworkInformation.js +17 -0
- package/dist/types/current/network/createRequester.d.ts +12 -0
- package/dist/types/current/network/createRequester.d.ts.map +1 -0
- package/dist/types/current/network/createRequester.js +29 -0
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts.map +1 -0
- package/dist/types/current/network/logging/networkLoggingHandler.js +74 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts.map +1 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.js +5 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts.map +1 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.js +210 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts.map +1 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.js +19 -0
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts.map +1 -0
- package/dist/types/current/network/metrics/networkMetricsModel.js +35 -0
- package/dist/types/current/network/network.d.ts +47 -0
- package/dist/types/current/network/network.d.ts.map +1 -0
- package/dist/types/current/network/network.js +54 -0
- package/dist/types/current/network/requesterGlobal.d.ts +19 -0
- package/dist/types/current/network/requesterGlobal.d.ts.map +1 -0
- package/dist/types/current/network/requesterGlobal.js +29 -0
- package/dist/types/current/network/requesterUtil.d.ts +28 -0
- package/dist/types/current/network/requesterUtil.d.ts.map +1 -0
- package/dist/types/current/network/requesterUtil.js +71 -0
- package/dist/types/current/network/responseUtil.d.ts +10 -0
- package/dist/types/current/network/responseUtil.d.ts.map +1 -0
- package/dist/types/current/network/responseUtil.js +14 -0
- package/dist/types/current/patch/network/fetch.d.ts +11 -0
- package/dist/types/current/patch/network/fetch.d.ts.map +1 -0
- package/dist/types/current/patch/network/fetch.js +43 -0
- package/dist/types/current/patch/patchTarget.d.ts +114 -0
- package/dist/types/current/patch/patchTarget.d.ts.map +1 -0
- package/dist/types/current/patch/patchTarget.js +219 -0
- package/dist/types/current/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/current/persistence/KeyValuePersistence.d.ts.map +1 -0
- package/dist/types/current/persistence/KeyValuePersistence.js +5 -0
- package/dist/types/current/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/current/persistence/PersistentItem.d.ts.map +1 -0
- package/dist/types/current/persistence/PersistentItem.js +70 -0
- package/dist/types/current/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/current/persistence/StoragePersistence.d.ts.map +1 -0
- package/dist/types/current/persistence/StoragePersistence.js +25 -0
- package/dist/types/current/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/current/persistence/persistenceRef.d.ts.map +1 -0
- package/dist/types/current/persistence/persistenceRef.js +13 -0
- package/dist/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/types/current/util/async/Abort.d.ts +99 -0
- package/dist/types/current/util/async/Abort.d.ts.map +1 -0
- package/dist/types/current/util/async/Abort.js +122 -0
- package/dist/types/current/util/async/Deferred.d.ts +25 -0
- package/dist/types/current/util/async/Deferred.d.ts.map +1 -0
- package/dist/types/current/util/async/Deferred.js +41 -0
- package/dist/types/current/util/async/TaskQueue.d.ts +74 -0
- package/dist/types/current/util/async/TaskQueue.d.ts.map +1 -0
- package/dist/types/current/util/async/TaskQueue.js +124 -0
- package/dist/types/current/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/current/util/async/TimeoutController.d.ts.map +1 -0
- package/dist/types/current/util/async/TimeoutController.js +62 -0
- package/dist/types/current/util/async/TimeoutSlot.d.ts +29 -0
- package/dist/types/current/util/async/TimeoutSlot.d.ts.map +1 -0
- package/dist/types/current/util/async/TimeoutSlot.js +50 -0
- package/dist/types/current/util/async/abortUtils.d.ts +15 -0
- package/dist/types/current/util/async/abortUtils.d.ts.map +1 -0
- package/dist/types/current/util/async/abortUtils.js +27 -0
- package/dist/types/current/util/async/never.d.ts +5 -0
- package/dist/types/current/util/async/never.d.ts.map +1 -0
- package/dist/types/current/util/async/never.js +22 -0
- package/dist/types/current/util/async/promise.d.ts +53 -0
- package/dist/types/current/util/async/promise.d.ts.map +1 -0
- package/dist/types/current/util/async/promise.js +131 -0
- package/dist/types/current/util/async/sleep.d.ts +27 -0
- package/dist/types/current/util/async/sleep.d.ts.map +1 -0
- package/dist/types/current/util/async/sleep.js +41 -0
- package/dist/types/current/util/async/timeout.d.ts +29 -0
- package/dist/types/current/util/async/timeout.d.ts.map +1 -0
- package/dist/types/current/util/async/timeout.js +55 -0
- package/dist/types/current/util/browser/searchParams.d.ts +13 -0
- package/dist/types/current/util/browser/searchParams.d.ts.map +1 -0
- package/dist/types/current/util/browser/searchParams.js +26 -0
- package/dist/types/current/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/current/util/buffer/BufferError.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferError.js +15 -0
- package/dist/types/current/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/current/util/buffer/BufferReader.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferReader.js +150 -0
- package/dist/types/current/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/current/util/buffer/BufferWriter.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferWriter.js +80 -0
- package/dist/types/current/util/buffer/buffer.d.ts +55 -0
- package/dist/types/current/util/buffer/buffer.d.ts.map +1 -0
- package/dist/types/current/util/buffer/buffer.js +99 -0
- package/dist/types/current/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/current/util/collection/CacheMap.d.ts.map +1 -0
- package/dist/types/current/util/collection/CacheMap.js +5 -0
- package/dist/types/current/util/collection/LinkedList.d.ts +165 -0
- package/dist/types/current/util/collection/LinkedList.d.ts.map +1 -0
- package/dist/types/current/util/collection/LinkedList.js +332 -0
- package/dist/types/current/util/collection/LruCache.d.ts +93 -0
- package/dist/types/current/util/collection/LruCache.d.ts.map +1 -0
- package/dist/types/current/util/collection/LruCache.js +170 -0
- package/dist/types/current/util/collection/array.d.ts +207 -0
- package/dist/types/current/util/collection/array.d.ts.map +1 -0
- package/dist/types/current/util/collection/array.js +403 -0
- package/dist/types/current/util/collection/typedArray.d.ts +17 -0
- package/dist/types/current/util/collection/typedArray.d.ts.map +1 -0
- package/dist/types/current/util/collection/typedArray.js +32 -0
- package/dist/types/current/util/comparison/compare.d.ts +33 -0
- package/dist/types/current/util/comparison/compare.d.ts.map +1 -0
- package/dist/types/current/util/comparison/compare.js +53 -0
- package/dist/types/current/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/current/util/config/ValueProvider.d.ts.map +1 -0
- package/dist/types/current/util/config/ValueProvider.js +18 -0
- package/dist/types/current/util/date/date.d.ts +32 -0
- package/dist/types/current/util/date/date.d.ts.map +1 -0
- package/dist/types/current/util/date/date.js +49 -0
- package/dist/types/current/util/error/stack.d.ts +79 -0
- package/dist/types/current/util/error/stack.d.ts.map +1 -0
- package/dist/types/current/util/error/stack.js +135 -0
- package/dist/types/current/util/fun/debounce.d.ts +12 -0
- package/dist/types/current/util/fun/debounce.d.ts.map +1 -0
- package/dist/types/current/util/fun/debounce.js +28 -0
- package/dist/types/current/util/fun/flow.d.ts +38 -0
- package/dist/types/current/util/fun/flow.d.ts.map +1 -0
- package/dist/types/current/util/fun/flow.js +28 -0
- package/dist/types/current/util/fun/function.d.ts +5 -0
- package/dist/types/current/util/fun/function.d.ts.map +1 -0
- package/dist/types/current/util/fun/function.js +8 -0
- package/dist/types/current/util/fun/memoize.d.ts +24 -0
- package/dist/types/current/util/fun/memoize.d.ts.map +1 -0
- package/dist/types/current/util/fun/memoize.js +62 -0
- package/dist/types/current/util/fun/throttle.d.ts +34 -0
- package/dist/types/current/util/fun/throttle.d.ts.map +1 -0
- package/dist/types/current/util/fun/throttle.js +66 -0
- package/dist/types/current/util/iteration/iterable.d.ts +26 -0
- package/dist/types/current/util/iteration/iterable.d.ts.map +1 -0
- package/dist/types/current/util/iteration/iterable.js +97 -0
- package/dist/types/current/util/map/map.d.ts +17 -0
- package/dist/types/current/util/map/map.d.ts.map +1 -0
- package/dist/types/current/util/map/map.js +35 -0
- package/dist/types/current/util/math/math.d.ts +79 -0
- package/dist/types/current/util/math/math.d.ts.map +1 -0
- package/dist/types/current/util/math/math.js +94 -0
- package/dist/types/current/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/current/util/mpeg/parseSidxBox.d.ts.map +1 -0
- package/dist/types/current/util/mpeg/parseSidxBox.js +91 -0
- package/dist/types/current/util/network/request.d.ts +18 -0
- package/dist/types/current/util/network/request.d.ts.map +1 -0
- package/dist/types/current/util/network/request.js +79 -0
- package/dist/types/current/util/object/clone.d.ts +68 -0
- package/dist/types/current/util/object/clone.d.ts.map +1 -0
- package/dist/types/current/util/object/clone.js +36 -0
- package/dist/types/current/util/object/equalDeep.d.ts +54 -0
- package/dist/types/current/util/object/equalDeep.d.ts.map +1 -0
- package/dist/types/current/util/object/equalDeep.js +144 -0
- package/dist/types/current/util/object/lazy.d.ts +54 -0
- package/dist/types/current/util/object/lazy.d.ts.map +1 -0
- package/dist/types/current/util/object/lazy.js +70 -0
- package/dist/types/current/util/object/merge.d.ts +72 -0
- package/dist/types/current/util/object/merge.d.ts.map +1 -0
- package/dist/types/current/util/object/merge.js +19 -0
- package/dist/types/current/util/object/mergeDeep.d.ts +126 -0
- package/dist/types/current/util/object/mergeDeep.d.ts.map +1 -0
- package/dist/types/current/util/object/mergeDeep.js +256 -0
- package/dist/types/current/util/object/mutableType.d.ts +64 -0
- package/dist/types/current/util/object/mutableType.d.ts.map +1 -0
- package/dist/types/current/util/object/mutableType.js +5 -0
- package/dist/types/current/util/object/object.d.ts +55 -0
- package/dist/types/current/util/object/object.d.ts.map +1 -0
- package/dist/types/current/util/object/object.js +91 -0
- package/dist/types/current/util/object/readonlyType.d.ts +71 -0
- package/dist/types/current/util/object/readonlyType.d.ts.map +1 -0
- package/dist/types/current/util/object/readonlyType.js +5 -0
- package/dist/types/current/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/current/util/range/IntersectionRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/IntersectionRanges.js +77 -0
- package/dist/types/current/util/range/Ranges.d.ts +123 -0
- package/dist/types/current/util/range/Ranges.d.ts.map +1 -0
- package/dist/types/current/util/range/Ranges.js +192 -0
- package/dist/types/current/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/current/util/range/UnionRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/UnionRanges.js +56 -0
- package/dist/types/current/util/range/timeRanges.d.ts +14 -0
- package/dist/types/current/util/range/timeRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/timeRanges.js +25 -0
- package/dist/types/current/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/current/util/serialization/ParseError.d.ts.map +1 -0
- package/dist/types/current/util/serialization/ParseError.js +42 -0
- package/dist/types/current/util/serialization/json.d.ts +30 -0
- package/dist/types/current/util/serialization/json.d.ts.map +1 -0
- package/dist/types/current/util/serialization/json.js +79 -0
- package/dist/types/current/util/serialization/primitives.d.ts +24 -0
- package/dist/types/current/util/serialization/primitives.d.ts.map +1 -0
- package/dist/types/current/util/serialization/primitives.js +48 -0
- package/dist/types/current/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/current/util/serialization/stringifyForPrint.d.ts.map +1 -0
- package/dist/types/current/util/serialization/stringifyForPrint.js +39 -0
- package/dist/types/current/util/set/set.d.ts +17 -0
- package/dist/types/current/util/set/set.d.ts.map +1 -0
- package/dist/types/current/util/set/set.js +29 -0
- package/dist/types/current/util/string/StringReader.d.ts +149 -0
- package/dist/types/current/util/string/StringReader.d.ts.map +1 -0
- package/dist/types/current/util/string/StringReader.js +242 -0
- package/dist/types/current/util/string/string.d.ts +130 -0
- package/dist/types/current/util/string/string.d.ts.map +1 -0
- package/dist/types/current/util/string/string.js +249 -0
- package/dist/types/current/util/string/uid.d.ts +20 -0
- package/dist/types/current/util/string/uid.d.ts.map +1 -0
- package/dist/types/current/util/string/uid.js +26 -0
- package/dist/types/current/util/type.d.ts +166 -0
- package/dist/types/current/util/type.d.ts.map +1 -0
- package/dist/types/current/util/type.js +25 -0
- package/dist/types/current/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/current/util/url/resolveUrl.d.ts.map +1 -0
- package/dist/types/current/util/url/resolveUrl.js +79 -0
- package/dist/types/ts3.7/client/Version.d.ts +38 -0
- package/dist/types/ts3.7/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts3.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts3.7/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts3.7/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts3.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts3.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts3.7/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts3.7/core/clearable.d.ts +19 -0
- package/dist/types/ts3.7/core/cloneable.d.ts +14 -0
- package/dist/types/ts3.7/core/disposable.d.ts +66 -0
- package/dist/types/ts3.7/error/AbortError.d.ts +6 -0
- package/dist/types/ts3.7/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts3.7/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts3.7/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts3.7/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts3.7/error/ReportableError.d.ts +39 -0
- package/dist/types/ts3.7/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts3.7/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts3.7/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts3.7/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts3.7/error/ValidationError.d.ts +17 -0
- package/dist/types/ts3.7/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts3.7/event/EventHost.d.ts +69 -0
- package/dist/types/ts3.7/event/Signal.d.ts +57 -0
- package/dist/types/ts3.7/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts3.7/event/onAny.d.ts +13 -0
- package/dist/types/ts3.7/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts3.7/global/environment.d.ts +26 -0
- package/dist/types/ts3.7/global/globalRegistry.d.ts +83 -0
- package/dist/types/ts3.7/global/globalTarget.d.ts +8 -0
- package/dist/types/ts3.7/index.d.ts +118 -0
- package/dist/types/ts3.7/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts3.7/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts3.7/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts3.7/logging/Logger.d.ts +66 -0
- package/dist/types/ts3.7/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts3.7/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts3.7/logging/logTimer.d.ts +10 -0
- package/dist/types/ts3.7/network/RequestError.d.ts +26 -0
- package/dist/types/ts3.7/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts3.7/network/Requester.d.ts +84 -0
- package/dist/types/ts3.7/network/RequesterImpl.d.ts +116 -0
- package/dist/types/ts3.7/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts3.7/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts3.7/network/createRequester.d.ts +12 -0
- package/dist/types/ts3.7/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts3.7/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts3.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts3.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts3.7/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts3.7/network/network.d.ts +47 -0
- package/dist/types/ts3.7/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts3.7/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts3.7/network/responseUtil.d.ts +10 -0
- package/dist/types/ts3.7/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts3.7/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts3.7/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts3.7/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts3.7/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts3.7/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts3.7/util/async/Abort.d.ts +96 -0
- package/dist/types/ts3.7/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts3.7/util/async/TaskQueue.d.ts +71 -0
- package/dist/types/ts3.7/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/ts3.7/util/async/TimeoutSlot.d.ts +26 -0
- package/dist/types/ts3.7/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts3.7/util/async/never.d.ts +5 -0
- package/dist/types/ts3.7/util/async/promise.d.ts +53 -0
- package/dist/types/ts3.7/util/async/sleep.d.ts +27 -0
- package/dist/types/ts3.7/util/async/timeout.d.ts +29 -0
- package/dist/types/ts3.7/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts3.7/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts3.7/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts3.7/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts3.7/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts3.7/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts3.7/util/collection/LinkedList.d.ts +156 -0
- package/dist/types/ts3.7/util/collection/LruCache.d.ts +96 -0
- package/dist/types/ts3.7/util/collection/array.d.ts +207 -0
- package/dist/types/ts3.7/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts3.7/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts3.7/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts3.7/util/date/date.d.ts +32 -0
- package/dist/types/ts3.7/util/error/stack.d.ts +79 -0
- package/dist/types/ts3.7/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts3.7/util/fun/flow.d.ts +38 -0
- package/dist/types/ts3.7/util/fun/function.d.ts +5 -0
- package/dist/types/ts3.7/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts3.7/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts3.7/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts3.7/util/map/map.d.ts +17 -0
- package/dist/types/ts3.7/util/math/math.d.ts +79 -0
- package/dist/types/ts3.7/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts3.7/util/network/request.d.ts +18 -0
- package/dist/types/ts3.7/util/object/clone.d.ts +68 -0
- package/dist/types/ts3.7/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts3.7/util/object/lazy.d.ts +54 -0
- package/dist/types/ts3.7/util/object/merge.d.ts +72 -0
- package/dist/types/ts3.7/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts3.7/util/object/mutableType.d.ts +85 -0
- package/dist/types/ts3.7/util/object/object.d.ts +55 -0
- package/dist/types/ts3.7/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts3.7/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/ts3.7/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts3.7/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/ts3.7/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts3.7/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts3.7/util/serialization/json.d.ts +30 -0
- package/dist/types/ts3.7/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts3.7/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts3.7/util/set/set.d.ts +17 -0
- package/dist/types/ts3.7/util/string/StringReader.d.ts +134 -0
- package/dist/types/ts3.7/util/string/string.d.ts +130 -0
- package/dist/types/ts3.7/util/string/uid.d.ts +20 -0
- package/dist/types/ts3.7/util/type.d.ts +173 -0
- package/dist/types/ts3.7/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/ts4.1/client/Version.d.ts +38 -0
- package/dist/types/ts4.1/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts4.1/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts4.1/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts4.1/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts4.1/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts4.1/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts4.1/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts4.1/core/clearable.d.ts +19 -0
- package/dist/types/ts4.1/core/cloneable.d.ts +14 -0
- package/dist/types/ts4.1/core/disposable.d.ts +66 -0
- package/dist/types/ts4.1/error/AbortError.d.ts +6 -0
- package/dist/types/ts4.1/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts4.1/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts4.1/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts4.1/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts4.1/error/ReportableError.d.ts +39 -0
- package/dist/types/ts4.1/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts4.1/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts4.1/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts4.1/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts4.1/error/ValidationError.d.ts +17 -0
- package/dist/types/ts4.1/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts4.1/event/EventHost.d.ts +69 -0
- package/dist/types/ts4.1/event/Signal.d.ts +57 -0
- package/dist/types/ts4.1/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts4.1/event/onAny.d.ts +13 -0
- package/dist/types/ts4.1/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts4.1/global/environment.d.ts +26 -0
- package/dist/types/ts4.1/global/globalRegistry.d.ts +83 -0
- package/dist/types/ts4.1/global/globalTarget.d.ts +8 -0
- package/dist/types/ts4.1/index.d.ts +118 -0
- package/dist/types/ts4.1/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts4.1/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts4.1/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts4.1/logging/Logger.d.ts +66 -0
- package/dist/types/ts4.1/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts4.1/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts4.1/logging/logTimer.d.ts +10 -0
- package/dist/types/ts4.1/network/RequestError.d.ts +26 -0
- package/dist/types/ts4.1/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts4.1/network/Requester.d.ts +84 -0
- package/dist/types/ts4.1/network/RequesterImpl.d.ts +116 -0
- package/dist/types/ts4.1/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts4.1/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts4.1/network/createRequester.d.ts +12 -0
- package/dist/types/ts4.1/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts4.1/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts4.1/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts4.1/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts4.1/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts4.1/network/network.d.ts +47 -0
- package/dist/types/ts4.1/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts4.1/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts4.1/network/responseUtil.d.ts +10 -0
- package/dist/types/ts4.1/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts4.1/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts4.1/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts4.1/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts4.1/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts4.1/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts4.1/util/async/Abort.d.ts +96 -0
- package/dist/types/ts4.1/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts4.1/util/async/TaskQueue.d.ts +71 -0
- package/dist/types/ts4.1/util/async/TimeoutController.d.ts +37 -0
- package/dist/types/ts4.1/util/async/TimeoutSlot.d.ts +26 -0
- package/dist/types/ts4.1/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts4.1/util/async/never.d.ts +5 -0
- package/dist/types/ts4.1/util/async/promise.d.ts +53 -0
- package/dist/types/ts4.1/util/async/sleep.d.ts +27 -0
- package/dist/types/ts4.1/util/async/timeout.d.ts +29 -0
- package/dist/types/ts4.1/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts4.1/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts4.1/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts4.1/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts4.1/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts4.1/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts4.1/util/collection/LinkedList.d.ts +156 -0
- package/dist/types/ts4.1/util/collection/LruCache.d.ts +96 -0
- package/dist/types/ts4.1/util/collection/array.d.ts +207 -0
- package/dist/types/ts4.1/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts4.1/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts4.1/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts4.1/util/date/date.d.ts +32 -0
- package/dist/types/ts4.1/util/error/stack.d.ts +79 -0
- package/dist/types/ts4.1/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts4.1/util/fun/flow.d.ts +38 -0
- package/dist/types/ts4.1/util/fun/function.d.ts +5 -0
- package/dist/types/ts4.1/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts4.1/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts4.1/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts4.1/util/map/map.d.ts +17 -0
- package/dist/types/ts4.1/util/math/math.d.ts +79 -0
- package/dist/types/ts4.1/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts4.1/util/network/request.d.ts +18 -0
- package/dist/types/ts4.1/util/object/clone.d.ts +68 -0
- package/dist/types/ts4.1/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts4.1/util/object/lazy.d.ts +54 -0
- package/dist/types/ts4.1/util/object/merge.d.ts +72 -0
- package/dist/types/ts4.1/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts4.1/util/object/mutableType.d.ts +87 -0
- package/dist/types/ts4.1/util/object/object.d.ts +55 -0
- package/dist/types/ts4.1/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts4.1/util/range/IntersectionRanges.d.ts +38 -0
- package/dist/types/ts4.1/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts4.1/util/range/UnionRanges.d.ts +38 -0
- package/dist/types/ts4.1/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts4.1/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts4.1/util/serialization/json.d.ts +30 -0
- package/dist/types/ts4.1/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts4.1/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts4.1/util/set/set.d.ts +17 -0
- package/dist/types/ts4.1/util/string/StringReader.d.ts +134 -0
- package/dist/types/ts4.1/util/string/string.d.ts +130 -0
- package/dist/types/ts4.1/util/string/uid.d.ts +20 -0
- package/dist/types/ts4.1/util/type.d.ts +173 -0
- package/dist/types/ts4.1/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/ts4.7/client/Version.d.ts +38 -0
- package/dist/types/ts4.7/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts4.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts4.7/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts4.7/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts4.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts4.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts4.7/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts4.7/core/clearable.d.ts +19 -0
- package/dist/types/ts4.7/core/cloneable.d.ts +14 -0
- package/dist/types/ts4.7/core/disposable.d.ts +66 -0
- package/dist/types/ts4.7/error/AbortError.d.ts +6 -0
- package/dist/types/ts4.7/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts4.7/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts4.7/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts4.7/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts4.7/error/ReportableError.d.ts +39 -0
- package/dist/types/ts4.7/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts4.7/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts4.7/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts4.7/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts4.7/error/ValidationError.d.ts +17 -0
- package/dist/types/ts4.7/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts4.7/event/EventHost.d.ts +69 -0
- package/dist/types/ts4.7/event/Signal.d.ts +57 -0
- package/dist/types/ts4.7/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts4.7/event/onAny.d.ts +13 -0
- package/dist/types/ts4.7/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts4.7/global/environment.d.ts +26 -0
- package/dist/types/ts4.7/global/globalRegistry.d.ts +86 -0
- package/dist/types/ts4.7/global/globalTarget.d.ts +8 -0
- package/dist/types/ts4.7/index.d.ts +118 -0
- package/dist/types/ts4.7/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts4.7/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts4.7/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts4.7/logging/Logger.d.ts +66 -0
- package/dist/types/ts4.7/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts4.7/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts4.7/logging/logTimer.d.ts +10 -0
- package/dist/types/ts4.7/network/RequestError.d.ts +26 -0
- package/dist/types/ts4.7/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts4.7/network/Requester.d.ts +84 -0
- package/dist/types/ts4.7/network/RequesterImpl.d.ts +120 -0
- package/dist/types/ts4.7/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts4.7/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts4.7/network/createRequester.d.ts +12 -0
- package/dist/types/ts4.7/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts4.7/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts4.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts4.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts4.7/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts4.7/network/network.d.ts +47 -0
- package/dist/types/ts4.7/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts4.7/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts4.7/network/responseUtil.d.ts +10 -0
- package/dist/types/ts4.7/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts4.7/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts4.7/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts4.7/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts4.7/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts4.7/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts4.7/util/async/Abort.d.ts +99 -0
- package/dist/types/ts4.7/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts4.7/util/async/TaskQueue.d.ts +74 -0
- package/dist/types/ts4.7/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/ts4.7/util/async/TimeoutSlot.d.ts +29 -0
- package/dist/types/ts4.7/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts4.7/util/async/never.d.ts +5 -0
- package/dist/types/ts4.7/util/async/promise.d.ts +53 -0
- package/dist/types/ts4.7/util/async/sleep.d.ts +27 -0
- package/dist/types/ts4.7/util/async/timeout.d.ts +29 -0
- package/dist/types/ts4.7/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts4.7/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts4.7/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts4.7/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts4.7/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts4.7/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts4.7/util/collection/LinkedList.d.ts +165 -0
- package/dist/types/ts4.7/util/collection/LruCache.d.ts +99 -0
- package/dist/types/ts4.7/util/collection/array.d.ts +207 -0
- package/dist/types/ts4.7/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts4.7/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts4.7/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts4.7/util/date/date.d.ts +32 -0
- package/dist/types/ts4.7/util/error/stack.d.ts +79 -0
- package/dist/types/ts4.7/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts4.7/util/fun/flow.d.ts +38 -0
- package/dist/types/ts4.7/util/fun/function.d.ts +5 -0
- package/dist/types/ts4.7/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts4.7/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts4.7/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts4.7/util/map/map.d.ts +17 -0
- package/dist/types/ts4.7/util/math/math.d.ts +79 -0
- package/dist/types/ts4.7/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts4.7/util/network/request.d.ts +18 -0
- package/dist/types/ts4.7/util/object/clone.d.ts +68 -0
- package/dist/types/ts4.7/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts4.7/util/object/lazy.d.ts +54 -0
- package/dist/types/ts4.7/util/object/merge.d.ts +72 -0
- package/dist/types/ts4.7/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts4.7/util/object/mutableType.d.ts +87 -0
- package/dist/types/ts4.7/util/object/object.d.ts +55 -0
- package/dist/types/ts4.7/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts4.7/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/ts4.7/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts4.7/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/ts4.7/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts4.7/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts4.7/util/serialization/json.d.ts +30 -0
- package/dist/types/ts4.7/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts4.7/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts4.7/util/set/set.d.ts +17 -0
- package/dist/types/ts4.7/util/string/StringReader.d.ts +149 -0
- package/dist/types/ts4.7/util/string/string.d.ts +130 -0
- package/dist/types/ts4.7/util/string/uid.d.ts +20 -0
- package/dist/types/ts4.7/util/type.d.ts +173 -0
- package/dist/types/ts4.7/util/url/resolveUrl.d.ts +23 -0
- package/docs/EVENTS.md +187 -0
- package/docs/GLOBALS.md +45 -0
- package/docs/NETWORKING.md +161 -0
- package/package.json +118 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Maybe } from '../util/type';
|
|
2
|
+
import type { Requester, RequestInitOptions, RequestOptions } from './Requester';
|
|
3
|
+
/**
|
|
4
|
+
* @private
|
|
5
|
+
*/
|
|
6
|
+
export declare const requesterWithRetryRef: import("../global/globalRegistry").GlobalRef<Requester>;
|
|
7
|
+
/**
|
|
8
|
+
* Requests a resource.
|
|
9
|
+
*
|
|
10
|
+
* Note: Unlike `window.fetch`, the returned promise is expected to reject if the
|
|
11
|
+
* response is !ok.
|
|
12
|
+
*
|
|
13
|
+
* @param input A url string, URL Object, or RequestInfo object.
|
|
14
|
+
* @param init A RequestInit object.
|
|
15
|
+
* @param options Additional configuration such as an abort reference or service id for metrics
|
|
16
|
+
* and retries.
|
|
17
|
+
*/
|
|
18
|
+
export declare function requestWithRetry(input: RequestInfo | URL, init?: Maybe<RequestInitOptions>, options?: Partial<RequestOptions>): Promise<Response>;
|
|
19
|
+
//# sourceMappingURL=requesterGlobal.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ResponseInfo } from './RequesterImplEventMap';
|
|
2
|
+
import type { Timestamp } from '../util/date/date';
|
|
3
|
+
import type { Maybe } from '../util/type';
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if the failed request should be retried.
|
|
6
|
+
* @private
|
|
7
|
+
*/
|
|
8
|
+
export declare function shouldRetry(status: number): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The default jitter amount after waiting for a retry-after timestamp.
|
|
11
|
+
*/
|
|
12
|
+
export declare function retryAfterJitter(): number;
|
|
13
|
+
/**
|
|
14
|
+
* Retry-After = "Retry-After" ":" ( HTTP-date | delta-seconds )
|
|
15
|
+
* https://www.rfc-editor.org/rfc/rfc2616#page-141
|
|
16
|
+
*
|
|
17
|
+
* @param retryAfter The string to parse into a timestamp. If nullish, null is returned.
|
|
18
|
+
* @returns The unix timestamp to wait until before retrying. If the Retry-After header
|
|
19
|
+
* could not be found, or provided a date that cannot be parsed, returns null.
|
|
20
|
+
*/
|
|
21
|
+
export declare function parseRetryAfter(retryAfter: Maybe<string>): Timestamp | null;
|
|
22
|
+
/**
|
|
23
|
+
* Returns serializable response information.
|
|
24
|
+
*
|
|
25
|
+
* @param response The Response object. The body will not be read, this does not need to be cloned.
|
|
26
|
+
*/
|
|
27
|
+
export declare function getResponseInfo(response: Response): ResponseInfo;
|
|
28
|
+
//# sourceMappingURL=requesterUtil.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RequestResponseErrorEvent } from './RequesterImplEventMap';
|
|
2
|
+
import { RequestError } from './RequestError';
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given object is a RequestError with type RESPONSE.
|
|
5
|
+
* @param error
|
|
6
|
+
*/
|
|
7
|
+
export declare function isResponseError(error: any): error is RequestError & {
|
|
8
|
+
readonly info: RequestResponseErrorEvent;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=responseUtil.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Fetch } from '../../network/Requester';
|
|
2
|
+
export declare function requiresPreventCacheRangeRequestsPatch(): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* On affected UAs, Range requests from cache can fail with a TypeError.
|
|
5
|
+
*
|
|
6
|
+
* A message will display in the browser such as net::ERR_CONNECTION_FAILED, which isn't accessible from the Error.
|
|
7
|
+
* @param original
|
|
8
|
+
*/
|
|
9
|
+
export declare function preventCacheRangeRequestsPatch(original: Fetch): Fetch;
|
|
10
|
+
export declare function patchFetch(original: Fetch): Fetch;
|
|
11
|
+
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { type Disposable } from '../core/disposable';
|
|
2
|
+
import type { Unsubscribe } from '../core/Unsubscribe';
|
|
3
|
+
import { type Signal } from '../event/Signal';
|
|
4
|
+
import type { AnyRecord } from '../util/type';
|
|
5
|
+
import { type LogTarget } from '../logging/LogTarget';
|
|
6
|
+
export interface Patch<in T, in EventMap = AnyRecord> extends Disposable {
|
|
7
|
+
/**
|
|
8
|
+
* A signal that emits synthetic events.
|
|
9
|
+
* These events will be dispatched on the proxy, not on the original event target.
|
|
10
|
+
* If undefined, no events are fabricated.
|
|
11
|
+
*/
|
|
12
|
+
readonly eventFabricated?: Signal<Event>;
|
|
13
|
+
/**
|
|
14
|
+
* Overridden properties.
|
|
15
|
+
*/
|
|
16
|
+
readonly properties?: PropertyPatches<T>;
|
|
17
|
+
/**
|
|
18
|
+
* Overridden events.
|
|
19
|
+
* Event patches may provide an alternate event to emit, or null to prevent an event from
|
|
20
|
+
* dispatching on the proxy.
|
|
21
|
+
*
|
|
22
|
+
* Note:
|
|
23
|
+
* Patched events have divergent behavior when using Event.stopImmediatePropagation.
|
|
24
|
+
* All handlers added to the patched Proxy will still be called after stopImmediatePropagation.
|
|
25
|
+
* It is the author's opinion that using stopImmediatePropagation is an anti-pattern, and one
|
|
26
|
+
* handler should not be allowed to influence the behavior of neighboring handlers.
|
|
27
|
+
*/
|
|
28
|
+
readonly events?: EventPatches<EventMap>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A record of property key to property patch.
|
|
32
|
+
*/
|
|
33
|
+
export type PropertyPatches<in T> = {
|
|
34
|
+
readonly [P in keyof T]?: PropertyPatch<T, P>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* An override to a patched property.
|
|
38
|
+
*/
|
|
39
|
+
export interface PropertyPatch<T, K extends keyof T> {
|
|
40
|
+
/**
|
|
41
|
+
* @return Returns the value to return on the proxy.
|
|
42
|
+
*/
|
|
43
|
+
get?(): T[K];
|
|
44
|
+
/**
|
|
45
|
+
* @param newValue The property value attempting to be set.
|
|
46
|
+
*/
|
|
47
|
+
set?(newValue: T[K]): void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Handles an event emitted from the event target. The returned event will be emitted in its
|
|
51
|
+
* place on the proxy.
|
|
52
|
+
*
|
|
53
|
+
* Fabricated events from `eventFabricated` will not be passed to this handler and cannot be
|
|
54
|
+
* squelched.
|
|
55
|
+
*
|
|
56
|
+
* @param event The original event from the event target. This should not be modified
|
|
57
|
+
* directly, but may be cloned and a modified clone may be returned.
|
|
58
|
+
*
|
|
59
|
+
* @return Returns the event to emit on the proxy or null to squelch the event.
|
|
60
|
+
*/
|
|
61
|
+
export type EventPatch<T> = (event: T) => T | null;
|
|
62
|
+
/**
|
|
63
|
+
* A record of event type to an event patch.
|
|
64
|
+
*/
|
|
65
|
+
export type EventPatches<in EventMap> = {
|
|
66
|
+
readonly [P in keyof EventMap]?: EventPatch<EventMap[P]>;
|
|
67
|
+
};
|
|
68
|
+
export type PatchFactory<T, EventMap> = (target: T) => Patch<T, EventMap>;
|
|
69
|
+
export interface PatchedRef<T> extends Disposable {
|
|
70
|
+
/**
|
|
71
|
+
* The patched target.
|
|
72
|
+
*/
|
|
73
|
+
readonly patched: T;
|
|
74
|
+
/**
|
|
75
|
+
* A signal for when a synthetic event was fabricated.
|
|
76
|
+
*/
|
|
77
|
+
eventFabricated: Signal<Event>;
|
|
78
|
+
/**
|
|
79
|
+
* A signal for when an event was squelched.
|
|
80
|
+
*/
|
|
81
|
+
eventSquelched: Signal<Event>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Creates a Proxy for patched event and properties on the target. All patches from the provided
|
|
85
|
+
* factory list will be used in creating a proxy chain. Each patch is applied in order, and
|
|
86
|
+
* patches can rely on their target having been patched with all previous patches.
|
|
87
|
+
*
|
|
88
|
+
* @param target
|
|
89
|
+
* @param patchFactories A list of factories that each produce a new patch for the target.
|
|
90
|
+
* @return Returns a disposable object with a Proxy reference with overridden event and property
|
|
91
|
+
* behavior. When disposed, the event listeners are removed.
|
|
92
|
+
*/
|
|
93
|
+
export declare function patchTarget<T extends object, EventMap = AnyRecord>(target: T, ...patchFactories: PatchFactory<T, EventMap>[]): PatchedRef<T>;
|
|
94
|
+
/**
|
|
95
|
+
* Logs debug messages when an event was squelched or fabricated.
|
|
96
|
+
*
|
|
97
|
+
* @param pathTarget
|
|
98
|
+
* @param patched
|
|
99
|
+
* @return Returns a function that when invoked, removes the logging.
|
|
100
|
+
*/
|
|
101
|
+
export declare function logPatchedEvents(pathTarget: LogTarget, patched: PatchedRef<any>): Unsubscribe;
|
|
102
|
+
/**
|
|
103
|
+
* A tuple of `[flag, factory]`.
|
|
104
|
+
* Patches will be applied when flag is true.
|
|
105
|
+
*/
|
|
106
|
+
export type FlagAndPatchEntry<T extends object, EventMap, Key> = readonly [
|
|
107
|
+
flagKey: Key,
|
|
108
|
+
factory: PatchFactory<T, EventMap>
|
|
109
|
+
];
|
|
110
|
+
/**
|
|
111
|
+
* Given a list of [flagKey, patchFactory] tuples, patches the target with patches where flag is true.
|
|
112
|
+
*/
|
|
113
|
+
export declare function patchTargetFromFlags<T extends object, EventMap, Flags>(target: T, flags: Flags, ...patchEntries: readonly FlagAndPatchEntry<T, EventMap, keyof Flags>[]): PatchedRef<T>;
|
|
114
|
+
//# sourceMappingURL=patchTarget.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An abstract persistence interface for an async key / value store.
|
|
3
|
+
*/
|
|
4
|
+
export interface KeyValuePersistence<T> {
|
|
5
|
+
/**
|
|
6
|
+
* Resolves to the value for the given key, or null if non-existent.
|
|
7
|
+
* @param key
|
|
8
|
+
*/
|
|
9
|
+
get(key: string): Promise<T | null>;
|
|
10
|
+
/**
|
|
11
|
+
* Saves the given value to disk.
|
|
12
|
+
*
|
|
13
|
+
* @param key
|
|
14
|
+
* @param value
|
|
15
|
+
*/
|
|
16
|
+
set(key: string, value: T): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Removes the given key.
|
|
19
|
+
*
|
|
20
|
+
* @param key
|
|
21
|
+
*/
|
|
22
|
+
remove(key: string): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Clears all items.
|
|
25
|
+
*/
|
|
26
|
+
clear(): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=KeyValuePersistence.d.ts.map
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { LogTarget } from '../logging/LogTarget';
|
|
2
|
+
import type { KeyValuePersistence } from '../persistence/KeyValuePersistence';
|
|
3
|
+
import type { Maybe } from '../util/type';
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for PersistentItemImpl
|
|
6
|
+
* These values will not be accessed until the persistent item is first used.
|
|
7
|
+
*/
|
|
8
|
+
export interface PersistentItemOptions<T, FormatType> {
|
|
9
|
+
/**
|
|
10
|
+
* The key to use in the Persistence layer.
|
|
11
|
+
*/
|
|
12
|
+
readonly key: string;
|
|
13
|
+
/**
|
|
14
|
+
* The default to use when the key is not present or deserialization fails.
|
|
15
|
+
*/
|
|
16
|
+
readonly defaultValue: T;
|
|
17
|
+
/**
|
|
18
|
+
* If provided, will be invoked on the persisted value.
|
|
19
|
+
*/
|
|
20
|
+
readonly validator?: Maybe<(input: unknown) => asserts input is T>;
|
|
21
|
+
/**
|
|
22
|
+
* The key/value persistence raw data provider.
|
|
23
|
+
*
|
|
24
|
+
* Provides the KeyValuePersistence controller.
|
|
25
|
+
* Can be a method to lazily provide the controller, will be invoked once on first access.
|
|
26
|
+
*/
|
|
27
|
+
readonly persistence: KeyValuePersistence<FormatType> | (() => KeyValuePersistence<FormatType>);
|
|
28
|
+
/**
|
|
29
|
+
* Serializes the value for persistence.
|
|
30
|
+
*/
|
|
31
|
+
readonly serialize: (value: T) => FormatType;
|
|
32
|
+
/**
|
|
33
|
+
* Deserializes value into the output value.
|
|
34
|
+
*/
|
|
35
|
+
readonly deserialize: (value: FormatType) => T;
|
|
36
|
+
}
|
|
37
|
+
export interface PersistentItem<T> {
|
|
38
|
+
/**
|
|
39
|
+
* Gets this item from persistence.
|
|
40
|
+
*/
|
|
41
|
+
get(): Promise<T>;
|
|
42
|
+
/**
|
|
43
|
+
* Saves this item to persistence.
|
|
44
|
+
*/
|
|
45
|
+
set(value: T): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Removes this item from persistence.
|
|
48
|
+
*/
|
|
49
|
+
remove(): Promise<void>;
|
|
50
|
+
}
|
|
51
|
+
export declare class PersistentItemImpl<T, FormatType> implements PersistentItem<T>, LogTarget {
|
|
52
|
+
private readonly options;
|
|
53
|
+
readonly logPrefix: string;
|
|
54
|
+
private readonly persistence;
|
|
55
|
+
constructor(options: PersistentItemOptions<T, FormatType>);
|
|
56
|
+
/**
|
|
57
|
+
* Gets this item from persistence.
|
|
58
|
+
*/
|
|
59
|
+
get(): Promise<T>;
|
|
60
|
+
/**
|
|
61
|
+
* Saves this item to persistence.
|
|
62
|
+
*/
|
|
63
|
+
set(value: T): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Removes this item from persistence.
|
|
66
|
+
*/
|
|
67
|
+
remove(): Promise<void>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* An alias for persistent item options with reasonable defaults for string
|
|
71
|
+
* serialization.
|
|
72
|
+
* This will use JSON stringify/parse and the global KeyValuePersistence object
|
|
73
|
+
* from `persistenceRef`.
|
|
74
|
+
*/
|
|
75
|
+
export type DefaultStringPersistentItemOptions<T> = Omit<PersistentItemOptions<T, string>, 'persistence' | 'deserialize' | 'serialize'> & Partial<Pick<PersistentItemOptions<T, string>, 'persistence' | 'deserialize' | 'serialize'>>;
|
|
76
|
+
/**
|
|
77
|
+
* Creates a new PersistenceItem from the given options.
|
|
78
|
+
* If serializer, deserializer, and persistence is omitted, then
|
|
79
|
+
* JSON stringify/parse and the global KeyValuePersistence object
|
|
80
|
+
* from `persistenceRef` will be used.
|
|
81
|
+
*
|
|
82
|
+
* @param options
|
|
83
|
+
*/
|
|
84
|
+
export declare function createPersistentItem<T>(options: DefaultStringPersistentItemOptions<T>): PersistentItemImpl<T, string>;
|
|
85
|
+
export declare function createPersistentItem<T, U>(options: PersistentItemOptions<T, U>): PersistentItemImpl<T, U>;
|
|
86
|
+
//# sourceMappingURL=PersistentItem.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { KeyValuePersistence } from '../persistence/KeyValuePersistence';
|
|
2
|
+
import type { Maybe } from '../util/type';
|
|
3
|
+
export declare class StoragePersistence implements KeyValuePersistence<string> {
|
|
4
|
+
private readonly storage;
|
|
5
|
+
constructor(storage: Maybe<Storage>);
|
|
6
|
+
clear(): Promise<void>;
|
|
7
|
+
get(key: string): Promise<string | null>;
|
|
8
|
+
remove(key: string): Promise<void>;
|
|
9
|
+
set(key: string, value: string): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=StoragePersistence.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { KeyValuePersistence } from '../persistence/KeyValuePersistence';
|
|
2
|
+
/**
|
|
3
|
+
* The default storage persistence for simple key / value pairs.
|
|
4
|
+
* This may be overridden, and by default resolves to local storage persistence.
|
|
5
|
+
*/
|
|
6
|
+
export declare const persistenceRef: import("../global/globalRegistry").GlobalRef<KeyValuePersistence<string>>;
|
|
7
|
+
//# sourceMappingURL=persistenceRef.d.ts.map
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { ReadonlyEventHost } from '../../event/EventHost';
|
|
2
|
+
import { EventHostImpl } from '../../event/EventHost';
|
|
3
|
+
import type { Unsubscribe } from '../../core/Unsubscribe';
|
|
4
|
+
export interface AbortEvent {
|
|
5
|
+
readonly reason: Error;
|
|
6
|
+
}
|
|
7
|
+
export interface AbortEventMap {
|
|
8
|
+
readonly abort: AbortEvent;
|
|
9
|
+
}
|
|
10
|
+
export interface ReadonlyAbort extends ReadonlyEventHost<AbortEventMap> {
|
|
11
|
+
/**
|
|
12
|
+
* True if aborted.
|
|
13
|
+
*/
|
|
14
|
+
aborted(): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The reason passed to `abort`.
|
|
17
|
+
*/
|
|
18
|
+
readonly reason: Error | null;
|
|
19
|
+
/**
|
|
20
|
+
* Throws the signal's abort reason if the signal has been aborted; otherwise it does nothing.
|
|
21
|
+
*/
|
|
22
|
+
throwIfAborted(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Invokes a callback on 'abort', or immediately if already aborted.
|
|
25
|
+
*/
|
|
26
|
+
onAborted(callback: (event: AbortEvent) => void): Unsubscribe;
|
|
27
|
+
/**
|
|
28
|
+
* Returns a native signal on supported platforms.
|
|
29
|
+
*/
|
|
30
|
+
readonly nativeSignal: AbortSignal | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns a new native abort controller, if this environment supports AbortController.abort.
|
|
34
|
+
*
|
|
35
|
+
* Supported in Chrome 66+, Edge 16+, Firefox 57+, Opera 53+, Safari 11.3+,
|
|
36
|
+
*/
|
|
37
|
+
export declare function createAbortController(): AbortController | null;
|
|
38
|
+
export interface AbortDeps {
|
|
39
|
+
readonly abortControllerFactory?: () => AbortController | null;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* An Abort instance emits an 'abort' event when aborted.
|
|
43
|
+
*
|
|
44
|
+
* A native `AbortController` is encapsulated if the platform supports it, allowing for fetch
|
|
45
|
+
* cancellation.
|
|
46
|
+
*/
|
|
47
|
+
export declare class Abort extends EventHostImpl<AbortEventMap> implements ReadonlyAbort {
|
|
48
|
+
private readonly deps?;
|
|
49
|
+
get [Symbol.toStringTag](): string;
|
|
50
|
+
constructor(deps?: AbortDeps | undefined);
|
|
51
|
+
private _reason;
|
|
52
|
+
/**
|
|
53
|
+
* True if this signal is aborted.
|
|
54
|
+
*/
|
|
55
|
+
aborted(): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* A JavaScript value providing the abort reason, once this signal has aborted.
|
|
58
|
+
*/
|
|
59
|
+
get reason(): Error | null;
|
|
60
|
+
private _nativeSignal;
|
|
61
|
+
get nativeSignal(): AbortSignal | null;
|
|
62
|
+
/**
|
|
63
|
+
* Throws this signal's abort reason if the signal has been aborted; otherwise it does nothing.
|
|
64
|
+
*/
|
|
65
|
+
throwIfAborted(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Invokes a callback on 'abort', or immediately if already aborted.
|
|
68
|
+
*/
|
|
69
|
+
onAborted(callback: (event: AbortEvent) => void): Unsubscribe;
|
|
70
|
+
/**
|
|
71
|
+
* Sets to the aborted state with the given reason, and emits an 'abort' event.
|
|
72
|
+
* If this signal is already aborted, this will do nothing.
|
|
73
|
+
*/
|
|
74
|
+
abort(reason?: Error): void;
|
|
75
|
+
}
|
|
76
|
+
export interface AbortSlot {
|
|
77
|
+
readonly value: ReadonlyAbort;
|
|
78
|
+
abort(reason?: Error): void;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Creates a reusable abort slot that exposes a read-only `Abort` instance.
|
|
82
|
+
*
|
|
83
|
+
* Each call to `abort()` triggers the current `Abort` instance, and then replaces it
|
|
84
|
+
* with a fresh instance for future use. This is useful in systems where cancelable operations
|
|
85
|
+
* are repeatedly started and each one needs its own `Abort` signal.
|
|
86
|
+
*
|
|
87
|
+
* @returns An object with:
|
|
88
|
+
* - `value`: A read-only reference to the current `Abort` instance.
|
|
89
|
+
* - `abort(reason)`: Aborts the current instance with the given reason, then creates a new one.
|
|
90
|
+
*
|
|
91
|
+
* Example:
|
|
92
|
+
* ```ts
|
|
93
|
+
* const slot = createAbortSlot()
|
|
94
|
+
* fetch(url, { signal: slot.value.signal })
|
|
95
|
+
* slot.abort() // aborts current Abort value and prepares a new instance
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export declare function createAbortSlot(): AbortSlot;
|
|
99
|
+
//# sourceMappingURL=Abort.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Deferred object is a Promise with public methods to resolve and reject.
|
|
3
|
+
*
|
|
4
|
+
* Example:
|
|
5
|
+
*
|
|
6
|
+
* ```
|
|
7
|
+
* const deferred = new Deferred<number>()
|
|
8
|
+
* setTimeout(() => {
|
|
9
|
+
* deferred.resolve(42)
|
|
10
|
+
* }, 1000)
|
|
11
|
+
*
|
|
12
|
+
* deferred.then(value => console.log('Resolved to:', value))
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class Deferred<T> implements Promise<T> {
|
|
16
|
+
private readonly promise;
|
|
17
|
+
resolve: (value: T | PromiseLike<T>) => void;
|
|
18
|
+
reject: (reason?: any) => void;
|
|
19
|
+
constructor();
|
|
20
|
+
catch<TResult = never>(onrejected?: ((reason: any) => PromiseLike<TResult> | TResult) | null): Promise<T | TResult>;
|
|
21
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => PromiseLike<TResult1> | TResult1) | null, onrejected?: ((reason: any) => PromiseLike<TResult2> | TResult2) | null): Promise<TResult1 | TResult2>;
|
|
22
|
+
finally(onfinally?: (() => void) | null): Promise<T>;
|
|
23
|
+
get [Symbol.toStringTag](): string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=Deferred.d.ts.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type ReadonlyAbort } from './Abort';
|
|
2
|
+
import { type Comparator } from '../../util/comparison/compare';
|
|
3
|
+
import type { Maybe, MaybePromise } from '../../util/type';
|
|
4
|
+
export type Task<T = void> = (abort: ReadonlyAbort) => MaybePromise<T>;
|
|
5
|
+
/**
|
|
6
|
+
* A TaskQueue runs actions in a sequence, with the ability to abort the queued tasks.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TaskQueue<PriorityType = undefined> {
|
|
9
|
+
/**
|
|
10
|
+
* A comparator for comparing two task priorities.
|
|
11
|
+
*/
|
|
12
|
+
readonly comparator: Maybe<Comparator<PriorityType>>;
|
|
13
|
+
/**
|
|
14
|
+
* The default priority if not provided.
|
|
15
|
+
* If comparator is nullish priority values will have no effect.
|
|
16
|
+
*/
|
|
17
|
+
readonly defaultPriority: PriorityType;
|
|
18
|
+
private _simultaneous;
|
|
19
|
+
private _running;
|
|
20
|
+
/**
|
|
21
|
+
* Use {@link createTaskQueue} to construct a new TaskQueue.
|
|
22
|
+
*/
|
|
23
|
+
constructor(
|
|
24
|
+
/**
|
|
25
|
+
* A comparator for comparing two task priorities.
|
|
26
|
+
*/
|
|
27
|
+
comparator: Maybe<Comparator<PriorityType>>,
|
|
28
|
+
/**
|
|
29
|
+
* The default priority if not provided.
|
|
30
|
+
* If comparator is nullish priority values will have no effect.
|
|
31
|
+
*/
|
|
32
|
+
defaultPriority: PriorityType);
|
|
33
|
+
get simultaneous(): number;
|
|
34
|
+
/**
|
|
35
|
+
* How many simultaneous tasks may be run at a time.
|
|
36
|
+
* Reducing this will not abort currently running tasks.
|
|
37
|
+
*/
|
|
38
|
+
set simultaneous(value: number);
|
|
39
|
+
private pending;
|
|
40
|
+
private readonly abortSlot;
|
|
41
|
+
/**
|
|
42
|
+
* How many tasks are currently running.
|
|
43
|
+
*/
|
|
44
|
+
get running(): number;
|
|
45
|
+
/**
|
|
46
|
+
* Enqueues the given task, returning a Promise that settles when the task is complete.
|
|
47
|
+
*
|
|
48
|
+
* @param task A function that is optionally asynchronous.
|
|
49
|
+
* @param priority The priority of the task. If not provided, `defaultPriority()` will be used.
|
|
50
|
+
*/
|
|
51
|
+
enqueue<T>(task: Task<T>, priority?: PriorityType): Promise<T>;
|
|
52
|
+
/**
|
|
53
|
+
* If the queue has any remaining actions and if there is additional capacity to execute, picks the next
|
|
54
|
+
* task with the highest priority according to this queue's comparator.
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
private checkQueue;
|
|
58
|
+
/**
|
|
59
|
+
* Aborts all enqueued operations.
|
|
60
|
+
*/
|
|
61
|
+
abort(reason?: Error): void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Creates a TaskQueue without task prioritization.
|
|
65
|
+
*/
|
|
66
|
+
export declare function createTaskQueue(): TaskQueue;
|
|
67
|
+
/**
|
|
68
|
+
* Creates a TaskQueue with a priority comparator.
|
|
69
|
+
*
|
|
70
|
+
* @param comparator Compares two priority objects.
|
|
71
|
+
* @param defaultPriority A default priority.
|
|
72
|
+
*/
|
|
73
|
+
export declare function createTaskQueue<PriorityType>(comparator: Comparator<PriorityType>, defaultPriority: PriorityType): TaskQueue<PriorityType>;
|
|
74
|
+
//# sourceMappingURL=TaskQueue.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
import { Abort, type ReadonlyAbort } from './Abort';
|
|
3
|
+
import type { Maybe } from '../../util/type';
|
|
4
|
+
/**
|
|
5
|
+
* A `TimeoutController` is an {@link ReadonlyAbort} implementation that will abort either after
|
|
6
|
+
* an elapsed timeout, an explicit abort call, or if the optional external abort signal fires.
|
|
7
|
+
*
|
|
8
|
+
* This allows a function (such as the network fetch layer) to abort from an externally provided
|
|
9
|
+
* abort signal, while maintaining its own timeout and abort logic internally.
|
|
10
|
+
*/
|
|
11
|
+
export declare class TimeoutController extends Abort implements ReadonlyAbort, Disposable {
|
|
12
|
+
readonly timeout: number;
|
|
13
|
+
private readonly message;
|
|
14
|
+
private readonly timeoutId;
|
|
15
|
+
private readonly abortSub;
|
|
16
|
+
private readonly startedAt;
|
|
17
|
+
/**
|
|
18
|
+
* @param timeout The number of seconds before the returned abort signal will abort with a
|
|
19
|
+
* {@link TimeoutError}.
|
|
20
|
+
* @param abort An abort signal to cascade.
|
|
21
|
+
* @param message The timeout message. Uses one token `{time}` which will be replaced by the
|
|
22
|
+
* timeout.
|
|
23
|
+
*/
|
|
24
|
+
constructor(timeout: number, abort?: Maybe<ReadonlyAbort>, message?: string);
|
|
25
|
+
/**
|
|
26
|
+
* Aborts with a {@link TimeoutError}
|
|
27
|
+
*/
|
|
28
|
+
abortWithTimeout(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Sleeps the given amount of time, or immediately rejects if the sleep will cause a timeout.
|
|
31
|
+
* @param time The number of seconds to sleep.
|
|
32
|
+
*/
|
|
33
|
+
sleep(time: number): Promise<void>;
|
|
34
|
+
dispose(): void;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=TimeoutController.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
/**
|
|
3
|
+
* A TimeoutSlot provides a way to have a managed window timeout that can be added to a
|
|
4
|
+
* disposer, and guarantee that there is only one timeout active at a time.
|
|
5
|
+
*/
|
|
6
|
+
export declare class TimeoutSlot implements Disposable {
|
|
7
|
+
private timeoutId;
|
|
8
|
+
private disposed;
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if there is an active timeout pending.
|
|
11
|
+
*/
|
|
12
|
+
get active(): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Sets a timeout, clearing any existing timeout first.
|
|
15
|
+
*
|
|
16
|
+
* @param callback The callback to invoke after the given time has elapsed.
|
|
17
|
+
* @param time The amount of time to wait, in seconds.
|
|
18
|
+
*/
|
|
19
|
+
set(callback: () => void, time?: number): void;
|
|
20
|
+
/**
|
|
21
|
+
* Clears the existing timeout.
|
|
22
|
+
*/
|
|
23
|
+
clear(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Clears the timeout and throws an error if a new one is attempted to be set.
|
|
26
|
+
*/
|
|
27
|
+
dispose(): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=TimeoutSlot.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReadonlyAbort } from './Abort';
|
|
2
|
+
import type { Maybe } from '../../util/type';
|
|
3
|
+
/**
|
|
4
|
+
* Races a promise and an abort signal.
|
|
5
|
+
* Generally, it is better to write your promises in a way that they reject and cleanup after an
|
|
6
|
+
* abort event (see `promise`), however, external promises don't always provide this
|
|
7
|
+
* capability.
|
|
8
|
+
* Some browsers accept an abort signal for `fetch` and `addEventListener`, but this is not
|
|
9
|
+
* widely supported enough to be relied upon.
|
|
10
|
+
*
|
|
11
|
+
* If both the abort signal is in an aborted state, and the given promise is in a resolved state,
|
|
12
|
+
* the returned promise will be rejected with the abort reason.
|
|
13
|
+
*/
|
|
14
|
+
export declare function withAbort<T>(promise: Promise<T>, abort?: Maybe<ReadonlyAbort>): Promise<T>;
|
|
15
|
+
//# sourceMappingURL=abortUtils.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Unsubscribe } from '../../core/Unsubscribe';
|
|
2
|
+
import { type ReadonlyAbort } from './Abort';
|
|
3
|
+
import type { Maybe } from '../../util/type';
|
|
4
|
+
import { type Disposable } from '../../core/disposable';
|
|
5
|
+
/**
|
|
6
|
+
* Creates a promise that can be rejected early from an abort signal and can optionally provide
|
|
7
|
+
* cleanup handling when the promise is settled.
|
|
8
|
+
*
|
|
9
|
+
* Common cases that require clean-up would be promises based on event listeners that must be
|
|
10
|
+
* removed, or timers that need to be cleared.
|
|
11
|
+
*
|
|
12
|
+
* Promises are always expected to settle. They cannot be canceled, but they can be rejected.
|
|
13
|
+
* This promise wrapper can be given an {@link ReadonlyAbort} object which rejects the promise
|
|
14
|
+
* if abort is emitted before the promise settles.
|
|
15
|
+
*
|
|
16
|
+
* @param executor A method that will be invoked at most once immediately with two arguments,
|
|
17
|
+
* `resolve` and `reject`. `resolve` must be called when the promise should be resolved, reject
|
|
18
|
+
* may be called if the promise should be rejected. An optional function may be returned that
|
|
19
|
+
* performs any cleanup necessary when the promise settles. This is called immediately before
|
|
20
|
+
* resolve or reject. The executor may not be invoked if the abortSignal is already in an
|
|
21
|
+
* aborted state.
|
|
22
|
+
* @param abort If provided, will reject the returned promise with the signal's abort
|
|
23
|
+
* reason when aborted.
|
|
24
|
+
*/
|
|
25
|
+
export declare function promise<T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => Unsubscribe | void, abort?: Maybe<ReadonlyAbort>): Promise<T>;
|
|
26
|
+
/**
|
|
27
|
+
* Determines whether a value implements the `PromiseLike<T>` interface.
|
|
28
|
+
*
|
|
29
|
+
* This function checks if the given value is a non-null object with a `then` method,
|
|
30
|
+
* which is the structural requirement for `PromiseLike` in TypeScript.
|
|
31
|
+
*
|
|
32
|
+
* @typeParam T - The type the promise resolves to (optional, used for type narrowing).
|
|
33
|
+
* @param value - The value to check.
|
|
34
|
+
* @returns `true` if the value is `PromiseLike<T>`, otherwise `false`.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const maybePromise: unknown = Promise.resolve(42)
|
|
39
|
+
* if (isPromiseLike(maybePromise)) {
|
|
40
|
+
* maybePromise.then(value => console.log(value)) // value is type-safe
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function isPromiseLike<T = any>(value: unknown): value is PromiseLike<T>;
|
|
45
|
+
/**
|
|
46
|
+
* Wraps a `PromiseLike<Disposable>` with a `Disposable` interface.
|
|
47
|
+
* Disposing will abort the operation and dispose the resolved value (if/when it resolves).
|
|
48
|
+
*
|
|
49
|
+
* @param promise - A Promise-like object that resolves to a `Disposable`
|
|
50
|
+
* @returns An object that implements both `PromiseLike<T>` and `Disposable`
|
|
51
|
+
*/
|
|
52
|
+
export declare function toDisposablePromise<T extends PromiseLike<any>>(promise: T): T & Disposable;
|
|
53
|
+
//# sourceMappingURL=promise.d.ts.map
|