@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,96 @@
|
|
|
1
|
+
import type { CacheMap } from './CacheMap';
|
|
2
|
+
/**
|
|
3
|
+
* An LRU Cache implementation.
|
|
4
|
+
* An LRU (Least Recently Used) Cache is a Map with a fixed capacity. When the capacity is
|
|
5
|
+
* exceeded, the least recently used element will be removed.
|
|
6
|
+
* An element is considered to be used when it has been retrieved via `get`, or when it's been
|
|
7
|
+
* `set`.
|
|
8
|
+
* Iteration does not affect ordering.
|
|
9
|
+
*/
|
|
10
|
+
export declare class LruCache<K, V> implements CacheMap<K, V> {
|
|
11
|
+
/**
|
|
12
|
+
* A map of the list nodes.
|
|
13
|
+
*
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
private cache;
|
|
17
|
+
/**
|
|
18
|
+
* Most recently used elements are at the tail, least recently used are at the head.
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
private list;
|
|
22
|
+
/**
|
|
23
|
+
* An element is about to be removed. Should return true if the element may be evicted,
|
|
24
|
+
* otherwise false.
|
|
25
|
+
* If false is returned for all elements, an IllegalStateError is thrown.
|
|
26
|
+
*/
|
|
27
|
+
onEvicting: ((element: V, key: K, list: CacheMap<K, V>) => boolean) | null;
|
|
28
|
+
/**
|
|
29
|
+
* When an element is added when at capacity, the least recently used element will be removed.
|
|
30
|
+
* This callback can be set to be notified with the element being evicted, which may be used
|
|
31
|
+
* for disposal.
|
|
32
|
+
*/
|
|
33
|
+
onEvict: ((element: V, key: K, list: CacheMap<K, V>) => void) | null;
|
|
34
|
+
private _capacity;
|
|
35
|
+
constructor(initialCapacity: number);
|
|
36
|
+
get capacity(): number;
|
|
37
|
+
set capacity(value: number);
|
|
38
|
+
get size(): number;
|
|
39
|
+
/**
|
|
40
|
+
* @returns boolean indicating whether an element with the specified key exists or not.
|
|
41
|
+
*/
|
|
42
|
+
has(key: K): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the mapped value for the given key, and moves the element to the most recently
|
|
45
|
+
* used position.
|
|
46
|
+
*
|
|
47
|
+
* @returns Returns the element associated with the given key, or undefined if no such
|
|
48
|
+
* element exists.
|
|
49
|
+
*/
|
|
50
|
+
get(key: K): V | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Adds a new element with a specified key and value to the Map. If an element with the
|
|
53
|
+
* same key already exists, the element will be updated and position moved to most recently
|
|
54
|
+
* used.
|
|
55
|
+
*/
|
|
56
|
+
set(key: K, value: V): this;
|
|
57
|
+
private evictLeastRecentlyUsed;
|
|
58
|
+
/**
|
|
59
|
+
* Clears all elements from the cache.
|
|
60
|
+
*/
|
|
61
|
+
clear(): void;
|
|
62
|
+
/**
|
|
63
|
+
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
|
|
64
|
+
*/
|
|
65
|
+
delete(key: K): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Executes a provided function once per each key/value pair in the Map, in insertion order.
|
|
68
|
+
*
|
|
69
|
+
* @param callback A callback to invoke for every element in the cache.
|
|
70
|
+
* @param thisArg Value to use as this when executing callback
|
|
71
|
+
*/
|
|
72
|
+
forEach(callback: (value: V, key: K, map: this) => void, thisArg?: any): void;
|
|
73
|
+
/**
|
|
74
|
+
* Returns an iterable of key, value pairs for every entry in the map.
|
|
75
|
+
*/
|
|
76
|
+
entries(): IterableIterator<[
|
|
77
|
+
K,
|
|
78
|
+
V
|
|
79
|
+
]>;
|
|
80
|
+
/**
|
|
81
|
+
* Returns an iterable of keys in the map. This will be ordered from least recently used to
|
|
82
|
+
* most.
|
|
83
|
+
*/
|
|
84
|
+
keys(): IterableIterator<K>;
|
|
85
|
+
/**
|
|
86
|
+
* Returns an iterable of values in the map. This will be ordered from least recently used to
|
|
87
|
+
* most.
|
|
88
|
+
*/
|
|
89
|
+
values(): IterableIterator<V>;
|
|
90
|
+
[Symbol.iterator](): IterableIterator<[
|
|
91
|
+
K,
|
|
92
|
+
V
|
|
93
|
+
]>;
|
|
94
|
+
get [Symbol.toStringTag](): string;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=LruCache.d.ts.map
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import type { Comparator } from '../../util/comparison/compare';
|
|
2
|
+
import type { Maybe, MaybePromise, Primitive } from '../../util/type';
|
|
3
|
+
export type FilterPredicateAsync<T> = (value: T, index: number, array: ArrayLike<T>) => Promise<boolean>;
|
|
4
|
+
export type FilterPredicate<T> = (value: T, index: number, array: ArrayLike<T>) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* indexOf on ArrayLike objects.
|
|
7
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
|
|
8
|
+
*/
|
|
9
|
+
export declare function indexOf<E>(arrayLike: ArrayLike<E>, element: E): number;
|
|
10
|
+
/**
|
|
11
|
+
* lastIndexOf on ArrayLike objects.
|
|
12
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf
|
|
13
|
+
*/
|
|
14
|
+
export declare function lastIndexOf<E>(arrayLike: ArrayLike<E>, element: E): number;
|
|
15
|
+
export declare function filter<T, S extends T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, array: ArrayLike<T>) => value is S, thisArg?: any): S[];
|
|
16
|
+
export declare function filter<T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, array: ArrayLike<T>) => boolean, thisArg?: any): T[];
|
|
17
|
+
/**
|
|
18
|
+
* Filter an ArrayLike with an asynchronous predicate.
|
|
19
|
+
*
|
|
20
|
+
* Runs the predicate across all elements, then filters the elements by the booleans
|
|
21
|
+
* resolved by the predicate.
|
|
22
|
+
*
|
|
23
|
+
* @param arrayLike The array-like object to filter
|
|
24
|
+
* @param predicate Async function that tests each element
|
|
25
|
+
* @param options Optional configuration object
|
|
26
|
+
* @param options.simultaneous Maximum number of predicates to run simultaneously (default: 1)
|
|
27
|
+
*/
|
|
28
|
+
export declare function filterAsync<T>(arrayLike: MaybePromise<ArrayLike<T>>, predicate: (value: T, index: number, array: ArrayLike<T>) => Promise<boolean>, options?: {
|
|
29
|
+
readonly simultaneous?: number;
|
|
30
|
+
}): Promise<T[]>;
|
|
31
|
+
/**
|
|
32
|
+
* map on ArrayLike objects.
|
|
33
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
|
|
34
|
+
*/
|
|
35
|
+
export declare function map<T, U>(arrayLike: ArrayLike<T>, transform: (value: T, index: number, array: ArrayLike<T>) => U, thisArg?: any): U[];
|
|
36
|
+
/**
|
|
37
|
+
* Map on ArrayLike objects with an asynchronous transformer.
|
|
38
|
+
*
|
|
39
|
+
* @param arrayLike The array-like object to transform
|
|
40
|
+
* @param transform Async function that transforms each element
|
|
41
|
+
* @param options Optional configuration object
|
|
42
|
+
* @param options.simultaneous Maximum number of transforms to run simultaneously (default: 1)
|
|
43
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
|
|
44
|
+
*/
|
|
45
|
+
export declare function mapAsync<T, U>(arrayLike: MaybePromise<ArrayLike<T>>, transform: (value: T, index: number, array: ArrayLike<T>) => Promise<U>, options?: {
|
|
46
|
+
readonly simultaneous?: number;
|
|
47
|
+
}): Promise<U[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Determines whether all the members of an array satisfy the specified test.
|
|
50
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every
|
|
51
|
+
*/
|
|
52
|
+
export declare function every<T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, array: ArrayLike<T>) => boolean, thisArg?: any): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Determines whether any the members of an array satisfy the specified test.
|
|
55
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some
|
|
56
|
+
*/
|
|
57
|
+
export declare function some<T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, array: ArrayLike<T>) => boolean, thisArg?: any): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Determines whether all the members of an array satisfy the specified asynchronous test.
|
|
60
|
+
*
|
|
61
|
+
* @param arrayLike The array-like object to test
|
|
62
|
+
* @param predicate Async function that tests each element
|
|
63
|
+
* @param options Optional configuration object
|
|
64
|
+
* @param options.simultaneous Maximum number of predicates to run simultaneously (default: 1)
|
|
65
|
+
*/
|
|
66
|
+
export declare function everyAsync<T>(arrayLike: MaybePromise<ArrayLike<T>>, predicate: (value: T, index: number, array: ArrayLike<T>) => Promise<boolean>, options?: {
|
|
67
|
+
readonly simultaneous?: number;
|
|
68
|
+
}): Promise<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Determines whether any the members of an array satisfy the specified asynchronous test.
|
|
71
|
+
*
|
|
72
|
+
* @param arrayLike The array-like object to test
|
|
73
|
+
* @param predicate Async function that tests each element
|
|
74
|
+
* @param options Optional configuration object
|
|
75
|
+
* @param options.simultaneous Maximum number of predicates to run simultaneously (default: 1)
|
|
76
|
+
*/
|
|
77
|
+
export declare function someAsync<T>(arrayLike: MaybePromise<ArrayLike<T>>, predicate: (value: T, index: number, array: ArrayLike<T>) => Promise<boolean>, options?: {
|
|
78
|
+
readonly simultaneous?: number;
|
|
79
|
+
}): Promise<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* forEach on ArrayLike objects.
|
|
82
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
|
|
83
|
+
*/
|
|
84
|
+
export declare function forEach<T>(arrayLike: ArrayLike<T>, action: (value: T, index: number, array: ArrayLike<T>) => void, thisArg?: any): void;
|
|
85
|
+
/**
|
|
86
|
+
* Executes an asynchronous function on each element in an array.
|
|
87
|
+
*
|
|
88
|
+
* @param arrayLike The array-like object to iterate over
|
|
89
|
+
* @param executor Async function to execute for each element
|
|
90
|
+
* @param options Optional configuration object
|
|
91
|
+
* @param options.simultaneous Maximum number of executors to run simultaneously (default: 1)
|
|
92
|
+
*/
|
|
93
|
+
export declare function forEachAsync<T>(arrayLike: MaybePromise<ArrayLike<T>>, executor: (value: T, index: number, array: ArrayLike<T>) => Promise<void>, options?: {
|
|
94
|
+
readonly simultaneous?: number;
|
|
95
|
+
}): Promise<void>;
|
|
96
|
+
export declare function find<T, S extends T>(arrayLike: ArrayLike<T>, predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;
|
|
97
|
+
export declare function find<T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, obj: T[]) => boolean, thisArg?: any): T | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* findIndex on ArrayLike objects
|
|
100
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex
|
|
101
|
+
*/
|
|
102
|
+
export declare function findIndex<T>(arrayLike: ArrayLike<T>, predicate: (value: T, index: number, obj: ArrayLike<T>) => unknown, thisArg?: any): number;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the first element of an ArrayLike.
|
|
105
|
+
*/
|
|
106
|
+
export declare function first<T>(arrayLike: Maybe<ArrayLike<T>>): T | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Returns the last element of an ArrayLike.
|
|
109
|
+
*/
|
|
110
|
+
export declare function last<T>(arrayLike: Maybe<ArrayLike<T>>): T | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Returns the first `count` elements of an ArrayLike.
|
|
113
|
+
* @param arrayLike
|
|
114
|
+
* @param count
|
|
115
|
+
*/
|
|
116
|
+
export declare function takeFirst<T>(arrayLike: ArrayLike<T>, count: number): T[];
|
|
117
|
+
/**
|
|
118
|
+
* Returns the last `count` elements of an ArrayLike.
|
|
119
|
+
*
|
|
120
|
+
* @param arrayLike
|
|
121
|
+
* @param count
|
|
122
|
+
*/
|
|
123
|
+
export declare function takeLast<T>(arrayLike: ArrayLike<T>, count: number): T[];
|
|
124
|
+
/**
|
|
125
|
+
* Returns a subsection of an array-like.
|
|
126
|
+
* For both start and end, a negative index can be used to indicate an offset from the end of
|
|
127
|
+
* the array.
|
|
128
|
+
* For example, -2 refers to the second to last element of the array.
|
|
129
|
+
*
|
|
130
|
+
* @param arrayLike An ArrayLike to copy.
|
|
131
|
+
* @param start The beginning index of the array-like. Default: 0
|
|
132
|
+
* @param end The end index of the specified portion of the array-like (exclusive). Default: length
|
|
133
|
+
*/
|
|
134
|
+
export declare function slice<T>(arrayLike: ArrayLike<T>, start?: number, end?: number): T[];
|
|
135
|
+
/**
|
|
136
|
+
* Removes an element from the array, returning true if it was found.
|
|
137
|
+
*/
|
|
138
|
+
export declare function remove<T>(array: T[], element: T): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Removes an element from the array at the given index, returning the removed element if the index
|
|
141
|
+
* was within range.
|
|
142
|
+
* @param array The Array to update.
|
|
143
|
+
* @param index If negative, will remove from the end of the list (-1 is last element), if
|
|
144
|
+
* greater than or equal to the list length, undefined will be returned.
|
|
145
|
+
*/
|
|
146
|
+
export declare function removeAt<T>(array: T[], index: number): T | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* Returns the index of the first element in the given array with the highest value according to
|
|
149
|
+
* the comparator.
|
|
150
|
+
* @param array
|
|
151
|
+
* @param comparator
|
|
152
|
+
*/
|
|
153
|
+
export declare function indexOfHighest<T>(array: ArrayLike<T>, comparator: Comparator<T>): number;
|
|
154
|
+
/**
|
|
155
|
+
* Returns the index of the last element in the given array with the highest value according to
|
|
156
|
+
* the comparator.
|
|
157
|
+
* To find the index of the lowest value, use `util.comparator.reversed`
|
|
158
|
+
* @param array
|
|
159
|
+
* @param comparator
|
|
160
|
+
*/
|
|
161
|
+
export declare function lastIndexOfHighest<T>(array: ArrayLike<T>, comparator: Comparator<T>): number;
|
|
162
|
+
/**
|
|
163
|
+
* Given an array using the given comparator function, finds the insertion index of an element.
|
|
164
|
+
*
|
|
165
|
+
* @param array An array sorted using the comparator.
|
|
166
|
+
* @param element The element to compare against array elements.
|
|
167
|
+
* @param comparator A function where given the return value of `comparator(element, array[i])`
|
|
168
|
+
* if less than zero the returned index will be before i, otherwise after.
|
|
169
|
+
* @param start The starting index (inclusive). Default: 0
|
|
170
|
+
* @param end The ending index (exclusive). Default: array.length
|
|
171
|
+
*/
|
|
172
|
+
export declare function sortedInsertionIndex<T, U = T>(array: ArrayLike<T>, element: U, comparator: Comparator<U, T>, start?: number, end?: number): number;
|
|
173
|
+
/**
|
|
174
|
+
* Creates an iterator for an ArrayLike.
|
|
175
|
+
* If the given ArrayLike is iterable, then use its provided iterator.
|
|
176
|
+
*
|
|
177
|
+
* @param arrayLike
|
|
178
|
+
*/
|
|
179
|
+
export declare function createArrayLikeIterator<T>(arrayLike: ArrayLike<T>): IterableIterator<T>;
|
|
180
|
+
/**
|
|
181
|
+
* Gets the element in the ArrayLike at the given index, or throws an IllegalArgumentError if out of range.
|
|
182
|
+
*/
|
|
183
|
+
export declare function getElementAt<T>(array: ArrayLike<T>, index: number): T;
|
|
184
|
+
/**
|
|
185
|
+
* Gets the element in the ArrayLike at the given index, or returns the provided default value.
|
|
186
|
+
*/
|
|
187
|
+
export declare function getElementOrDefault<T, V>(array: ArrayLike<T>, index: number, defaultValue: V): T | V;
|
|
188
|
+
/**
|
|
189
|
+
* Counts the number of elements in an array that return true when passed to a predicate function.
|
|
190
|
+
*
|
|
191
|
+
* @param array
|
|
192
|
+
* @param predicate
|
|
193
|
+
*/
|
|
194
|
+
export declare function countElements<T>(array: ArrayLike<T>, predicate: (value: T, index: number, obj: ArrayLike<T>) => boolean): number;
|
|
195
|
+
/**
|
|
196
|
+
* Splits an array into chunks of the specified size.
|
|
197
|
+
*
|
|
198
|
+
* @param array The array to chunk
|
|
199
|
+
* @param chunkSize Maximum size of each chunk
|
|
200
|
+
* @returns Array of chunks
|
|
201
|
+
*/
|
|
202
|
+
export declare function chunk<T>(array: ArrayLike<T>, chunkSize: number): T[][];
|
|
203
|
+
export declare function min<T extends Exclude<Primitive, symbol>>(arrayLike: ArrayLike<T>): T | undefined;
|
|
204
|
+
export declare function min<T>(arrayLike: ArrayLike<T>, comparator: Comparator<T>): T | undefined;
|
|
205
|
+
export declare function max<T extends Exclude<Primitive, symbol>>(arrayLike: ArrayLike<T>): T | undefined;
|
|
206
|
+
export declare function max<T>(arrayLike: ArrayLike<T>, comparator: Comparator<T>): T | undefined;
|
|
207
|
+
//# sourceMappingURL=array.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Array views of a data buffer.
|
|
3
|
+
*/
|
|
4
|
+
export type TypedArray = Float32Array | Float64Array | Int16Array | Int32Array | Int8Array | Uint16Array | Uint32Array | Uint8Array | Uint8ClampedArray;
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new typed array with identical contents as the source.
|
|
7
|
+
*
|
|
8
|
+
* @param array
|
|
9
|
+
*/
|
|
10
|
+
export declare function cloneTypedArray<T extends TypedArray>(array: T): T;
|
|
11
|
+
/**
|
|
12
|
+
* Returns true if the given value is an instance of one of the typed array types.
|
|
13
|
+
*
|
|
14
|
+
* @param value
|
|
15
|
+
*/
|
|
16
|
+
export declare function isTypedArray(value: any): value is TypedArray;
|
|
17
|
+
//# sourceMappingURL=typedArray.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Maybe, Primitive } from '../../util/type';
|
|
2
|
+
/**
|
|
3
|
+
* A function that can be used as a comparator for sorting.
|
|
4
|
+
* Return > 0 if `a` is greater than `b`
|
|
5
|
+
* Return = 0 if `a` equals `b`
|
|
6
|
+
* Return < 0 if `a` is less than `b
|
|
7
|
+
*/
|
|
8
|
+
export type Comparator<A, B = A> = (a: A, b: B) => number;
|
|
9
|
+
/**
|
|
10
|
+
* Provides a primitive value plucked from an element. Used in {@link compareBy} for building a comparator.
|
|
11
|
+
*/
|
|
12
|
+
export type CompareBySelector<T> = (value: T) => Exclude<Primitive, symbol>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a comparator for objects of type T by using a selector to pick a primitive value.
|
|
15
|
+
*
|
|
16
|
+
* @param selectors
|
|
17
|
+
*/
|
|
18
|
+
export declare function compareBy<T>(...selectors: CompareBySelector<T>[]): Comparator<Maybe<T>>;
|
|
19
|
+
/**
|
|
20
|
+
* Reverses the order of a comparator.
|
|
21
|
+
*
|
|
22
|
+
* @param comparator
|
|
23
|
+
*/
|
|
24
|
+
export declare function reversed<A, B>(comparator: Comparator<A, B>): Comparator<A, B>;
|
|
25
|
+
/**
|
|
26
|
+
* Compares two primitive values.
|
|
27
|
+
*
|
|
28
|
+
* Return 1 if `a` is greater than `b`
|
|
29
|
+
* Return 0 if `a` equals `b`
|
|
30
|
+
* Return -1 if `a` is less than `b
|
|
31
|
+
*/
|
|
32
|
+
export declare function compare<T extends Exclude<Primitive, symbol>>(a: T | null, b: T | null): number;
|
|
33
|
+
//# sourceMappingURL=compare.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { MaybePromise } from '../../util/type';
|
|
2
|
+
/**
|
|
3
|
+
* A value of type T, a function returning T, or an async function returning a Promise<T>.
|
|
4
|
+
* To be used with `resolveValueProvider`.
|
|
5
|
+
*/
|
|
6
|
+
export type ValueProvider<T> = T | (() => MaybePromise<T>);
|
|
7
|
+
/**
|
|
8
|
+
* Resolves a ValueProvider to its underlying value.
|
|
9
|
+
*
|
|
10
|
+
* Handles all three ValueProvider forms: direct values, synchronous functions,
|
|
11
|
+
* and async functions, returning a Promise that resolves to the value.
|
|
12
|
+
*
|
|
13
|
+
* @param valueProvider - The value, function, or async function to resolve
|
|
14
|
+
* @returns A Promise resolving to the provided value of type T
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveValueProvider<T>(valueProvider: ValueProvider<T>): Promise<T>;
|
|
17
|
+
//# sourceMappingURL=ValueProvider.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ReadonlyDate } from '../../util/object/readonlyType';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the signed time difference of end - start, in seconds.
|
|
4
|
+
*
|
|
5
|
+
* @param start The beginning date
|
|
6
|
+
* @param end The later date
|
|
7
|
+
*/
|
|
8
|
+
export declare function timeDelta(start: ReadonlyDate, end: ReadonlyDate): number;
|
|
9
|
+
/**
|
|
10
|
+
* A type alias to clarify that a number represents a unix timestamp
|
|
11
|
+
* (milliseconds from 1970-1-1 00:00).
|
|
12
|
+
*/
|
|
13
|
+
export type Timestamp = number;
|
|
14
|
+
/**
|
|
15
|
+
* Parses a string into a unix Timestamp using `Date.parse`, if the date is invalid, throws a
|
|
16
|
+
* `ValidationError`
|
|
17
|
+
* @param str
|
|
18
|
+
*/
|
|
19
|
+
export declare function parseTimestamp(str: string): Timestamp;
|
|
20
|
+
/**
|
|
21
|
+
* Parses a string into a date using `Date.parse`, if the date is invalid, throws a
|
|
22
|
+
* `ValidationError`
|
|
23
|
+
* @param str
|
|
24
|
+
*/
|
|
25
|
+
export declare function parseDate(str: string): Date;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the iso 8601 string representation of a `Date` value.
|
|
28
|
+
*
|
|
29
|
+
* @param value
|
|
30
|
+
*/
|
|
31
|
+
export declare function stringifyDate(value: ReadonlyDate): string;
|
|
32
|
+
//# sourceMappingURL=date.d.ts.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Maybe } from '../../util/type';
|
|
2
|
+
/**
|
|
3
|
+
* A location in code.
|
|
4
|
+
*/
|
|
5
|
+
export interface CodeLocation {
|
|
6
|
+
/**
|
|
7
|
+
* The source location - may provide the function name or in some browsers the source file if
|
|
8
|
+
* source maps are enabled.
|
|
9
|
+
*/
|
|
10
|
+
readonly source: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* The url to the file.
|
|
13
|
+
*/
|
|
14
|
+
readonly file: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The row (line) number.
|
|
17
|
+
*/
|
|
18
|
+
readonly row: number;
|
|
19
|
+
/**
|
|
20
|
+
* The column number. May not be present on all browsers (e.g. Firefox < 30).
|
|
21
|
+
*/
|
|
22
|
+
readonly col: number | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A Comparator for determining if one code location is before or after another.
|
|
26
|
+
*
|
|
27
|
+
* @private
|
|
28
|
+
*/
|
|
29
|
+
export declare const codeLocationComparator: import("../../util/comparison/compare").Comparator<Maybe<CodeLocation>, Maybe<CodeLocation>>;
|
|
30
|
+
/**
|
|
31
|
+
* Boundary code locations, used to determine if an error is within a certain range of code.
|
|
32
|
+
* The start and end boundaries must be the same path and file to be a valid range.
|
|
33
|
+
*/
|
|
34
|
+
export interface CodeRange {
|
|
35
|
+
/**
|
|
36
|
+
* The starting code location (inclusive)
|
|
37
|
+
*/
|
|
38
|
+
readonly start: CodeLocation | null;
|
|
39
|
+
/**
|
|
40
|
+
* The ending code location (exclusive)
|
|
41
|
+
*/
|
|
42
|
+
readonly end: CodeLocation | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates a code range object from two error markers.
|
|
46
|
+
* @see parseStackLocation
|
|
47
|
+
*/
|
|
48
|
+
export declare function createRangeFromErrorMarkers(start: Error | undefined, end: Error | undefined): CodeRange;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given location is within a range of code.
|
|
51
|
+
*
|
|
52
|
+
* @param location The location of the code to check if within bounds. If falsy, false is
|
|
53
|
+
* returned.
|
|
54
|
+
* @param range The boundaries to check against. If both start and end are null, false is
|
|
55
|
+
* returned. The range will consider `range.start` to be inclusive, and `range.end` to be exclusive.
|
|
56
|
+
*/
|
|
57
|
+
export declare function isCodeLocationInRange(location: Maybe<CodeLocation>, range: CodeRange): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the location of the stack's first line match; the location the error was constructed.
|
|
60
|
+
*
|
|
61
|
+
* @param stack
|
|
62
|
+
*/
|
|
63
|
+
export declare function parseStackLocation(stack?: Maybe<string>): CodeLocation | null;
|
|
64
|
+
/**
|
|
65
|
+
* Used in comparison with `stackNoiseError2` to determine what leading stack lines should be
|
|
66
|
+
* trimmed.
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
export declare const stackNoiseError1: Error;
|
|
70
|
+
/**
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
export declare const stackNoiseError2: Error;
|
|
74
|
+
/**
|
|
75
|
+
* When corejs polyfills Error with clearErrorStack, the stack may begin with the polyfill
|
|
76
|
+
* location. Trim the beginning of stacks with the leading lines common to all errors.
|
|
77
|
+
*/
|
|
78
|
+
export declare const stackNoise: import("../../util/object/lazy").Lazy<string>;
|
|
79
|
+
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
export type DebounceCallback = Disposable & (() => void);
|
|
3
|
+
/**
|
|
4
|
+
* Debounce wraps a callback, ensuring it only executes after a certain period of inactivity.
|
|
5
|
+
*
|
|
6
|
+
* @param inner The function to execute after a given period of inactivity.
|
|
7
|
+
* @param duration The number of seconds the returned wrapper function must not be called before the inner function
|
|
8
|
+
* is invoked.
|
|
9
|
+
* @return Returns callback wrapper that enforces inactivity. This may be disposed.
|
|
10
|
+
*/
|
|
11
|
+
export declare function debounce(inner: () => void, duration: number): DebounceCallback;
|
|
12
|
+
//# sourceMappingURL=debounce.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { MaybePromise } from '../type';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that is the composition of the provided functions.
|
|
4
|
+
* Each function consumes the return value of the function that follows.
|
|
5
|
+
*/
|
|
6
|
+
export declare function flow<A, B>(f1: (a: A) => B): (a: A) => B;
|
|
7
|
+
export declare function flow<A, B, C>(f1: (a: A) => B, f2: (b: B) => C): (a: A) => C;
|
|
8
|
+
export declare function flow<A, B, C, D>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D): (a: A) => D;
|
|
9
|
+
export declare function flow<A, B, C, D, E>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D, f4: (d: D) => E): (a: A) => E;
|
|
10
|
+
export declare function flow<A, B, C, D, E, F>(f1: (a: A) => B, f2: (b: B) => C, f3: (c: C) => D, f4: (d: D) => E, f5: (e: E) => F): (a: A) => F;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a function that is the composition of the provided functions.
|
|
13
|
+
* Each function consumes the return value of the function that precedes.
|
|
14
|
+
*/
|
|
15
|
+
export declare function flowRight<A, B>(f1: (a: A) => B): (a: A) => B;
|
|
16
|
+
export declare function flowRight<A, B, C>(f1: (b: B) => C, f2: (a: A) => B): (a: A) => C;
|
|
17
|
+
export declare function flowRight<A, B, C, D>(f1: (c: C) => D, f2: (b: B) => C, f3: (a: A) => B): (a: A) => D;
|
|
18
|
+
export declare function flowRight<A, B, C, D, E>(f1: (d: D) => E, f2: (c: C) => D, f3: (b: B) => C, f4: (a: A) => B): (a: A) => E;
|
|
19
|
+
export declare function flowRight<A, B, C, D, E, F>(f1: (e: E) => F, f2: (d: D) => E, f3: (c: C) => D, f4: (b: B) => C, f5: (a: A) => B): (a: A) => F;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a function that is the composition of the provided async functions.
|
|
22
|
+
* Each function consumes the return value of the function that follows.
|
|
23
|
+
*/
|
|
24
|
+
export declare function flowAsync<A, B>(f1: (a: A) => MaybePromise<B>): (a: A) => Promise<B>;
|
|
25
|
+
export declare function flowAsync<A, B, C>(f1: (a: A) => MaybePromise<B>, f2: (b: B) => MaybePromise<C>): (a: A) => Promise<C>;
|
|
26
|
+
export declare function flowAsync<A, B, C, D>(f1: (a: A) => MaybePromise<B>, f2: (b: B) => MaybePromise<C>, f3: (c: C) => MaybePromise<D>): (a: A) => Promise<D>;
|
|
27
|
+
export declare function flowAsync<A, B, C, D, E>(f1: (a: A) => MaybePromise<B>, f2: (b: B) => MaybePromise<C>, f3: (c: C) => MaybePromise<D>, f4: (d: D) => MaybePromise<E>): (a: A) => Promise<E>;
|
|
28
|
+
export declare function flowAsync<A, B, C, D, E, F>(f1: (a: A) => MaybePromise<B>, f2: (b: B) => MaybePromise<C>, f3: (c: C) => MaybePromise<D>, f4: (d: D) => MaybePromise<E>, f5: (e: E) => MaybePromise<F>): (a: A) => Promise<F>;
|
|
29
|
+
/**
|
|
30
|
+
* Creates a function that is the composition of the provided async functions.
|
|
31
|
+
* Each function consumes the return value of the function that precedes.
|
|
32
|
+
*/
|
|
33
|
+
export declare function flowRightAsync<A, B>(f1: (a: A) => MaybePromise<B>): (a: A) => Promise<B>;
|
|
34
|
+
export declare function flowRightAsync<A, B, C>(f1: (b: B) => MaybePromise<C>, f2: (a: A) => MaybePromise<B>): (a: A) => Promise<C>;
|
|
35
|
+
export declare function flowRightAsync<A, B, C, D>(f1: (c: C) => MaybePromise<D>, f2: (b: B) => MaybePromise<C>, f3: (a: A) => MaybePromise<B>): (a: A) => Promise<D>;
|
|
36
|
+
export declare function flowRightAsync<A, B, C, D, E>(f1: (d: D) => MaybePromise<E>, f2: (c: C) => MaybePromise<D>, f3: (b: B) => MaybePromise<C>, f4: (a: A) => MaybePromise<B>): (a: A) => Promise<E>;
|
|
37
|
+
export declare function flowRightAsync<A, B, C, D, E, F>(f1: (e: E) => MaybePromise<F>, f2: (d: D) => MaybePromise<E>, f3: (c: C) => MaybePromise<D>, f4: (b: B) => MaybePromise<C>, f5: (a: A) => MaybePromise<B>): (a: A) => Promise<F>;
|
|
38
|
+
//# sourceMappingURL=flow.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Fun } from '../../util/type';
|
|
2
|
+
export interface MemoizedFunction {
|
|
3
|
+
clear(): void;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Returns a wrapper function where when called, retains the return value of `inner`, returning that
|
|
7
|
+
* value on consecutive calls without invoking `inner` again.
|
|
8
|
+
*
|
|
9
|
+
* @param inner The function to memoize results.
|
|
10
|
+
* @return Returns a memoized function with a `clear` method to reset the cached value.
|
|
11
|
+
*/
|
|
12
|
+
export declare function memoize<T extends () => any>(inner: T): MemoizedFunction & T;
|
|
13
|
+
/**
|
|
14
|
+
* Returns a wrapper function where when called, retains the return value of `inner`, returning that
|
|
15
|
+
* value on consecutive calls without invoking `inner` again.
|
|
16
|
+
*
|
|
17
|
+
* @param inner The function to memoize results.
|
|
18
|
+
* @param keyProvider When more than one parameter is expected, a keyProvider is required, which
|
|
19
|
+
* returns a unique key given the arguments provided to the memoized function.
|
|
20
|
+
* @param capacity
|
|
21
|
+
* @return Returns a memoized function with a `clear` method to reset the cache.
|
|
22
|
+
*/
|
|
23
|
+
export declare function memoize<T extends Fun>(inner: T, keyProvider: (...args: Parameters<T>) => any, capacity?: number): MemoizedFunction & T;
|
|
24
|
+
//# sourceMappingURL=memoize.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Disposable } from '../../core/disposable';
|
|
2
|
+
export interface ThrottleOptions {
|
|
3
|
+
/**
|
|
4
|
+
* If true, the first invocation of a throttled function will pass through.
|
|
5
|
+
*/
|
|
6
|
+
readonly leading: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* If true, when the throttle window time has elapsed, the function will be invoked.
|
|
9
|
+
* Either leading or trailing must be true.
|
|
10
|
+
* When trailing is true, timers will be used
|
|
11
|
+
*/
|
|
12
|
+
readonly trailing: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ThrottledCallback extends Disposable {
|
|
15
|
+
(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Resets the throttle timer.
|
|
18
|
+
* If an inner call is pending, it will be immediately invoked.
|
|
19
|
+
*/
|
|
20
|
+
reset(): void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Throttle returns a function that limits the rate of invocations.
|
|
24
|
+
*
|
|
25
|
+
* @param inner The function to invoke at a throttled rate.
|
|
26
|
+
* @param duration The interval (in seconds) for which the throttled function will be limited.
|
|
27
|
+
* @param options Options for which ends of the window the function should be invoked. If omitted,
|
|
28
|
+
* leading and trailing will be true.
|
|
29
|
+
* @return Returns a method that, when invoked, will invoke the inner method at a throttled rate.
|
|
30
|
+
* The returned method will have a `dispose` handle to clear any active timers and prevent
|
|
31
|
+
* further invocation.
|
|
32
|
+
*/
|
|
33
|
+
export declare function throttle(inner: () => void, duration: number, options?: Partial<ThrottleOptions>): ThrottledCallback;
|
|
34
|
+
//# sourceMappingURL=throttle.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns an array of numbers between start and end, incrementing by step.
|
|
3
|
+
*
|
|
4
|
+
* E.g.
|
|
5
|
+
* ```
|
|
6
|
+
* range(1, 10) // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
|
7
|
+
* range(5, 2) // [5, 4, 3, 2]
|
|
8
|
+
* range(5, 4, -0.2) // [5.0, 4.8, 4.6, 4.4, 4.2, 4.0]
|
|
9
|
+
* ```
|
|
10
|
+
* @param start Start position (inclusive)
|
|
11
|
+
* @param endInclusive End position (inclusive)
|
|
12
|
+
* @param step The amount to increment.
|
|
13
|
+
*/
|
|
14
|
+
export declare function createRangeIter(start: number, endInclusive: number, step?: number): IterableIterator<number>;
|
|
15
|
+
/**
|
|
16
|
+
* Maps an iterable object using the given transform.
|
|
17
|
+
* Unlike `Array#map`, this doesn't create a new Array in memory, the transform is done on
|
|
18
|
+
* iteration.
|
|
19
|
+
*
|
|
20
|
+
* @param iterable
|
|
21
|
+
* @param transform Transforms each element as it's requested.
|
|
22
|
+
*/
|
|
23
|
+
export declare function mapIter<T, U>(iterable: Iterable<T>, transform: (element: T) => U): IterableIterator<U>;
|
|
24
|
+
export declare function filterIter<T, S extends T>(iterable: Iterable<T>, predicate: (value: T) => value is S): IterableIterator<S>;
|
|
25
|
+
export declare function filterIter<T>(iterable: Iterable<T>, predicate: (value: T) => boolean): IterableIterator<T>;
|
|
26
|
+
//# sourceMappingURL=iterable.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the value on map for the given key if it exists, otherwise sets [key] to `defaultValue`,
|
|
3
|
+
* returning the newly set value.
|
|
4
|
+
*
|
|
5
|
+
* @param map
|
|
6
|
+
* @param key
|
|
7
|
+
* @param defaultValue
|
|
8
|
+
*/
|
|
9
|
+
export declare function getOrSet<K, V>(map: Map<K, V>, key: K, defaultValue: (key: K) => V): V;
|
|
10
|
+
/**
|
|
11
|
+
* Flips a map so that the keys become the values and the values become the keys.
|
|
12
|
+
*
|
|
13
|
+
* @param map
|
|
14
|
+
* @return Returns a new map.
|
|
15
|
+
*/
|
|
16
|
+
export declare function flipMap<K, V>(map: ReadonlyMap<K, V>): Map<V, K>;
|
|
17
|
+
//# sourceMappingURL=map.d.ts.map
|