@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,15 @@
|
|
|
1
|
+
import type { CodeRange } from '@amazon/vinyl-util';
|
|
2
|
+
import type { MockEventTarget } from '@amazon/vinyl-util/browserTestUtil';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a code range object surrounding the given error.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createRangeSurrounding(error: Error): CodeRange;
|
|
7
|
+
/**
|
|
8
|
+
* Simulates an uncaught error event.
|
|
9
|
+
*/
|
|
10
|
+
export declare function throwMockError(target: MockEventTarget, error: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* Simulates an unhandled rejection to be caught by the global unhandled promise handler.
|
|
13
|
+
*/
|
|
14
|
+
export declare function rejectMockPromise(target: MockEventTarget, reason: any): void;
|
|
15
|
+
//# sourceMappingURL=uncaughtErrorUtil.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uncaughtErrorUtil.d.ts","sourceRoot":"","sources":["../../../../../test/testUtil/error/uncaughtErrorUtil.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAMzE;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAoB9D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,GAAG,QAMjE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,QAQrE"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { parseStackLocation } from '@amazon/vinyl-util';
|
|
6
|
+
import { MockErrorEvent, MockPromiseRejectionEvent, } from '@amazon/vinyl-util/browserTestUtil';
|
|
7
|
+
/**
|
|
8
|
+
* Creates a code range object surrounding the given error.
|
|
9
|
+
*/
|
|
10
|
+
export function createRangeSurrounding(error) {
|
|
11
|
+
const location = parseStackLocation(error.stack);
|
|
12
|
+
if (!location) {
|
|
13
|
+
pending('Cannot parse stacks in this environment.');
|
|
14
|
+
return { start: null, end: null };
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
start: {
|
|
18
|
+
source: location.source,
|
|
19
|
+
file: location.file,
|
|
20
|
+
row: location.row,
|
|
21
|
+
col: (location.col ?? 0) - 1,
|
|
22
|
+
},
|
|
23
|
+
end: {
|
|
24
|
+
source: location.source,
|
|
25
|
+
file: location.file,
|
|
26
|
+
row: location.row,
|
|
27
|
+
col: (location.col ?? 0) + 1,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Simulates an uncaught error event.
|
|
33
|
+
*/
|
|
34
|
+
export function throwMockError(target, error) {
|
|
35
|
+
expect(target.removeEventListener).not.toHaveBeenCalled();
|
|
36
|
+
const event = new MockErrorEvent();
|
|
37
|
+
event.type = 'error';
|
|
38
|
+
event.error = error;
|
|
39
|
+
target.dispatchEvent(event);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Simulates an unhandled rejection to be caught by the global unhandled promise handler.
|
|
43
|
+
*/
|
|
44
|
+
export function rejectMockPromise(target, reason) {
|
|
45
|
+
expect(target.removeEventListener).not.toHaveBeenCalled();
|
|
46
|
+
// Not all environments can construct `PromiseRejectionEvent`
|
|
47
|
+
const event = new MockPromiseRejectionEvent();
|
|
48
|
+
event.type = 'unhandledrejection';
|
|
49
|
+
event.reason = reason;
|
|
50
|
+
event.promise = Promise.reject(reason).catch(() => void 0);
|
|
51
|
+
target.dispatchEvent(event);
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overrideGlobalInit.d.ts","sourceRoot":"","sources":["../../../../../test/testUtil/global/overrideGlobalInit.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,EAC7C,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,EACxB,YAAY,EAAE,MAAM,CAAC,GACtB;IAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAKvB"}
|
|
@@ -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
|
+
export function overrideGlobalInit(initHandle, initOverride) {
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
initHandle.set(initOverride);
|
|
8
|
+
});
|
|
9
|
+
return initHandle;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Auto-generated from build scripts */
|
|
2
|
+
export * from './util/initializeUncaughtErrorLogging';
|
|
3
|
+
export * from './util/event/createEventSpy';
|
|
4
|
+
export * from './reporters/RestApiReporter';
|
|
5
|
+
export * from './reporters/LogReporter';
|
|
6
|
+
export * from './patch/addPatchTests';
|
|
7
|
+
export * from './mock/util/spyOnPropertySafe';
|
|
8
|
+
export * from './mock/persistence/MockPersistence';
|
|
9
|
+
export * from './mock/network/emptyRequestInfo';
|
|
10
|
+
export * from './mock/network/MockRequester';
|
|
11
|
+
export * from './mock/network/MockNetworkState';
|
|
12
|
+
export * from './mock/network/MockNetworkMetricsController';
|
|
13
|
+
export * from './mock/network/MockNetworkInformation';
|
|
14
|
+
export * from './mock/navigator/setMockNavigator';
|
|
15
|
+
export * from './mock/logging/MockLogger';
|
|
16
|
+
export * from './mock/event/emptyLogTarget';
|
|
17
|
+
export * from './mock/event/MockEventHost';
|
|
18
|
+
export * from './global/overrideGlobalInit';
|
|
19
|
+
export * from './error/uncaughtErrorUtil';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../test/testUtil/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,cAAc,uCAAuC,CAAA;AACrD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,mCAAmC,CAAA;AACjD,cAAc,2BAA2B,CAAA;AACzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Auto-generated from build scripts */
|
|
2
|
+
export * from './util/initializeUncaughtErrorLogging';
|
|
3
|
+
export * from './util/event/createEventSpy';
|
|
4
|
+
export * from './reporters/RestApiReporter';
|
|
5
|
+
export * from './reporters/LogReporter';
|
|
6
|
+
export * from './patch/addPatchTests';
|
|
7
|
+
export * from './mock/util/spyOnPropertySafe';
|
|
8
|
+
export * from './mock/persistence/MockPersistence';
|
|
9
|
+
export * from './mock/network/emptyRequestInfo';
|
|
10
|
+
export * from './mock/network/MockRequester';
|
|
11
|
+
export * from './mock/network/MockNetworkState';
|
|
12
|
+
export * from './mock/network/MockNetworkMetricsController';
|
|
13
|
+
export * from './mock/network/MockNetworkInformation';
|
|
14
|
+
export * from './mock/navigator/setMockNavigator';
|
|
15
|
+
export * from './mock/logging/MockLogger';
|
|
16
|
+
export * from './mock/event/emptyLogTarget';
|
|
17
|
+
export * from './mock/event/MockEventHost';
|
|
18
|
+
export * from './global/overrideGlobalInit';
|
|
19
|
+
export * from './error/uncaughtErrorUtil';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventHostImpl } from '@amazon/vinyl-util';
|
|
2
|
+
/**
|
|
3
|
+
* MockEventHost creates spies with pass-through calls to the EventHost implementation.
|
|
4
|
+
* While this is not a true mock, events become easier to test when using a real event dispatcher.
|
|
5
|
+
*/
|
|
6
|
+
export declare class MockEventHost<EventMap = any> extends EventHostImpl<EventMap> {
|
|
7
|
+
private readonly spyFactory;
|
|
8
|
+
logPrefix: string;
|
|
9
|
+
hasAnyListeners: import("@amazon/vinyl-util/browserTestUtil").Spy2<(() => boolean) & (() => any)>;
|
|
10
|
+
hasListeners: import("@amazon/vinyl-util/browserTestUtil").Spy2<((type: keyof EventMap) => boolean) & ((type: keyof EventMap) => any)>;
|
|
11
|
+
dispatch: import("@amazon/vinyl-util/browserTestUtil").Spy2<(<K extends keyof EventMap>(type: K, event: EventMap[K]) => void)>;
|
|
12
|
+
on: import("@amazon/vinyl-util/browserTestUtil").Spy2<(<K extends keyof EventMap>(type: K, handler: import("@amazon/vinyl-util").EventHandler<EventMap[K]>, options?: import("@amazon/vinyl-util").SignalOptions) => import("@amazon/vinyl-util").Unsubscribe) & ((type: keyof EventMap, handler: import("@amazon/vinyl-util").EventHandler<EventMap[keyof EventMap]>, options?: import("@amazon/vinyl-util").SignalOptions | undefined) => any)>;
|
|
13
|
+
dispose: import("@amazon/vinyl-util/browserTestUtil").Spy2<() => void>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=MockEventHost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockEventHost.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/event/MockEventHost.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAIlD;;;GAGG;AACH,qBAAa,aAAa,CAAC,QAAQ,GAAG,GAAG,CAAE,SAAQ,aAAa,CAAC,QAAQ,CAAC;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAGrB;IAEN,SAAS,SAAkB;IAC3B,eAAe,mFAAqC;IACpD,YAAY,2HAAkC;IAC9C,QAAQ,uHAA8B;IACtC,EAAE,gbAAwB;IAC1B,OAAO,gEAA6B;CACvC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { EventHostImpl } from '@amazon/vinyl-util';
|
|
6
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
7
|
+
/**
|
|
8
|
+
* MockEventHost creates spies with pass-through calls to the EventHost implementation.
|
|
9
|
+
* While this is not a true mock, events become easier to test when using a real event dispatcher.
|
|
10
|
+
*/
|
|
11
|
+
export class MockEventHost extends EventHostImpl {
|
|
12
|
+
spyFactory = createSpyFactory((key) => {
|
|
13
|
+
return super[key].bind(this);
|
|
14
|
+
});
|
|
15
|
+
logPrefix = 'MockEventHost';
|
|
16
|
+
hasAnyListeners = this.spyFactory('hasAnyListeners');
|
|
17
|
+
hasListeners = this.spyFactory('hasListeners');
|
|
18
|
+
dispatch = this.spyFactory('dispatch');
|
|
19
|
+
on = this.spyFactory('on');
|
|
20
|
+
dispose = this.spyFactory('dispose');
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emptyLogTarget.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/event/emptyLogTarget.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,eAAO,MAAM,cAAc,EAAE,SAE5B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { LogEventMap, Logger, LogTarget } from '@amazon/vinyl-util';
|
|
2
|
+
import { LogLevel } from '@amazon/vinyl-util';
|
|
3
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
4
|
+
type LogFilterFun = (target: LogTarget, ...messages: any[]) => void;
|
|
5
|
+
export declare class MockLogger extends MockEventHost<LogEventMap> implements Logger {
|
|
6
|
+
logLevel: LogLevel;
|
|
7
|
+
log: jasmine.Spy<(target: LogTarget, level: LogLevel, ...messages: readonly any[]) => void>;
|
|
8
|
+
verbose: jasmine.Spy<LogFilterFun>;
|
|
9
|
+
debug: jasmine.Spy<LogFilterFun>;
|
|
10
|
+
info: jasmine.Spy<LogFilterFun>;
|
|
11
|
+
warn: jasmine.Spy<LogFilterFun>;
|
|
12
|
+
error: jasmine.Spy<LogFilterFun>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useMockLogger(): {
|
|
15
|
+
readonly value: MockLogger;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=MockLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockLogger.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/logging/MockLogger.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,EAAa,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAGxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG1D,KAAK,YAAY,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;AAGnE,qBAAa,UAAW,SAAQ,aAAa,CAAC,WAAW,CAAE,YAAW,MAAM;IACxE,QAAQ,EAAE,QAAQ,CAAiB;IAEnC,GAAG,yFAmBD;IAEF,OAAO,4BAAqC;IAC5C,KAAK,4BAAmC;IACxC,IAAI,4BAAkC;IACtC,IAAI,4BAAkC;IACtC,KAAK,4BAAmC;CAC3C;AAED,wBAAgB,aAAa,IAAI;IAAE,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAE9D"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { loggerRef, LogLevel } from '@amazon/vinyl-util';
|
|
6
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
7
|
+
import { overrideGlobalInit } from '../../global/overrideGlobalInit';
|
|
8
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
9
|
+
var createSpy = jasmine.createSpy;
|
|
10
|
+
const spyFactory = createSpyFactory();
|
|
11
|
+
export class MockLogger extends MockEventHost {
|
|
12
|
+
logLevel = LogLevel.DEBUG;
|
|
13
|
+
log = spyFactory('log').and.callFake((target, level, ...messages) => {
|
|
14
|
+
switch (level) {
|
|
15
|
+
// Delegates logs to spies separated by log level.
|
|
16
|
+
case LogLevel.VERBOSE:
|
|
17
|
+
this.verbose(target, ...messages);
|
|
18
|
+
break;
|
|
19
|
+
case LogLevel.DEBUG:
|
|
20
|
+
this.debug(target, ...messages);
|
|
21
|
+
break;
|
|
22
|
+
case LogLevel.INFO:
|
|
23
|
+
this.info(target, ...messages);
|
|
24
|
+
break;
|
|
25
|
+
case LogLevel.WARN:
|
|
26
|
+
this.warn(target, ...messages);
|
|
27
|
+
break;
|
|
28
|
+
case LogLevel.ERROR:
|
|
29
|
+
this.error(target, ...messages);
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
verbose = createSpy('verbose');
|
|
34
|
+
debug = createSpy('debug');
|
|
35
|
+
info = createSpy('info');
|
|
36
|
+
warn = createSpy('warn');
|
|
37
|
+
error = createSpy('error');
|
|
38
|
+
}
|
|
39
|
+
export function useMockLogger() {
|
|
40
|
+
return overrideGlobalInit(loggerRef, () => new MockLogger());
|
|
41
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MockNavigator } from '@amazon/vinyl-util/browserTestUtil';
|
|
2
|
+
/**
|
|
3
|
+
* Sets the global navigator to a Mock
|
|
4
|
+
* Returns the new MockNavigator instance.
|
|
5
|
+
*/
|
|
6
|
+
export declare function setMockNavigator(): MockNavigator;
|
|
7
|
+
//# sourceMappingURL=setMockNavigator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setMockNavigator.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/navigator/setMockNavigator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGlE;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAIhD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { MockNavigator } from '@amazon/vinyl-util/browserTestUtil';
|
|
6
|
+
import { spyOnPropertySafe } from '../../mock/util/spyOnPropertySafe';
|
|
7
|
+
/**
|
|
8
|
+
* Sets the global navigator to a Mock
|
|
9
|
+
* Returns the new MockNavigator instance.
|
|
10
|
+
*/
|
|
11
|
+
export function setMockNavigator() {
|
|
12
|
+
const navigator = new MockNavigator();
|
|
13
|
+
spyOnPropertySafe(global, 'navigator').and.returnValue(navigator);
|
|
14
|
+
return navigator;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NetworkInformation, NetworkInformationEffectiveType, NetworkInformationType } from '@amazon/vinyl-util';
|
|
2
|
+
import { MockEventTarget } from '@amazon/vinyl-util/browserTestUtil';
|
|
3
|
+
export declare class MockNetworkInformation extends MockEventTarget implements NetworkInformation {
|
|
4
|
+
downlink: number | undefined;
|
|
5
|
+
effectiveType: NetworkInformationEffectiveType;
|
|
6
|
+
rtt: number;
|
|
7
|
+
saveData: boolean;
|
|
8
|
+
type?: NetworkInformationType;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=MockNetworkInformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockNetworkInformation.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/network/MockNetworkInformation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACR,kBAAkB,EAClB,+BAA+B,EAC/B,sBAAsB,EACzB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAEpE,qBAAa,sBACT,SAAQ,eACR,YAAW,kBAAkB;IAE7B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAY;IACxC,aAAa,EAAE,+BAA+B,CAAO;IACrD,GAAG,SAAI;IACP,QAAQ,UAAQ;IAChB,IAAI,CAAC,EAAE,sBAAsB,CAAY;CAC5C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { MockEventTarget } from '@amazon/vinyl-util/browserTestUtil';
|
|
6
|
+
export class MockNetworkInformation extends MockEventTarget {
|
|
7
|
+
downlink = undefined;
|
|
8
|
+
effectiveType = '4g';
|
|
9
|
+
rtt = 0;
|
|
10
|
+
saveData = false;
|
|
11
|
+
type = undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { NetworkMetrics, NetworkMetricsController, NetworkMetricsEventMap } from '@amazon/vinyl-util';
|
|
2
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
3
|
+
export declare class MockNetworkMetricsController extends MockEventHost<NetworkMetricsEventMap> implements NetworkMetricsController {
|
|
4
|
+
maxHistorySize: number;
|
|
5
|
+
metrics: NetworkMetrics;
|
|
6
|
+
addMetricsEntry: import("@amazon/vinyl-util/browserTestUtil").Spy2<(entry: import("@amazon/vinyl-util").NetworkMetricsEntry) => void>;
|
|
7
|
+
getServiceMetrics: import("@amazon/vinyl-util/browserTestUtil").Spy2<((serviceId: import("@amazon/vinyl-util").Maybe<string>) => import("@amazon/vinyl-util").ServiceMetrics) & ((serviceId: import("@amazon/vinyl-util").Maybe<string>) => any)>;
|
|
8
|
+
addDownlinkTransferEntry: import("@amazon/vinyl-util/browserTestUtil").Spy2<(entry: import("@amazon/vinyl-util").NetworkTransferEntry) => void>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=MockNetworkMetricsController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockNetworkMetricsController.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/network/MockNetworkMetricsController.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACR,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,oBAAoB,CAAA;AAI3B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG1D,qBAAa,4BACT,SAAQ,aAAa,CAAC,sBAAsB,CAC5C,YAAW,wBAAwB;IAEnC,cAAc,SAAI;IAElB,OAAO,EAAE,cAAc,CAAwB;IAE/C,eAAe,uHAAgC;IAE/C,iBAAiB,iOAAkC;IAEnD,wBAAwB,wHAAyC;CACpE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { EMPTY_NETWORK_METRICS } from '@amazon/vinyl-util';
|
|
6
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
7
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
8
|
+
const spyFactory = createSpyFactory();
|
|
9
|
+
export class MockNetworkMetricsController extends MockEventHost {
|
|
10
|
+
maxHistorySize = 0;
|
|
11
|
+
metrics = EMPTY_NETWORK_METRICS;
|
|
12
|
+
addMetricsEntry = spyFactory('addMetricsEntry');
|
|
13
|
+
getServiceMetrics = spyFactory('getServiceMetrics');
|
|
14
|
+
addDownlinkTransferEntry = spyFactory('addDownlinkTransferEntry');
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NetworkState, NetworkStateEventMap } from '@amazon/vinyl-util';
|
|
2
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
3
|
+
export declare class MockNetworkState extends MockEventHost<NetworkStateEventMap> implements NetworkState {
|
|
4
|
+
onLine: boolean;
|
|
5
|
+
nextOnLine: import("@amazon/vinyl-util/browserTestUtil").Spy2<((abort?: import("@amazon/vinyl-util").Maybe<import("@amazon/vinyl-util").ReadonlyAbort>) => Promise<void>) & ((abort?: import("@amazon/vinyl-util").Maybe<import("@amazon/vinyl-util").ReadonlyAbort>) => any)>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=MockNetworkState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockNetworkState.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/network/MockNetworkState.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG1D,qBAAa,gBACT,SAAQ,aAAa,CAAC,oBAAoB,CAC1C,YAAW,YAAY;IAEvB,MAAM,UAAQ;IAEd,UAAU,qQAA2B;CACxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
6
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
7
|
+
const spyFactory = createSpyFactory();
|
|
8
|
+
export class MockNetworkState extends MockEventHost {
|
|
9
|
+
onLine = false;
|
|
10
|
+
nextOnLine = spyFactory('nextOnLine');
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Requester, RequesterImplEventMap } from '@amazon/vinyl-util';
|
|
2
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
3
|
+
export declare class MockRequester extends MockEventHost<RequesterImplEventMap> implements Requester {
|
|
4
|
+
request: import("@amazon/vinyl-util/browserTestUtil").Spy2<((input: RequestInfo | Readonly<URL>, init?: import("@amazon/vinyl-util").Maybe<import("@amazon/vinyl-util").RequestInitOptions>, requestOptions?: import("@amazon/vinyl-util").Maybe<import("@amazon/vinyl-util").RequestOptions>) => Promise<Response>) & ((input: RequestInfo | Readonly<URL>, init?: import("@amazon/vinyl-util").Maybe<Readonly<Omit<RequestInit, "signal">>>, requestOptions?: import("@amazon/vinyl-util").Maybe<import("@amazon/vinyl-util").RequestOptions>) => any)>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=MockRequester.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockRequester.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/network/MockRequester.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE1E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG1D,qBAAa,aACT,SAAQ,aAAa,CAAC,qBAAqB,CAC3C,YAAW,SAAS;IAEpB,OAAO,mhBAAwB;CAClC"}
|
|
@@ -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
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
6
|
+
import { MockEventHost } from '../../mock/event/MockEventHost';
|
|
7
|
+
const spyFactory = createSpyFactory();
|
|
8
|
+
export class MockRequester extends MockEventHost {
|
|
9
|
+
request = spyFactory('request');
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FetchRequestInfo, type RequestAttemptInfo, type RequestCaughtErrorEvent, type RequestNetworkErrorEvent, type RequestResponseErrorEvent, type RequestSuccessEvent, type ResponseInfo } from '@amazon/vinyl-util';
|
|
2
|
+
export declare const emptyRequestInfo: FetchRequestInfo;
|
|
3
|
+
export declare const emptyRequestAttemptInfo: RequestAttemptInfo;
|
|
4
|
+
export declare const emptyResponseInfo: ResponseInfo;
|
|
5
|
+
export declare const emptyRequestSuccessEvent: RequestSuccessEvent;
|
|
6
|
+
export declare const emptyInternalError: RequestCaughtErrorEvent;
|
|
7
|
+
export declare const emptyNetworkError: RequestNetworkErrorEvent;
|
|
8
|
+
export declare const emptyResponseError: RequestResponseErrorEvent;
|
|
9
|
+
export declare const emptyAbortError: RequestCaughtErrorEvent;
|
|
10
|
+
//# sourceMappingURL=emptyRequestInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emptyRequestInfo.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/network/emptyRequestInfo.ts"],"names":[],"mappings":"AASA,OAAO,EAEH,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACpB,MAAM,oBAAoB,CAAA;AAG3B,eAAO,MAAM,gBAAgB,EAAE,gBAO9B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,kBAGrC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,YAQ/B,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,mBAMtC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,uBAQhC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,wBAS/B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,yBAUhC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,uBAG7B,CAAA"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
//-------------------------------------------------------------
|
|
6
|
+
// Empty FetchCompletedInfo objects for tests.
|
|
7
|
+
//-------------------------------------------------------------
|
|
8
|
+
import { ErrorBodyType, } from '@amazon/vinyl-util';
|
|
9
|
+
import { RequestFailureType } from '@amazon/vinyl-util';
|
|
10
|
+
export const emptyRequestInfo = {
|
|
11
|
+
requestId: '',
|
|
12
|
+
requestOptions: { readErrorBody: ErrorBodyType.DISABLED, serviceId: null },
|
|
13
|
+
init: {},
|
|
14
|
+
input: '',
|
|
15
|
+
maxRetries: 0,
|
|
16
|
+
timestamp: 0,
|
|
17
|
+
};
|
|
18
|
+
export const emptyRequestAttemptInfo = {
|
|
19
|
+
currentTry: 0,
|
|
20
|
+
timestamp: 0,
|
|
21
|
+
};
|
|
22
|
+
export const emptyResponseInfo = {
|
|
23
|
+
ok: false,
|
|
24
|
+
redirected: false,
|
|
25
|
+
status: 0,
|
|
26
|
+
statusText: '',
|
|
27
|
+
type: 'default',
|
|
28
|
+
url: '',
|
|
29
|
+
contentLength: 0,
|
|
30
|
+
};
|
|
31
|
+
export const emptyRequestSuccessEvent = {
|
|
32
|
+
ok: true,
|
|
33
|
+
requestInfo: emptyRequestInfo,
|
|
34
|
+
timestamp: 0,
|
|
35
|
+
attemptInfo: emptyRequestAttemptInfo,
|
|
36
|
+
responseInfo: emptyResponseInfo,
|
|
37
|
+
};
|
|
38
|
+
export const emptyInternalError = {
|
|
39
|
+
ok: false,
|
|
40
|
+
reason: null,
|
|
41
|
+
requestInfo: emptyRequestInfo,
|
|
42
|
+
retryAfter: null,
|
|
43
|
+
timestamp: 0,
|
|
44
|
+
type: RequestFailureType.INTERNAL,
|
|
45
|
+
willRetry: false,
|
|
46
|
+
};
|
|
47
|
+
export const emptyNetworkError = {
|
|
48
|
+
ok: false,
|
|
49
|
+
reason: null,
|
|
50
|
+
requestInfo: emptyRequestInfo,
|
|
51
|
+
retryAfter: null,
|
|
52
|
+
timestamp: 0,
|
|
53
|
+
type: RequestFailureType.NETWORK,
|
|
54
|
+
willRetry: false,
|
|
55
|
+
attemptInfo: emptyRequestAttemptInfo,
|
|
56
|
+
};
|
|
57
|
+
export const emptyResponseError = {
|
|
58
|
+
ok: false,
|
|
59
|
+
reason: null,
|
|
60
|
+
requestInfo: emptyRequestInfo,
|
|
61
|
+
retryAfter: null,
|
|
62
|
+
timestamp: 0,
|
|
63
|
+
type: RequestFailureType.RESPONSE,
|
|
64
|
+
willRetry: false,
|
|
65
|
+
attemptInfo: emptyRequestAttemptInfo,
|
|
66
|
+
responseInfo: emptyResponseInfo,
|
|
67
|
+
};
|
|
68
|
+
export const emptyAbortError = {
|
|
69
|
+
...emptyInternalError,
|
|
70
|
+
type: RequestFailureType.ABORT,
|
|
71
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { KeyValuePersistence } from '@amazon/vinyl-util';
|
|
2
|
+
export declare class MockPersistence<T = any> implements KeyValuePersistence<T> {
|
|
3
|
+
private readonly spyFactory;
|
|
4
|
+
clear: import("@amazon/vinyl-util/browserTestUtil").Spy2<(() => Promise<void>) & (() => any)>;
|
|
5
|
+
get: import("@amazon/vinyl-util/browserTestUtil").Spy2<((key: string) => Promise<T | null>) & ((key: string) => any)>;
|
|
6
|
+
remove: import("@amazon/vinyl-util/browserTestUtil").Spy2<((key: string) => Promise<void>) & ((key: string) => any)>;
|
|
7
|
+
set: import("@amazon/vinyl-util/browserTestUtil").Spy2<((key: string, value: T) => Promise<void>) & ((key: string, value: T) => any)>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=MockPersistence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockPersistence.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/persistence/MockPersistence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,YAAW,mBAAmB,CAAC,CAAC,CAAC;IACnE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA6C;IAExE,KAAK,yFAA2B;IAEhC,GAAG,mHAAyB;IAE5B,MAAM,+GAA4B;IAElC,GAAG,mIAAyB;CAC/B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import { createSpyFactory } from '@amazon/vinyl-util/browserTestUtil';
|
|
6
|
+
export class MockPersistence {
|
|
7
|
+
spyFactory = createSpyFactory();
|
|
8
|
+
clear = this.spyFactory('clear');
|
|
9
|
+
get = this.spyFactory('get');
|
|
10
|
+
remove = this.spyFactory('remove');
|
|
11
|
+
set = this.spyFactory('set');
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A wrapper to jasmine spyOnProperty for property getters that will define property
|
|
3
|
+
* if it doesn't exist.
|
|
4
|
+
*/
|
|
5
|
+
export declare function spyOnPropertySafe<T extends object, K extends keyof T = keyof T>(object: T, property: K): jasmine.Spy<(this: T) => T[K]>;
|
|
6
|
+
//# sourceMappingURL=spyOnPropertySafe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spyOnPropertySafe.d.ts","sourceRoot":"","sources":["../../../../../../test/testUtil/mock/util/spyOnPropertySafe.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,iBAAiB,CAC7B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MAAM,CAAC,GAAG,MAAM,CAAC,EAC7B,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAWxD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A wrapper to jasmine spyOnProperty for property getters that will define property
|
|
7
|
+
* if it doesn't exist.
|
|
8
|
+
*/
|
|
9
|
+
export function spyOnPropertySafe(object, property) {
|
|
10
|
+
if (!(property in object)) {
|
|
11
|
+
// Object does not have property attempting to be mocked
|
|
12
|
+
// define it (with an undefined value) to allow spyOnProperty to succeed.
|
|
13
|
+
Object.defineProperty(object, property, {
|
|
14
|
+
configurable: true,
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: () => undefined,
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return spyOnProperty(object, property, 'get');
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { PatchedRef } from '@amazon/vinyl-util';
|
|
2
|
+
export interface PatchTestOptions<T> {
|
|
3
|
+
/**
|
|
4
|
+
* True if the patch is enabled by default.
|
|
5
|
+
*/
|
|
6
|
+
actualFlag: boolean | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* The target, not patched.
|
|
9
|
+
*/
|
|
10
|
+
target: T;
|
|
11
|
+
/**
|
|
12
|
+
* The patched target.
|
|
13
|
+
*/
|
|
14
|
+
patchedRef: PatchedRef<T>;
|
|
15
|
+
/**
|
|
16
|
+
* Runs the scenario to reproduce the issue on the target.
|
|
17
|
+
* @param target
|
|
18
|
+
*/
|
|
19
|
+
canReproduce: (target: T) => Promise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* If true and the tested flag is true but the issue cannot be reproduced, then only a
|
|
22
|
+
* warning is logged, if false, then the test will be marked as a failure.
|
|
23
|
+
*/
|
|
24
|
+
allowFalseNegative: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Adds tests to ensure that a patch flag is enabled when the issue can be reproduced for the UA,
|
|
28
|
+
* and when the patch is applied the issue is no longer reproducible.
|
|
29
|
+
*
|
|
30
|
+
* @param flagName The flag name, used in test descriptions.
|
|
31
|
+
* @param description The condition which requires the patch to be enabled.
|
|
32
|
+
* @param optionsProvider
|
|
33
|
+
*/
|
|
34
|
+
export declare function addPatchTests<T>(flagName: string, description: string, optionsProvider: () => PatchTestOptions<T>): void;
|
|
35
|
+
//# sourceMappingURL=addPatchTests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addPatchTests.d.ts","sourceRoot":"","sources":["../../../../../test/testUtil/patch/addPatchTests.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAGpD,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,OAAO,GAAG,SAAS,CAAA;IAE/B;;OAEG;IACH,MAAM,EAAE,CAAC,CAAA;IAET;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;IAEzB;;;OAGG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IAE7C;;;OAGG;IACH,kBAAkB,EAAE,OAAO,CAAA;CAC9B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAC3B,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,gBAAgB,CAAC,CAAC,CAAC,QA0C7C"}
|