@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,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { IllegalArgumentError } from '../../error/IllegalArgumentError';
|
|
6
|
+
/**
|
|
7
|
+
* Returns an array of numbers between start and end, incrementing by step.
|
|
8
|
+
*
|
|
9
|
+
* E.g.
|
|
10
|
+
* ```
|
|
11
|
+
* range(1, 10) // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
|
12
|
+
* range(5, 2) // [5, 4, 3, 2]
|
|
13
|
+
* range(5, 4, -0.2) // [5.0, 4.8, 4.6, 4.4, 4.2, 4.0]
|
|
14
|
+
* ```
|
|
15
|
+
* @param start Start position (inclusive)
|
|
16
|
+
* @param endInclusive End position (inclusive)
|
|
17
|
+
* @param step The amount to increment.
|
|
18
|
+
*/
|
|
19
|
+
export function createRangeIter(start, endInclusive, step = 1) {
|
|
20
|
+
const positive = endInclusive >= start;
|
|
21
|
+
if ((endInclusive > start && step <= 0) ||
|
|
22
|
+
(endInclusive < start && step >= 0)) {
|
|
23
|
+
throw new IllegalArgumentError('Iterator will never complete.');
|
|
24
|
+
}
|
|
25
|
+
let i = start;
|
|
26
|
+
return {
|
|
27
|
+
[Symbol.iterator]() {
|
|
28
|
+
return this;
|
|
29
|
+
},
|
|
30
|
+
next: () => {
|
|
31
|
+
const result = {
|
|
32
|
+
value: i,
|
|
33
|
+
done: positive ? i > endInclusive : i < endInclusive,
|
|
34
|
+
};
|
|
35
|
+
i += step;
|
|
36
|
+
return result;
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Maps an iterable object using the given transform.
|
|
42
|
+
* Unlike `Array#map`, this doesn't create a new Array in memory, the transform is done on
|
|
43
|
+
* iteration.
|
|
44
|
+
*
|
|
45
|
+
* @param iterable
|
|
46
|
+
* @param transform Transforms each element as it's requested.
|
|
47
|
+
*/
|
|
48
|
+
export function mapIter(iterable, transform) {
|
|
49
|
+
const it = iterable[Symbol.iterator]();
|
|
50
|
+
return {
|
|
51
|
+
[Symbol.iterator]() {
|
|
52
|
+
return mapIter(iterable, transform);
|
|
53
|
+
},
|
|
54
|
+
next: () => {
|
|
55
|
+
const result = it.next();
|
|
56
|
+
if (result.done)
|
|
57
|
+
return result;
|
|
58
|
+
return {
|
|
59
|
+
value: transform(result.value),
|
|
60
|
+
done: false,
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Filters an iterable object using the given predicate.
|
|
67
|
+
* Unlike `Array#filter`, this doesn't create a new Array in memory, the filter is done on
|
|
68
|
+
* iteration.
|
|
69
|
+
*
|
|
70
|
+
* @param iterable
|
|
71
|
+
* @param predicate Returns true if the element should be included in the new iteration.
|
|
72
|
+
*/
|
|
73
|
+
export function filterIter(iterable, predicate) {
|
|
74
|
+
const it = iterable[Symbol.iterator]();
|
|
75
|
+
return {
|
|
76
|
+
[Symbol.iterator]() {
|
|
77
|
+
return filterIter(iterable, predicate);
|
|
78
|
+
},
|
|
79
|
+
next: () => {
|
|
80
|
+
while (true) {
|
|
81
|
+
const next = it.next();
|
|
82
|
+
if (next.done) {
|
|
83
|
+
return {
|
|
84
|
+
value: undefined,
|
|
85
|
+
done: true,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
else if (predicate(next.value)) {
|
|
89
|
+
return {
|
|
90
|
+
value: next.value,
|
|
91
|
+
done: false,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the value on map for the given key if it exists, otherwise sets [key] to `defaultValue`,
|
|
3
|
+
* returning the newly set value.
|
|
4
|
+
*
|
|
5
|
+
* @param map
|
|
6
|
+
* @param key
|
|
7
|
+
* @param defaultValue
|
|
8
|
+
*/
|
|
9
|
+
export declare function getOrSet<K, V>(map: Map<K, V>, key: K, defaultValue: (key: K) => V): V;
|
|
10
|
+
/**
|
|
11
|
+
* Flips a map so that the keys become the values and the values become the keys.
|
|
12
|
+
*
|
|
13
|
+
* @param map
|
|
14
|
+
* @return Returns a new map.
|
|
15
|
+
*/
|
|
16
|
+
export declare function flipMap<K, V>(map: ReadonlyMap<K, V>): Map<V, K>;
|
|
17
|
+
//# sourceMappingURL=map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../src/util/map/map.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EACzB,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EACd,GAAG,EAAE,CAAC,EACN,YAAY,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,GAC5B,CAAC,CAQH;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAM/D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Gets the value on map for the given key if it exists, otherwise sets [key] to `defaultValue`,
|
|
7
|
+
* returning the newly set value.
|
|
8
|
+
*
|
|
9
|
+
* @param map
|
|
10
|
+
* @param key
|
|
11
|
+
* @param defaultValue
|
|
12
|
+
*/
|
|
13
|
+
export function getOrSet(map, key, defaultValue) {
|
|
14
|
+
if (map.has(key)) {
|
|
15
|
+
return map.get(key);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
const value = defaultValue(key);
|
|
19
|
+
map.set(key, value);
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Flips a map so that the keys become the values and the values become the keys.
|
|
25
|
+
*
|
|
26
|
+
* @param map
|
|
27
|
+
* @return Returns a new map.
|
|
28
|
+
*/
|
|
29
|
+
export function flipMap(map) {
|
|
30
|
+
const result = new Map();
|
|
31
|
+
for (const [key, value] of map) {
|
|
32
|
+
result.set(value, key);
|
|
33
|
+
}
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clamps the given value between `min` and `max`.
|
|
3
|
+
*
|
|
4
|
+
* @param value
|
|
5
|
+
* @param min The lower bounds.
|
|
6
|
+
* @param max The upper bounds. If this value is less than min, this value will always be returned.
|
|
7
|
+
*/
|
|
8
|
+
export declare function clamp(value: number, min: number, max: number): number;
|
|
9
|
+
/**
|
|
10
|
+
* Linearly interpolates between `from` and `to` given a percentage.
|
|
11
|
+
*
|
|
12
|
+
* @param from The alpha = 0.0 value
|
|
13
|
+
* @param to The alpha = 1.0 value
|
|
14
|
+
* @param alpha A percentage where 0 is `from`, and 1 is `to`. E.g. 0.5 would return halfway
|
|
15
|
+
* between `from` and `to`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function lerp(from: number, to: number, alpha: number): number;
|
|
18
|
+
/**
|
|
19
|
+
* Floors a value to the nearest snap interval.
|
|
20
|
+
*
|
|
21
|
+
* Examples:
|
|
22
|
+
*
|
|
23
|
+
* ```
|
|
24
|
+
* floorToNearest(3, 2) // 2
|
|
25
|
+
* floorToNearest(16, 5) // 15
|
|
26
|
+
* floorToNearest(16, 5, 2) // 17
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @param value The value to floor with the given snap interval and offset.
|
|
30
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
31
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
32
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
33
|
+
*/
|
|
34
|
+
export declare function floorToNearest(value: number, snap: number, offset?: number): number;
|
|
35
|
+
/**
|
|
36
|
+
* Ceilings a value to the nearest snap interval.
|
|
37
|
+
*
|
|
38
|
+
* Examples:
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
* ceilToNearest(3, 2) // 4
|
|
42
|
+
* ceilToNearest(16, 5) // 20
|
|
43
|
+
* ceilToNearest(10, 5) // 10
|
|
44
|
+
* ceilToNearest(16, 5, 2) // 22
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param value The value to ceil with the given snap interval and offset.
|
|
48
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
49
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
50
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
51
|
+
*/
|
|
52
|
+
export declare function ceilToNearest(value: number, snap: number, offset?: number): number;
|
|
53
|
+
/**
|
|
54
|
+
* Rounds a value to the nearest snap interval.
|
|
55
|
+
*
|
|
56
|
+
* Examples:
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
* roundToNearest(3, 2) // 4
|
|
60
|
+
* roundToNearest(16, 5) // 15
|
|
61
|
+
* roundToNearest(18, 5) // 20
|
|
62
|
+
* roundToNearest(16, 10, 2) // 22
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param value The value to round with the given snap interval and offset.
|
|
66
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
67
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
68
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
69
|
+
*/
|
|
70
|
+
export declare function roundToNearest(value: number, snap: number, offset?: number): number;
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if `x` is within `tolerance` of `y`.
|
|
73
|
+
*
|
|
74
|
+
* @param x
|
|
75
|
+
* @param y
|
|
76
|
+
* @param tolerance
|
|
77
|
+
*/
|
|
78
|
+
export declare function closeTo(x: number, y: number, tolerance?: number): boolean;
|
|
79
|
+
//# sourceMappingURL=math.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../../src/util/math/math.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC1B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,SAAI,GACX,MAAM,CAER;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,SAAI,GAAG,MAAM,CAE7E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC1B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,SAAI,GACX,MAAM,CAER;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACnB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,SAAS,GAAE,MAAuB,GACnC,OAAO,CAET"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Clamps the given value between `min` and `max`.
|
|
7
|
+
*
|
|
8
|
+
* @param value
|
|
9
|
+
* @param min The lower bounds.
|
|
10
|
+
* @param max The upper bounds. If this value is less than min, this value will always be returned.
|
|
11
|
+
*/
|
|
12
|
+
export function clamp(value, min, max) {
|
|
13
|
+
return Math.min(Math.max(value, min), max);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Linearly interpolates between `from` and `to` given a percentage.
|
|
17
|
+
*
|
|
18
|
+
* @param from The alpha = 0.0 value
|
|
19
|
+
* @param to The alpha = 1.0 value
|
|
20
|
+
* @param alpha A percentage where 0 is `from`, and 1 is `to`. E.g. 0.5 would return halfway
|
|
21
|
+
* between `from` and `to`.
|
|
22
|
+
*/
|
|
23
|
+
export function lerp(from, to, alpha) {
|
|
24
|
+
return from + (to - from) * alpha;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Floors a value to the nearest snap interval.
|
|
28
|
+
*
|
|
29
|
+
* Examples:
|
|
30
|
+
*
|
|
31
|
+
* ```
|
|
32
|
+
* floorToNearest(3, 2) // 2
|
|
33
|
+
* floorToNearest(16, 5) // 15
|
|
34
|
+
* floorToNearest(16, 5, 2) // 17
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param value The value to floor with the given snap interval and offset.
|
|
38
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
39
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
40
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
41
|
+
*/
|
|
42
|
+
export function floorToNearest(value, snap, offset = 0) {
|
|
43
|
+
return Math.floor((value - offset) / snap) * snap + offset;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Ceilings a value to the nearest snap interval.
|
|
47
|
+
*
|
|
48
|
+
* Examples:
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
* ceilToNearest(3, 2) // 4
|
|
52
|
+
* ceilToNearest(16, 5) // 20
|
|
53
|
+
* ceilToNearest(10, 5) // 10
|
|
54
|
+
* ceilToNearest(16, 5, 2) // 22
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param value The value to ceil with the given snap interval and offset.
|
|
58
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
59
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
60
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
61
|
+
*/
|
|
62
|
+
export function ceilToNearest(value, snap, offset = 0) {
|
|
63
|
+
return Math.ceil((value - offset) / snap) * snap + offset;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Rounds a value to the nearest snap interval.
|
|
67
|
+
*
|
|
68
|
+
* Examples:
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
* roundToNearest(3, 2) // 4
|
|
72
|
+
* roundToNearest(16, 5) // 15
|
|
73
|
+
* roundToNearest(18, 5) // 20
|
|
74
|
+
* roundToNearest(16, 10, 2) // 22
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param value The value to round with the given snap interval and offset.
|
|
78
|
+
* @param snap The interval between output values. Should be a finite, non-zero number.
|
|
79
|
+
* @param offset The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
|
|
80
|
+
* snapped to `-19, -9, 1, 11, 21, 31, 41, ...`
|
|
81
|
+
*/
|
|
82
|
+
export function roundToNearest(value, snap, offset = 0) {
|
|
83
|
+
return Math.round((value - offset) / snap) * snap + offset;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if `x` is within `tolerance` of `y`.
|
|
87
|
+
*
|
|
88
|
+
* @param x
|
|
89
|
+
* @param y
|
|
90
|
+
* @param tolerance
|
|
91
|
+
*/
|
|
92
|
+
export function closeTo(x, y, tolerance = Number.EPSILON) {
|
|
93
|
+
return Math.abs(x - y) <= tolerance;
|
|
94
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ISO_IEC_14496-12 Segment Index Box
|
|
3
|
+
* @module
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the base structure of a Segment Index ('sidx') Box.
|
|
7
|
+
* The 'sidx' box is used in MPEG-4 media files to provide indexing information for efficient data access and retrieval.
|
|
8
|
+
*/
|
|
9
|
+
export interface SidxBoxBase {
|
|
10
|
+
/**
|
|
11
|
+
* The version, 0 and 1 supported.
|
|
12
|
+
*/
|
|
13
|
+
readonly version: number;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the track.
|
|
16
|
+
*/
|
|
17
|
+
readonly referenceId: number;
|
|
18
|
+
/**
|
|
19
|
+
* The timescale for the media in this 'sidx' box. It is a 32-bit unsigned integer.
|
|
20
|
+
* This value represents the number of time units that pass in one second.
|
|
21
|
+
*/
|
|
22
|
+
readonly timescale: number;
|
|
23
|
+
/**
|
|
24
|
+
* An array of segment references. Each segment reference provides information about individual media segments.
|
|
25
|
+
*/
|
|
26
|
+
readonly references: readonly SidxSegmentReference[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Properties specific to version 0 of a Segment Index ('sidx') Box.
|
|
30
|
+
*/
|
|
31
|
+
export interface SidxBoxV0 extends SidxBoxBase {
|
|
32
|
+
readonly version: 0;
|
|
33
|
+
/**
|
|
34
|
+
* The earliest presentation time of any access unit in the media segments that are referenced by this 'sidx' box.
|
|
35
|
+
*/
|
|
36
|
+
readonly earliestPresentationTime: number;
|
|
37
|
+
/**
|
|
38
|
+
* The byte offset from the end of this 'sidx' box to the first media segment in this 'sidx'.
|
|
39
|
+
* For version 0, this is a 32-bit unsigned integer.
|
|
40
|
+
*/
|
|
41
|
+
readonly firstOffset: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Properties specific to version 1 of a Segment Index ('sidx') Box.
|
|
45
|
+
*/
|
|
46
|
+
export interface SidxBoxV1 extends SidxBoxBase {
|
|
47
|
+
readonly version: 1;
|
|
48
|
+
/**
|
|
49
|
+
* The earliest presentation time of any access unit in the media segments that are referenced by this 'sidx' box.
|
|
50
|
+
*/
|
|
51
|
+
readonly earliestPresentationTime: bigint;
|
|
52
|
+
/**
|
|
53
|
+
* The byte offset from the end of this 'sidx' box to the first media segment in this 'sidx'.
|
|
54
|
+
*/
|
|
55
|
+
readonly firstOffset: bigint;
|
|
56
|
+
}
|
|
57
|
+
export type SidxBox = SidxBoxV0 | SidxBoxV1;
|
|
58
|
+
/**
|
|
59
|
+
* A single segment reference within a sidx box.
|
|
60
|
+
*/
|
|
61
|
+
export interface SidxSegmentReference {
|
|
62
|
+
/**
|
|
63
|
+
* Indicates the reference type. A value of 0 means the reference is to a media segment. A value of 1 indicates
|
|
64
|
+
* the reference is to a hint track segment.
|
|
65
|
+
*/
|
|
66
|
+
readonly referenceType: number;
|
|
67
|
+
/**
|
|
68
|
+
* The size of the referenced segment in bytes.
|
|
69
|
+
*/
|
|
70
|
+
readonly referencedSize: number;
|
|
71
|
+
/**
|
|
72
|
+
* The duration of the subsegment. This is expressed in the timescale provided in the 'sidx' box.
|
|
73
|
+
*/
|
|
74
|
+
readonly subsegmentDuration: number;
|
|
75
|
+
/**
|
|
76
|
+
* Indicates if the segment starts with a SAP (Stream Access Point). If `true`, the segment starts with a SAP,
|
|
77
|
+
* facilitating random access and efficient streaming.
|
|
78
|
+
*/
|
|
79
|
+
readonly startsWithSap: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The SAP type indicates the type of stream access point that starts the segment. This is a 3-bit field. The
|
|
82
|
+
* SAP types are defined in ISO/IEC 14496-12, and they describe the characteristics of the stream access points.
|
|
83
|
+
*/
|
|
84
|
+
readonly sapType: number;
|
|
85
|
+
/**
|
|
86
|
+
* The SAP delta time specifies the difference in time (in the timescale of the 'sidx' box) between the earliest
|
|
87
|
+
* presentation time of the segment and the first SAP within it. This allows players to quickly locate the SAP
|
|
88
|
+
* for efficient playback startup or seeking.
|
|
89
|
+
*/
|
|
90
|
+
readonly sapDeltaTime: number;
|
|
91
|
+
}
|
|
92
|
+
export declare function parseSidxBox(buffer: ArrayBuffer): SidxBox;
|
|
93
|
+
/**
|
|
94
|
+
* Creates a timeline of the segment start times, in timescale units.
|
|
95
|
+
* The last element will be the last segment's end time.
|
|
96
|
+
*
|
|
97
|
+
* @param sidx
|
|
98
|
+
*/
|
|
99
|
+
export declare function getSidxSampleTimes(sidx: SidxBox): number[];
|
|
100
|
+
//# sourceMappingURL=parseSidxBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseSidxBox.d.ts","sourceRoot":"","sources":["../../../../../src/util/mpeg/parseSidxBox.ts"],"names":[],"mappings":"AAUA;;;GAGG;AAEH;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAE5B;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAA;CACvD;AAED;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAA;IAEzC;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAA;IAEzC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC/B;AAED,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AAE3C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAE9B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAE/B;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;IAEnC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;IAE/B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAsGzD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,YAU/C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { BufferReader } from '../../util/buffer/BufferReader';
|
|
6
|
+
import { ValidationError } from '../../error/ValidationError';
|
|
7
|
+
import { ErrorOrigin } from '../../error/ErrorOrigin';
|
|
8
|
+
import { MediaUnsupportedError } from '../../error/MediaUnsupportedError';
|
|
9
|
+
export function parseSidxBox(buffer) {
|
|
10
|
+
const reader = new BufferReader(buffer);
|
|
11
|
+
reader.skip(4); // box size
|
|
12
|
+
const boxType = reader.readString(4);
|
|
13
|
+
if (boxType !== 'sidx')
|
|
14
|
+
throw new ValidationError(`expected 'sidx' box but had box type: '${boxType}'`, ErrorOrigin.MEDIA);
|
|
15
|
+
const version = reader.readUint8();
|
|
16
|
+
// Skip flags
|
|
17
|
+
reader.skip(3);
|
|
18
|
+
const referenceId = reader.readUint32();
|
|
19
|
+
const timescale = reader.readUint32();
|
|
20
|
+
let versionedProps;
|
|
21
|
+
if (version === 0) {
|
|
22
|
+
versionedProps = {
|
|
23
|
+
version: 0,
|
|
24
|
+
earliestPresentationTime: reader.readUint32(),
|
|
25
|
+
firstOffset: reader.readUint32(),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
// version > 1 may be backwards compatible for our use cases, but may not be. Log a warning.
|
|
30
|
+
if (version !== 1)
|
|
31
|
+
throw new MediaUnsupportedError(`sidx box version ${version} not supported`, 'unsupported-sidx-version');
|
|
32
|
+
if (typeof BigInt === 'undefined')
|
|
33
|
+
throw new MediaUnsupportedError(`sidx box version 1 not supported on this platform`, 'client-unsupported-sidx-version');
|
|
34
|
+
versionedProps = {
|
|
35
|
+
version: 1,
|
|
36
|
+
earliestPresentationTime: reader.readUint64(),
|
|
37
|
+
firstOffset: reader.readUint64(),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
// Skip reserved bits
|
|
41
|
+
reader.skip(2);
|
|
42
|
+
const referenceCount = reader.readUint16();
|
|
43
|
+
const references = new Array(referenceCount);
|
|
44
|
+
for (let i = 0; i < referenceCount; i++) {
|
|
45
|
+
const refTypeAndSize = reader.readUint32();
|
|
46
|
+
// 1 bit
|
|
47
|
+
const referenceType = (refTypeAndSize & 0x80000000) >>> 31;
|
|
48
|
+
if (referenceType !== 0) {
|
|
49
|
+
// ISO_IEC_14496-12 K.2.2
|
|
50
|
+
throw new MediaUnsupportedError('hierarchical sidx reference type not supported', 'unsupported-sidx-reference-type');
|
|
51
|
+
}
|
|
52
|
+
// 31 bits
|
|
53
|
+
const referencedSize = refTypeAndSize & 0x7fffffff;
|
|
54
|
+
const subsegmentDuration = reader.readUint32();
|
|
55
|
+
const sap = reader.readUint32();
|
|
56
|
+
const startsWithSap = (sap & 0x80000000) >>> 31 === 1;
|
|
57
|
+
const sapType = (sap >>> 28) & 0x07;
|
|
58
|
+
const sapDeltaTime = sap & 0x0fffffff;
|
|
59
|
+
references[i] = {
|
|
60
|
+
referenceType,
|
|
61
|
+
referencedSize,
|
|
62
|
+
subsegmentDuration,
|
|
63
|
+
startsWithSap,
|
|
64
|
+
sapType,
|
|
65
|
+
sapDeltaTime,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
...versionedProps,
|
|
70
|
+
referenceId,
|
|
71
|
+
timescale,
|
|
72
|
+
references,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Creates a timeline of the segment start times, in timescale units.
|
|
77
|
+
* The last element will be the last segment's end time.
|
|
78
|
+
*
|
|
79
|
+
* @param sidx
|
|
80
|
+
*/
|
|
81
|
+
export function getSidxSampleTimes(sidx) {
|
|
82
|
+
let sampleTime = Number(sidx.earliestPresentationTime);
|
|
83
|
+
const n = sidx.references.length;
|
|
84
|
+
const sampleTimes = new Array(n + 1);
|
|
85
|
+
for (let i = 0; i < n; i++) {
|
|
86
|
+
sampleTimes[i] = sampleTime;
|
|
87
|
+
sampleTime += sidx.references[i].subsegmentDuration;
|
|
88
|
+
}
|
|
89
|
+
sampleTimes[n] = sampleTime;
|
|
90
|
+
return sampleTimes;
|
|
91
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Maybe } from '../../util/type';
|
|
2
|
+
/**
|
|
3
|
+
* Given request parameters, returns the header for the given key, or null.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getHeaderFromRequestParams(input: RequestInfo | URL, init: Maybe<RequestInit>, key: string): string | null;
|
|
6
|
+
export declare function getHeaderFromHeadersInit(headers: Readonly<HeadersInit>, key: string): string | null;
|
|
7
|
+
/**
|
|
8
|
+
* Given fetch input, clones the input, transforms the URL and returns a new `RequestInfo | URL` input parameter.
|
|
9
|
+
*/
|
|
10
|
+
export declare function changeRequestInputUrl(input: RequestInfo | URL, transform: (url: URL) => void): RequestInfo | URL;
|
|
11
|
+
/**
|
|
12
|
+
* Given an object of HeadersInit type (a Headers instance, array of key-value pairs, or and object of key-value pairs),
|
|
13
|
+
* returns a Record of key-value pairs.
|
|
14
|
+
*
|
|
15
|
+
* @param headers
|
|
16
|
+
*/
|
|
17
|
+
export declare function normalizeHeadersInit(headers: Maybe<HeadersInit>): Record<string, string>;
|
|
18
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../../src/util/network/request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGxC;;GAEG;AACH,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,EACxB,GAAG,EAAE,MAAM,GACZ,MAAM,GAAG,IAAI,CAOf;AAED,wBAAgB,wBAAwB,CACpC,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,EAC9B,GAAG,EAAE,MAAM,GACZ,MAAM,GAAG,IAAI,CAcf;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,SAAS,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,GAC9B,WAAW,GAAG,GAAG,CAcnB;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAChC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,GAC5B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiBxB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { IllegalArgumentError } from '../../error/IllegalArgumentError';
|
|
6
|
+
/**
|
|
7
|
+
* Given request parameters, returns the header for the given key, or null.
|
|
8
|
+
*/
|
|
9
|
+
export function getHeaderFromRequestParams(input, init, key) {
|
|
10
|
+
if (input instanceof Request) {
|
|
11
|
+
return getHeaderFromHeadersInit(input.headers, key);
|
|
12
|
+
}
|
|
13
|
+
else if (init?.headers) {
|
|
14
|
+
return getHeaderFromHeadersInit(init.headers, key);
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
export function getHeaderFromHeadersInit(headers, key) {
|
|
19
|
+
key = key.toLowerCase();
|
|
20
|
+
if (headers instanceof Headers) {
|
|
21
|
+
return headers.get(key);
|
|
22
|
+
}
|
|
23
|
+
else if (Array.isArray(headers)) {
|
|
24
|
+
const header = headers.find(([iKey]) => iKey.toLowerCase() === key);
|
|
25
|
+
return header ? header[1] : null;
|
|
26
|
+
}
|
|
27
|
+
else if (typeof headers === 'object') {
|
|
28
|
+
const foundKey = Object.keys(headers).find((iKey) => iKey.toLowerCase() === key);
|
|
29
|
+
return foundKey ? headers[foundKey] : null;
|
|
30
|
+
}
|
|
31
|
+
throw new IllegalArgumentError('Unexpected headers type');
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Given fetch input, clones the input, transforms the URL and returns a new `RequestInfo | URL` input parameter.
|
|
35
|
+
*/
|
|
36
|
+
export function changeRequestInputUrl(input, transform) {
|
|
37
|
+
if (input instanceof URL) {
|
|
38
|
+
const url = new URL(input);
|
|
39
|
+
transform(url);
|
|
40
|
+
return url;
|
|
41
|
+
}
|
|
42
|
+
else if (typeof input === 'string') {
|
|
43
|
+
const url = new URL(input);
|
|
44
|
+
transform(url);
|
|
45
|
+
return url;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const url = new URL(input.url);
|
|
49
|
+
transform(url);
|
|
50
|
+
return new Request(url.toString(), input);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Given an object of HeadersInit type (a Headers instance, array of key-value pairs, or and object of key-value pairs),
|
|
55
|
+
* returns a Record of key-value pairs.
|
|
56
|
+
*
|
|
57
|
+
* @param headers
|
|
58
|
+
*/
|
|
59
|
+
export function normalizeHeadersInit(headers) {
|
|
60
|
+
if (!headers)
|
|
61
|
+
return {};
|
|
62
|
+
if (Array.isArray(headers)) {
|
|
63
|
+
const out = {};
|
|
64
|
+
for (const [key, value] of headers) {
|
|
65
|
+
out[key] = value;
|
|
66
|
+
}
|
|
67
|
+
return out;
|
|
68
|
+
}
|
|
69
|
+
else if (headers instanceof Headers) {
|
|
70
|
+
const out = {};
|
|
71
|
+
for (const [key, value] of headers.entries()) {
|
|
72
|
+
out[key] = value;
|
|
73
|
+
}
|
|
74
|
+
return out;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
return headers;
|
|
78
|
+
}
|
|
79
|
+
}
|