@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,14 @@
|
|
|
1
|
+
export interface MutableRequestParams {
|
|
2
|
+
input: string;
|
|
3
|
+
init: Omit<RequestInit, 'signal'>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Mutates a request before it's made.
|
|
7
|
+
* A request interceptor can be set in Vinyl dependencies. It will be called immediately before a request is made.
|
|
8
|
+
* The interceptor may modify the request, for example to add headers, change caching, or client-side redirection.
|
|
9
|
+
* Example to disable caching:
|
|
10
|
+
*
|
|
11
|
+
* `(params) => { params.init.cache = 'no-cache' }`
|
|
12
|
+
*/
|
|
13
|
+
export type RequestInterceptor = (params: MutableRequestParams) => void;
|
|
14
|
+
//# sourceMappingURL=RequestInterceptor.d.ts.map
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { ReadonlyAbort } from '../util/async/Abort';
|
|
2
|
+
import type { Maybe } from '../util/type';
|
|
3
|
+
/**
|
|
4
|
+
* Init options for the request.
|
|
5
|
+
*
|
|
6
|
+
* This mirrors the fetch init parameter omitting `signal`. For request cancellation, use
|
|
7
|
+
* `abort` on RequestOptions.
|
|
8
|
+
*/
|
|
9
|
+
export type RequestInitOptions = Readonly<Omit<RequestInit, 'signal'>>;
|
|
10
|
+
/**
|
|
11
|
+
* Encapsulates the parameters needed to make a request.
|
|
12
|
+
*/
|
|
13
|
+
export interface RequestParams {
|
|
14
|
+
readonly input: RequestInfo | Readonly<URL>;
|
|
15
|
+
readonly init?: Maybe<Readonly<RequestInitOptions>>;
|
|
16
|
+
readonly requestOptions?: Maybe<RequestOptions>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* An abstraction to fetching resources.
|
|
20
|
+
* Implementations may have retry or throttling behaviors.
|
|
21
|
+
*/
|
|
22
|
+
export interface Requester {
|
|
23
|
+
/**
|
|
24
|
+
* Requests a resource.
|
|
25
|
+
*
|
|
26
|
+
* Note: Unlike `window.fetch`, the returned promise is expected to reject if the
|
|
27
|
+
* response is !ok.
|
|
28
|
+
*/
|
|
29
|
+
request(input: RequestInfo | Readonly<URL>, init?: Maybe<RequestInitOptions>, requestOptions?: Maybe<RequestOptions>): Promise<Response>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Configuration for a fetch request.
|
|
33
|
+
*/
|
|
34
|
+
export interface RequestOptions {
|
|
35
|
+
/**
|
|
36
|
+
* If supplied, will cancel the request on abort.
|
|
37
|
+
*/
|
|
38
|
+
readonly abort?: Maybe<ReadonlyAbort>;
|
|
39
|
+
/**
|
|
40
|
+
* Determines how error responses are read and reported.
|
|
41
|
+
*/
|
|
42
|
+
readonly readErrorBody?: ErrorBodyType;
|
|
43
|
+
/**
|
|
44
|
+
* The service id is used to obtain a service controller for that service.
|
|
45
|
+
* If nullish, then empty service metrics will be used.
|
|
46
|
+
*/
|
|
47
|
+
readonly serviceId?: Maybe<string>;
|
|
48
|
+
}
|
|
49
|
+
export declare enum ErrorBodyType {
|
|
50
|
+
DISABLED = 0,
|
|
51
|
+
TEXT = 1,
|
|
52
|
+
JSON = 2
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The signature of `window.fetch`. Provided as a dependency for testing.
|
|
56
|
+
*/
|
|
57
|
+
export type Fetch = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
58
|
+
/**
|
|
59
|
+
* Capped exponential backoff timing with jitter.
|
|
60
|
+
*
|
|
61
|
+
* The timing follows the equation:
|
|
62
|
+
* `distribution() * min(interval * pow(exponentBase, failureCount), max)`
|
|
63
|
+
*/
|
|
64
|
+
export interface BackoffOptions {
|
|
65
|
+
/**
|
|
66
|
+
* The maximum time to wait between tries, in seconds, regardless of how many consecutive
|
|
67
|
+
* failures.
|
|
68
|
+
*/
|
|
69
|
+
readonly maxTime: number;
|
|
70
|
+
/**
|
|
71
|
+
* The interval in seconds, multiplied by `pow(exponentBase, failureCount)`.
|
|
72
|
+
*/
|
|
73
|
+
readonly interval: number;
|
|
74
|
+
/**
|
|
75
|
+
* pow(exponentBase, failureCount)
|
|
76
|
+
*/
|
|
77
|
+
readonly exponentBase: number;
|
|
78
|
+
/**
|
|
79
|
+
* The distribution function to randomize request retry timing.
|
|
80
|
+
* This is to prevent all users from making retries at the same time.
|
|
81
|
+
*/
|
|
82
|
+
readonly distribution: () => number;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=Requester.d.ts.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { EventHostImpl } from '../event/EventHost';
|
|
2
|
+
import type { NetworkMetricsController } from './metrics/NetworkMetricsController';
|
|
3
|
+
import type { BackoffOptions, Fetch, Requester, RequestInitOptions, RequestOptions } from './Requester';
|
|
4
|
+
import type { RequesterImplEventMap } from './RequesterImplEventMap';
|
|
5
|
+
import type { Maybe, PartialDeep } from '../util/type';
|
|
6
|
+
/**
|
|
7
|
+
* Request impl options configuring retry and timeout behavior.
|
|
8
|
+
*/
|
|
9
|
+
export interface RequesterImplOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Retry configuration.
|
|
12
|
+
*/
|
|
13
|
+
readonly retryOptions: RetryOptions;
|
|
14
|
+
/**
|
|
15
|
+
* The timeout (in seconds) before the request is aborted.
|
|
16
|
+
*/
|
|
17
|
+
readonly timeout: number;
|
|
18
|
+
}
|
|
19
|
+
export interface RetryOptions {
|
|
20
|
+
/**
|
|
21
|
+
* The maximum number of retries for a single request.
|
|
22
|
+
* Default: 1
|
|
23
|
+
* For requests with side effects, this should be set to 0.
|
|
24
|
+
*
|
|
25
|
+
* "Various studies have collected data which shows that one max retry is sufficient to
|
|
26
|
+
* achieve 99.999% success. The idea is that a truly transient failure should succeed on
|
|
27
|
+
* the first retry. And if the retry fails then it is likely more than a transient failure
|
|
28
|
+
* and additional retries are exhausting resources in the system for no benefit."
|
|
29
|
+
*/
|
|
30
|
+
readonly retries: number;
|
|
31
|
+
/**
|
|
32
|
+
* The number of consecutive failures before retries are no longer attempted, only tries.
|
|
33
|
+
*/
|
|
34
|
+
readonly retryFailureCutoff: number;
|
|
35
|
+
/**
|
|
36
|
+
* Retry backoff timing.
|
|
37
|
+
*/
|
|
38
|
+
readonly retryBackoff: BackoffOptions;
|
|
39
|
+
/**
|
|
40
|
+
* First try backoff timing.
|
|
41
|
+
*/
|
|
42
|
+
readonly tryBackoff: BackoffOptions;
|
|
43
|
+
/**
|
|
44
|
+
* If there is a retry-after header, add the returned amount of time (in seconds) to prevent
|
|
45
|
+
* clustered retry behavior.
|
|
46
|
+
*/
|
|
47
|
+
readonly retryAfterJitter: () => number;
|
|
48
|
+
/**
|
|
49
|
+
* Given the network status code, returns true if the fetch should retry.
|
|
50
|
+
*/
|
|
51
|
+
readonly shouldRetry: (status: number) => boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The minimum amount of time to leave for network calls. If the `max try time -
|
|
55
|
+
* timeout` is less than this value, an IllegalArgumentError will be thrown.
|
|
56
|
+
*/
|
|
57
|
+
export declare const MIN_SERVICE_TIME = 10;
|
|
58
|
+
/**
|
|
59
|
+
* Distribute requests across the last 50% of the exponential back-off time
|
|
60
|
+
*/
|
|
61
|
+
export declare function defaultBackoffDistribution(): number;
|
|
62
|
+
/**
|
|
63
|
+
* Calculates the timer delay according to an exponential back off strategy.
|
|
64
|
+
*
|
|
65
|
+
* @param failedCount The number of times the service has consecutively failed.
|
|
66
|
+
* @param options Retry timing options (default values from:
|
|
67
|
+
* `defaultRetryOptions`)
|
|
68
|
+
*
|
|
69
|
+
* @returns The delay to retry a network request in seconds. This will be clamped
|
|
70
|
+
* between 1 and `options.maxRetryTime`.
|
|
71
|
+
*/
|
|
72
|
+
export declare function getBackoffTime(failedCount: number, options: BackoffOptions): number;
|
|
73
|
+
/**
|
|
74
|
+
* Dependencies for {@link RequesterImpl}
|
|
75
|
+
*/
|
|
76
|
+
export interface RequesterImplDeps {
|
|
77
|
+
readonly fetch: Fetch;
|
|
78
|
+
readonly networkMetricsController: NetworkMetricsController;
|
|
79
|
+
}
|
|
80
|
+
export declare const RetryStrategy: {
|
|
81
|
+
readonly NO_RETRIES: RetryOptions;
|
|
82
|
+
readonly ONE_RETRY: RetryOptions;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* A quality of service wrapper to `global.fetch`.
|
|
86
|
+
* Handles retries, network status, and emits events that may be used in reporting or metrics.
|
|
87
|
+
*/
|
|
88
|
+
export declare class RequesterImpl extends EventHostImpl<RequesterImplEventMap> implements Requester {
|
|
89
|
+
protected readonly deps: RequesterImplDeps;
|
|
90
|
+
get [Symbol.toStringTag](): string;
|
|
91
|
+
/**
|
|
92
|
+
* Default values for fetch options.
|
|
93
|
+
*/
|
|
94
|
+
private _options;
|
|
95
|
+
constructor(deps: RequesterImplDeps);
|
|
96
|
+
get options(): RequesterImplOptions;
|
|
97
|
+
/**
|
|
98
|
+
* Applies the given partial configuration.
|
|
99
|
+
*
|
|
100
|
+
* @param newOptions
|
|
101
|
+
*/
|
|
102
|
+
configure(newOptions: PartialDeep<RequesterImplOptions>): void;
|
|
103
|
+
request(input: RequestInfo | Readonly<URL>, init?: Maybe<RequestInitOptions>, requestOptions?: Maybe<RequestOptions>): Promise<Response>;
|
|
104
|
+
/**
|
|
105
|
+
* Executes a single fetch.
|
|
106
|
+
* If the request is aborted via `requestInfo.init.signal` the promise will be rejected with
|
|
107
|
+
* the abort reason.
|
|
108
|
+
*
|
|
109
|
+
* @throws RequestError
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
private doRequest;
|
|
113
|
+
private reportMetricsEntry;
|
|
114
|
+
}
|
|
115
|
+
export declare const nativeFetchRef: import("../global/globalRegistry").GlobalRef<Fetch>;
|
|
116
|
+
//# sourceMappingURL=RequesterImpl.d.ts.map
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import type { Timestamp } from '../util/date/date';
|
|
2
|
+
import type { ErrorBodyType } from '../network/Requester';
|
|
3
|
+
/**
|
|
4
|
+
* Events {@link RequesterImpl} emits.
|
|
5
|
+
*/
|
|
6
|
+
export interface RequesterImplEventMap {
|
|
7
|
+
/**
|
|
8
|
+
* A request has been requested.
|
|
9
|
+
* This is emitted immediately when {@link Requester.request} is called.
|
|
10
|
+
*/
|
|
11
|
+
readonly request: RequestEvent;
|
|
12
|
+
/**
|
|
13
|
+
* A request attempt has begun. For implementations with retry behavior, this is expected to be
|
|
14
|
+
* emitted for each try.
|
|
15
|
+
*/
|
|
16
|
+
readonly requestAttemptStart: RequestAttemptStartEvent;
|
|
17
|
+
/**
|
|
18
|
+
* A request attempt has completed.
|
|
19
|
+
*/
|
|
20
|
+
readonly requestAttemptComplete: RequestCompletedEvent;
|
|
21
|
+
/**
|
|
22
|
+
* The request promise is about to settle.
|
|
23
|
+
*/
|
|
24
|
+
readonly requestComplete: RequestCompletedEvent;
|
|
25
|
+
}
|
|
26
|
+
export interface RequestEvent {
|
|
27
|
+
/**
|
|
28
|
+
* Information about the request.
|
|
29
|
+
*/
|
|
30
|
+
readonly requestInfo: FetchRequestInfo;
|
|
31
|
+
}
|
|
32
|
+
export interface RequestAttemptStartEvent {
|
|
33
|
+
/**
|
|
34
|
+
* Information about the request.
|
|
35
|
+
*/
|
|
36
|
+
readonly requestInfo: FetchRequestInfo;
|
|
37
|
+
/**
|
|
38
|
+
* Information about the current attempt.
|
|
39
|
+
*/
|
|
40
|
+
readonly attemptInfo: RequestAttemptInfo;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* When a request has been made, information about the request is gathered for logging.
|
|
44
|
+
*/
|
|
45
|
+
export interface FetchRequestInfo {
|
|
46
|
+
/**
|
|
47
|
+
* The identifier for the request. The request id for the `requesting` event will match its
|
|
48
|
+
* corresponding `requestComplete` event.
|
|
49
|
+
*/
|
|
50
|
+
readonly requestId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The input parameter passed to `request`.
|
|
53
|
+
*/
|
|
54
|
+
readonly input: RequestInfo | URL;
|
|
55
|
+
/**
|
|
56
|
+
* The init parameter passed to `request`.
|
|
57
|
+
*/
|
|
58
|
+
readonly init: RequestInit;
|
|
59
|
+
/**
|
|
60
|
+
* The maximum number of retries.
|
|
61
|
+
*/
|
|
62
|
+
readonly maxRetries: number;
|
|
63
|
+
/**
|
|
64
|
+
* Options the request is using.
|
|
65
|
+
*/
|
|
66
|
+
readonly requestOptions: {
|
|
67
|
+
/**
|
|
68
|
+
* The resolved service id.
|
|
69
|
+
*/
|
|
70
|
+
readonly serviceId: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Determines how error responses are read and reported.
|
|
73
|
+
*/
|
|
74
|
+
readonly readErrorBody: ErrorBodyType;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The timestamp the request was originally requested.
|
|
78
|
+
*/
|
|
79
|
+
readonly timestamp: Timestamp;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Information about the current try.
|
|
83
|
+
*/
|
|
84
|
+
export interface RequestAttemptInfo {
|
|
85
|
+
/**
|
|
86
|
+
* The current try (1 = first).
|
|
87
|
+
*/
|
|
88
|
+
readonly currentTry: number;
|
|
89
|
+
/**
|
|
90
|
+
* The timestamp the actual request attempt began. This will be after awaiting network
|
|
91
|
+
* availability.
|
|
92
|
+
*/
|
|
93
|
+
readonly timestamp: Timestamp;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Information about a request completion, either from a successful response or a failure.
|
|
97
|
+
*/
|
|
98
|
+
export type RequestCompletedEvent = RequestSuccessEvent | RequestErrorEvent;
|
|
99
|
+
export interface RequestCompletedEventBase {
|
|
100
|
+
/**
|
|
101
|
+
* True if the request was successful.
|
|
102
|
+
*/
|
|
103
|
+
readonly ok: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* The local timestamp of the request result or error.
|
|
106
|
+
*/
|
|
107
|
+
readonly timestamp: Timestamp;
|
|
108
|
+
/**
|
|
109
|
+
* Information about the request.
|
|
110
|
+
*/
|
|
111
|
+
readonly requestInfo: FetchRequestInfo;
|
|
112
|
+
}
|
|
113
|
+
export interface RequestSuccessEvent extends RequestCompletedEventBase {
|
|
114
|
+
/**
|
|
115
|
+
* The response was successful.
|
|
116
|
+
*/
|
|
117
|
+
readonly ok: true;
|
|
118
|
+
/**
|
|
119
|
+
* The serializable and loggable response.
|
|
120
|
+
*/
|
|
121
|
+
readonly responseInfo: ResponseInfo;
|
|
122
|
+
/**
|
|
123
|
+
* Information about the current attempt.
|
|
124
|
+
*/
|
|
125
|
+
readonly attemptInfo: RequestAttemptInfo;
|
|
126
|
+
}
|
|
127
|
+
export declare enum RequestFailureType {
|
|
128
|
+
/**
|
|
129
|
+
* The request has been aborted.
|
|
130
|
+
*/
|
|
131
|
+
ABORT = "abort",
|
|
132
|
+
/**
|
|
133
|
+
* The request failed due to a caught internal error.
|
|
134
|
+
*/
|
|
135
|
+
INTERNAL = "internal",
|
|
136
|
+
/**
|
|
137
|
+
* The request failed with a caught error.
|
|
138
|
+
*/
|
|
139
|
+
NETWORK = "network",
|
|
140
|
+
/**
|
|
141
|
+
* An `!ok` response was received.
|
|
142
|
+
*/
|
|
143
|
+
RESPONSE = "response"
|
|
144
|
+
}
|
|
145
|
+
export type RequestErrorEvent = RequestCaughtErrorEvent | RequestNetworkErrorEvent | RequestResponseErrorEvent;
|
|
146
|
+
export interface RequestErrorEventBase extends RequestCompletedEventBase {
|
|
147
|
+
/**
|
|
148
|
+
* The request failed.
|
|
149
|
+
*/
|
|
150
|
+
readonly ok: false;
|
|
151
|
+
/**
|
|
152
|
+
* The failure type.
|
|
153
|
+
*/
|
|
154
|
+
readonly type: RequestFailureType;
|
|
155
|
+
/**
|
|
156
|
+
* If false, the request will not be retried, even if there are more tries remaining.
|
|
157
|
+
*
|
|
158
|
+
* This will be false if the error is an internal error, retries have been exhausted or the
|
|
159
|
+
* response did not pass the `shouldRetry` filter.
|
|
160
|
+
*/
|
|
161
|
+
readonly willRetry: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* The timestamp of the next try.
|
|
164
|
+
* If `willRetry` is true, the request will try again at this timestamp.
|
|
165
|
+
*/
|
|
166
|
+
readonly retryAfter: Timestamp | null;
|
|
167
|
+
/**
|
|
168
|
+
* The caught or rejected reason.
|
|
169
|
+
*/
|
|
170
|
+
readonly reason: any;
|
|
171
|
+
}
|
|
172
|
+
export interface RequestCaughtErrorEvent extends RequestErrorEventBase {
|
|
173
|
+
readonly type: RequestFailureType.INTERNAL | RequestFailureType.ABORT;
|
|
174
|
+
/**
|
|
175
|
+
* Caught errors will not be retried.
|
|
176
|
+
*/
|
|
177
|
+
readonly willRetry: false;
|
|
178
|
+
}
|
|
179
|
+
export interface RequestNetworkErrorEvent extends RequestErrorEventBase {
|
|
180
|
+
readonly type: RequestFailureType.NETWORK;
|
|
181
|
+
/**
|
|
182
|
+
* Information about the current attempt.
|
|
183
|
+
*/
|
|
184
|
+
readonly attemptInfo: RequestAttemptInfo;
|
|
185
|
+
}
|
|
186
|
+
export interface RequestResponseErrorEvent extends RequestErrorEventBase {
|
|
187
|
+
readonly type: RequestFailureType.RESPONSE;
|
|
188
|
+
/**
|
|
189
|
+
* The serializable and loggable response.
|
|
190
|
+
*/
|
|
191
|
+
readonly responseInfo: ResponseInfo;
|
|
192
|
+
/**
|
|
193
|
+
* Information about the current attempt.
|
|
194
|
+
*/
|
|
195
|
+
readonly attemptInfo: RequestAttemptInfo;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Serializable response metadata, excluding the body.
|
|
199
|
+
*/
|
|
200
|
+
export interface ResponseInfo {
|
|
201
|
+
/**
|
|
202
|
+
* True if status is in the 200–299 range.
|
|
203
|
+
*/
|
|
204
|
+
readonly ok: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* True if the response resulted from a redirect.
|
|
207
|
+
*/
|
|
208
|
+
readonly redirected: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* HTTP status code (e.g. 200).
|
|
211
|
+
*/
|
|
212
|
+
readonly status: number;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP status text (e.g. "OK").
|
|
215
|
+
*/
|
|
216
|
+
readonly statusText: string;
|
|
217
|
+
/**
|
|
218
|
+
* Type of response (e.g. "basic", "cors").
|
|
219
|
+
*/
|
|
220
|
+
readonly type: ResponseType;
|
|
221
|
+
/**
|
|
222
|
+
* Final resolved URL of the response.
|
|
223
|
+
*/
|
|
224
|
+
readonly url: string;
|
|
225
|
+
/**
|
|
226
|
+
* Size of the response body in bytes, or null if unknown.
|
|
227
|
+
*/
|
|
228
|
+
readonly contentLength: number | null;
|
|
229
|
+
}
|
|
230
|
+
//# sourceMappingURL=RequesterImplEventMap.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface NetworkInformationEventMap {
|
|
2
|
+
readonly change: Event;
|
|
3
|
+
}
|
|
4
|
+
export type NetworkInformationEffectiveType = 'slow-2g' | '2g' | '3g' | '4g';
|
|
5
|
+
export type NetworkInformationType = 'bluetooth' | 'cellular' | 'ethernet' | 'none' | 'wifi' | 'wimax' | 'other' | 'unknown';
|
|
6
|
+
/**
|
|
7
|
+
* Provides information about the system’s current network connection,
|
|
8
|
+
* such as estimated bandwidth, round-trip time, and connection type.
|
|
9
|
+
* Also exposes events for monitoring changes to the network state.
|
|
10
|
+
*
|
|
11
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation
|
|
12
|
+
*/
|
|
13
|
+
export interface NetworkInformation extends EventTarget {
|
|
14
|
+
/**
|
|
15
|
+
* Approximate downlink speed in megabits per second.
|
|
16
|
+
* Rounded to the nearest 25 kbps, based on recent throughput
|
|
17
|
+
* over active connections. May be undefined if no estimate is available.
|
|
18
|
+
*/
|
|
19
|
+
readonly downlink: number | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* A string describing the general quality of the connection
|
|
22
|
+
* (for example, "4g", "3g"). Determined from both downlink
|
|
23
|
+
* and latency estimates.
|
|
24
|
+
*/
|
|
25
|
+
readonly effectiveType: NetworkInformationEffectiveType;
|
|
26
|
+
/**
|
|
27
|
+
* Estimated round-trip latency of the current connection in milliseconds,
|
|
28
|
+
* rounded to the nearest multiple of 25 ms.
|
|
29
|
+
*/
|
|
30
|
+
readonly rtt: number;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates whether the user has requested reduced data usage
|
|
33
|
+
* in the user agent’s settings.
|
|
34
|
+
*/
|
|
35
|
+
readonly saveData: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Type of underlying network connection in use
|
|
38
|
+
* (for example, "wifi", "cellular"). May be omitted if unknown.
|
|
39
|
+
*/
|
|
40
|
+
readonly type?: NetworkInformationType;
|
|
41
|
+
addEventListener<K extends keyof NetworkInformationEventMap>(type: K, listener: (this: NetworkInformation, ev: NetworkInformationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
+
removeEventListener<K extends keyof NetworkInformationEventMap>(type: K, listener: (this: NetworkInformation, ev: NetworkInformationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns the browser's NetworkInformation interface, if it's defined.
|
|
46
|
+
*/
|
|
47
|
+
export declare function getNetworkInformation(): NetworkInformation | undefined;
|
|
48
|
+
//# sourceMappingURL=NetworkInformation.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Requester } from './Requester';
|
|
2
|
+
import type { RequesterImplDeps, RequesterImplOptions } from './RequesterImpl';
|
|
3
|
+
import type { Maybe, PartialDeep } from '../util/type';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a default Requester implementation with optional configuration or dependency overrides.
|
|
6
|
+
* The new Requester is watched for global logging and network metrics.
|
|
7
|
+
*
|
|
8
|
+
* @param options
|
|
9
|
+
* @param deps
|
|
10
|
+
*/
|
|
11
|
+
export declare function createRequester(options?: Maybe<PartialDeep<RequesterImplOptions>>, deps?: Partial<RequesterImplDeps>): Requester;
|
|
12
|
+
//# sourceMappingURL=createRequester.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
import type { ReadonlyEventHost } from '../../event/EventHost';
|
|
3
|
+
import type { RequesterImplEventMap } from '../../network/RequesterImplEventMap';
|
|
4
|
+
import type { LogTarget } from '../../logging/LogTarget';
|
|
5
|
+
/**
|
|
6
|
+
* Logs all network events.
|
|
7
|
+
*
|
|
8
|
+
* @param requester The event host with request events to observe.
|
|
9
|
+
* @return Returns a disposable handle to remove all added handlers.
|
|
10
|
+
*/
|
|
11
|
+
export declare function networkLoggingHandler(requester: ReadonlyEventHost<RequesterImplEventMap>): Disposable & {
|
|
12
|
+
readonly target: LogTarget;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=networkLoggingHandler.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ReadonlyEventHost } from '../../event/EventHost';
|
|
2
|
+
import type { AnyRecord, Maybe } from '../../util/type';
|
|
3
|
+
import type { NetworkMetrics, NetworkMetricsEntry, NetworkTransferEntry, ServiceMetrics } from './networkMetricsModel';
|
|
4
|
+
export interface NetworkMetricsEventMap {
|
|
5
|
+
/**
|
|
6
|
+
* The network metrics state has changed.
|
|
7
|
+
*/
|
|
8
|
+
readonly metricsChange: AnyRecord;
|
|
9
|
+
}
|
|
10
|
+
export interface ReadonlyNetworkMetricsController extends ReadonlyEventHost<NetworkMetricsEventMap> {
|
|
11
|
+
/**
|
|
12
|
+
* The current metrics state.
|
|
13
|
+
* The returned object is static at the time of request.
|
|
14
|
+
*/
|
|
15
|
+
readonly metrics: NetworkMetrics;
|
|
16
|
+
/**
|
|
17
|
+
* Returns metrics for the given service id.
|
|
18
|
+
* If the service id is nullish, or there is no history for the given service, empty service
|
|
19
|
+
* metrics will be returned.
|
|
20
|
+
*
|
|
21
|
+
* The returned object is static at the time of request.
|
|
22
|
+
*
|
|
23
|
+
* @param serviceId
|
|
24
|
+
*/
|
|
25
|
+
getServiceMetrics(serviceId: Maybe<string>): ServiceMetrics;
|
|
26
|
+
}
|
|
27
|
+
export interface NetworkMetricsController extends ReadonlyNetworkMetricsController {
|
|
28
|
+
/**
|
|
29
|
+
* Adds information about a completed settled request.
|
|
30
|
+
* Note: This does not update estimated bandwidth.
|
|
31
|
+
* @param entry
|
|
32
|
+
*/
|
|
33
|
+
addMetricsEntry(entry: NetworkMetricsEntry): void;
|
|
34
|
+
/**
|
|
35
|
+
* Adds information about a completed downlink content transfer.
|
|
36
|
+
*
|
|
37
|
+
* @param entry
|
|
38
|
+
*/
|
|
39
|
+
addDownlinkTransferEntry(entry: NetworkTransferEntry): void;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=NetworkMetricsController.d.ts.map
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { EventHostImpl } from '../../event/EventHost';
|
|
2
|
+
import type { NetworkInformation } from '../../network/browser/NetworkInformation';
|
|
3
|
+
import type { NetworkMetricsController, NetworkMetricsEventMap } from './NetworkMetricsController';
|
|
4
|
+
import type { NetworkMetrics, NetworkMetricsEntry, NetworkTransferEntry, ServiceMetrics } from './networkMetricsModel';
|
|
5
|
+
import type { ReadonlyDeep } from '../../util/object/readonlyType';
|
|
6
|
+
import type { Maybe } from '../../util/type';
|
|
7
|
+
import type { Timestamp } from '../../util/date/date';
|
|
8
|
+
export interface NetworkMetricsControllerImplOptions {
|
|
9
|
+
/**
|
|
10
|
+
* The smoothing factor for EWMA (Exponential Moving Weighted Average), used in
|
|
11
|
+
* bandwidth and response time moving averages.
|
|
12
|
+
*
|
|
13
|
+
* The purpose is to give more weight to recent events than old events, while keeping
|
|
14
|
+
* calculations simple and avoiding the need to keep histories as a rolling average would.
|
|
15
|
+
*
|
|
16
|
+
* This value should be between 0 and 1.
|
|
17
|
+
* The closer to 1 this value is, the more weight new values have.
|
|
18
|
+
* A value of 0.2 for example would mean that after 10 updates, the current average after
|
|
19
|
+
* ten new data points would influence the new average by (1-0.2)^10 ≈ 10% and the latest
|
|
20
|
+
* update would influence the average by 20%.
|
|
21
|
+
*/
|
|
22
|
+
readonly ewmaSmoothing: number;
|
|
23
|
+
/**
|
|
24
|
+
* For biased values such as ewmaHigh/ewmaLow, when the value is in the direction of the
|
|
25
|
+
* bias, this smoothing will be used.
|
|
26
|
+
* This should be a value between 0 and 1 and be more than bias negative smoothing.
|
|
27
|
+
*/
|
|
28
|
+
readonly ewmaBiasPositiveSmoothing: number;
|
|
29
|
+
/**
|
|
30
|
+
* For biased values such as ewmaHigh/ewmaLow, when the value is not in the direction of the
|
|
31
|
+
* bias, this smoothing will be used.
|
|
32
|
+
* This should be a value between 0 and 1 and be less than bias positive smoothing.
|
|
33
|
+
*/
|
|
34
|
+
readonly ewmaBiasNegativeSmoothing: number;
|
|
35
|
+
/**
|
|
36
|
+
* When the user's bandwidth cannot be determined due to lack of NetworkInformation support
|
|
37
|
+
* and no reported downlink history, then this value will be used.
|
|
38
|
+
* This should be in bits per second.
|
|
39
|
+
*/
|
|
40
|
+
readonly unknownDownlinkBandwidthEstimate: number;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum bandwidth in bps we will attribute to any single measurement.
|
|
43
|
+
* Transfers measured above this are clamped; zero-duration transfers are
|
|
44
|
+
* treated as this speed rather than discarded.
|
|
45
|
+
* Default: 30_000_000
|
|
46
|
+
*/
|
|
47
|
+
readonly maxMeasuredBandwidthBps: number;
|
|
48
|
+
/**
|
|
49
|
+
* Time window (in seconds) for amortizing network transfer entries in bandwidth estimation.
|
|
50
|
+
*
|
|
51
|
+
* This window enables accurate bandwidth calculation across multiple concurrent streams
|
|
52
|
+
* (audio, video, etc.) by aggregating transfer data over time.
|
|
53
|
+
*
|
|
54
|
+
* - Too low: Streams won't be properly combined, leading to inaccurate estimates
|
|
55
|
+
* - Too high: Bandwidth estimation becomes slow to adapt to network changes
|
|
56
|
+
*
|
|
57
|
+
* @default 4
|
|
58
|
+
*/
|
|
59
|
+
readonly bandwidthEstimationWindow: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Default configuration for NetworkMetricsControllerImpl
|
|
63
|
+
*/
|
|
64
|
+
export declare const defaultNetworkMetricsControllerImplOptions: {
|
|
65
|
+
readonly ewmaSmoothing: 0.2;
|
|
66
|
+
readonly ewmaBiasNegativeSmoothing: 0.1;
|
|
67
|
+
readonly ewmaBiasPositiveSmoothing: 0.5;
|
|
68
|
+
readonly unknownDownlinkBandwidthEstimate: 2200000;
|
|
69
|
+
readonly maxMeasuredBandwidthBps: 30000000;
|
|
70
|
+
readonly bandwidthEstimationWindow: 4;
|
|
71
|
+
};
|
|
72
|
+
export interface NetworkMetricsControllerImplDependencies {
|
|
73
|
+
readonly networkInformation?: Maybe<NetworkInformation>;
|
|
74
|
+
}
|
|
75
|
+
export declare class NetworkMetricsControllerImpl extends EventHostImpl<NetworkMetricsEventMap> implements NetworkMetricsController {
|
|
76
|
+
private readonly deps;
|
|
77
|
+
private _metrics;
|
|
78
|
+
/**
|
|
79
|
+
* A clone of _metrics, copied on read after a change.
|
|
80
|
+
* @private
|
|
81
|
+
*/
|
|
82
|
+
private _metricsSnapshot;
|
|
83
|
+
private hasChanged;
|
|
84
|
+
private readonly options;
|
|
85
|
+
private readonly transferEntries;
|
|
86
|
+
private readonly refreshEstimatedBandwidthThrottled;
|
|
87
|
+
private readonly disposer;
|
|
88
|
+
constructor(deps: NetworkMetricsControllerImplDependencies, options?: Partial<NetworkMetricsControllerImplOptions>);
|
|
89
|
+
get [Symbol.toStringTag](): string;
|
|
90
|
+
get metrics(): NetworkMetrics;
|
|
91
|
+
getServiceMetrics(serviceId: Maybe<string>): ReadonlyDeep<ServiceMetrics>;
|
|
92
|
+
addMetricsEntry(entry: NetworkMetricsEntry): void;
|
|
93
|
+
private readonly refreshEstimatedBandwidth;
|
|
94
|
+
addDownlinkTransferEntry(entry: NetworkTransferEntry): void;
|
|
95
|
+
private onDownloadSpeedChange;
|
|
96
|
+
private notifyMetricsChange;
|
|
97
|
+
dispose(): void;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Estimates the timestamp when the first response byte was received for a network transfer.
|
|
101
|
+
*
|
|
102
|
+
* When the browser's Resource Timing API provides `responseStart`, that value is used directly.
|
|
103
|
+
* Otherwise, a logistic model estimates the latency fraction (the proportion of total
|
|
104
|
+
* request time spent waiting for the first byte) from the transfer size and total duration.
|
|
105
|
+
*
|
|
106
|
+
* The model uses a sigmoid function parameterized on a feature combining `log(bytes)` and
|
|
107
|
+
* `log(totalTime)`. Larger transfers relative to their duration are assumed to have a smaller
|
|
108
|
+
* latency fraction (most time is spent downloading), while small or slow transfers are assumed
|
|
109
|
+
* to be latency-dominated.
|
|
110
|
+
*
|
|
111
|
+
* `responseEnd` represents when the fetch promise settled (approximately when HTTP headers
|
|
112
|
+
* arrived). This provides an upper bound on when the first byte was received — the actual
|
|
113
|
+
* responseStart is at or before this point.
|
|
114
|
+
*
|
|
115
|
+
* @param entry - A completed network transfer entry with timing information.
|
|
116
|
+
* @returns The estimated timestamp (ms since epoch) when the first response byte arrived.
|
|
117
|
+
*/
|
|
118
|
+
export declare function estimateResponseStart(entry: NetworkTransferEntry): Timestamp;
|
|
119
|
+
//# sourceMappingURL=NetworkMetricsControllerImpl.d.ts.map
|