@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,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { marbleTest } from './marble';
|
|
6
|
+
var createSpy = jasmine.createSpy;
|
|
7
|
+
/**
|
|
8
|
+
* Creates a marble test for callback timing.
|
|
9
|
+
* This provides an easy way to test callback timing, for example a debounce or throttle function.
|
|
10
|
+
*
|
|
11
|
+
* The returned function takes an input string where dashes represent a wait of 1 second, and x's represent
|
|
12
|
+
* invoking the function returned by wrapCallback. The resolved string will be the timing of when the inner function is
|
|
13
|
+
* invoked.
|
|
14
|
+
* An x does not represent passage of time. For example a marble diagram of x-xx-x represents execution at:
|
|
15
|
+
* 0s, 1s, 1s, 2s
|
|
16
|
+
*
|
|
17
|
+
* @param clock
|
|
18
|
+
* @param wrapCallback
|
|
19
|
+
*/
|
|
20
|
+
export function createCallbackTimingTest(clock, wrapCallback) {
|
|
21
|
+
return marbleTest(() => {
|
|
22
|
+
clock.mockDate(new Date(0));
|
|
23
|
+
let _out = '';
|
|
24
|
+
let lastTimeMs = 0;
|
|
25
|
+
const writeTime = () => {
|
|
26
|
+
const nowMs = Date.now();
|
|
27
|
+
_out += '-'.repeat((nowMs - lastTimeMs) / 1000);
|
|
28
|
+
lastTimeMs = nowMs;
|
|
29
|
+
};
|
|
30
|
+
const spy = createSpy('inner').and.callFake(() => {
|
|
31
|
+
writeTime();
|
|
32
|
+
_out += 'x';
|
|
33
|
+
});
|
|
34
|
+
const throttled = wrapCallback(spy);
|
|
35
|
+
return {
|
|
36
|
+
spy,
|
|
37
|
+
throttled,
|
|
38
|
+
get out() {
|
|
39
|
+
return _out;
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
'-': () => {
|
|
44
|
+
return clock.tick(1);
|
|
45
|
+
},
|
|
46
|
+
x: (test) => {
|
|
47
|
+
test.throttled();
|
|
48
|
+
},
|
|
49
|
+
}, async (o) => {
|
|
50
|
+
// Flush any pending timeouts up to 10s in the future, ticking in 1s increments
|
|
51
|
+
// in order to get correct mock time resolution:
|
|
52
|
+
for (let i = 0; i < 10; i++) {
|
|
53
|
+
await clock.tick(1);
|
|
54
|
+
}
|
|
55
|
+
return o.out;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a marble test, returning a function (input: string) => string where the input is a
|
|
3
|
+
* sequence of characters, each character mapping to the legend, and the output a string
|
|
4
|
+
* produced by the output generator.
|
|
5
|
+
*
|
|
6
|
+
* @param init
|
|
7
|
+
* @param legend An object whose keys are characters, and the values are functions to invoke when
|
|
8
|
+
* the character is found in the input string.
|
|
9
|
+
* @param output A method to invoke at the end of the actions to return the output sequence.
|
|
10
|
+
*/
|
|
11
|
+
export declare function marbleTest<T>(init: () => Promise<T> | T, legend: Readonly<Record<string, ((test: T) => Promise<void> | void) | undefined>>, output: (test: T) => Promise<string> | string): (input: string) => Promise<string>;
|
|
12
|
+
//# sourceMappingURL=marble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marble.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/async/marble.ts"],"names":[],"mappings":"AAKA;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,CAAC,EACxB,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAC1B,MAAM,EAAE,QAAQ,CACZ,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC,CAClE,EACD,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,GAC9C,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAWpC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Creates a marble test, returning a function (input: string) => string where the input is a
|
|
7
|
+
* sequence of characters, each character mapping to the legend, and the output a string
|
|
8
|
+
* produced by the output generator.
|
|
9
|
+
*
|
|
10
|
+
* @param init
|
|
11
|
+
* @param legend An object whose keys are characters, and the values are functions to invoke when
|
|
12
|
+
* the character is found in the input string.
|
|
13
|
+
* @param output A method to invoke at the end of the actions to return the output sequence.
|
|
14
|
+
*/
|
|
15
|
+
export function marbleTest(init, legend, output) {
|
|
16
|
+
return async (input) => {
|
|
17
|
+
const test = await init();
|
|
18
|
+
for (let i = 0; i < input.length; i++) {
|
|
19
|
+
const char = input[i];
|
|
20
|
+
const action = legend[char];
|
|
21
|
+
if (!action)
|
|
22
|
+
throw new Error(`Unknown marble: '${char}'`);
|
|
23
|
+
await action(test);
|
|
24
|
+
}
|
|
25
|
+
return output(test);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export interface BenchMarkOptions {
|
|
2
|
+
/**
|
|
3
|
+
* The amount of time to run the executor before beginning measurement (in seconds).
|
|
4
|
+
*/
|
|
5
|
+
readonly warmupTime: number;
|
|
6
|
+
/**
|
|
7
|
+
* When time has elapsed past this duration during a cycle (in seconds), there will be no
|
|
8
|
+
* operations.
|
|
9
|
+
* The cycle will end when `maxCycleDuration` has been reached.
|
|
10
|
+
*/
|
|
11
|
+
readonly maxCycleDuration: number;
|
|
12
|
+
/**
|
|
13
|
+
* The number of trials to run.
|
|
14
|
+
*/
|
|
15
|
+
readonly cycles: number;
|
|
16
|
+
}
|
|
17
|
+
export interface CycleResults {
|
|
18
|
+
/**
|
|
19
|
+
* The number of seconds the cycle ran.
|
|
20
|
+
*/
|
|
21
|
+
readonly duration: number;
|
|
22
|
+
/**
|
|
23
|
+
* The number of completed executions.
|
|
24
|
+
*/
|
|
25
|
+
readonly ops: number;
|
|
26
|
+
}
|
|
27
|
+
export declare class BenchmarkRunResults {
|
|
28
|
+
readonly name: string;
|
|
29
|
+
readonly cycleResults: number[];
|
|
30
|
+
private _totalSamples;
|
|
31
|
+
get totalSamples(): number;
|
|
32
|
+
get cycleResultsNoOutliers(): number[];
|
|
33
|
+
/**
|
|
34
|
+
* Returns the mean ops per second minus outliers of greater than 3 standard deviations.
|
|
35
|
+
*/
|
|
36
|
+
get meanOpsPerSec(): number;
|
|
37
|
+
get standardDeviation(): number;
|
|
38
|
+
get variance(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the mean ops / s ± variance % as a string.
|
|
41
|
+
*/
|
|
42
|
+
get meanOpsStr(): string;
|
|
43
|
+
constructor(name: string);
|
|
44
|
+
add(cycle: CycleResults): void;
|
|
45
|
+
toString(): string;
|
|
46
|
+
}
|
|
47
|
+
export declare class RunResultsComparison {
|
|
48
|
+
readonly name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Sorted by median ops/s from slowest to fastest.
|
|
51
|
+
*/
|
|
52
|
+
readonly results: BenchmarkRunResults[];
|
|
53
|
+
constructor(name: string, results: BenchmarkRunResults[]);
|
|
54
|
+
logToTable(): void;
|
|
55
|
+
runComparisonToString(run: BenchmarkRunResults): string;
|
|
56
|
+
}
|
|
57
|
+
export declare function compareResults(name: string, ...results: BenchmarkRunResults[]): RunResultsComparison;
|
|
58
|
+
export declare class Benchmark {
|
|
59
|
+
readonly name: string;
|
|
60
|
+
readonly executor: () => any;
|
|
61
|
+
private static semaphore;
|
|
62
|
+
private readonly options;
|
|
63
|
+
/**
|
|
64
|
+
* Constructs a new Benchmark.
|
|
65
|
+
*
|
|
66
|
+
* @param name The name of the benchmark, to be used when logging.
|
|
67
|
+
* @param executor The method to execute and measure. If this method returns a promise, the
|
|
68
|
+
* promise will be awaited. The executor should either always return a promise, or never.
|
|
69
|
+
* @param options Optional configuration for the benchmark.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name: string, executor: () => any, options?: Partial<BenchMarkOptions>);
|
|
72
|
+
run(): Promise<BenchmarkRunResults>;
|
|
73
|
+
/**
|
|
74
|
+
* Runs one cycle. A cycle will repeat the executor approximately `options.maxCycleDuration`
|
|
75
|
+
* seconds.
|
|
76
|
+
*
|
|
77
|
+
* @param isAsync
|
|
78
|
+
* @return Returns the duration (in seconds) and number of operations the cycle repeated.
|
|
79
|
+
*/
|
|
80
|
+
private runCycle;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Creates and runs a benchmark, logging the result.
|
|
84
|
+
*
|
|
85
|
+
* @param name
|
|
86
|
+
* @param executor
|
|
87
|
+
* @param options
|
|
88
|
+
*/
|
|
89
|
+
export declare function benchmark(name: string, executor: () => any, options?: Partial<BenchMarkOptions>): Promise<BenchmarkRunResults>;
|
|
90
|
+
//# sourceMappingURL=Benchmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Benchmark.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/benchmark/Benchmark.ts"],"names":[],"mappings":"AA6BA,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACvB;AAED,qBAAa,mBAAmB;IA6ChB,QAAQ,CAAC,IAAI,EAAE,MAAM;IA5CjC,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAK;IAEpC,OAAO,CAAC,aAAa,CAAI;IACzB,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,sBAAsB,IAAI,MAAM,EAAE,CAOrC;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,IAAI,iBAAiB,IAAI,MAAM,CAE9B;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAQvB;gBAEoB,IAAI,EAAE,MAAM;IAEjC,GAAG,CAAC,KAAK,EAAE,YAAY;IAQvB,QAAQ,IAAI,MAAM;CAIrB;AAED,qBAAa,oBAAoB;IAOzB,QAAQ,CAAC,IAAI,EAAE,MAAM;IANzB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,mBAAmB,EAAE,CAAA;gBAG1B,IAAI,EAAE,MAAM,EACrB,OAAO,EAAE,mBAAmB,EAAE;IAOlC,UAAU,IAAI,IAAI;IAyBlB,qBAAqB,CAAC,GAAG,EAAE,mBAAmB,GAAG,MAAM;CAS1D;AAED,wBAAgB,cAAc,CAC1B,IAAI,EAAE,MAAM,EACZ,GAAG,OAAO,EAAE,mBAAmB,EAAE,GAClC,oBAAoB,CAEtB;AAQD,qBAAa,SAAS;IAcd,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG;IAdhC,OAAO,CAAC,MAAM,CAAC,SAAS,CAA4B;IAEpD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAkB;IAE1C;;;;;;;OAOG;gBAEU,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,EAC5B,OAAO,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAKjC,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC;IA4BzC;;;;;;OAMG;YACW,QAAQ;CAezB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACrB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,EACnB,OAAO,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,GACpC,OAAO,CAAC,mBAAmB,CAAC,CAM9B"}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
//-------------------------------------------------------------------------
|
|
6
|
+
// A Benchmarking utility for testing and comparing performance.
|
|
7
|
+
//-------------------------------------------------------------------------
|
|
8
|
+
/**
|
|
9
|
+
* Gets the current high resolution timestamp, platform dependent.
|
|
10
|
+
*/
|
|
11
|
+
let now;
|
|
12
|
+
if (typeof window !== 'undefined' &&
|
|
13
|
+
typeof window.performance !== 'undefined' &&
|
|
14
|
+
typeof window.performance.now !== 'undefined') {
|
|
15
|
+
now = () => window.performance.now();
|
|
16
|
+
}
|
|
17
|
+
else if (typeof self !== 'undefined' &&
|
|
18
|
+
typeof self.performance !== 'undefined' &&
|
|
19
|
+
typeof self.performance.now !== 'undefined') {
|
|
20
|
+
now = () => self.performance.now();
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
now = () => Date.now();
|
|
24
|
+
}
|
|
25
|
+
export class BenchmarkRunResults {
|
|
26
|
+
name;
|
|
27
|
+
cycleResults = [];
|
|
28
|
+
_totalSamples = 0;
|
|
29
|
+
get totalSamples() {
|
|
30
|
+
return this._totalSamples;
|
|
31
|
+
}
|
|
32
|
+
get cycleResultsNoOutliers() {
|
|
33
|
+
const sD = this.standardDeviation;
|
|
34
|
+
const avg = average(this.cycleResults);
|
|
35
|
+
return this.cycleResults.filter((e) => {
|
|
36
|
+
const zScore = (avg - e) / sD;
|
|
37
|
+
return Math.abs(zScore) < 3;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns the mean ops per second minus outliers of greater than 3 standard deviations.
|
|
42
|
+
*/
|
|
43
|
+
get meanOpsPerSec() {
|
|
44
|
+
return average(this.cycleResultsNoOutliers);
|
|
45
|
+
}
|
|
46
|
+
get standardDeviation() {
|
|
47
|
+
return standardDeviation(this.cycleResults);
|
|
48
|
+
}
|
|
49
|
+
get variance() {
|
|
50
|
+
return this.standardDeviation / this.meanOpsPerSec;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns the mean ops / s ± variance % as a string.
|
|
54
|
+
*/
|
|
55
|
+
get meanOpsStr() {
|
|
56
|
+
const mean = this.meanOpsPerSec.toLocaleString(undefined, {
|
|
57
|
+
maximumSignificantDigits: 4,
|
|
58
|
+
});
|
|
59
|
+
const variance = this.variance.toLocaleString(undefined, {
|
|
60
|
+
style: 'percent',
|
|
61
|
+
});
|
|
62
|
+
return `${mean} ±${variance}`;
|
|
63
|
+
}
|
|
64
|
+
constructor(name) {
|
|
65
|
+
this.name = name;
|
|
66
|
+
}
|
|
67
|
+
add(cycle) {
|
|
68
|
+
const opsPerSecond = cycle.ops / cycle.duration;
|
|
69
|
+
let index = this.cycleResults.findIndex((value) => opsPerSecond < value);
|
|
70
|
+
if (index < 0)
|
|
71
|
+
index = this.cycleResults.length;
|
|
72
|
+
this.cycleResults.splice(index, 0, opsPerSecond);
|
|
73
|
+
this._totalSamples += cycle.ops;
|
|
74
|
+
}
|
|
75
|
+
toString() {
|
|
76
|
+
if (!this.cycleResults.length)
|
|
77
|
+
return 'No results';
|
|
78
|
+
return `${this.name}: ${this.meanOpsStr} ops/sec`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class RunResultsComparison {
|
|
82
|
+
name;
|
|
83
|
+
/**
|
|
84
|
+
* Sorted by median ops/s from slowest to fastest.
|
|
85
|
+
*/
|
|
86
|
+
results;
|
|
87
|
+
constructor(name, results) {
|
|
88
|
+
this.name = name;
|
|
89
|
+
this.results = results.sort((a, b) => {
|
|
90
|
+
return a.meanOpsPerSec - b.meanOpsPerSec;
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
logToTable() {
|
|
94
|
+
const r = this.results.map((run) => {
|
|
95
|
+
const variance = run.variance.toLocaleString(undefined, {
|
|
96
|
+
style: 'percent',
|
|
97
|
+
});
|
|
98
|
+
const mean = run.meanOpsPerSec.toLocaleString(undefined, {
|
|
99
|
+
maximumSignificantDigits: 4,
|
|
100
|
+
});
|
|
101
|
+
return {
|
|
102
|
+
Name: run.name,
|
|
103
|
+
Mean: `${mean} ±${variance}`,
|
|
104
|
+
Samples: run.totalSamples,
|
|
105
|
+
Compare: this.runComparisonToString(run),
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
// Use the names as the index.
|
|
109
|
+
const table = r.reduce((acc, { Name, ...x }) => {
|
|
110
|
+
acc[Name] = x;
|
|
111
|
+
return acc;
|
|
112
|
+
}, {});
|
|
113
|
+
console.log('\n' + this.name);
|
|
114
|
+
console.table(table);
|
|
115
|
+
}
|
|
116
|
+
runComparisonToString(run) {
|
|
117
|
+
const baseline = this.results[0]?.meanOpsPerSec ?? 0;
|
|
118
|
+
const fasterPercent = run.meanOpsPerSec / baseline - 1;
|
|
119
|
+
return fasterPercent < 0.01
|
|
120
|
+
? '-'
|
|
121
|
+
: fasterPercent.toLocaleString(undefined, {
|
|
122
|
+
style: 'percent',
|
|
123
|
+
}) + ' faster';
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export function compareResults(name, ...results) {
|
|
127
|
+
return new RunResultsComparison(name, results);
|
|
128
|
+
}
|
|
129
|
+
const defaultBenchmarkOptions = {
|
|
130
|
+
warmupTime: 0.5,
|
|
131
|
+
maxCycleDuration: 0.5,
|
|
132
|
+
cycles: 9,
|
|
133
|
+
};
|
|
134
|
+
export class Benchmark {
|
|
135
|
+
name;
|
|
136
|
+
executor;
|
|
137
|
+
static semaphore = nextFrame();
|
|
138
|
+
options;
|
|
139
|
+
/**
|
|
140
|
+
* Constructs a new Benchmark.
|
|
141
|
+
*
|
|
142
|
+
* @param name The name of the benchmark, to be used when logging.
|
|
143
|
+
* @param executor The method to execute and measure. If this method returns a promise, the
|
|
144
|
+
* promise will be awaited. The executor should either always return a promise, or never.
|
|
145
|
+
* @param options Optional configuration for the benchmark.
|
|
146
|
+
*/
|
|
147
|
+
constructor(name, executor, options) {
|
|
148
|
+
this.name = name;
|
|
149
|
+
this.executor = executor;
|
|
150
|
+
this.options = { ...defaultBenchmarkOptions, ...options };
|
|
151
|
+
}
|
|
152
|
+
async run() {
|
|
153
|
+
const opts = this.options;
|
|
154
|
+
// Wait for any currently running work to complete.
|
|
155
|
+
await Benchmark.semaphore;
|
|
156
|
+
const warmupTimeMs = opts.warmupTime * 1000;
|
|
157
|
+
const cycleStart = now();
|
|
158
|
+
let isAsync = false;
|
|
159
|
+
do {
|
|
160
|
+
const result = this.executor();
|
|
161
|
+
// If the executor returns a promise, it is considered an async test and the benchmark
|
|
162
|
+
// should await its result.
|
|
163
|
+
isAsync = isAsync || (result && typeof result.then === 'function');
|
|
164
|
+
if (isAsync)
|
|
165
|
+
await result;
|
|
166
|
+
} while (now() - cycleStart < warmupTimeMs);
|
|
167
|
+
const resultsPromise = (async () => {
|
|
168
|
+
const results = new BenchmarkRunResults(this.name);
|
|
169
|
+
for (let i = 0; i < opts.cycles; i++) {
|
|
170
|
+
const cycleResults = await this.runCycle(isAsync);
|
|
171
|
+
results.add(cycleResults);
|
|
172
|
+
await nextFrame();
|
|
173
|
+
}
|
|
174
|
+
return results;
|
|
175
|
+
})();
|
|
176
|
+
Benchmark.semaphore = resultsPromise;
|
|
177
|
+
return await resultsPromise;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Runs one cycle. A cycle will repeat the executor approximately `options.maxCycleDuration`
|
|
181
|
+
* seconds.
|
|
182
|
+
*
|
|
183
|
+
* @param isAsync
|
|
184
|
+
* @return Returns the duration (in seconds) and number of operations the cycle repeated.
|
|
185
|
+
*/
|
|
186
|
+
async runCycle(isAsync) {
|
|
187
|
+
const cycleMs = this.options.maxCycleDuration * 1000;
|
|
188
|
+
let ops = 0;
|
|
189
|
+
const cycleStart = now();
|
|
190
|
+
do {
|
|
191
|
+
const result = this.executor();
|
|
192
|
+
if (isAsync)
|
|
193
|
+
await result;
|
|
194
|
+
ops++;
|
|
195
|
+
} while (now() - cycleStart < cycleMs);
|
|
196
|
+
const duration = (now() - cycleStart) / 1000;
|
|
197
|
+
return {
|
|
198
|
+
duration,
|
|
199
|
+
ops,
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Creates and runs a benchmark, logging the result.
|
|
205
|
+
*
|
|
206
|
+
* @param name
|
|
207
|
+
* @param executor
|
|
208
|
+
* @param options
|
|
209
|
+
*/
|
|
210
|
+
export function benchmark(name, executor, options) {
|
|
211
|
+
const benchmark = new Benchmark(name, executor, options);
|
|
212
|
+
return benchmark.run().then((results) => {
|
|
213
|
+
console.log(results.toString());
|
|
214
|
+
return results;
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* To avoid killing the browser's frame.
|
|
219
|
+
*/
|
|
220
|
+
function nextFrame() {
|
|
221
|
+
return new Promise((resolve) => {
|
|
222
|
+
setTimeout(resolve);
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Returns the standard deviation of the given values.
|
|
227
|
+
*
|
|
228
|
+
* @param values
|
|
229
|
+
*/
|
|
230
|
+
function standardDeviation(values) {
|
|
231
|
+
const avg = average(values);
|
|
232
|
+
const squareDiffs = values.map((value) => {
|
|
233
|
+
const diff = value - avg;
|
|
234
|
+
return diff * diff;
|
|
235
|
+
});
|
|
236
|
+
const avgSquareDiff = average(squareDiffs);
|
|
237
|
+
return Math.sqrt(avgSquareDiff);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Returns the mean/average of the given values.
|
|
241
|
+
*
|
|
242
|
+
* @param values
|
|
243
|
+
*/
|
|
244
|
+
function average(values) {
|
|
245
|
+
const sum = values.reduce((acc, value) => acc + value, 0);
|
|
246
|
+
return sum / values.length;
|
|
247
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets the timeout for the current describe block.
|
|
3
|
+
*
|
|
4
|
+
* @param timeout The test timeout, in seconds.
|
|
5
|
+
*/
|
|
6
|
+
export declare function setTestTimeout(timeout: number): void;
|
|
7
|
+
/**
|
|
8
|
+
* Sets the timeout for the next test and only the next test,
|
|
9
|
+
* overriding any value set subsequently to setTestTimeout.
|
|
10
|
+
*
|
|
11
|
+
* @param timeout The test timeout, in seconds.
|
|
12
|
+
*/
|
|
13
|
+
export declare function setNextTestTimeout(timeout: number): void;
|
|
14
|
+
//# sourceMappingURL=jasmineEnv.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jasmineEnv.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/env/jasmineEnv.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,QAY7C;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,QAGjD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
let nextTestTimeoutOverridden = false;
|
|
6
|
+
/**
|
|
7
|
+
* Sets the timeout for the current describe block.
|
|
8
|
+
*
|
|
9
|
+
* @param timeout The test timeout, in seconds.
|
|
10
|
+
*/
|
|
11
|
+
export function setTestTimeout(timeout) {
|
|
12
|
+
let originalTimeout = null;
|
|
13
|
+
beforeEach(() => {
|
|
14
|
+
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
|
15
|
+
if (!nextTestTimeoutOverridden)
|
|
16
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = timeout * 1000;
|
|
17
|
+
});
|
|
18
|
+
afterEach(() => {
|
|
19
|
+
if (originalTimeout)
|
|
20
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
|
|
21
|
+
if (nextTestTimeoutOverridden)
|
|
22
|
+
nextTestTimeoutOverridden = false;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Sets the timeout for the next test and only the next test,
|
|
27
|
+
* overriding any value set subsequently to setTestTimeout.
|
|
28
|
+
*
|
|
29
|
+
* @param timeout The test timeout, in seconds.
|
|
30
|
+
*/
|
|
31
|
+
export function setNextTestTimeout(timeout) {
|
|
32
|
+
nextTestTimeoutOverridden = true;
|
|
33
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = timeout * 1000;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Expects that two iterable objects have the same elements.
|
|
3
|
+
*
|
|
4
|
+
* @param arr1
|
|
5
|
+
* @param arr2
|
|
6
|
+
*/
|
|
7
|
+
export declare function expectIterableEquals<T>(arr1: Iterable<T> | ArrayLike<T>, arr2: Iterable<T> | ArrayLike<T>): void;
|
|
8
|
+
//# sourceMappingURL=expectIterableEquals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expectIterableEquals.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/expect/expectIterableEquals.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAClC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,QAGnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Expects that two iterable objects have the same elements.
|
|
7
|
+
*
|
|
8
|
+
* @param arr1
|
|
9
|
+
* @param arr2
|
|
10
|
+
*/
|
|
11
|
+
export function expectIterableEquals(arr1, arr2) {
|
|
12
|
+
expect(Array.from(arr1)).toEqual(Array.from(arr2));
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expectNothing.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/expect/expectNothing.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,aAAa,SAE5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Some tests (such as benchmarks or type expectations) have no jasmine expectations.
|
|
7
|
+
*/
|
|
8
|
+
export function expectNothing() {
|
|
9
|
+
expect(true).toBeTruthy();
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Expect that the given factory produces an instance of `clazz` and `superClass`
|
|
3
|
+
* This is different from `expect(e).toBeInstanceOf` in that it accounts for TypeScript's branching
|
|
4
|
+
* if _super.call returns undefined.
|
|
5
|
+
*
|
|
6
|
+
* For example, IllegalArgumentError extends Error will produce the following constructor:
|
|
7
|
+
* ```
|
|
8
|
+
* var _this = _super.call(this, message) || this;
|
|
9
|
+
* Object.setPrototypeOf(_this, IllegalArgumentError.prototype);
|
|
10
|
+
* ```
|
|
11
|
+
* The branch of _super.call || this requires two tests for perfect coverage, one for the falsy
|
|
12
|
+
* case, and one for the truthy case.
|
|
13
|
+
*
|
|
14
|
+
* @param factory
|
|
15
|
+
* @param classes
|
|
16
|
+
*/
|
|
17
|
+
export declare function expectPrototype(factory: () => any, ...classes: any[]): void;
|
|
18
|
+
//# sourceMappingURL=prototype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prototype.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/expect/prototype.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,GAAG,IAAI,CAO3E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Expect that the given factory produces an instance of `clazz` and `superClass`
|
|
7
|
+
* This is different from `expect(e).toBeInstanceOf` in that it accounts for TypeScript's branching
|
|
8
|
+
* if _super.call returns undefined.
|
|
9
|
+
*
|
|
10
|
+
* For example, IllegalArgumentError extends Error will produce the following constructor:
|
|
11
|
+
* ```
|
|
12
|
+
* var _this = _super.call(this, message) || this;
|
|
13
|
+
* Object.setPrototypeOf(_this, IllegalArgumentError.prototype);
|
|
14
|
+
* ```
|
|
15
|
+
* The branch of _super.call || this requires two tests for perfect coverage, one for the falsy
|
|
16
|
+
* case, and one for the truthy case.
|
|
17
|
+
*
|
|
18
|
+
* @param factory
|
|
19
|
+
* @param classes
|
|
20
|
+
*/
|
|
21
|
+
export function expectPrototype(factory, ...classes) {
|
|
22
|
+
const e = factory();
|
|
23
|
+
classes.forEach((clazz) => expect(e).toBeInstanceOf(clazz));
|
|
24
|
+
const spy = spyOn(classes[classes.length - 1], 'call');
|
|
25
|
+
spy.and.returnValue(null);
|
|
26
|
+
const e2 = factory();
|
|
27
|
+
classes.forEach((clazz) => expect(e2).toBeInstanceOf(clazz));
|
|
28
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A type that equals true if Left and Right are strictly equal.
|
|
3
|
+
* Works with complex objects, readonly, and optional modifiers.
|
|
4
|
+
* Works with method input arguments.
|
|
5
|
+
* This will always equal true or false, and never the union `true | false`
|
|
6
|
+
*/
|
|
7
|
+
export type StrictEqual<Left, Right> = (<T>() => T extends Left ? 0 : 1) extends <T>() => T extends Right ? 0 : 1 ? Equal<Left, Right> : false;
|
|
8
|
+
/**
|
|
9
|
+
* A type that equals true if Left and Right are loosely equal, that is, that Left extends Right
|
|
10
|
+
* and Right extends Left.
|
|
11
|
+
* This will always equal true or false, and never the union `true | false`
|
|
12
|
+
*/
|
|
13
|
+
export type Equal<Left, Right> = [Left] extends [Right] ? [Right] extends [Left] ? true : false : false;
|
|
14
|
+
/**
|
|
15
|
+
* Adds a compile-time check that types Left and Right are identical.
|
|
16
|
+
*/
|
|
17
|
+
export declare function expectTypeStrictlyEquals<Left, Right>(_matches: StrictEqual<Left, Right>): void;
|
|
18
|
+
/**
|
|
19
|
+
* Adds a compile-time check that type Left extends Right and Right extends Left.
|
|
20
|
+
* This is not as strict as `expectTypeStrictlyEquals`, it does not validate:
|
|
21
|
+
* - unknown types
|
|
22
|
+
* - any types
|
|
23
|
+
*/
|
|
24
|
+
export declare function expectTypeEquals<Left, Right>(_matches: Equal<Left, Right>): void;
|
|
25
|
+
/**
|
|
26
|
+
* Adds a compile-time check that Sub extends Super.
|
|
27
|
+
* This is distributive, so `expectTypeExtends<1, 1 | 2>` will expect true.
|
|
28
|
+
*/
|
|
29
|
+
export declare function expectTypeExtends<Sub, Super>(_matches: [Sub] extends [Super] ? true : false): void;
|
|
30
|
+
/**
|
|
31
|
+
* Adds a compile-time check that expects that the given type is exactly true.
|
|
32
|
+
*/
|
|
33
|
+
export declare function expectTypeTrue<T extends true>(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Adds a compile-time check that expects that the given type is exactly false.
|
|
36
|
+
*/
|
|
37
|
+
export declare function expectTypeFalse<T extends false>(): void;
|
|
38
|
+
//# sourceMappingURL=typesafety.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typesafety.d.ts","sourceRoot":"","sources":["../../../../../test/browserTestUtil/expect/typesafety.ts"],"names":[],"mappings":"AAaA;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CAAC,IAAI,EAAE,KAAK,IAE/B,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,SAAS,KAAK,GAAG,CAAC,GAAG,CAAC,GACpE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAClB,KAAK,CAAA;AAEf;;;;GAIG;AACH,MAAM,MAAM,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GACjD,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,GAClB,IAAI,GACJ,KAAK,GACT,KAAK,CAAA;AAEX;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,KAAK,EAChD,QAAQ,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,GACnC,IAAI,CAEN;AAGD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,KAAK,EACxC,QAAQ,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAC7B,IAAI,CAEN;AAGD;;;GAGG;AAEH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,KAAK,EACxC,QAAQ,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,KAAK,GAC/C,IAAI,CAEN;AAED;;GAEG;AAEH,wBAAgB,cAAc,CAAC,CAAC,SAAS,IAAI,KAAK,IAAI,CAErD;AAED;;GAEG;AAEH,wBAAgB,eAAe,CAAC,CAAC,SAAS,KAAK,KAAK,IAAI,CAEvD"}
|