@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,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,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,68 @@
|
|
|
1
|
+
import type { MergeRule } from './mergeDeep';
|
|
2
|
+
import type { MutableDeep } from './mutableType';
|
|
3
|
+
/**
|
|
4
|
+
* Merge options defines the behavior for {@link mergeDeep}.
|
|
5
|
+
* See the {@link defaultMergeOptions} for defaults that will be used if any merge options are
|
|
6
|
+
* omitted.
|
|
7
|
+
*/
|
|
8
|
+
export interface CloneOptions {
|
|
9
|
+
/**
|
|
10
|
+
* If an object does not pass any of the rules, if this is true the reference will be
|
|
11
|
+
* copied. If false (default), a {@link MergeReferenceError} will be thrown.
|
|
12
|
+
* This only applies to objects, not functions or primitives.
|
|
13
|
+
*/
|
|
14
|
+
readonly allowReferenceCopy: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The first clone rule that matches will be used.
|
|
17
|
+
*
|
|
18
|
+
* If no rules match, the value will be copied by reference unless `allowReferenceCopy` is
|
|
19
|
+
* false (default), in which case, a {@link MergeReferenceError} will be thrown.
|
|
20
|
+
*/
|
|
21
|
+
readonly rules: readonly CloneRule<any>[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A CloneRule defines if and how an object should be cloned.
|
|
25
|
+
*/
|
|
26
|
+
export interface CloneRule<T> {
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if this MergeRule should be applied for the given object.
|
|
29
|
+
* @param object
|
|
30
|
+
*/
|
|
31
|
+
readonly matches: (object: any) => object is T;
|
|
32
|
+
/**
|
|
33
|
+
* Clones the given value.
|
|
34
|
+
*
|
|
35
|
+
* @param source A value guaranteed to have matched with `matches`.
|
|
36
|
+
* @param clone This callback may be used to clone sub-properties.
|
|
37
|
+
*/
|
|
38
|
+
readonly clone: (source: T, clone: CloneCallback) => MutableDeep<T>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A function to clone a sub-object from a clone rule.
|
|
42
|
+
*/
|
|
43
|
+
export type CloneCallback = <T>(
|
|
44
|
+
/**
|
|
45
|
+
* The source object to clone.
|
|
46
|
+
*/
|
|
47
|
+
source: T,
|
|
48
|
+
/**
|
|
49
|
+
* The identifier to be used in error reporting.
|
|
50
|
+
*/
|
|
51
|
+
prop: string | number) => MutableDeep<T>;
|
|
52
|
+
/**
|
|
53
|
+
* Performs a deep clone on the target object.
|
|
54
|
+
*
|
|
55
|
+
* This is an alias for `mergeDeep(target)` that additionally converts clone rules to one-sided
|
|
56
|
+
* merge rules.
|
|
57
|
+
*
|
|
58
|
+
* @param target The target object to clone.
|
|
59
|
+
* @param options The merge options to use.
|
|
60
|
+
* `clone`, unlike `mergeDeep`, `allowReferenceCopy` will default to false.
|
|
61
|
+
* @see mergeDeep
|
|
62
|
+
*/
|
|
63
|
+
export declare function clone<T>(target: T, options?: Partial<CloneOptions>): MutableDeep<T>;
|
|
64
|
+
/**
|
|
65
|
+
* Creates a wrapper to convert a clone rule to a merge rule.
|
|
66
|
+
*/
|
|
67
|
+
export declare function toMergeRule<T>(cloneRule: CloneRule<T>): MergeRule<T>;
|
|
68
|
+
//# sourceMappingURL=clone.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { TypedArray } from '../../util/collection/typedArray';
|
|
2
|
+
/**
|
|
3
|
+
* Recursively compares the values of all the enumerable own properties from two source objects.
|
|
4
|
+
*
|
|
5
|
+
* @param objectA
|
|
6
|
+
* @param objectB
|
|
7
|
+
* @param options
|
|
8
|
+
*/
|
|
9
|
+
export declare function equalDeep<T>(objectA: T, objectB: T, options?: EqualOptions): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Configuration for the equalDeep comparator.
|
|
12
|
+
*/
|
|
13
|
+
export interface EqualOptions {
|
|
14
|
+
/**
|
|
15
|
+
* The first equal rule where the first source object matches will be used.
|
|
16
|
+
* If the second object does not match, the two objects will not be considered equal.
|
|
17
|
+
*/
|
|
18
|
+
readonly rules: readonly EqualRule<any>[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A equal function to be provided to equal rules.
|
|
22
|
+
*/
|
|
23
|
+
export type EqualCallback<T = any> = (objectA: T, objectB: T) => boolean;
|
|
24
|
+
export interface EqualRule<T> {
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if this EqualRule should be applied for the given object.
|
|
27
|
+
* @param object
|
|
28
|
+
*/
|
|
29
|
+
readonly matches: (object: any) => object is T;
|
|
30
|
+
/**
|
|
31
|
+
* Equals the two sources.
|
|
32
|
+
* @param objectA May be undefined, the first object to equal.
|
|
33
|
+
* @param objectB The second object to equal or clone if objectA is undefined.
|
|
34
|
+
* @param equal This callback may be used to equal or clone sub-properties.
|
|
35
|
+
*/
|
|
36
|
+
readonly equal: (objectA: T, objectB: T, equal: EqualCallback) => boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare const arrayEqualRule: EqualRule<any[]>;
|
|
39
|
+
export declare const plainObjectEqualRule: EqualRule<Record<any, any>>;
|
|
40
|
+
export declare const regexpEqualRule: EqualRule<RegExp>;
|
|
41
|
+
export declare const dateEqualRule: EqualRule<Date>;
|
|
42
|
+
export declare const mapEqualRule: EqualRule<Map<any, any>>;
|
|
43
|
+
export declare const setEqualRule: EqualRule<Set<any>>;
|
|
44
|
+
/**
|
|
45
|
+
* A typed array will always have primitive elements, compare that the lengths are equal and every
|
|
46
|
+
* element is equal.
|
|
47
|
+
*/
|
|
48
|
+
export declare const typedArrayEqualRule: EqualRule<TypedArray>;
|
|
49
|
+
/**
|
|
50
|
+
* The default equal options provide rules for comparing arrays, plain objects, RegExp, Date,
|
|
51
|
+
* Map, Set, and TypedArray.
|
|
52
|
+
*/
|
|
53
|
+
export declare const defaultEqualOptions: EqualOptions;
|
|
54
|
+
//# sourceMappingURL=equalDeep.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
export interface ReadonlyLazy<T> {
|
|
3
|
+
/**
|
|
4
|
+
* True if the lazy instance has been constructed.
|
|
5
|
+
*/
|
|
6
|
+
readonly constructed: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* When invoked the first time, constructs the value and returns it.
|
|
9
|
+
* Consecutive calls will return that cached value.
|
|
10
|
+
* @throws DisposedError If this lazy factory is disposed.
|
|
11
|
+
*/
|
|
12
|
+
get value(): T;
|
|
13
|
+
}
|
|
14
|
+
export interface Lazy<T> extends ReadonlyLazy<T>, Disposable {
|
|
15
|
+
/**
|
|
16
|
+
* Sets the lazy instance's value.
|
|
17
|
+
* If disposed, a {@link DisposedError} will be thrown.
|
|
18
|
+
* @param value
|
|
19
|
+
*/
|
|
20
|
+
set value(value: T);
|
|
21
|
+
/**
|
|
22
|
+
* Clears the lazy instance, disposing its value.
|
|
23
|
+
* Unlike dispose(), this allows the lazy instance to be reconstructed upon the next get.
|
|
24
|
+
* Typically used only in unit testing. May be used after {@link dispose}.
|
|
25
|
+
*/
|
|
26
|
+
clear(): void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A factory to lazily instantiate a single cached instance.
|
|
30
|
+
*/
|
|
31
|
+
export declare class LazyImpl<T> implements Lazy<T>, Disposable {
|
|
32
|
+
private readonly factory;
|
|
33
|
+
private _constructing;
|
|
34
|
+
private _constructed;
|
|
35
|
+
private disposed;
|
|
36
|
+
private _value;
|
|
37
|
+
/**
|
|
38
|
+
* @param factory A factory function that will be invoked at most once.
|
|
39
|
+
*/
|
|
40
|
+
constructor(factory: () => T);
|
|
41
|
+
get constructed(): boolean;
|
|
42
|
+
get value(): T;
|
|
43
|
+
set value(value: T);
|
|
44
|
+
clear(): void;
|
|
45
|
+
dispose(): void;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new {@link Lazy} instance.
|
|
49
|
+
*
|
|
50
|
+
* @param factory A factory function that will be invoked at most once. If the instance produced
|
|
51
|
+
* is disposable, it will be disposed on clear.
|
|
52
|
+
*/
|
|
53
|
+
export declare function lazy<T>(factory: () => T): Lazy<T>;
|
|
54
|
+
//# sourceMappingURL=lazy.d.ts.map
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An intersection of T & U where common keys of T and U are overwritten by U.
|
|
3
|
+
*/
|
|
4
|
+
export type Merge<T, U> = Omit<T, keyof U> & U;
|
|
5
|
+
/**
|
|
6
|
+
* Copy the values of all the enumerable own properties from one or more source objects to a new
|
|
7
|
+
* object.
|
|
8
|
+
*
|
|
9
|
+
* This will use `Object.assign` using a new object as the target parameter.
|
|
10
|
+
* Unlike `Object.assign`, the return type accounts for common keys.
|
|
11
|
+
*
|
|
12
|
+
* @param source1 The first source object from which to copy properties.
|
|
13
|
+
* @return Returns the new merged object.
|
|
14
|
+
*/
|
|
15
|
+
export declare function merge<T>(source1: T): T;
|
|
16
|
+
/**
|
|
17
|
+
* Concatenates arrays.
|
|
18
|
+
*
|
|
19
|
+
* @return Returns a new concatenated array.
|
|
20
|
+
*/
|
|
21
|
+
export declare function merge<T>(...sources: T[][]): T[];
|
|
22
|
+
/**
|
|
23
|
+
* Copy the values of all the enumerable own properties from one or more source objects to a new
|
|
24
|
+
* object.
|
|
25
|
+
*
|
|
26
|
+
* This will use `Object.assign` using a new object as the target parameter.
|
|
27
|
+
* Unlike `Object.assign`, the return type accounts for common keys.
|
|
28
|
+
*
|
|
29
|
+
* @param source1 The first source object from which to copy properties.
|
|
30
|
+
* @param source2 The second source object from which to copy properties.
|
|
31
|
+
* @return Returns the new merged object.
|
|
32
|
+
*/
|
|
33
|
+
export declare function merge<T, U>(source1: T, source2: U): Merge<T, U>;
|
|
34
|
+
/**
|
|
35
|
+
* Copy the values of all the enumerable own properties from one or more source objects to a new
|
|
36
|
+
* object.
|
|
37
|
+
*
|
|
38
|
+
* This will use `Object.assign` using a new object as the target parameter.
|
|
39
|
+
* Unlike `Object.assign`, the return type accounts for common keys.
|
|
40
|
+
*
|
|
41
|
+
* @param source1 The first source object from which to copy properties.
|
|
42
|
+
* @param source2 The second source object from which to copy properties.
|
|
43
|
+
* @param source3 The third source object from which to copy properties.
|
|
44
|
+
* @return Returns the new merged object.
|
|
45
|
+
*/
|
|
46
|
+
export declare function merge<T, U, V>(source1: T, source2: U, source3: V): Merge<Merge<T, U>, V>;
|
|
47
|
+
/**
|
|
48
|
+
* Copy the values of all the enumerable own properties from one or more source objects to a new
|
|
49
|
+
* object.
|
|
50
|
+
*
|
|
51
|
+
* This will use `Object.assign` using a new object as the target parameter.
|
|
52
|
+
* Unlike `Object.assign`, the return type accounts for common keys.
|
|
53
|
+
*
|
|
54
|
+
* @param source1 The first source object from which to copy properties.
|
|
55
|
+
* @param source2 The second source object from which to copy properties.
|
|
56
|
+
* @param source3 The third source object from which to copy properties.
|
|
57
|
+
* @param source4 The third source object from which to copy properties.
|
|
58
|
+
* @return Returns the new merged object.
|
|
59
|
+
*/
|
|
60
|
+
export declare function merge<T, U, V, W>(source1: T, source2: U, source3: V, source4: W): Merge<Merge<Merge<T, U>, V>, W>;
|
|
61
|
+
/**
|
|
62
|
+
* Copy the values of all the enumerable own properties from one or more source objects to a new
|
|
63
|
+
* object.
|
|
64
|
+
*
|
|
65
|
+
* This will use `Object.assign` using a new object as the target parameter.
|
|
66
|
+
* Unlike `Object.assign`, the return type accounts for common keys.
|
|
67
|
+
*
|
|
68
|
+
* @param sources
|
|
69
|
+
* @return Returns the new merged object.
|
|
70
|
+
*/
|
|
71
|
+
export declare function merge(...sources: any[]): any;
|
|
72
|
+
//# sourceMappingURL=merge.d.ts.map
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { TypedArray } from '../../util/collection/typedArray';
|
|
2
|
+
import { ReportableError } from '../../error/ReportableError';
|
|
3
|
+
import { type Cloneable } from '../../core/cloneable';
|
|
4
|
+
/**
|
|
5
|
+
* Concatenates multiple arrays together where each element is deeply cloned.
|
|
6
|
+
*/
|
|
7
|
+
export declare function mergeDeep<T extends Array<any>>(sources: readonly T[], options?: Partial<MergeOptions>): T;
|
|
8
|
+
/**
|
|
9
|
+
* Deep clones the given object.
|
|
10
|
+
*/
|
|
11
|
+
export declare function mergeDeep<T>(sources: readonly [
|
|
12
|
+
T
|
|
13
|
+
], options?: Partial<MergeOptions>): T;
|
|
14
|
+
/**
|
|
15
|
+
* Deep merges the two objects.
|
|
16
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
17
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
18
|
+
*/
|
|
19
|
+
export declare function mergeDeep<A, B>(sources: readonly [
|
|
20
|
+
A,
|
|
21
|
+
B
|
|
22
|
+
], options?: Partial<MergeOptions>): A & B;
|
|
23
|
+
/**
|
|
24
|
+
* Deep merges the three objects.
|
|
25
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
26
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
27
|
+
*/
|
|
28
|
+
export declare function mergeDeep<A, B, C>(sources: readonly [
|
|
29
|
+
A,
|
|
30
|
+
B,
|
|
31
|
+
C
|
|
32
|
+
], options?: Partial<MergeOptions>): A & B & C;
|
|
33
|
+
/**
|
|
34
|
+
* Deep merges the four objects.
|
|
35
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
36
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
37
|
+
*/
|
|
38
|
+
export declare function mergeDeep<A, B, C, D>(sources: readonly [
|
|
39
|
+
A,
|
|
40
|
+
B,
|
|
41
|
+
C,
|
|
42
|
+
D
|
|
43
|
+
], options?: Partial<MergeOptions>): A & B & C & D;
|
|
44
|
+
/**
|
|
45
|
+
* Deep merges the five objects.
|
|
46
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
47
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
48
|
+
*/
|
|
49
|
+
export declare function mergeDeep<A, B, C, D, E>(sources: readonly [
|
|
50
|
+
A,
|
|
51
|
+
B,
|
|
52
|
+
C,
|
|
53
|
+
D,
|
|
54
|
+
E
|
|
55
|
+
], options?: Partial<MergeOptions>): A & B & C & D & E;
|
|
56
|
+
/**
|
|
57
|
+
* Deep merges the six objects.
|
|
58
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
59
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
60
|
+
*/
|
|
61
|
+
export declare function mergeDeep<A, B, C, D, E, F>(sources: readonly [
|
|
62
|
+
A,
|
|
63
|
+
B,
|
|
64
|
+
C,
|
|
65
|
+
D,
|
|
66
|
+
E,
|
|
67
|
+
F
|
|
68
|
+
], options?: Partial<MergeOptions>): A & B & C & D & E & F;
|
|
69
|
+
/**
|
|
70
|
+
* Deep merges all objects.
|
|
71
|
+
* If common keys are both arrays, they will be concatenated, if common keys are both objects, they
|
|
72
|
+
* will be merged. Incompatible types, e.g. an object and an array will use the later source.
|
|
73
|
+
*/
|
|
74
|
+
export declare function mergeDeep(sources: readonly any[], options?: Partial<MergeOptions>): any;
|
|
75
|
+
/**
|
|
76
|
+
* Merge options defines the behavior for {@link mergeDeep}.
|
|
77
|
+
* See the {@link defaultMergeOptions} for defaults that will be used if any merge options are
|
|
78
|
+
* omitted.
|
|
79
|
+
*/
|
|
80
|
+
export interface MergeOptions {
|
|
81
|
+
/**
|
|
82
|
+
* If an object does not pass any of the rules, if this is true (default) the reference will be
|
|
83
|
+
* copied. If false, a {@link MergeReferenceError} will be thrown.
|
|
84
|
+
* This only applies to objects, not functions or primitives.
|
|
85
|
+
*/
|
|
86
|
+
readonly allowReferenceCopy: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The first merge rule where the second source object matches will be used.
|
|
89
|
+
* Rules are only checked for values that have a typeof value of 'object'
|
|
90
|
+
* If the first object does not pass the match, undefined will be passed to sourceA and the
|
|
91
|
+
* rule is expected to return a clone of sourceB.
|
|
92
|
+
* If no rules match, the value will be copied by reference unless `allowReferenceCopy` is
|
|
93
|
+
* false, in which case, a {@link MergeReferenceError} will be thrown.
|
|
94
|
+
*/
|
|
95
|
+
readonly rules: readonly MergeRule<any>[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* A merge function to be provided to merge rules.
|
|
99
|
+
*/
|
|
100
|
+
export type MergeCallback<T = any> = (
|
|
101
|
+
/**
|
|
102
|
+
* The first like object to merge, or undefined. If undefined is provided, a
|
|
103
|
+
* clone of sourceB is expected to be returned. If defined, this object is guaranteed to have
|
|
104
|
+
* passed {@link MergeRule.matches}
|
|
105
|
+
*/
|
|
106
|
+
sourceA: T | undefined,
|
|
107
|
+
/**
|
|
108
|
+
* The second object to merge or clone.
|
|
109
|
+
*/
|
|
110
|
+
sourceB: T,
|
|
111
|
+
/**
|
|
112
|
+
* The identifier to be used in error reporting.
|
|
113
|
+
*/
|
|
114
|
+
prop: string | number) => T;
|
|
115
|
+
export interface MergeRule<T> {
|
|
116
|
+
/**
|
|
117
|
+
* Returns true if this MergeRule should be applied for the given object.
|
|
118
|
+
* @param object
|
|
119
|
+
*/
|
|
120
|
+
readonly matches: (object: any) => object is T;
|
|
121
|
+
/**
|
|
122
|
+
* Merges the two sources.
|
|
123
|
+
* @param sourceA May be undefined, the first object to merge.
|
|
124
|
+
* @param sourceB The second object to merge or clone if sourceA is undefined.
|
|
125
|
+
* @param merge This callback may be used to merge or clone sub-properties.
|
|
126
|
+
*/
|
|
127
|
+
readonly merge: (sourceA: T | undefined, sourceB: T, merge: MergeCallback) => T;
|
|
128
|
+
}
|
|
129
|
+
export declare class MergeReferenceError extends ReportableError {
|
|
130
|
+
constructor(propPath: string, source: any);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Cloneable objects are not expected to be mergeable, but should be cloned.
|
|
134
|
+
*/
|
|
135
|
+
export declare const cloneableMergeRule: MergeRule<Cloneable<any>>;
|
|
136
|
+
export declare const arrayMergeRule: MergeRule<any[]>;
|
|
137
|
+
export declare const plainObjectMergeRule: MergeRule<Record<any, any>>;
|
|
138
|
+
export declare const regexpMergeRule: MergeRule<RegExp>;
|
|
139
|
+
export declare const dateMergeRule: MergeRule<Date>;
|
|
140
|
+
export declare const mapMergeRule: MergeRule<Map<any, any>>;
|
|
141
|
+
export declare const setMergeRule: MergeRule<Set<any>>;
|
|
142
|
+
/**
|
|
143
|
+
* Typed arrays will not concatenate by default like arrays. Typed arrays generally represent data,
|
|
144
|
+
* not configuration, and the more reasonable default is to clone, not concatenate.
|
|
145
|
+
*/
|
|
146
|
+
export declare const typedArrayMergeRule: MergeRule<TypedArray>;
|
|
147
|
+
export declare const urlMergeRule: MergeRule<URL>;
|
|
148
|
+
/**
|
|
149
|
+
* The default merge options provide rules for merging arrays, plain objects, RegExp, Date,
|
|
150
|
+
* Map, Set, and TypedArray.
|
|
151
|
+
*/
|
|
152
|
+
export declare const defaultMergeOptions: MergeOptions;
|
|
153
|
+
//# sourceMappingURL=mergeDeep.d.ts.map
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { Fun } from '../../util/type';
|
|
2
|
+
import type { ReadonlyDate, ReadonlyMap, ReadonlySet } from './readonlyType';
|
|
3
|
+
/**
|
|
4
|
+
* Recursively removes read only modifiers.
|
|
5
|
+
* Special core types such as read only Dates, Maps, and Sets will be converted to their writable
|
|
6
|
+
* variants.
|
|
7
|
+
*/
|
|
8
|
+
export type MutableDeep<T> = T extends readonly any[] ? MutableTupleOrArrayDeep<T> : T extends Fun | Blob ? T : T extends ReadonlyDate ? Date : T extends ReadonlyMap<infer K, infer V> ? MutableMapDeep<K, V> : T extends ReadonlySet<infer V> ? MutableSetDeep<V> : T extends object ? MutableObjectDeep<T> : T;
|
|
9
|
+
/**
|
|
10
|
+
* Recursively marks a tuple (up to 4 in length) or an array as read only.
|
|
11
|
+
*/
|
|
12
|
+
export type MutableTupleOrArrayDeep<T extends readonly any[]> = T extends readonly [
|
|
13
|
+
infer V0
|
|
14
|
+
] ? [
|
|
15
|
+
MutableDeep<V0>
|
|
16
|
+
] : T extends readonly [
|
|
17
|
+
infer V0,
|
|
18
|
+
infer V1
|
|
19
|
+
] ? [
|
|
20
|
+
MutableDeep<V0>,
|
|
21
|
+
MutableDeep<V1>
|
|
22
|
+
] : T extends readonly [
|
|
23
|
+
infer V0,
|
|
24
|
+
infer V1,
|
|
25
|
+
infer V2
|
|
26
|
+
] ? [
|
|
27
|
+
MutableDeep<V0>,
|
|
28
|
+
MutableDeep<V1>,
|
|
29
|
+
MutableDeep<V2>
|
|
30
|
+
] : T extends readonly [
|
|
31
|
+
infer V0,
|
|
32
|
+
infer V1,
|
|
33
|
+
infer V2,
|
|
34
|
+
infer V3
|
|
35
|
+
] ? [
|
|
36
|
+
MutableDeep<V0>,
|
|
37
|
+
MutableDeep<V1>,
|
|
38
|
+
MutableDeep<V2>,
|
|
39
|
+
MutableDeep<V3>
|
|
40
|
+
] : T extends readonly [
|
|
41
|
+
infer V0,
|
|
42
|
+
infer V1,
|
|
43
|
+
infer V2,
|
|
44
|
+
infer V3,
|
|
45
|
+
infer V4
|
|
46
|
+
] ? [
|
|
47
|
+
MutableDeep<V0>,
|
|
48
|
+
MutableDeep<V1>,
|
|
49
|
+
MutableDeep<V2>,
|
|
50
|
+
MutableDeep<V3>,
|
|
51
|
+
MutableDeep<V4>
|
|
52
|
+
] : MutableArrayDeep<T[number]>;
|
|
53
|
+
/**
|
|
54
|
+
* A recursively deep mutable array. Do not use this directly, use {@link MutableDeep} instead,
|
|
55
|
+
* which works for dates, maps, sets, etc.
|
|
56
|
+
*/
|
|
57
|
+
export type MutableArrayDeep<T> = MutableDeep<T>[];
|
|
58
|
+
/**
|
|
59
|
+
* A recursively deep mutable object. Do not use this directly, use {@link MutableDeep} instead,
|
|
60
|
+
* which works for dates, maps, sets, etc.
|
|
61
|
+
*/
|
|
62
|
+
export type MutableObjectDeep<T> = {
|
|
63
|
+
-readonly [P in keyof T]: MutableDeep<T[P]>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* A map with mutable values.
|
|
67
|
+
*/
|
|
68
|
+
export type MutableMapDeep<K, V> = Map<K, MutableDeep<V>>;
|
|
69
|
+
/**
|
|
70
|
+
* A Set type with mutable values.
|
|
71
|
+
*/
|
|
72
|
+
export type MutableSetDeep<V> = Set<MutableDeep<V>>;
|
|
73
|
+
/**
|
|
74
|
+
* Removes read only modifiers from Objects, Arrays, Maps, Sets, or Dates.
|
|
75
|
+
* Other non-primitive types will retain their method signatures.
|
|
76
|
+
*/
|
|
77
|
+
export type Mutable<T> = T extends readonly any[] ? [
|
|
78
|
+
...T
|
|
79
|
+
] : T extends Fun | Blob ? T : T extends ReadonlyDate ? Date : T extends ReadonlyMap<infer K, infer V> ? Map<K, V> : T extends ReadonlySet<infer V> ? Set<V> : T extends object ? MutableObject<T> : T;
|
|
80
|
+
/**
|
|
81
|
+
* A mutable object. Do not use this directly, use {@link Mutable} instead,
|
|
82
|
+
* which works for dates, maps, sets, etc.
|
|
83
|
+
*/
|
|
84
|
+
export type MutableObject<T> = {
|
|
85
|
+
-readonly [P in keyof T]: T[P];
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=mutableType.d.ts.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the keys (both property names and symbols) of all own properties.
|
|
3
|
+
* Unlike `Object.keys`, this will also return non-enumerable properties.
|
|
4
|
+
* Does not return keys inherited from the object's prototype.
|
|
5
|
+
*
|
|
6
|
+
* Implementation details:
|
|
7
|
+
* If Reflect is supported, Reflect.ownKeys will be used, wrapping in a Set, otherwise
|
|
8
|
+
* Object.getOwnPropertyNames and Object.getOwnPropertySymbols will be used. This will typically
|
|
9
|
+
* be equivalent. Proxies may alter the order of keys but platforms that do not support Reflect
|
|
10
|
+
* will also typically not support Proxies.
|
|
11
|
+
*
|
|
12
|
+
* @see Reflect.ownKeys
|
|
13
|
+
* @see Object.getOwnPropertyNames
|
|
14
|
+
* @see Object.getOwnPropertySymbols
|
|
15
|
+
* @param obj
|
|
16
|
+
* @return Returns a `Set` of the own properties of the target object, including non-enumerable.
|
|
17
|
+
* The ordering will be: positive numeric indexes in order, strings in insertion order,
|
|
18
|
+
* symbols in insertion order.
|
|
19
|
+
*/
|
|
20
|
+
export declare function ownKeys<T>(obj: T): Set<keyof T>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the prototype chain of the given object.
|
|
23
|
+
*
|
|
24
|
+
* Example:
|
|
25
|
+
* ```
|
|
26
|
+
* class A {}
|
|
27
|
+
* class B extends A {}
|
|
28
|
+
* class C extends B {}
|
|
29
|
+
* const c = new C()
|
|
30
|
+
* getPrototypeChain(c) // [c, C.prototype, B.prototype, A.prototype, Object.prototype]
|
|
31
|
+
* ```
|
|
32
|
+
* @param obj
|
|
33
|
+
*/
|
|
34
|
+
export declare function getPrototypeChain(obj: any): any[];
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object represents a plain object and not a class instance.
|
|
37
|
+
*/
|
|
38
|
+
export declare function isPlainObject(value: any): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Gets the object's value for the given key if it exists, otherwise sets [key] to
|
|
41
|
+
* `defaultValue`, returning the newly set value.
|
|
42
|
+
*
|
|
43
|
+
* @param object
|
|
44
|
+
* @param key
|
|
45
|
+
* @param defaultValue
|
|
46
|
+
*/
|
|
47
|
+
export declare function getOrSetProp<K extends keyof T, T extends object>(object: T, key: K, defaultValue: () => T[K]): T[K];
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if value is not null. Provides a type guard which can be used in filters.
|
|
50
|
+
* Example:
|
|
51
|
+
* [1, null, 2, 3, null, 4].filter(isNonNull) // type number[]
|
|
52
|
+
* @param value
|
|
53
|
+
*/
|
|
54
|
+
export declare function isNonNull<T>(value: T): value is NonNullable<T>;
|
|
55
|
+
//# sourceMappingURL=object.d.ts.map
|