push neon reactor

This commit is contained in:
Lago committed 2026-07-12 15:11:38 +02:00
1 parent 172e72dbcd
commit aeab5f7820
9597 files changed
+2407488

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 NevWare21 Solutions LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+220
View File
@@ -0,0 +1,220 @@
<h1 align="center">@nevware21/ts-async</h1>
<h2 align="center">Promise support implementations and helpers for TypeScript built for minification</h2>
![GitHub Workflow Status (main)](https://img.shields.io/github/actions/workflow/status/nevware21/ts-async/ci.yml?branch=main)
[![codecov](https://codecov.io/gh/nevware21/ts-async/branch/main/graph/badge.svg?token=KA05820FMO)](https://codecov.io/gh/nevware21/ts-async)
[![npm version](https://badge.fury.io/js/%40nevware21%2Fts-async.svg)](https://badge.fury.io/js/%40nevware21%2Fts-async)
[![downloads](https://img.shields.io/npm/dt/%40nevware21/ts-async.svg)](https://www.npmjs.com/package/%40nevware21/ts-async)
[![downloads](https://img.shields.io/npm/dm/%40nevware21/ts-async.svg)](https://www.npmjs.com/package/%40nevware21/ts-async)
## Description
This package provides support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.
One of the primary focuses of this package is to provide support for the creation of code that can be better minified, resulting in a smaller runtime payload which can directly assist with Page Load performance.
The Promise based Task Scheduler supports the serialized execution of tasks using promises to control when the next task should be executed (after the previous task completes), this leverages the supplied Promise implementations so that you can easily create an Idle Task Scheduler which executes the tasks using `requestIdleCallback` when using the `createIdlePromise` implementation.
> All of the provided Promise implementations support usage patterns via either `await` or with the included helper functions (`doAwait`, `doFinally`, `doAwaitresponse`), you can also mix and match them (use both helper and `await`) as required by your use cases.
### Test Environments
- Node (18, 20, 22, 24)
- Browser (Chromium - headless)
- Web Worker (Chromium - headless)
### Documentation and details
See the documentation [generated from source code](https://nevware21.github.io/ts-async/typedoc/index.html) via typedoc for a full list and details of all of the available types, functions, interfaces with included examples.
See [Browser Support](#browser-support) for details on the supported browser environments.
| Type / Function | Since | Details
|-----------------------|-------|-----------------------
| **Promise based Scheduler**
| [`createTaskScheduler`](https://nevware21.github.io/ts-async/typedoc/functions/createTaskScheduler.html) | |Create a Task Scheduler using the optional promise implementation and scheduler name. The newPromise can be any value promise creation function, where the execution of the queued tasks will be processed based on how the promise implementation processes it's chained promises (asynchrounsly; synchronously; idle processing, etc)<br />There is no limit on the number of schedulers that you can create, when using more than one scheduler it is recommended that you provide a `name` to each scheduler to help identify / group promises during debugging.
| [`ITaskScheduler`](https://nevware21.github.io/ts-async/typedoc/interfaces/ITaskScheduler.html) | 0.2.0 |Defines a Task Scheduler that uses IPromise implementations to serialize the execution of the tasks. Each added task will not get executed until the previous task has completed.
| [`StartQueuedTaskFn`](https://nevware21.github.io/ts-async/typedoc/types/StartQueuedTaskFn.html) | 0.2.0 | Identifies the function to call to start and execute the task when its ready to be executed.
| **Interfaces**
| [`IPromise`](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) | |This package uses and exports the `IPromise<T>` interface which extends both the `PromiseLike<T>` and `Promise<T>` to provide type compatibility when passing the Promises created with this package to any function that expects a `Promise` (including returning from an `async function`). As part of it's definition it exposes an [optional] string `status` to represent the current state of the `Promise`. These values include `pending`, `resolved` `rejected` and `resolving` which is a special case when a Promise is being `resolved` via another Promise returned via the `thenable` onResolved / onRejected functions.
| [`AwaitResponse`](https://nevware21.github.io/ts-async/typedoc/interfaces/AwaitResponse.html) | |This interface is used to represent the result whether resolved or rejected when using the [`doAwaitResponse`](https://nevware21.github.io/ts-async/typedoc/functions/doAwaitResponse.html), this function is useful when you want to avoid creating both a `resolved` and `rejected` functions, as this function only requires a single callback function to be used which will receive an object that conforms to this interface.
| [`IWhileState`](https://nevware21.github.io/ts-async/typedoc/interfaces/IWhileState.html) | 0.5.0| The current state of the while loop while processing the callback function, this is passed to eht callback function.
| [`IPromiseResult`](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromiseResult.html) | 0.5.0 |The result of a promise. It can either be fulfilled with a value, or rejected with a reason.
| **Alias**
| [`createPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createPromise.html)<br/> [`createAllPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAllPromise.html) <br/> [`createAllSettledPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAllSettledPromise.html) <br/> [`createAnyPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAnyPromise.html) <br/> [`createRacePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createRacePromise.html) <br/> [`createRejectedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createRejectedPromise.html) <br/> [`createResolvedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createResolvedPromise.html) <br /> <br/> [`setCreatePromiseImpl`](https://nevware21.github.io/ts-async/typedoc/functions/setCreatePromiseImpl.html) | <br /> <br /> 0.5.0 <br /> 0.5.0 <br /> 0.5.0 <br /> <br /> <br /> <br /> <br /> | These function use the current promise creator implementation that can be set via <code>[`setCreatePromiseImpl`](https://nevware21.github.io/ts-async/typedoc/functions/setCreatePromiseImpl.html)(creator: &lt;T&gt;(executor: PromiseExecutor&lt;T&gt;, timeout?: number) => IPromise&lt;T&gt;): void</code> <br/>Unless otherwise set this defaults to the `createNativePromise` implementation, to provide a simplified wrapper around any native runtime Promise support. <br/>Available implementation: <ul><li>[`createNativePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativePromise.html) <li>[`createAsyncPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncPromise.html) <li>[`createSyncPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncPromise.html) <li>[`createIdlePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdlePromise.html) </ul> By using these aliases, it's possible to switch between any of these implementations as needed without duplicating your code. This will not change any existing promises, it only affects new promises.
| [`createNativePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativePromise.html) <br/> [`createNativeAllPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeAllPromise.html) <br/> [`createNativeAllSettledPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeAllSettledPromise.html) <br/> [`createNativeAnyPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeAnyPromise.html) <br/> [`createNativeRacePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeRacePromise.html) <br/> [`createNativeRejectedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeRejectedPromise.html) <br/> [`createNativeResolvedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createNativeResolvedPromise.html) | <br /> <br /> 0.5.0 <br /> 0.5.0 <br /> 0.5.0 <br /> <br /> <br /> | These are effectively wrappers around the runtime `Promise` class, so this is effectivly the same as `new Promise(...)` but as a non-global class name it can be heavily minified to something like `a(...)`. These wrappers also add an accessible `status` property for identifying the current status of this promise. However, the `status` property is NOT available on any returned chained Promise (from calling `then`, `catch` or `finally`)
| **Asynchronous Promise**
| [`createAsyncPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncPromise.html) <br/> [`createAsyncAllPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncAllPromise.html) <br/> [`createAsyncAllSettledPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncAllSettledPromise.html) <br/> [`createAsyncAnyPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncAnyPromise.html) <br/> [`createAsyncRacePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncRacePromise.html) <br/> [`createAsyncRejectedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncRejectedPromise.html) <br/> [`createAsyncResolvedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createAsyncResolvedPromise.html) | <br /> <br /> 0.5.0 <br /> 0.5.0 <br /> 0.5.0 <br /> <br /> <br /> | Provides an implementation of the `Promise` contract that uses timeouts to process any chained promises (returned by `then(...)`, `catch(...)`, `finally(...)`), when creating the initial promise you can also provide (override) the default duration of the timeout (defaults to 0ms) to further delay the execution of the chained Promises.<br/>, but can also be provided) to process any chained promises (of any type)
| **Synchronous Promise**
| [`createSyncPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncPromise.html) <br/> [`createSyncAllPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncAllPromise.html) <br/> [`createSyncAllSettledPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncAllSettledPromise.html) <br/> [`createSyncAnyPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncAnyPromise.html) <br/> [`createSyncRacePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncRacePromise.html) <br/> [`createSyncRejectedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncRejectedPromise.html) <br/> [`createSyncResolvedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createSyncResolvedPromise.html) | <br /> <br /> 0.5.0 <br /> 0.5.0 <br /> 0.5.0 <br /> <br /> <br /> | Also implements the `Promise` contract but will immediately execute any chained promises at the point of the original promise getting resolved or rejected, or if already resolved, rejected then at the point of registering the `then`, `catch` or `finally`
| **Idle Promise**
| [`createIdlePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdlePromise.html) <br/> [`createIdleAllPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleAllPromise.html) <br/> [`createIdleAllSettledPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleAllSettledPromise.html) <br/> [`createIdleAnyPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleAnyPromise.html) <br/> [`createIdleRacePromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleRacePromise.html) <br/> [`createIdleRejectedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleRejectedPromise.html) <br/> [`createIdleResolvedPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createIdleResolvedPromise.html) | <br /> <br /> 0.5.0 <br /> 0.5.0 <br /> 0.5.0 <br /> <br /> <br /> | Implements the `Promise` contract and will process any chained promises using the available `requestIdleCallback` (with no timeout by default - but can also be changes by `setDetaultIdlePromiseTimeout`). And when `requestIdleCallback` is not supported this will default to using a timeout via the [`scheduleIdleCallback` from `@nevware21/ts-utils`](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleIdleCallback.html)
| **Timeout**
| [`createTimeoutPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createTimeoutPromise.html) | | Creates a Promise instance that resolve or reject after the specified timeout.
| **Helpers**
| [`createTimeoutPromise`](https://nevware21.github.io/ts-async/typedoc/functions/createTimeoutPromise.html) | 0.5.0 | Creates a Promise instance that resolve or reject after the specified timeout.
| [`doAwait`](https://nevware21.github.io/ts-async/typedoc/functions/doAwait.html) | | Helper which handles `await` "handling" via callback functions to avoid the TypeScript boilerplate code that is added for multiple branches. Internal it handles being passed an `IPromise` or a result value so you avoid needing to test whether the result you have is also a `Promise`.<br />It takes three (3) optional callback functions for `resolved`, `rejected` and `finally`.
| [`doAwaitResponse`](https://nevware21.github.io/ts-async/typedoc/functions/doAwaitResponse.html) | | Helper which handles `await` "handling" via a single callback where `resolved` and `rejected` cases are handled by the same callback, this receives an `AwaitResponse` object that provides the `value` or `reason` and a flag indicating whether the Promise was `rejected`
| [`doFinally`](https://nevware21.github.io/ts-async/typedoc/functions/doFinally.html) | | Helper to provide `finally` handling for any promise using a callback implementation, analogous to using `try` / `finally` around an `await` function or using the `finally` on the promise directly
| [`arrForEachAsync`](https://nevware21.github.io/ts-async/typedoc/functions/arrForEachAsync.html) | 0.5.0 | Performs an asynchronous for loop where the calling function may return an [`IPromise`](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) which must be fulfilled before the next iteration is called.
| [`doWhileAsync`](https://nevware21.github.io/ts-async/typedoc/functions/doWhileAsync.html) | 0.5.0 | Performs a while loop where the calling function may return an [`IPromise`](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) which must be fulfilled before the next iteration is called.
| [`iterForOfAsync`](https://nevware21.github.io/ts-async/typedoc/functions/iterForOfAsync.html) | 0.5.0 | Iterates over the iterator where the calling function may return an [`IPromise`](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) which must be fulfilled before the next iteration is called.
| **Polyfill**
| [`PolyPromise`](https://nevware21.github.io/ts-async/typedoc/classes/PolyPromise.html) | 0.5.0 | A full polyfill for the Promise class
All promise implementations are validated using TypeScript with `async` / `await` and the internal helper functions `doAwait`, `doFinally` and `doAwaitResponse` helpers. Usage of the `doAwait` or `doAwaitResponse` is recommended as this avoids the additional boiler plate code that is added by TypeScript when handling the branches in an `async` / `await` operations, this does however, mean that your calling functions will also need to handle this `async` operations via callbacks rather than just causing the code path to "halt" at the `await` and can therefore may be a little more complex (depending on your implementation).
> However, you are NOT restricted to only using `await` OR `doAwait` they can be used together. For example your public API can still be defined as asynchronous, but internally you could use `doAwait`
```ts
async function myApi()
{
await doAwait(thePromise, (result) => { ... }, (reason) => { ... });
}
```
### Unhandled Promise Rejection Event
All implementations will "emit/dispatch" the unhandled promise rejections event (`unhandledRejection` (node) or `unhandledrejection`) (if supported by the runtime) using the standard runtime mechanisms. So any existing handlers for native (`new Promise`) unhandled rejections will also receive them from the `idle`, `sync` and `async` implementations. The only exception to this is when the runtime (like IE) doesn't support this event in those cases "if" an `onunhandledrejection` function is registered it will be called and if that also doesn't exist it will logged to the console (if possible).
### Pollyfill
The package provides a simple polyfill wrapper which is built around the `asynchronous` promise implementation which is tested and validated against the standard native (`Promise()`) implementations for node, browser and web-worker to ensure compatibility.
## Language ECMAScript Support
### ES5
This library plans to maintain ES5 compatibility for all versions of v0.x and v1.x releases
### TypeScript Type Definitions
The published type definitions (`.d.ts`) include a `/// <reference lib="es2018" />` directive. This means TypeScript will automatically load ES2018 type definitions when consuming this package. This is a **type-level requirement only** — no ES2018 runtime features are needed because the library provides its own internal polyfills/shims for environments that lack them.
If your project explicitly sets `"lib"` in `tsconfig.json`, ensure it includes at least `"es2018"` (or the individual libs `"es2015.promise"` and `"es2018.asynciterable"`):
```json
{
"compilerOptions": {
"lib": ["es2018", "dom"]
}
}
```
> Projects that omit the `"lib"` field entirely (defaulting to the libs implied by `"target"`) may need to add it explicitly if targeting ES5.
### ES(future [6 next, etc])
Future versions of this library starting at version 2.x are planned to lift and remove the internal polyfills to support the new targetted baseline once it is defined.
ie. It may or may not be ES6 depending on the runtime landscape and requests received.
When we release v2.x the supported browser matrix will also shift as required to match the defined language level supported at that time.
## Quickstart
Install the npm packare: `npm install @nevware21/ts-async --save`
> It is suggested / recommended that you use the following definition in your `package.json` so that you are compatible with any future releases as they become available
> we do not intend to make ANY known breaking changes moving forward until v2.x
> ```json
> "@nevware21/ts-async": ">= 0.6.1 < 2.x"
> ```
And then just import the helpers and use them.
### Simple Examples
#### Using Task Scheduler
```ts
import { createTaskScheduler } from "@nevware21/ts-async";
import { scheduleTimeout } from "@nevware21/ts-utils";
let scheduler = createTaskScheduler();
// Schedule (and start) task 1 using native promise
// Because this is a new scheduler there are no other
// pending tasks so this will be started synchronously
let task1 = scheduler.queue(() => {
return new Promise((resolve) => {
setTimeout(() => {
resolve(42);
}, 100);
});
});
// task1.status; => "pending" (and running)
// Schedule task 2 using helper function
// The startTask function for task2 will not be called
// until task1 has completed
let task2 = scheduler.queue(() => {
return createPromise((resolve) => {
scheduleTimeout(() => {
resolve(21);
}, 100);
});
});
// task2.status; => "pending" (not running)
await task1;
// task1.status => "resolved"
// task2.status => "pending" (but running)
```
#### Using Promise Helpers
```ts
import { createPromise } from "@nevware21/ts-async";
import { scheduleTimeout } from "@nevware21/ts-utils";
const myPromise = createPromise((resolve, reject) => {
scheduleTimeout(() => {
resolve("foo");
}, 300);
});
myPromise
.then(handleFulfilledA, handleRejectedA)
.then(handleFulfilledB, handleRejectedB)
.then(handleFulfilledC, handleRejectedC)
.catch(handleRejectedAny);
// Create a new promise that resolves with an inner promise that will auto resolve after 1 second
createPromise((resolveOuter) => {
resolveOuter(
createPromise((resolveInner) => {
scheduleTimeout(resolveInner, 1000);
})
);
});
doAwait(myPromise, (result) => {
// Handle the result this would normally be
// let result = await myPromise;
}, (reason) => {
// Handle cases when the `myPromise` is rejected
// Using await you would handle this via try / catch
});
```
While the examples above are using the `createPromise` you can directly use the `createSyncPromise`, `createAsyncPromise`, `createIdlePromise` or `createNativePromise`, you can also mix and match them (ie. they don't all have to be the same implementation). The `createPromise` alias is provided to enable switching the underlying Promise implementation without changing any of your code.
## Release Notes
- [Releases](https://github.com/nevware21/ts-async/releases)
- [Changelist Notes](./CHANGELIST.md)
## Browser Support
General support is currently set to ES5 supported runtimes and higher.
Internal polyfills are used to backfill ES5 functionality which is not provided by older browsers.
![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png)
--- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | <center>9+ ✔</center> | Latest ✔ | Latest ✔ |
> Note: A PolyFill `PolyPromise` provides the standard promise implementations for IE and ES5+ environments.
## Contributing
Read our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.gitLine truncated
@@ -0,0 +1,8 @@
/*!
* NevWare21 Solutions LLC - ts-async, 0.6.1
* https://github.com/nevware21/ts-async
* Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.
* Licensed under the MIT license.
*/
function n(n,t){return n||t}function t(n,t){return null!=n?n[t]:void 0}function S(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function x(t){return function(n){return typeof n===t}}function A(n){return typeof n===f||n===f}function C(n){return n===a}function o(n){return n===s||n===a}function j(n){return n&&n.then&&z(n.then)}function F(){}function q(n,t){var e=Gn,r=tt[nt][d](n);r===it&&(n={stack:g(n.stack),message:g(n.message),name:g(n.name)});try{e=((e=JSON.stringify(n,s,t?"number"==typeof t?t:4:a))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):s)||g(n)}catch(n){e=" - "+q(n,t)}return r+": "+e}function R(n){throw new TypeError(n)}function M(n){o(n)&&R("Cannot convert undefined or null to object")}function J(n,t){return M(n),!!n&&tt.hasOwnProperty[d](n,t)||!!ot(n,t)}function W(n,t,e){if(n&&((n||n!==s&&!A(n))&&n&&typeof n===Kn||z(n)))for(var r in n)if(ct(n,r)&&-1===t[d](o(e)?n:e,r,n[r]))break}function H(n,t,e){if(n)for(var r=n[Yn]>>>0,u=0;u<r&&!(u in n&&-1===t[d](o(e)?n:e,n[u],u,n));u++);}function L(r,n,u){var i=n?n[r]:s;return function(n){var t,e=(n?n[r]:s)||i;if(e||u)return t=arguments,(e||u).apply(n,e?h[d](t,1):t);R('"'+g(r)+'" not defined for '+q(n))}}function U(t){return function(n){return n[t]}}function I(n,t,e){return N(n,t,(r=e,(u={})[at.c]=!0,u[at.e]=!0,r.l&&(u.get=function(){return r.l.v},n=ft(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),W(r,function(n,t){u[at[n]]=C(t)?u[at[n]]:t}),u));var r,u}function B(n,t,e){N(n,t,{value:e,enumerable:!0,writable:!1})}function G(n){return n}function K(n){return M(n),n[Qn]||s}function Q(n){return t=st,e={},W(n,function(n,t){B(e,n,n),B(e,t,n)}),t?t(e):e;var t,e}function V(){var n;return(n=(n=(n=typeof globalThis!==f?globalThis:n)||typeof self===f?n:self)||typeof window===f?n:window)||typeof global===f?n:global}function X(){var n;return dt||(n=S(V).v||{},dt=n[yt]=n[yt]||{}),dt}function Y(n,t){var e;function r(){}return e=o(n)?{}:((e=typeof n)!==Kn&&"function"!=e&&R("Prototype must be an Object or function: "+q(n)),r[v]=n,S(function(){r[Qn]=n}),new r),t&&S(lt,[e,t]),e}function y(){return(Date.now||Z)()}function Z(){return(new Date).getTime()}function nn(n,t,e){return n.apply(t,e)}function T(){$=X()}function tn(t,e){var r={};return $||T(),r.b=$.lzy,N(r,"v",{configurable:!0,get:function(){var n=nn(t,null,e);return $.lzy||N(r,"v",{value:n}),r.b=$.lzy,n}}),r}function _(n){return N({toJSON:function(){return n}},"v",{value:n})}function en(n,t){var e;return function(){return $||T(),(e=e&&!$.lzy?e:_(S(n,t).v)).v}}function rn(n){return $||T(),(St=St&&!1!==n&&!$.lzy?St:_(S(V).v||s)).v}function E(n,t){t=St&&!1!==t?St.v:rn(t);if(t&&t[n])return t[n];if(n===At)try{return window}catch(n){}return s}function un(){return jt=_(S(E,[Xn]).v)}function on(n){var t,e,r,u,i=ht[n],o=($||T(),($.lzy?0:jt)||un());return o.v?o.v[i||n]:(gt=gt||{},(o=ht[n])?gt[o]=gt[o]||(i=Xn+"."+o,t="_"+bt+++"_"+Pt.v,e=Xn+"("+i+")",u=mt(null),c("description",g(i)),c(nt,function(){return e+wt+t}),c("valueOf",function(){return u}),c("v",e),c("_uid",t),(r=u)&&(S(function(){r[et]=!0,r[rt]="symbol"}),S(I,[r,et,{v:!0,w:!1,e:!1}]),S(I,[r,rt,{v:"symbol",w:!1,e:!1}])),r):void 0);function c(n,t){I(u,n,{v:t,e:!1,w:!1})}}function cn(n){return n&&z(n.next)}function fn(n){return!o(n)&&z(n[on(3)])}function an(t,n,e){if(t&&(cn(t)||(t=t[(Rt=Rt||_(on(3))).v]?t[Rt.v]():s),cn(t))){var r=a,u=a;try{for(var i=0;!(u=t.next()).done&&-1!==n[d](o(e)?t:e,u.value,i,t);)i++}catch(n){r={e:n},t.throw&&(u=s,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}function O(n){return((n?n.slice:s)||h).apply(n,h[d](arguments,1))}function ln(e,n){var t;return(Dt=Dt||_(((t={})[Qn]=[],t instanceof Array))).v?e[Qn]=n:W(n,function(n,t){return e[n]=t}),e}function sn(n,t){t&&(n[Zn]=t)}function vn(u,i,n,o){var t,e,c=Error,f=c[v][Zn],a=Error.captureStackTrace,r=c;return S(I,[e=function(){var n=this,t=arguments;try{S(sn,[c,u]);var e,r=nn(c,n,o?o(t):h[d](t))||n;return r!==n&&(e=vt(n))!==vt(r)&&zt(r,e),a&&a(r,n[Vn]),i&&i(r,t),r}finally{S(sn,[c,f])}},Zn,{v:t=u,c:!0,e:!1}]),(e=zt(e,r))[v]=r===s?mt(r):(l[v]=r[v],new l),e;function l(){this[Vn]=e,S(I,[this,Zn,{v:t,c:!0,e:!1}])}}function dn(){$||T();var n=(kt=kt&&!$.lzy?kt:_(S(E,["performance"]).v)).v;return n&&n.now?n.now():y()}function hn(n,t,e){var r,u=!0,i=n?t(s):s;function o(){return u=!1,i&&i[Ft]&&i[Ft](),r}function c(){i&&e(i),i=s}function f(){return i=t(i),u||o(),r}return(r={cancel:c,refresh:f})[qt]=function(){return i&&i[qt]?i[qt]():u},r[Ct]=function(){return u=!0,i&&i[Ct]&&i[Ct](),r},r[Ft]=o,{h:r=N(r,Mt,{get:function(){return!!i},set:function(n){!n&&i&&c(),n&&!i&&f()}}),dn:function(){i=s}}}function D(){return n=a,t=h[d](arguments),r=0<(u=(r=l(n))?n.length:0)?n[0]:r?a:n,(r=z(r)?r:Nt)||(e=X().tmOut||[],l(e)&&0<e.length&&z(e[0])&&(r=e[0])),i=r||setTimeout,e=1<u?n[1]:a,(r=z(e)?e:$t)||(u=X().tmOut||[],l(u)&&1<u.length&&z(u[1])&&(r=u[1])),o=r||clearTimeout,c=t[0],t[0]=function(){var n=xt;n&&(xt=a,n()),f.dn(),nn(c,a,h[d](arguments))},(f=hn(!0,function(n){if(n){if(n.refresh)returnLine truncated
//# sourceMappingURL=ts-async.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/debug.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","Line truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-polyfills-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/state.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://Line truncated
@@ -0,0 +1,8 @@
/*!
* NevWare21 Solutions LLC - ts-async, 0.6.1
* https://github.com/nevware21/ts-async
* Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.
* Licensed under the MIT license.
*/
function n(n,t){return n||t}function t(n,t){return null!=n?n[t]:void 0}function m(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function D(t){return function(n){return typeof n===t}}function M(n){return typeof n===h||n===h}function q(n){return n===v}function i(n){return n===s||n===v}function w(n){return n&&n.then&&I(n.then)}function F(){}function b(n,t){var r=Bn,e=nt[Yn][y](n);e===ot&&(n={stack:C(n.stack),message:C(n.message),name:C(n.name)});try{r=((r=JSON.stringify(n,s,t?"number"==typeof t?t:4:v))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):s)||C(n)}catch(n){r=" - "+b(n,t)}return e+": "+r}function _(n){throw new TypeError(n)}function J(n){i(n)&&_("Cannot convert undefined or null to object")}function N(n,t){return J(n),!!n&&nt.hasOwnProperty[y](n,t)||!!it(n,t)}function o(n,t,r){if(n&&((n||n!==s&&!M(n))&&n&&typeof n===Hn||I(n)))for(var e in n)if(ct(n,e)&&-1===t[y](i(r)?n:r,e,n[e]))break}function d(n,t,r){if(n)for(var e=n[Wn]>>>0,u=0;u<e&&!(u in n&&-1===t[y](i(r)?n:r,n[u],u,n));u++);}function E(n,t,r){return R(n,t,(e=r,(u={})[at.c]=!0,u[at.e]=!0,e.l&&(u.get=function(){return e.l.v},n=ft(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n}),o(e,function(n,t){u[at[n]]=q(t)?u[at[n]]:t}),u));var e,u}function L(n,t,r){R(n,t,{value:r,enumerable:!0,writable:!1})}function U(n){return n}function B(n){return J(n),n[Kn]||s}function G(n){return t=vt,r={},o(n,function(n,t){L(r,n,n),L(r,t,n)}),t?t(r):r;var t,r}function H(){var n;return(n=(n=(n=typeof globalThis!==h?globalThis:n)||typeof self===h?n:self)||typeof window===h?n:window)||typeof global===h?n:global}function K(){var n;return Pn||(n=m(H).v||{},Pn=n[yt]=n[yt]||{}),Pn}function Q(n,t){var r;function e(){}return r=i(n)?{}:((r=typeof n)!==Hn&&r!=Gn&&_("Prototype must be an Object or function: "+b(n)),e[l]=n,m(function(){e[Kn]=n}),new e),t&&m(lt,[r,t]),r}function a(n,t,r){return n.apply(t,r)}function P(){z=K()}function V(t,r){var e={};return z||P(),e.b=z.lzy,R(e,"v",{configurable:!0,get:function(){var n=a(t,null,r);return z.lzy||R(e,"v",{value:n}),e.b=z.lzy,n}}),e}function j(n){return R({toJSON:function(){return n}},"v",{value:n})}function r(n,t){var r;return function(){return z||P(),(r=r&&!z.lzy?r:j(m(n,t).v)).v}}function W(n){return z||P(),(c=c&&!1!==n&&!z.lzy?c:j(m(H).v||s)).v}function S(n,t){t=c&&!1!==t?c.v:W(t);if(t&&t[n])return t[n];if(n===Sn)try{return window}catch(n){}return s}function X(){return On=j(m(S,[Vn]).v)}function Y(n){var t,r,e,u,o=ht[n],i=(z||P(),(z.lzy?0:On)||X());return i.v?i.v[o||n]:(jn=jn||{},(i=ht[n])?jn[i]=jn[i]||(t="_"+wt+++"_"+pt.v,r=Vn+"("+(o=Vn+"."+i)+")",u=dt(null),c("description",C(o)),c(Yn,function(){return r+mt+t}),c("valueOf",function(){return u}),c("v",r),c("_uid",t),(e=u)&&(m(function(){e[rt]=!0,e[et]="symbol"}),m(E,[e,rt,{v:!0,w:!1,e:!1}]),m(E,[e,et,{v:"symbol",w:!1,e:!1}])),e):void 0);function c(n,t){E(u,n,{v:t,e:!1,w:!1})}}function Z(n){return n&&I(n.next)}function nn(n){return!i(n)&&I(n[Y(3)])}function tn(t,n,r){if(t&&(Z(t)||(t=t[(Tn=Tn||j(Y(3))).v]?t[Tn.v]():s),Z(t))){var e=v,u=v;try{for(var o=0;!(u=t.next()).done&&-1!==n[y](i(r)?t:r,u.value,o,t);)o++}catch(n){e={e:n},t.throw&&(u=s,t.throw(e))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(e)throw e.e}}}}function O(n){return((n?n.slice:s)||A).apply(n,A[y](arguments,1))}function rn(r,n){var t;return(zn=zn||j(((t={})[Kn]=[],t instanceof Array))).v?r[Kn]=n:o(n,function(n,t){return r[n]=t}),r}function en(n,t){t&&(n[Xn]=t)}function un(n,t,r){var e,u=!0,o=n?t(s):s;function i(){return u=!1,o&&o[Ot]&&o[Ot](),e}function c(){o&&r(o),o=s}function f(){return o=t(o),u||i(),e}return(e={cancel:c,refresh:f})[Tt]=function(){return o&&o[Tt]?o[Tt]():u},e[St]=function(){return u=!0,o&&o[St]&&o[St](),e},e[Ot]=i,{h:e=R(e,In,{get:function(){return!!o},set:function(n){!n&&o&&c(),n&&!o&&f()}}),dn:function(){o=s}}}function T(){return n=v,t=A[y](arguments),e=0<(u=(e=x(n))?n.length:0)?n[0]:e?v:n,(e=I(e)?e:$n)||(r=K().tmOut||[],x(r)&&0<r.length&&I(r[0])&&(e=r[0])),o=e||setTimeout,r=1<u?n[1]:v,(e=I(r)?r:kn)||(u=K().tmOut||[],x(u)&&1<u.length&&I(u[1])&&(e=u[1])),i=e||clearTimeout,c=t[0],t[0]=function(){var n=An;n&&(An=v,n()),f.dn(),a(c,v,A[y](arguments))},(f=un(!0,function(n){if(n){if(n.refresh)return n.refresh(),n;a(i,v,[n])}return a(o,v,t)},function(n){a(i,v,[n])})).h;var n,t,r,e,u,o,i,c,f}function on(){f&&(f[1]&&cn(1),f[0])&&cn(0)}function cn(n){if(f){for(var t=f[n],r=0;t&&t.length>r;){var e=void 0,e=t[r++];try{e&&e()}catch(n){T(function(){throw n},0)}0===n&&f[1]&&cn(1)}f[n]=v}}function fn(n,t,r){var e=(f=f||{})[n];if(e||(f[n]=e=[]),q(r)||0===r||e.length<r)return e.push(t),!0;throw new RangeError("scheduleMicrotask() queue depth exceeded ["+r+"]")}function an(){try{zt=!0,on()}finally{zt=!1}}function ln(n,t){n=fn(0,n,t);return n&&!zt&&(t=an,!An&&I(t)&&(An=t),(t=xn)?t.enabled||t.refresh():xn=T(F,0)),n}function vn(n,t){sn(n,function(n){return t?t({status:"fulfilled",rejected:!1,value:n}):n},function(n){return t?t({status:Rn,rejected:!0,reason:n}):n})}function sn(n,t,r){var e=n;if(w(n))(t||r)&&(e=nLine truncated
//# sourceMappingURL=ts-polyfills-async.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-polyfills-async.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/asyncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/polyfills.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_strinLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.gitLine truncated
@@ -0,0 +1,8 @@
/*!
* NevWare21 Solutions LLC - ts-async, 0.6.1
* https://github.com/nevware21/ts-async
* Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.
* Licensed under the MIT license.
*/
function n(n){function t(n,t){return n||t}function e(n,t){return null!=n?n[t]:void 0}var a=void 0,s=null,$="",C="function",F="object",v="prototype",q="__proto__",r="undefined",M="constructor",J="Symbol",W="length",H="name",d="call",L="toString",U="getOwnPropertyDescriptor",B=e(P=t(Object),v),G=t(Math),y=e(Ie=e(Se=t(Array),v),"slice"),K="_polyfill",Q="__nw21$polytype__";function S(n,t){try{return{v:n.apply(this,t)}}catch(n){return{e:n}}}function V(t){return function(n){return typeof n===t}}function A(n){return typeof n===r||n===r}function X(n){return n===a}function i(n){return n===s||n===a}var j=V(C),l=e(Se,"isArray"),Y=V("number");function R(n){return n&&n.then&&j(n.then)}function Z(){}var f=t(t(String)),nn="[object Error]";function tn(n,t){var e=$,r=B[L][d](n);r===nn&&(n={stack:f(n.stack),message:f(n.message),name:f(n.name)});try{e=((e=JSON.stringify(n,s,t?"number"==typeof t?t:4:a))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):s)||f(n)}catch(n){e=" - "+tn(n,t)}return r+": "+e}function T(n){throw new TypeError(n)}function en(n){i(n)&&T("Cannot convert undefined or null to object")}var rn=t(e(P,U),Z),un=t(e(P,"hasOwn"),on);function on(n,t){return en(n),!!n&&B.hasOwnProperty[d](n,t)||!!rn(n,t)}function cn(n,t,e){if(n&&((n||n!==s&&!A(n))&&n&&typeof n===F||j(n)))for(var r in n)if(un(n,r)&&-1===t[d](i(e)?n:e,r,n[r]))break}function fn(n,t,e){if(n)for(var r=n[W]>>>0,u=0;u<r&&!(u in n&&-1===t[d](i(e)?n:e,n[u],u,n));u++);}function an(r,n,u){var o=n?n[r]:s;return function(n){var t,e=(n?n[r]:s)||o;if(e||u)return t=arguments,(e||u).apply(n,e?y[d](t,1):t);T('"'+f(r)+'" not defined for '+tn(n))}}function ln(t){return function(n){return n[t]}}var sn=t(e(P,U),Z),vn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},I=e(P,"defineProperty"),dn=e(P,"defineProperties");function _(n,t,e){return I(n,t,(r=e,(u={})[vn.c]=!0,u[vn.e]=!0,r.l&&(u.get=function(){return r.l.v},n=sn(r.l,"v"))&&n.set&&(u.set=function(n){r.l.v=n}),cn(r,function(n,t){u[vn[n]]=X(t)?u[vn[n]]:t}),u));var r,u}function yn(n,t,e){I(n,t,{value:e,enumerable:!0,writable:!1})}function hn(n){return n}function mn(n){return en(n),n[q]||s}var pn=t(e(P,"freeze"),hn),gn=t(e(P,"getPrototypeOf"),mn);function Pn(n){return t=pn,e={},cn(n,function(n,t){yn(e,n,n),yn(e,t,n)}),t?t(e):e;var t,e}var wn,bn=Pn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Sn="__tsUtils$gblCfg";function An(){var n;return(n=(n=(n=typeof globalThis!==r?globalThis:n)||typeof self===r?n:self)||typeof window===r?n:window)||typeof global===r?n:global}function jn(){var n;return wn||(n=S(An).v||{},wn=n[Sn]=n[Sn]||{}),wn}var E,Rn=t(e(P,"create"),Tn);function Tn(n,t){var e;function r(){}return e=i(n)?{}:((e=typeof n)!==F&&e!=C&&T("Prototype must be an Object or function: "+tn(n)),r[v]=n,S(function(){r[q]=n}),new r),t&&S(dn,[e,t]),e}function h(){return(Date.now||In)()}function In(){return(new Date).getTime()}function _n(n,t,e){return n.apply(t,e)}function O(){E=jn()}function En(t,e){var r={};return E||O(),r.b=E.lzy,I(r,"v",{configurable:!0,get:function(){var n=_n(t,null,e);return E.lzy||I(r,"v",{value:n}),r.b=E.lzy,n}}),r}var On,kn=e(G,"random"),Dn=En(function(){for(var n=h().toString(36).slice(2);n.length<16;)n+=kn().toString(36).slice(2);return n.substring(0,16)}),xn="$nw21sym",zn=0;function k(n){return I({toJSON:function(){return n}},"v",{value:n})}var Nn,$n="window";function Cn(n,t){var e;return function(){return E||O(),(e=e&&!E.lzy?e:k(S(n,t).v)).v}}function Fn(n){return E||O(),(Nn=Nn&&!1!==n&&!E.lzy?Nn:k(S(An).v||s)).v}function D(n,t){t=Nn&&!1!==t?Nn.v:Fn(t);if(t&&t[n])return t[n];if(n===$n)try{return window}catch(n){}return s}var qn,Mn,Jn=Cn(D,["document"]),Wn=Cn(D,[$n]),Hn=Cn(function(){return!!S(function(){var n=D("process");return n&&(n.versions||{}).node}).v}),Ln=Cn(D,["queueMicrotask"]);function Un(){return qn=k(S(D,[J]).v)}function Bn(n){var t,e,r,u,o=bn[n],i=(E||O(),(E.lzy?0:qn)||Un());return i.v?i.v[o||n]:(On=On||{},(i=bn[n])?On[i]=On[i]||(t="_"+zn+++"_"+Dn.v,e=J+"("+(o=J+"."+i)+")",u=Rn(null),c("description",f(o)),c(L,function(){return e+xn+t}),c("valueOf",function(){return u}),c("v",e),c("_uid",t),(r=u)&&(S(function(){r[K]=!0,r[Q]="symbol"}),S(_,[r,K,{v:!0,w:!1,e:!1}]),S(_,[r,Q,{v:"symbol",w:!1,e:!1}])),r):void 0);function c(n,t){_(u,n,{v:t,e:!1,w:!1})}}function Gn(n){return n&&j(n.next)}function Kn(n){return!i(n)&&j(n[Bn(3)])}function Qn(t,n,e){if(t&&(Gn(t)||(t=t[(Mn=Mn||k(Bn(3))).v]?t[Mn.v]():s),Gn(t))){var r=a,u=a;try{for(var o=0;!(u=t.next()).done&&-1!==n[d](i(e)?t:e,u.value,o,t);)o++}catch(n){r={e:n},t.throw&&(u=s,t.throw(r))}finally{try{u&&!u.done&&t.return&&t.return(u)}finally{if(r)throw r.e}}}}var Vn=an("indexOf",Ie);function x(n){return((n?n.slice:s)||y).apply(n,y[d](arguments,1))}var Xn,Yn,m=ln(W),Zn=t(e(P,"setPrototypeOf"),nt);function nt(e,n){var t;return(Xn=Xn||k(((t={})[q]=[],t instanceof Array))).v?e[q]=n:cn(n,function(n,t){return e[n]=t}),e}funcLine truncated
//# sourceMappingURL=ts-async.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/tLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.gitLine truncated
@@ -0,0 +1,8 @@
/*!
* NevWare21 Solutions LLC - ts-async, 0.6.1
* https://github.com/nevware21/ts-async
* Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.
* Licensed under the MIT license.
*/
this.nevware21=this.nevware21||{},this.nevware21["ts-async"]=(t=>{function e(t,e){return t||e}function n(t,e){return null!=t?t[e]:void 0}var l=void 0,s=null,S="",C="function",F="object",v="prototype",q="__proto__",r="undefined",M="constructor",J="Symbol",W="length",H="name",d="call",L="toString",U="getOwnPropertyDescriptor",i=e(Object),B=n(i,v),G=e(Math),K=e(Array),Q=n(K,v),h=n(Q,"slice"),V="_polyfill",X="__nw21$polytype__";function A(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}function Y(e){return function(t){return typeof t===e}}function j(t){return typeof t===r||t===r}function Z(t){return t===l}function o(t){return t===s||t===l}var R=Y(C),f=n(K,"isArray"),tt=Y("number");function I(t){return t&&t.then&&R(t.then)}function et(){}var nt=e(e(String)),rt="[object Error]";function it(t,e){var n=S,r=B[L][d](t);r===rt&&(t={stack:nt(t.stack),message:nt(t.message),name:nt(t.name)});try{n=((n=JSON.stringify(t,s,e?"number"==typeof e?e:4:l))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):s)||nt(t)}catch(t){n=" - "+it(t,e)}return r+": "+n}function T(t){throw new TypeError(t)}function ut(t){o(t)&&T("Cannot convert undefined or null to object")}var ot=e(n(i,U),et),ct=e(n(i,"hasOwn"),at);function at(t,e){return ut(t),!!t&&B.hasOwnProperty[d](t,e)||!!ot(t,e)}function lt(t,e,n){if(t&&((t||t!==s&&!j(t))&&t&&typeof t===F||R(t)))for(var r in t)if(ct(t,r)&&-1===e[d](o(n)?t:n,r,t[r]))break}function ft(t,e,n){if(t)for(var r=t[W]>>>0,i=0;i<r&&!(i in t&&-1===e[d](o(n)?t:n,t[i],i,t));i++);}function st(r,t,i){var u=t?t[r]:s;return function(t){var e,n=(t?t[r]:s)||u;if(n||i)return e=arguments,(n||i).apply(t,n?h[d](e,1):e);T('"'+nt(r)+'" not defined for '+it(t))}}function vt(e){return function(t){return t[e]}}var dt=e(n(i,U),et),ht={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},_=n(i,"defineProperty"),yt=n(i,"defineProperties");function E(t,e,n){return _(t,e,(r=n,(i={})[ht.c]=!0,i[ht.e]=!0,r.l&&(i.get=function(){return r.l.v},t=dt(r.l,"v"))&&t.set&&(i.set=function(t){r.l.v=t}),lt(r,function(t,e){i[ht[t]]=Z(e)?i[ht[t]]:e}),i));var r,i}function mt(t,e,n){_(t,e,{value:n,enumerable:!0,writable:!1})}function gt(t){return t}function pt(t){return ut(t),t[q]||s}var Pt=e(n(i,"freeze"),gt),wt=e(n(i,"getPrototypeOf"),pt);function bt(t){return e=Pt,n={},lt(t,function(t,e){mt(n,t,t),mt(n,e,t)}),e?e(n):n;var e,n}var St,At=bt({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),jt="__tsUtils$gblCfg";function Rt(){var t;return(t=(t=(t=typeof globalThis!==r?globalThis:t)||typeof self===r?t:self)||typeof window===r?t:window)||typeof global===r?t:global}function It(){var t;return St||(t=A(Rt).v||{},St=t[jt]=t[jt]||{}),St}var O,Tt=e(n(i,"create"),_t);function _t(t,e){var n;function r(){}return n=o(t)?{}:((n=typeof t)!==F&&n!=C&&T("Prototype must be an Object or function: "+it(t)),r[v]=t,A(function(){r[q]=t}),new r),e&&A(yt,[n,e]),n}function g(){return(Date.now||Et)()}function Et(){return(new Date).getTime()}function Ot(t,e,n){return t.apply(e,n)}function k(){O=It()}function kt(e,n){var r={};return O||k(),r.b=O.lzy,_(r,"v",{configurable:!0,get:function(){var t=Ot(e,null,n);return O.lzy||_(r,"v",{value:t}),r.b=O.lzy,t}}),r}var Dt,$t=n(G,"random"),zt=kt(function(){for(var t=g().toString(36).slice(2);t.length<16;)t+=$t().toString(36).slice(2);return t.substring(0,16)}),Nt="$nw21sym",xt=0;function D(t){return _({toJSON:function(){return t}},"v",{value:t})}var Ct,Ft="window";function qt(t,e){var n;return function(){return O||k(),(n=n&&!O.lzy?n:D(A(t,e).v)).v}}function Mt(t){return O||k(),(Ct=Ct&&!1!==t&&!O.lzy?Ct:D(A(Rt).v||s)).v}function $(t,e){e=Ct&&!1!==e?Ct.v:Mt(e);if(e&&e[t])return e[t];if(t===Ft)try{return window}catch(t){}return s}var Jt,Wt,Ht=qt($,["document"]),Lt=qt($,[Ft]),Ut=qt(function(){return!!A(function(){var t=$("process");return t&&(t.versions||{}).node}).v}),Bt=qt($,["queueMicrotask"]);function Gt(){return Jt=D(A($,[J]).v)}function Kt(t){var e,n,r,i,u=At[t],o=(O||k(),(O.lzy?0:Jt)||Gt());return o.v?o.v[u||t]:(Dt=Dt||{},(o=At[t])?Dt[o]=Dt[o]||(e="_"+xt+++"_"+zt.v,n=J+"("+(u=J+"."+o)+")",i=Tt(null),c("description",nt(u)),c(L,function(){return n+Nt+e}),c("valueOf",function(){return i}),c("v",n),c("_uid",e),(r=i)&&(A(function(){r[V]=!0,r[X]="symbol"}),A(E,[r,V,{v:!0,w:!1,e:!1}]),A(E,[r,X,{v:"symbol",w:!1,e:!1}])),r):void 0);function c(t,e){E(i,t,{v:e,e:!1,w:!1})}}function Qt(t){return t&&R(t.next)}function Vt(t){return!o(t)&&R(t[Kt(3)])}function Xt(e,t,n){if(e&&(Qt(e)||(e=e[(Wt=Wt||D(Kt(3))).v]?e[Wt.v]():s),Qt(e))){var r=l,i=l;try{for(var u=0;!(i=e.next()).done&&-1!==t[d](o(n)?e:n,i.value,u,e);)u++}catch(t){r={e:t},e.throw&&(i=s,e.throw(r))}finally{try{i&&!i.done&&e.return&&e.return(i)}finally{if(r)throw r.e}}}}var Yt=st("indexOf",Q);function z(t){return((t?t.slice:s)||h).apply(t,h[d](arguments,1))}var Zt,te,p=vt(W),ee=e(n(i,"setPrototypeOf"),ne);function ne(n,t){var e;return(Zt=Zt||D(((e={})[q]=[],e instaLine truncated
//# sourceMappingURL=ts-async.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/tLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.gitLine truncated
@@ -0,0 +1,8 @@
/*!
* NevWare21 Solutions LLC - ts-async, 0.6.1
* https://github.com/nevware21/ts-async
* Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.
* Licensed under the MIT license.
*/
function e(e){function t(e,t){return e||t}function n(e,t){return null!=e?e[t]:void 0}var l=void 0,s=null,S="",C="function",F="object",v="prototype",q="__proto__",r="undefined",M="constructor",J="Symbol",W="length",H="name",d="call",L="toString",U="getOwnPropertyDescriptor",B=n(w=t(Object),v),G=t(Math),K=t(Array),Q=n(K,v),y=n(Q,"slice"),V="_polyfill",X="__nw21$polytype__";function A(e,t){try{return{v:e.apply(this,t)}}catch(e){return{e:e}}}function Y(t){return function(e){return typeof e===t}}function j(e){return typeof e===r||e===r}function Z(e){return e===l}function u(e){return e===s||e===l}var R=Y(C),f=n(K,"isArray"),ee=Y("number");function T(e){return e&&e.then&&R(e.then)}function te(){}var ne=t(t(String)),re="[object Error]";function ie(e,t){var n=S,r=B[L][d](e);r===re&&(e={stack:ne(e.stack),message:ne(e.message),name:ne(e.name)});try{n=((n=JSON.stringify(e,s,t?"number"==typeof t?t:4:l))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):s)||ne(e)}catch(e){n=" - "+ie(e,t)}return r+": "+n}function I(e){throw new TypeError(e)}function oe(e){u(e)&&I("Cannot convert undefined or null to object")}var ue=t(n(w,U),te),ce=t(n(w,"hasOwn"),ae);function ae(e,t){return oe(e),!!e&&B.hasOwnProperty[d](e,t)||!!ue(e,t)}function le(e,t,n){if(e&&((e||e!==s&&!j(e))&&e&&typeof e===F||R(e)))for(var r in e)if(ce(e,r)&&-1===t[d](u(n)?e:n,r,e[r]))break}function fe(e,t,n){if(e)for(var r=e[W]>>>0,i=0;i<r&&!(i in e&&-1===t[d](u(n)?e:n,e[i],i,e));i++);}function se(r,e,i){var o=e?e[r]:s;return function(e){var t,n=(e?e[r]:s)||o;if(n||i)return t=arguments,(n||i).apply(e,n?y[d](t,1):t);I('"'+ne(r)+'" not defined for '+ie(e))}}function ve(t){return function(e){return e[t]}}var de=t(n(w,U),te),ye={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},_=n(w,"defineProperty"),he=n(w,"defineProperties");function E(e,t,n){return _(e,t,(r=n,(i={})[ye.c]=!0,i[ye.e]=!0,r.l&&(i.get=function(){return r.l.v},e=de(r.l,"v"))&&e.set&&(i.set=function(e){r.l.v=e}),le(r,function(e,t){i[ye[e]]=Z(t)?i[ye[e]]:t}),i));var r,i}function me(e,t,n){_(e,t,{value:n,enumerable:!0,writable:!1})}function pe(e){return e}function ge(e){return oe(e),e[q]||s}var Pe=t(n(w,"freeze"),pe),we=t(n(w,"getPrototypeOf"),ge);function be(e){return t=Pe,n={},le(e,function(e,t){me(n,e,e),me(n,t,e)}),t?t(n):n;var t,n}var Se,Ae=be({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),je="__tsUtils$gblCfg";function Re(){var e;return(e=(e=(e=typeof globalThis!==r?globalThis:e)||typeof self===r?e:self)||typeof window===r?e:window)||typeof global===r?e:global}function Te(){var e;return Se||(e=A(Re).v||{},Se=e[je]=e[je]||{}),Se}var O,Ie=t(n(w,"create"),_e);function _e(e,t){var n;function r(){}return n=u(e)?{}:((n=typeof e)!==F&&n!=C&&I("Prototype must be an Object or function: "+ie(e)),r[v]=e,A(function(){r[q]=e}),new r),t&&A(he,[n,t]),n}function p(){return(Date.now||Ee)()}function Ee(){return(new Date).getTime()}function Oe(e,t,n){return e.apply(t,n)}function k(){O=Te()}function ke(t,n){var r={};return O||k(),r.b=O.lzy,_(r,"v",{configurable:!0,get:function(){var e=Oe(t,null,n);return O.lzy||_(r,"v",{value:e}),r.b=O.lzy,e}}),r}var De,$e=n(G,"random"),xe=ke(function(){for(var e=p().toString(36).slice(2);e.length<16;)e+=$e().toString(36).slice(2);return e.substring(0,16)}),ze="$nw21sym",Ne=0;function D(e){return _({toJSON:function(){return e}},"v",{value:e})}var Ce,Fe="window";function qe(e,t){var n;return function(){return O||k(),(n=n&&!O.lzy?n:D(A(e,t).v)).v}}function Me(e){return O||k(),(Ce=Ce&&!1!==e&&!O.lzy?Ce:D(A(Re).v||s)).v}function $(e,t){t=Ce&&!1!==t?Ce.v:Me(t);if(t&&t[e])return t[e];if(e===Fe)try{return window}catch(e){}return s}var Je,We,He=qe($,["document"]),Le=qe($,[Fe]),Ue=qe(function(){return!!A(function(){var e=$("process");return e&&(e.versions||{}).node}).v}),Be=qe($,["queueMicrotask"]);function Ge(){return Je=D(A($,[J]).v)}function Ke(e){var t,n,r,i,o=Ae[e],u=(O||k(),(O.lzy?0:Je)||Ge());return u.v?u.v[o||e]:(De=De||{},(u=Ae[e])?De[u]=De[u]||(t="_"+Ne+++"_"+xe.v,n=J+"("+(o=J+"."+u)+")",i=Ie(null),c("description",ne(o)),c(L,function(){return n+ze+t}),c("valueOf",function(){return i}),c("v",n),c("_uid",t),(r=i)&&(A(function(){r[V]=!0,r[X]="symbol"}),A(E,[r,V,{v:!0,w:!1,e:!1}]),A(E,[r,X,{v:"symbol",w:!1,e:!1}])),r):void 0);function c(e,t){E(i,e,{v:t,e:!1,w:!1})}}function Qe(e){return e&&R(e.next)}function Ve(e){return!u(e)&&R(e[Ke(3)])}function Xe(t,e,n){if(t&&(Qe(t)||(t=t[(We=We||D(Ke(3))).v]?t[We.v]():s),Qe(t))){var r=l,i=l;try{for(var o=0;!(i=t.next()).done&&-1!==e[d](u(n)?t:n,i.value,o,t);)o++}catch(e){r={e:e},t.throw&&(i=s,t.throw(r))}finally{try{i&&!i.done&&t.return&&t.return(i)}finally{if(r)throw r.e}}}}var Ye=se("indexOf",Q);function x(e){return((e?e.slice:s)||y).apply(e,y[d](arguments,1))}var Ze,et,g=ve(W),tt=t(n(w,"setPrototypeOf"),nt);function nt(n,e){var t;return(Ze=Ze||D(((t={})[q]=[],t instanceof Array))).v?n[q]=e:le(e,function(e,t){return n[e]Line truncated
//# sourceMappingURL=ts-async.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtask.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/tLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/debug.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/state.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/asyncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/nativePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/syncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/idlePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/promise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/timeoutPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/doWhileAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/arrForEachAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/iterForOfAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/scheduler/taskScheduler.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/polyfills/promise.ts"],"sourcesContent":["/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2023 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nexport const STR_PROMISE = \"Promise\";\r\nexport const DONE = \"done\";\r\nexport const VALUE = \"value\";\r\nexport const ITERATOR = \"iterator\";\r\nexport const RETURN = \"return\";\r\nexport const REJECTED = \"rejected\";","/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2022 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nimport { isPromiseLike } from \"@nevware21/ts-utils\";\r\nimport { AwaitResponse } from \"../interfaces/await-response\";\r\nimport { IPromise } from \"../interfaces/IPromise\";\r\nimport { FinallyPromiseHandler, RejectedPromiseHandler, ResolvedPromiseHandler } from \"../interfaces/types\";\r\nimport { REJECTED } from \"../internal/constants\";\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.\r\n * @group Await Helper\r\n * @param value - The value or promise like value to wait\r\n * @param cb - The callback function to call with the resulting value, if the value is not a\r\n * promise like value then the callback is called synchronously, if the value is a promise then\r\n * the callback will be called once the promise completes the resulting value will be passed as an\r\n * IAwaitResponse instance, it will be called whether any promise resolves or rejects.\r\n * @returns The value returned by the `cb` callback function, if the value is a promise then the return value\r\n * of the callback will be returned as a promise whether the callback returns a promise or not.\r\n * @example\r\n * ```ts\r\n * let promise = createPromise<number>((resolve, reject) => {\r\n * resolve(42);\r\n * });\r\n *\r\n * // Handle via doAwaitResponse\r\n * doAwaitResponse(promise, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // Do something with the reason\r\n * }\r\n * });\r\n *\r\n * // It can also handle the raw value, so you could process the result of either a\r\n * // synchrounous return of the value or a Promise\r\n * doAwaitResponse(42, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // This will never be true as the value is not a promise\r\n * }\r\n * });\r\n * ```\r\n */\r\nexport function doAwaitResponse<T, TResult1 = T, TResult2 = never>(value: T | IPromise<T> | PromiseLike<T>, cb: (response: AwaitResponse<T | TResult1>) => T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2> | PromiseLike<T | TResult1 | TResult2>): T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2>;\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject inLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/debug.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/state.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/asyncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/nativePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/syncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/idlePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/promise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/timeoutPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/doWhileAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/arrForEachAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/iterForOfAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/scheduler/taskScheduler.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/polyfills/promise.ts"],"sourcesContent":["/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2023 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nexport const STR_PROMISE = \"Promise\";\r\nexport const DONE = \"done\";\r\nexport const VALUE = \"value\";\r\nexport const ITERATOR = \"iterator\";\r\nexport const RETURN = \"return\";\r\nexport const REJECTED = \"rejected\";","/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2022 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nimport { isPromiseLike } from \"@nevware21/ts-utils\";\r\nimport { AwaitResponse } from \"../interfaces/await-response\";\r\nimport { IPromise } from \"../interfaces/IPromise\";\r\nimport { FinallyPromiseHandler, RejectedPromiseHandler, ResolvedPromiseHandler } from \"../interfaces/types\";\r\nimport { REJECTED } from \"../internal/constants\";\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.\r\n * @group Await Helper\r\n * @param value - The value or promise like value to wait\r\n * @param cb - The callback function to call with the resulting value, if the value is not a\r\n * promise like value then the callback is called synchronously, if the value is a promise then\r\n * the callback will be called once the promise completes the resulting value will be passed as an\r\n * IAwaitResponse instance, it will be called whether any promise resolves or rejects.\r\n * @returns The value returned by the `cb` callback function, if the value is a promise then the return value\r\n * of the callback will be returned as a promise whether the callback returns a promise or not.\r\n * @example\r\n * ```ts\r\n * let promise = createPromise<number>((resolve, reject) => {\r\n * resolve(42);\r\n * });\r\n *\r\n * // Handle via doAwaitResponse\r\n * doAwaitResponse(promise, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // Do something with the reason\r\n * }\r\n * });\r\n *\r\n * // It can also handle the raw value, so you could process the result of either a\r\n * // synchrounous return of the value or a Promise\r\n * doAwaitResponse(42, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // This will never be true as the value is not a promise\r\n * }\r\n * });\r\n * ```\r\n */\r\nexport function doAwaitResponse<T, TResult1 = T, TResult2 = never>(value: T | IPromise<T> | PromiseLike<T>, cb: (response: AwaitResponse<T | TResult1>) => T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2> | PromiseLike<T | TResult1 | TResult2>): T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2>;\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject inLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/length.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_proto.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/customError.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/perf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/handler.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/timeout.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/idle.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/cancellableTask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/runMicrotask.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/taskQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/promiseQueue.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/resolveScheduleFn.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/timer/microtasks/timerQueue.ts","https://raw.gitLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/debug.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/state.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/asyncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/nativePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/syncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/idlePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/promise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/timeoutPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/doWhileAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/arrForEachAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/iterForOfAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/scheduler/taskScheduler.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/polyfills/promise.ts"],"sourcesContent":["/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2023 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nexport const STR_PROMISE = \"Promise\";\r\nexport const DONE = \"done\";\r\nexport const VALUE = \"value\";\r\nexport const ITERATOR = \"iterator\";\r\nexport const RETURN = \"return\";\r\nexport const REJECTED = \"rejected\";","/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2022 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nimport { isPromiseLike } from \"@nevware21/ts-utils\";\r\nimport { AwaitResponse } from \"../interfaces/await-response\";\r\nimport { IPromise } from \"../interfaces/IPromise\";\r\nimport { FinallyPromiseHandler, RejectedPromiseHandler, ResolvedPromiseHandler } from \"../interfaces/types\";\r\nimport { REJECTED } from \"../internal/constants\";\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.\r\n * @group Await Helper\r\n * @param value - The value or promise like value to wait\r\n * @param cb - The callback function to call with the resulting value, if the value is not a\r\n * promise like value then the callback is called synchronously, if the value is a promise then\r\n * the callback will be called once the promise completes the resulting value will be passed as an\r\n * IAwaitResponse instance, it will be called whether any promise resolves or rejects.\r\n * @returns The value returned by the `cb` callback function, if the value is a promise then the return value\r\n * of the callback will be returned as a promise whether the callback returns a promise or not.\r\n * @example\r\n * ```ts\r\n * let promise = createPromise<number>((resolve, reject) => {\r\n * resolve(42);\r\n * });\r\n *\r\n * // Handle via doAwaitResponse\r\n * doAwaitResponse(promise, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // Do something with the reason\r\n * }\r\n * });\r\n *\r\n * // It can also handle the raw value, so you could process the result of either a\r\n * // synchrounous return of the value or a Promise\r\n * doAwaitResponse(42, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // This will never be true as the value is not a promise\r\n * }\r\n * });\r\n * ```\r\n */\r\nexport function doAwaitResponse<T, TResult1 = T, TResult2 = never>(value: T | IPromise<T> | PromiseLike<T>, cb: (response: AwaitResponse<T | TResult1>) => T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2> | PromiseLike<T | TResult1 | TResult2>): T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2>;\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject inLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-async.js","sources":["https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/await.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/debug.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/state.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/event.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/base.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/internal/timeout_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/itemProcessor.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/asyncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/nativePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/syncPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/idlePromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/promise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/promise/timeoutPromise.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/doWhileAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/arrForEachAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/helpers/iterForOfAsync.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/scheduler/taskScheduler.ts","https://raw.githubusercontent.com/nevware21/ts-async/refs/tags/0.6.1/lib/src/polyfills/promise.ts"],"sourcesContent":["/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2023 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nexport const STR_PROMISE = \"Promise\";\r\nexport const DONE = \"done\";\r\nexport const VALUE = \"value\";\r\nexport const ITERATOR = \"iterator\";\r\nexport const RETURN = \"return\";\r\nexport const REJECTED = \"rejected\";","/*\r\n * @nevware21/ts-async\r\n * https://github.com/nevware21/ts-async\r\n *\r\n * Copyright (c) 2022 NevWare21 Solutions LLC\r\n * Licensed under the MIT license.\r\n */\r\n\r\nimport { isPromiseLike } from \"@nevware21/ts-utils\";\r\nimport { AwaitResponse } from \"../interfaces/await-response\";\r\nimport { IPromise } from \"../interfaces/IPromise\";\r\nimport { FinallyPromiseHandler, RejectedPromiseHandler, ResolvedPromiseHandler } from \"../interfaces/types\";\r\nimport { REJECTED } from \"../internal/constants\";\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.\r\n * @group Await Helper\r\n * @param value - The value or promise like value to wait\r\n * @param cb - The callback function to call with the resulting value, if the value is not a\r\n * promise like value then the callback is called synchronously, if the value is a promise then\r\n * the callback will be called once the promise completes the resulting value will be passed as an\r\n * IAwaitResponse instance, it will be called whether any promise resolves or rejects.\r\n * @returns The value returned by the `cb` callback function, if the value is a promise then the return value\r\n * of the callback will be returned as a promise whether the callback returns a promise or not.\r\n * @example\r\n * ```ts\r\n * let promise = createPromise<number>((resolve, reject) => {\r\n * resolve(42);\r\n * });\r\n *\r\n * // Handle via doAwaitResponse\r\n * doAwaitResponse(promise, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // Do something with the reason\r\n * }\r\n * });\r\n *\r\n * // It can also handle the raw value, so you could process the result of either a\r\n * // synchrounous return of the value or a Promise\r\n * doAwaitResponse(42, (value) => {\r\n * if (!value.rejected) {\r\n * // Do something with the value\r\n * } else {\r\n * // This will never be true as the value is not a promise\r\n * }\r\n * });\r\n * ```\r\n */\r\nexport function doAwaitResponse<T, TResult1 = T, TResult2 = never>(value: T | IPromise<T> | PromiseLike<T>, cb: (response: AwaitResponse<T | TResult1>) => T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2> | PromiseLike<T | TResult1 | TResult2>): T | TResult1 | TResult2 | IPromise<T | TResult1 | TResult2>;\r\n\r\n/**\r\n * Helper to coallesce the promise resolved / reject inLine truncated
File diff suppressed because it is too large. Load diff
+126
View File
@@ -0,0 +1,126 @@
{
"name": "@nevware21/ts-async",
"description": "support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.",
"version": "0.6.1",
"homepage": "https://github.com/nevware21/ts-async",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/nevware21"
},
{
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/nevware21"
}
],
"sideEffects": false,
"license": "MIT",
"author": {
"name": "NevWare21 Solutions LLC",
"email": "[email protected]"
},
"keywords": [
"typescript",
"javascript",
"es5",
"promise",
"es6.promise",
"async",
"asynchronous",
"async promise",
"asynchronous promise",
"sync",
"synchronous",
"sync promise",
"synchronous promise",
"idle",
"idle promise",
"requestIdleCallback",
"minification",
"browser",
"promise polyfill",
"scheduler",
"task scheduler"
],
"main": "dist/es5/main/ts-async.js",
"esnext:main": "dist/es6/main/ts-async.js",
"module": "dist/es5/mod/ts-async.js",
"esnext": "dist/es6/mod/ts-async.js",
"types": "dist/types/ts-async.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/nevware21/ts-async.git"
},
"bugs": {
"url": "https://github.com/nevware21/ts-async/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/nevware21/ts-async/blob/main/LICENSE"
}
],
"scripts": {
"build": "npm run preproc && grunt ts_async --verbose && npm run preproc -- -restore && npm run package && npm run dtsgen",
"rebuild": "npm run build && npm run test",
"package": "rollup -c rollup.config.js --bundleConfigAsCjs",
"test": "npm run preproc test && grunt ts_async-test && npm run test:node && npm run test:browser && npm run test:worker && npm run coverage:report&& npm run preproc -- -restore",
"test:node": "nyc ts-mocha --type-check -p ./test/tsconfig.test.json \"./test/src/!(browser|worker)/**/*.test.ts\" --trace-uncaught",
"test:browser": "karma start karma.browser.conf.js --single-run",
"test:worker": "karma start karma.worker.conf.js --single-run",
"debug:browser": "karma start karma.debug.browser.conf.js --watch",
"debug:worker": "karma start karma.debug.worker.conf.js --watch",
"lint": "grunt ts_async-lint",
"coverage:report": "npm run coverage:nyc && npm run coverage:merge",
"coverage:nyc": "nyc report --reporter=json",
"coverage:merge": "merge-coverage",
"codecov": "npm run coverage:report",
"clean": "git clean -xdf && npm install",
"cleanBuild": "npm run clean && npm run rebuild && npm run docs",
"docs": "cd .. && npx typedoc",
"rush-update": "rush update --recheck --purge --full",
"dtsgen": "api-extractor run --local --verbose && node scripts/setTsReferences.js",
"preproc": "ts-preproc -C ../preproc.json -R .."
},
"dependencies": {
"@nevware21/ts-utils": ">= 0.15.0 < 2.x"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@microsoft/api-extractor": "^7.48.1",
"@nevware21/tripwire": ">= 0.1.8 < 2.x",
"@nevware21/ts-preproc": "^0.1.4",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-typescript": "^12.1.1",
"@types/mocha": "^10.0.1",
"@types/sinon": "^21.0.0",
"chromium": "^3.0.3",
"copyfiles": "^2.4.1",
"cross-env": "^10.1.0",
"grunt": "^1.6.2",
"grunt-cli": "^1.4.3",
"karma": "^6.3.20",
"karma-chrome-launcher": "^3.1.1",
"karma-mocha": "^2.0.1",
"karma-spec-reporter": "^0.0.36",
"karma-typescript": "^5.5.3",
"mocha": "^10.0.0",
"nyc": "^18.0.0",
"puppeteer": "^25.0.2",
"rollup": "^4.26.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-istanbul": "^5.0.0",
"rollup-plugin-minify-es": "^1.1.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"sinon": "^14.0.0",
"ts-mocha": "^11.1.0",
"typedoc": "^0.28.2",
"typedoc-github-theme": "^0.4.0",
"typescript": "~5.2.2",
"uglify-js": "^3.15.5"
}
}
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"sourceMap": true,
"inlineSources": true,
"noImplicitAny": true,
"module": "es6",
"moduleResolution": "node",
"target": "es5",
"lib": ["es2018", "dom"],
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"noEmitHelpers": false,
"alwaysStrict": true,
"declaration": false,
"outDir": "./build/base",
"allowSyntheticDefaultImports": true,
"removeComments": true
},
"include": [
"./src/**/*.ts"
],
"exclude": [
"node_modules/"
]
}
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es6",
"outDir": "./build/es6"
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es5",
"declaration": true,
"declarationDir": "./build/types",
"removeComments": false,
"outDir": "./build/es5"
}
}
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 NevWare21 Solutions LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+382
View File
@@ -0,0 +1,382 @@
<h1 align="center">@nevware21/ts-utils</h1>
<h2 align="center">Comprehensive TypeScript/JavaScript Utility Library</h2>
![GitHub Workflow Status (main)](https://img.shields.io/github/actions/workflow/status/nevware21/ts-utils/ci.yml?branch=main)
[![codecov](https://codecov.io/gh/nevware21/ts-utils/branch/main/graph/badge.svg?token=8YCAMUA7VB)](https://codecov.io/gh/nevware21/ts-utils)
[![npm version](https://badge.fury.io/js/%40nevware21%2Fts-utils.svg)](https://badge.fury.io/js/%40nevware21%2Fts-utils)
[![downloads](https://img.shields.io/npm/dt/%40nevware21/ts-utils.svg)](https://www.npmjs.com/package/%40nevware21/ts-utils)
[![downloads](https://img.shields.io/npm/dm/%40nevware21/ts-utils.svg)](https://www.npmjs.com/package/%40nevware21/ts-utils)
[![Sponsor](https://img.shields.io/badge/Sponsor-444444?logo=githubsponsors
)](https://github.com/sponsors/nevware21)
## Overview
A comprehensive TypeScript/JavaScript utility library that provides:
- **Cross-Environment Support**: Works seamlessly in Node.js, browsers, and web workers
- **Helper Functions**: Extensive collection of utility functions for common operations
- **Type Checking**: Robust type checking utilities to improve code reliability
- **Optimized for Minification**: Function naming designed for better minification
- **Zero Dependencies**: Lightweight and self-contained
- **ECMAScript Support**: Supports modern JavaScript features across ES5 to ES2023, ensuring broad usability in various environments
- **Polyfills**: Uses built-in functions to support older environments, providing modern JavaScript features without sacrificing compatibility
If you find this library useful, please consider [sponsoring @nevware21](https://github.com/sponsors/nevware21) to support ongoing development and maintenance.
## Installation
```bash
npm install @nevware21/ts-utils --save
```
**Recommended Version Specification:**
```json
"@nevware21/ts-utils": ">= 0.15.0 < 2.x"
```
> Note: v0.x and v1.x maintain ES5 compatibility. Future v2.x releases will update the baseline to newer ECMAScript versions.
## Key Features
### Environment Utilities
- Global object detection and access
- Environment detection (Node.js, browser, web worker)
- Safe access to environment-specific APIs
### Type Checking
- Comprehensive type checking for all JavaScript types
- Value validation helpers
- Advanced type checks for promises, iterables, and more
### Array Helpers
- Safe array manipulation with polyfills for older environments
- Cross-environment array utilities
- Performance-optimized implementations
### Object Utilities
- Property manipulation
- Deep copy/extend
- Object transformation helpers
- Property selection and omission helpers
- Shallow defaults, conditional merges, and object diff helpers
### Security Helpers
- Safe iteration over own enumerable keys while skipping dangerous property names
- Built-in checks for prototype pollution keys such as `__proto__`, `constructor`, and `prototype`
- Guards to avoid writing to native prototype objects during object copy or merge operations
### String Manipulation & Encoding
- Case conversion (capitalized words, camelCase, kebab-case, snake_case)
- String transformation utilities
- Data encoding: Base64 (standard and URL-safe), Hexadecimal, URI
- Data decoding with ES5-compatible polyfill support
- HTML and JSON encoding for security
- Cross-environment compatibility with optimized implementations
### Function Helpers
- Function binding and proxying utilities
- Argument manipulation
- Function creation helpers
### Time and Performance
- Consistent timing APIs across environments
- Performance measurement utilities
- Scheduling helpers with automatic polyfills
- Microtask scheduling helpers that extend standard microtasks with cancellable handlers, with cross-runtime parity for Node.js, browsers, and web workers
- [Customizable timeout handling](https://nevware21.github.io/ts-utils/timeout-overrides.html) via package-level and global overrides
For advanced timeout customization options, including global overrides, see our [Timeout Overrides Guide](https://nevware21.github.io/ts-utils/timeout-overrides.html).
### And More
- Math utilities
- Symbol polyfills
- RegExp helpers
- Iterator utilities
## Documentation & API Reference
Visit our [documentation site](https://nevware21.github.io/ts-utils/) for comprehensive guides and references.
- Full API documentation is available [in the TypeDoc documentation](https://nevware21.github.io/ts-utils/typedoc/index.html).
- For practical examples and usage patterns, check out our [Usage Guide](https://nevware21.github.io/ts-utils/usage-guide.html).
- For detailed documentation on creating and using custom deep copy handlers, see the [Advanced Deep Copy Handlers](https://nevware21.github.io/ts-utils/advanced-deep-copy.html) guide.
### Documentation Quick Links
| Category | Documentation |
|----------|---------------|
| Getting Started | [Usage Guide](https://nevware21.github.io/ts-utils/usage-guide.html) |
| Advanced Features | [Timeout Overrides](https://nevware21.github.io/ts-utils/timeout-overrides.html), [Deep Copy](https://nevware21.github.io/ts-utils/advanced-deep-copy.html), [Security Helpers](https://nevware21.github.io/ts-utils/security-helpers.html) |
| Performance | [Bundle Size Optimization](https://nevware21.github.io/ts-utils/size-optimization.html) |
| API Reference | [TypeDoc Documentation](https://nevware21.github.io/ts-utils/typedoc/index.html) |
### Available Utilities
Below is a categorized list of all available utilities with direct links to their documentation:
| Type | Functions / Helpers / Aliases / Polyfills
|----------------------------|---------------------------------------------------
| Runtime Environment Checks | <code>[getCancelIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/getCancelIdleCallback.html)(); [getDocument](https://nevware21.github.io/ts-utils/typedoc/functions/getDocument.html)(); [getGlobal](https://nevware21.github.io/ts-utils/typedoc/functions/getGlobal.html)(); [getHistory](https://nevware21.github.io/ts-utils/typedoc/functions/getHistory.html)(); [getIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/getIdleCallback.html)(); [getInst](https://nevware21.github.io/ts-utils/typedoc/functions/getInst.html)(); [getNavigator](https://nevware21.github.io/ts-utils/typedoc/functions/getNavigator.html)(); [getPerformance](https://nevware21.github.io/ts-utils/typedoc/functions/getPerformance.html)(); [getProcessNextTick](https://nevware21.github.io/ts-utils/typedoc/functions/getProcessNextTick.html)(); [getQueueMicrotask](https://nevware21.github.io/ts-utils/typedoc/functions/getQueueMicrotask.html)(); [getWindow](https://nevware21.github.io/ts-utils/typedoc/functions/getWindow.html)(); [hasDocument](https://nevware21.github.io/ts-utils/typedoc/functions/hasDocument.html)(); [hasHistory](https://nevware21.github.io/ts-utils/typedoc/functions/hasHistory.html)(); [hasNavigator](https://nevware21.github.io/ts-utils/typedoc/functions/hasNavigator.html)(); [hasPerformance](https://nevware21.github.io/ts-utils/typedoc/functions/hasPerformance.html)(); [hasProcessNextTick](https://nevware21.github.io/ts-utils/typedoc/functions/hasProcessNextTick.html)(); [hasQueueMicrotask](https://nevware21.github.io/ts-utils/typedoc/functions/hasQueueMicrotask.html)(); [hasWindow](https://nevware21.github.io/ts-utils/typedoc/functions/hasWindow.html)(); [isNode](https://nevware21.github.io/ts-utils/typedoc/functions/isNode.html)(); [isWebWorker](https://nevware21.github.io/ts-utils/typedoc/functions/isWebWorker.html)(); [hasIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/hasIdleCallback.html)(); [lazySafeGetInst](https://nevware21.github.io/ts-utils/typedoc/functions/lazySafeGetInst.html)(); </code>
| Type Identity | <code>[isArray](https://nevware21.github.io/ts-utils/typedoc/functions/isArray.html)(); [isArrayLike](https://nevware21.github.io/ts-utils/typedoc/functions/isArrayLike.html)(); [isArrayBuffer](https://nevware21.github.io/ts-utils/typedoc/functions/isArrayBuffer.html)(); [isAsyncFunction](https://nevware21.github.io/ts-utils/typedoc/functions/isAsyncFunction.html)(); [isAsyncGenerator](https://nevware21.github.io/ts-utils/typedoc/functions/isAsyncGenerator.html)(); [isAsyncIterable](https://nevware21.github.io/ts-utils/typedoc/functions/isAsyncIterable.html)(); [isBigInt](https://nevware21.github.io/ts-utils/typedoc/functions/isBigInt.html)(); [isBlob](https://nevware21.github.io/ts-utils/typedoc/functions/isBlob.html)(); [isBoolean](https://nevware21.github.io/ts-utils/typedoc/functions/isBoolean.html)(); [isDate](https://nevware21.github.io/ts-utils/typedoc/functions/isDate.html)(); [isElement](https://nevware21.github.io/ts-utils/typedoc/functions/isElement.html)(); [isElementLike](https://nevware21.github.io/ts-utils/typedoc/functions/isElementLike.html)(); [isError](https://nevware21.github.io/ts-utils/typedoc/functions/isError.html)(); [isFile](https://nevware21.github.io/ts-utils/typedoc/functions/isFile.html)(); [isFiniteNumber](https://nevware21.github.io/ts-utils/typedoc/functions/isFiniteNumber.html)(); [isFormData](https://nevware21.github.io/ts-utils/typedoc/functions/isFormData.html)(); [isFunction](https://nevware21.github.io/ts-utils/typedoc/functions/isFunction.html)(); [isGenerator](https://nevware21.github.io/ts-utils/typedoc/functions/isGenerator.html)(); [isInteger](https://nevware21.github.io/ts-utils/typedoc/functions/isInteger.html)(); [isIntegerInRange](https://nevware21.github.io/ts-utils/typedoc/functions/isIntegerInRange.html)(); [isIterable](https://nevware21.github.io/ts-utils/typedoc/functions/isIterable.html)(); [isIterator](https://nevware21.github.io/ts-utils/typedoc/functions/isIterator.html)(); [isMap](https://nevware21.github.io/ts-utils/typedoc/functions/isMap.html)(); [isMapLike](https://nevware21.github.io/ts-utils/typedoc/functions/isMapLike.html)(); [isNullOrUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isNullOrUndefined.html)(); [isNumber](https://nevware21.github.io/ts-utils/typedoc/functions/isNumber.html)(); [isObject](https://nevware21.github.io/ts-utils/typedoc/functions/isObject.html)(); [isPlainObject](https://nevware21.github.io/ts-utils/typedoc/functions/isPlainObject.html)(); [isPrimitive](https://nevware21.github.io/ts-utils/typedoc/functions/isPrimitive.html)(); [isPrimitiveType](https://nevware21.github.io/ts-utils/typedoc/functions/isPrimitiveType.html)(); [isPromise](https://nevware21.github.io/ts-utils/typedoc/functions/isPromise.html)(); [isPromiseLike](https://nevware21.github.io/ts-utils/typedoc/functions/isPromiseLike.html)(); [isRegExp](https://nevware21.github.io/ts-utils/typedoc/functions/isRegExp.html)(); [isSet](https://nevware21.github.io/ts-utils/typedoc/functions/isSet.html)(); [isSetLike](https://nevware21.github.io/ts-utils/typedoc/functions/isSetLike.html)(); [isStrictNullOrUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isStrictNullOrUndefined.html)(); [isStrictUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isStrictUndefined.html)(); [isString](https://nevware21.github.io/ts-utils/typedoc/functions/isString.html)(); [isThenable](https://nevware21.github.io/ts-utils/typedoc/functions/isThenable.html)(); [isTypeof](https://nevware21.github.io/ts-utils/typedoc/functions/isTypeof.html)(); [isUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isUndefined.html)(); [isWeakMap](https://nevware21.github.io/ts-utils/typedoc/functions/isWeakMap.html)(); [isWeakSet](https://nevware21.github.io/ts-utils/typedoc/functions/isWeakSet.html)();</code>
| Value Check | <code>[hasValue](https://nevware21.github.io/ts-utils/typedoc/functions/hasValue.html)(); [isDefined](https://nevware21.github.io/ts-utils/typedoc/functions/isDefined.html)(); [isEmpty](https://nevware21.github.io/ts-utils/typedoc/functions/isEmpty.html)(); [isNotTruthy](https://nevware21.github.io/ts-utils/typedoc/functions/isNotTruthy.html)(); [isNullOrUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isNullOrUndefined.html)(); [isStrictNullOrUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isStrictNullOrUndefined.html)(); [isStrictUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isStrictUndefined.html)(); [isTruthy](https://nevware21.github.io/ts-utils/typedoc/functions/isTruthy.html)(); [isUndefined](https://nevware21.github.io/ts-utils/typedoc/functions/isUndefined.html)();</code>
| Value | <code>[getValueByKey](https://nevware21.github.io/ts-utils/typedoc/functions/getValueByKey.html)(); [setValueByKey](https://nevware21.github.io/ts-utils/typedoc/functions/setValueByKey.html)(); [getValueByIter](https://nevware21.github.io/ts-utils/typedoc/functions/getValueByIter.html)(); [setValueByIter](https://nevware21.github.io/ts-utils/typedoc/functions/setValueByIter.html)(); [encodeAsJson](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsJson.html)(); [encodeAsHtml](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsHtml.html)(); [asString](https://nevware21.github.io/ts-utils/typedoc/functions/asString.html)(); [getIntValue](https://nevware21.github.io/ts-utils/typedoc/functions/getIntValue.html)(); [normalizeJsName](https://nevware21.github.io/ts-utils/typedoc/functions/normalizeJsName.html)();</code>
| &nbsp; | &nbsp;
| Array | <code>[arrAppend](https://nevware21.github.io/ts-utils/typedoc/functions/arrAppend.html)(); [arrConcat](https://nevware21.github.io/ts-utils/typedoc/functions/arrConcat.html)(); [arrAt](https://nevware21.github.io/ts-utils/typedoc/functions/arrAt.html)(); [arrChunk](https://nevware21.github.io/ts-utils/typedoc/functions/arrChunk.html)(); [arrCompact](https://nevware21.github.io/ts-utils/typedoc/functions/arrCompact.html)(); [arrContains](https://nevware21.github.io/ts-utils/typedoc/functions/arrContains.html)(); [arrDifference](https://nevware21.github.io/ts-utils/typedoc/functions/arrDifference.html)(); [arrDrop](https://nevware21.github.io/ts-utils/typedoc/functions/arrDrop.html)(); [arrDropWhile](https://nevware21.github.io/ts-utils/typedoc/functions/arrDropWhile.html)(); [arrEvery](https://nevware21.github.io/ts-utils/typedoc/functions/arrEvery.html)(); [arrFilter](https://nevware21.github.io/ts-utils/typedoc/functions/arrFilter.html)(); [arrFill](https://nevware21.github.io/ts-utils/typedoc/functions/arrFill.html)(); [arrFind](https://nevware21.github.io/ts-utils/typedoc/functions/arrFind.html)(); [arrFindIndex](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindIndex.html)(); [arrFindLast](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindLast.html)(); [arrFindLastIndex](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindLastIndex.html)(); [arrFlatten](https://nevware21.github.io/ts-utils/typedoc/functions/arrFlatten.html)(); [arrForEach](https://nevware21.github.io/ts-utils/typedoc/functions/arrForEach.html)(); [arrFrom](https://nevware21.github.io/ts-utils/typedoc/functions/arrFrom.html)(); [arrGroupBy](https://nevware21.github.io/ts-utils/typedoc/functions/arrGroupBy.html)(); [arrIncludes](https://nevware21.github.io/ts-utils/typedoc/functions/arrIncludes.html)(); [arrIndexKeys](https://nevware21.github.io/ts-utils/typedoc/functions/arrIndexKeys.html)(); [arrIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/arrIndexOf.html)(); [arrIntersection](https://nevware21.github.io/ts-utils/typedoc/functions/arrIntersection.html)(); [arrKeys](https://nevware21.github.io/ts-utils/typedoc/functions/arrKeys.html)(); [arrLastIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/arrLastIndexOf.html)(); [arrMap](https://nevware21.github.io/ts-utils/typedoc/functions/arrMap.html)(); [arrPartition](https://nevware21.github.io/ts-utils/typedoc/functions/arrPartition.html)(); [arrReduce](https://nevware21.github.io/ts-utils/typedoc/functions/arrReduce.html)(); [arrReverse](https://nevware21.github.io/ts-utils/typedoc/functions/arrReverse.html)(); [arrRotate](https://nevware21.github.io/ts-utils/typedoc/functions/arrRotate.html)(); [arrSample](https://nevware21.github.io/ts-utils/typedoc/functions/arrSample.html)(); [arrShuffle](https://nevware21.github.io/ts-utils/typedoc/functions/arrShuffle.html)(); [arrSlice](https://nevware21.github.io/ts-utils/typedoc/functions/arrSlice.html)(); [arrSome](https://nevware21.github.io/ts-utils/typedoc/functions/arrSome.html)(); [arrTake](https://nevware21.github.io/ts-utils/typedoc/functions/arrTake.html)(); [arrTakeWhile](https://nevware21.github.io/ts-utils/typedoc/functions/arrTakeWhile.html)(); [arrUnion](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnion.html)(); [arrUnique](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnique.html)(); [arrUnzip](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnzip.html)(); [arrWith](https://nevware21.github.io/ts-utils/typedoc/functions/arrWith.html)(); [arrZip](https://nevware21.github.io/ts-utils/typedoc/functions/arrZip.html)(); [getLength](https://nevware21.github.io/ts-utils/typedoc/functions/getLength.html)(); [isArray](https://nevware21.github.io/ts-utils/typedoc/functions/isArray.html)();<br/>[polyIsArray](https://nevware21.github.io/ts-utils/typedoc/functions/polyIsArray.html)(); [polyArrIncludes](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrIncludes.html)(); [polyArrFind](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrFind.html)(); [polyArrFindIndex](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrFindIndex.html)(); [polyArrFindLast](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrFindLast.html)(); [polyArrFindLastIndex](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrFindLastIndex.html)(); [polyArrFrom](https://nevware21.github.io/ts-utils/typedoc/functions/polyArrFrom.html)(); </code>
| ArrayLike | <code>[arrAt](https://nevware21.github.io/ts-utils/typedoc/functions/arrAt.html)(); [arrChunk](https://nevware21.github.io/ts-utils/typedoc/functions/arrChunk.html)(); [arrCompact](https://nevware21.github.io/ts-utils/typedoc/functions/arrCompact.html)(); [arrContains](https://nevware21.github.io/ts-utils/typedoc/functions/arrContains.html)(); [arrDifference](https://nevware21.github.io/ts-utils/typedoc/functions/arrDifference.html)(); [arrDrop](https://nevware21.github.io/ts-utils/typedoc/functions/arrDrop.html)(); [arrDropWhile](https://nevware21.github.io/ts-utils/typedoc/functions/arrDropWhile.html)(); [arrEvery](https://nevware21.github.io/ts-utils/typedoc/functions/arrEvery.html)(); [arrFilter](https://nevware21.github.io/ts-utils/typedoc/functions/arrFilter.html)(); [arrFill](https://nevware21.github.io/ts-utils/typedoc/functions/arrFill.html)(); [arrFind](https://nevware21.github.io/ts-utils/typedoc/functions/arrFind.html)(); [arrFindIndex](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindIndex.html)(); [arrFindLast](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindLast.html)(); [arrFindLastIndex](https://nevware21.github.io/ts-utils/typedoc/functions/arrFindLastIndex.html)(); [arrFlatten](https://nevware21.github.io/ts-utils/typedoc/functions/arrFlatten.html)(); [arrForEach](https://nevware21.github.io/ts-utils/typedoc/functions/arrForEach.html)(); [arrFrom](https://nevware21.github.io/ts-utils/typedoc/functions/arrFrom.html)(); [arrGroupBy](https://nevware21.github.io/ts-utils/typedoc/functions/arrGroupBy.html)(); [arrIncludes](https://nevware21.github.io/ts-utils/typedoc/functions/arrIncludes.html)(); [arrIndexKeys](https://nevware21.github.io/ts-utils/typedoc/functions/arrIndexKeys.html)(); [arrIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/arrIndexOf.html)(); [arrIntersection](https://nevware21.github.io/ts-utils/typedoc/functions/arrIntersection.html)(); [arrKeys](https://nevware21.github.io/ts-utils/typedoc/functions/arrKeys.html)(); [arrLastIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/arrLastIndexOf.html)(); [arrMap](https://nevware21.github.io/ts-utils/typedoc/functions/arrMap.html)(); [arrPartition](https://nevware21.github.io/ts-utils/typedoc/functions/arrPartition.html)(); [arrReduce](https://nevware21.github.io/ts-utils/typedoc/functions/arrReduce.html)(); [arrReverse](https://nevware21.github.io/ts-utils/typedoc/functions/arrReverse.html)(); [arrRotate](https://nevware21.github.io/ts-utils/typedoc/functions/arrRotate.html)(); [arrSample](https://nevware21.github.io/ts-utils/typedoc/functions/arrSample.html)(); [arrShuffle](https://nevware21.github.io/ts-utils/typedoc/functions/arrShuffle.html)(); [arrSlice](https://nevware21.github.io/ts-utils/typedoc/functions/arrSlice.html)(); [arrSome](https://nevware21.github.io/ts-utils/typedoc/functions/arrSome.html)(); [arrTake](https://nevware21.github.io/ts-utils/typedoc/functions/arrTake.html)(); [arrTakeWhile](https://nevware21.github.io/ts-utils/typedoc/functions/arrTakeWhile.html)(); [arrUnion](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnion.html)(); [arrUnique](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnique.html)(); [arrUnzip](https://nevware21.github.io/ts-utils/typedoc/functions/arrUnzip.html)(); [arrWith](https://nevware21.github.io/ts-utils/typedoc/functions/arrWith.html)(); [arrZip](https://nevware21.github.io/ts-utils/typedoc/functions/arrZip.html)(); [getLength](https://nevware21.github.io/ts-utils/typedoc/functions/getLength.html)(); [objEntries](https://nevware21.github.io/ts-utils/typedoc/functions/objEntries.html)(); [objValues](https://nevware21.github.io/ts-utils/typedoc/functions/objValues.html)();</code>
| DOM | <code>[isElement](https://nevware21.github.io/ts-utils/typedoc/functions/isElement.html)(); [isElementLike](https://nevware21.github.io/ts-utils/typedoc/functions/isElementLike.html)();</code>
| Enum | <code>[createEnum](https://nevware21.github.io/ts-utils/typedoc/functions/createEnum.html)(); [createEnumKeyMap](https://nevware21.github.io/ts-utils/typedoc/functions/createEnumKeyMap.html)(); [createEnumValueMap](https://nevware21.github.io/ts-utils/typedoc/functions/createEnumValueMap.html)(); [createSimpleMap](https://nevware21.github.io/ts-utils/typedoc/functions/createSimpleMap.html)(); [createTypeMap](https://nevware21.github.io/ts-utils/typedoc/functions/createTypeMap.html)();</code>
| Error | <code>[createCustomError](https://nevware21.github.io/ts-utils/typedoc/functions/createCustomError.html)(); [isError](https://nevware21.github.io/ts-utils/typedoc/functions/isError.html)(); [throwError](https://nevware21.github.io/ts-utils/typedoc/functions/throwError.html)(); [throwRangeError](https://nevware21.github.io/ts-utils/typedoc/functions/throwRangeError.html)(); [throwTypeError](https://nevware21.github.io/ts-utils/typedoc/functions/throwTypeError.html)(); [throwUnsupported](https://nevware21.github.io/ts-utils/typedoc/functions/throwUnsupported.html)();</code>
| Function | <code>[fnApply](https://nevware21.github.io/ts-utils/typedoc/functions/fnApply.html)(); [fnBind](https://nevware21.github.io/ts-utils/typedoc/functions/fnBind.html)(); [fnBindArgs](https://nevware21.github.io/ts-utils/typedoc/functions/fnBindArgs.html)(); [fnCall](https://nevware21.github.io/ts-utils/typedoc/functions/fnCall.html)(); [createFnDeferredProxy](https://nevware21.github.io/ts-utils/typedoc/functions/createFnDeferredProxy.html)(); [createProxyFuncs](https://nevware21.github.io/ts-utils/typedoc/functions/createProxyFuncs.html)(); [readArgs](https://nevware21.github.io/ts-utils/typedoc/functions/readArgs.html)();</code>
| Idle | <code>[getCancelIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/getCancelIdleCallback.html)(); [getIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/getIdleCallback.html)(); [hasIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/hasIdleCallback.html)(); [setDefaultIdleTimeout](https://nevware21.github.io/ts-utils/typedoc/functions/setDefaultIdleTimeout.html)(); [setDefaultMaxExecutionTime](https://nevware21.github.io/ts-utils/typedoc/functions/setDefaultMaxExecutionTime.html)(); </code>
| Iterator | <code>[createArrayIterator](https://nevware21.github.io/ts-utils/typedoc/functions/createArrayIterator.html)(); [createIterator](https://nevware21.github.io/ts-utils/typedoc/functions/createIterator.html)(); [createIterable](https://nevware21.github.io/ts-utils/typedoc/functions/createIterable.html)(); [createIterableIterator](https://nevware21.github.io/ts-utils/typedoc/functions/createIterableIterator.html)(); [createRangeIterator](https://nevware21.github.io/ts-utils/typedoc/functions/createRangeIterator.html)(); [iterForOf](https://nevware21.github.io/ts-utils/typedoc/functions/iterForOf.html)(); [iterMap](https://nevware21.github.io/ts-utils/typedoc/functions/iterMap.html)(); [iterFilter](https://nevware21.github.io/ts-utils/typedoc/functions/iterFilter.html)(); [iterTake](https://nevware21.github.io/ts-utils/typedoc/functions/iterTake.html)(); [iterReduce](https://nevware21.github.io/ts-utils/typedoc/functions/iterReduce.html)(); [iterSome](https://nevware21.github.io/ts-utils/typedoc/functions/iterSome.html)(); [iterEvery](https://nevware21.github.io/ts-utils/typedoc/functions/iterEvery.html)(); [iterToArray](https://nevware21.github.io/ts-utils/typedoc/functions/iterToArray.html)(); [iterUnion](https://nevware21.github.io/ts-utils/typedoc/functions/iterUnion.html)(); [iterIntersection](https://nevware21.github.io/ts-utils/typedoc/functions/iterIntersection.html)(); [iterDifference](https://nevware21.github.io/ts-utils/typedoc/functions/iterDifference.html)(); [isAsyncIterable](https://nevware21.github.io/ts-utils/typedoc/functions/isAsyncIterable.html)(); [isIterable](https://nevware21.github.io/ts-utils/typedoc/functions/isIterable.html)(); [isIterator](https://nevware21.github.io/ts-utils/typedoc/functions/isIterator.html)(); [makeIterable](https://nevware21.github.io/ts-utils/typedoc/functions/makeIterable.html)(); [arrAppend](https://nevware21.github.io/ts-utils/typedoc/functions/arrAppend.html)(); [arrFrom](https://nevware21.github.io/ts-utils/typedoc/functions/arrFrom.html)(); [arrToMap](https://nevware21.github.io/ts-utils/typedoc/functions/arrToMap.html)();</code>
| Number | <code>[getIntValue](https://nevware21.github.io/ts-utils/typedoc/functions/getIntValue.html)(); [isInteger](https://nevware21.github.io/ts-utils/typedoc/functions/isInteger.html)(); [isIntegerInRange](https://nevware21.github.io/ts-utils/typedoc/functions/isIntegerInRange.html)(); [isFiniteNumber](https://nevware21.github.io/ts-utils/typedoc/functions/isFiniteNumber.html)(); [isNumber](https://nevware21.github.io/ts-utils/typedoc/functions/isNumber.html)();</code>
| Math | <code>[mathAbs](https://nevware21.github.io/ts-utils/typedoc/functions/mathAbs.html)(); [mathAcos](https://nevware21.github.io/ts-utils/typedoc/functions/mathAcos.html)(); [mathAsin](https://nevware21.github.io/ts-utils/typedoc/functions/mathAsin.html)(); [mathAtan](https://nevware21.github.io/ts-utils/typedoc/functions/mathAtan.html)(); [mathAtan2](https://nevware21.github.io/ts-utils/typedoc/functions/mathAtan2.html)(); [mathCeil](https://nevware21.github.io/ts-utils/typedoc/functions/mathCeil.html)(); [mathCos](https://nevware21.github.io/ts-utils/typedoc/functions/mathCos.html)(); [mathExp](https://nevware21.github.io/ts-utils/typedoc/functions/mathExp.html)(); [mathFloor](https://nevware21.github.io/ts-utils/typedoc/functions/mathFloor.html)(); [mathLog](https://nevware21.github.io/ts-utils/typedoc/functions/mathLog.html)(); [mathMax](https://nevware21.github.io/ts-utils/typedoc/functions/mathMax.html)(); [mathMin](https://nevware21.github.io/ts-utils/typedoc/functions/mathMin.html)(); [mathPow](https://nevware21.github.io/ts-utils/typedoc/functions/mathPow.html)(); [mathRandom](https://nevware21.github.io/ts-utils/typedoc/functions/mathRandom.html)(); [mathRound](https://nevware21.github.io/ts-utils/typedoc/functions/mathRound.html)(); [mathSin](https://nevware21.github.io/ts-utils/typedoc/functions/mathSin.html)(); [mathSqrt](https://nevware21.github.io/ts-utils/typedoc/functions/mathSqrt.html)(); [mathTan](https://nevware21.github.io/ts-utils/typedoc/functions/mathTan.html)(); [mathToInt](https://nevware21.github.io/ts-utils/typedoc/functions/mathToInt.html)(); [mathTrunc](https://nevware21.github.io/ts-utils/typedoc/functions/mathTrunc.html)();</code>
| Object | <code>[deepExtend](https://nevware21.github.io/ts-utils/typedoc/functions/deepExtend.html)(); [forEachOwnKey](https://nevware21.github.io/ts-utils/typedoc/functions/forEachOwnKey.html)(); [forEachOwnKeySafe](https://nevware21.github.io/ts-utils/typedoc/functions/forEachOwnKeySafe.html)(); [isObject](https://nevware21.github.io/ts-utils/typedoc/functions/isObject.html)(); [isUnsafePropKey](https://nevware21.github.io/ts-utils/typedoc/functions/isUnsafePropKey.html)(); [isUnsafeTarget](https://nevware21.github.io/ts-utils/typedoc/functions/isUnsafeTarget.html)(); [objAssign](https://nevware21.github.io/ts-utils/typedoc/functions/objAssign.html)(); [objCopyProps](https://nevware21.github.io/ts-utils/typedoc/functions/objCopyProps.html)(); [objCreate](https://nevware21.github.io/ts-utils/typedoc/functions/objCreate.html)(); [objDeepCopy](https://nevware21.github.io/ts-utils/typedoc/functions/objDeepCopy.html)(); [objDeepFreeze](https://nevware21.github.io/ts-utils/typedoc/functions/objDeepFreeze.html)(); [objDefaults](https://nevware21.github.io/ts-utils/typedoc/functions/objDefaults.html)(); [objDefine](https://nevware21.github.io/ts-utils/typedoc/functions/objDefine.html)(); [objDefineAccessors](https://nevware21.github.io/ts-utils/typedoc/functions/objDefineAccessors.html)(); [objDefineGet](https://nevware21.github.io/ts-utils/typedoc/functions/objDefineGet.html)(); [objDefineProp](https://nevware21.github.io/ts-utils/typedoc/functions/objDefineProp.html)(); [objDefineProps](https://nevware21.github.io/ts-utils/typedoc/functions/objDefineProps.html)(); [objDefineProperties](https://nevware21.github.io/ts-utils/typedoc/functions/objDefineProperties.html)(); [objDiff](https://nevware21.github.io/ts-utils/typedoc/functions/objDiff.html)(); [objEntries](https://nevware21.github.io/ts-utils/typedoc/functions/objEntries.html)(); [objExtend](https://nevware21.github.io/ts-utils/typedoc/functions/objExtend.html)(); [objForEachKey](https://nevware21.github.io/ts-utils/typedoc/functions/objForEachKey.html)(); [objForEachKeySafe](https://nevware21.github.io/ts-utils/typedoc/functions/objForEachKeySafe.html)(); [objFreeze](https://nevware21.github.io/ts-utils/typedoc/functions/objFreeze.html)(); [objFromEntries](https://nevware21.github.io/ts-utils/typedoc/functions/objFromEntries.html)(); [objGetOwnPropertyDescriptor](https://nevware21.github.io/ts-utils/typedoc/functions/objGetOwnPropertyDescriptor.html)(); [objGetOwnPropertyDescriptors](https://nevware21.github.io/ts-utils/typedoc/functions/objGetOwnPropertyDescriptors.html)(); [objGetOwnPropertyNames](https://nevware21.github.io/ts-utils/typedoc/functions/objGetOwnPropertyNames.html)(); [objGetOwnPropertySymbols](https://nevware21.github.io/ts-utils/typedoc/functions/objGetOwnPropertySymbols.html)(); [objHasOwn](https://nevware21.github.io/ts-utils/typedoc/functions/objHasOwn.html)(); [objHasOwnProperty](https://nevware21.github.io/ts-utils/typedoc/functions/objHasOwnProperty.html)(); [objIs](https://nevware21.github.io/ts-utils/typedoc/functions/objIs.html)(); [objIsExtensible](https://nevware21.github.io/ts-utils/typedoc/functions/objIsExtensible.html)(); [objIsFrozen](https://nevware21.github.io/ts-utils/typedoc/functions/objIsFrozen.html)(); [objIsSealed](https://nevware21.github.io/ts-utils/typedoc/functions/objIsSealed.html)(); [objKeys](https://nevware21.github.io/ts-utils/typedoc/functions/objKeys.html)(); [objMapValues](https://nevware21.github.io/ts-utils/typedoc/functions/objMapValues.html)(); [objMergeIf](https://nevware21.github.io/ts-utils/typedoc/functions/objMergeIf.html)(); [objOmit](https://nevware21.github.io/ts-utils/typedoc/functions/objOmit.html)(); [objOmitBy](https://nevware21.github.io/ts-utils/typedoc/functions/objOmitBy.html)(); [objPick](https://nevware21.github.io/ts-utils/typedoc/functions/objPick.html)(); [objPickBy](https://nevware21.github.io/ts-utils/typedoc/functions/objPickBy.html)(); [objPreventExtensions](https://nevware21.github.io/ts-utils/typedoc/functions/objPreventExtensions.html)(); [objPropertyIsEnumerable](https://nevware21.github.io/ts-utils/typedoc/functions/objPropertyIsEnumerable.html)(); [objSeal](https://nevware21.github.io/ts-utils/typedoc/functions/objSeal.html)(); [objGetPrototypeOf](https://nevware21.github.io/ts-utils/typedoc/functions/objGetPrototypeOf.html)(); [objSetPrototypeOf](https://nevware21.github.io/ts-utils/typedoc/functions/objSetPrototypeOf.html)(); [objToString](https://nevware21.github.io/ts-utils/typedoc/functions/objToString.html)(); [objValues](https://nevware21.github.io/ts-utils/typedoc/functions/objValues.html)();<br/>[polyObjEntries](https://nevware21.github.io/ts-utils/typedoc/functions/polyObjEntries.html)(); [polyObjIs](https://nevware21.github.io/ts-utils/typedoc/functions/polyObjIs.html)(); [polyObjKeys](https://nevware21.github.io/ts-utils/typedoc/functions/polyObjKeys.html)();</code>
| String | <code>[asString](https://nevware21.github.io/ts-utils/typedoc/functions/asString.html)(); [getLength](https://nevware21.github.io/ts-utils/typedoc/functions/getLength.html)(); [isString](https://nevware21.github.io/ts-utils/typedoc/functions/isString.html)(); [strCount](https://nevware21.github.io/ts-utils/typedoc/functions/strCount.html)(); [strEndsWith](https://nevware21.github.io/ts-utils/typedoc/functions/strEndsWith.html)(); [strIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/strIndexOf.html)(); [strIsNullOrEmpty](https://nevware21.github.io/ts-utils/typedoc/functions/strIsNullOrEmpty.html)(); [strIsNullOrWhiteSpace](https://nevware21.github.io/ts-utils/typedoc/functions/strIsNullOrWhiteSpace.html)(); [strLastIndexOf](https://nevware21.github.io/ts-utils/typedoc/functions/strLastIndexOf.html)(); [strLeft](https://nevware21.github.io/ts-utils/typedoc/functions/strLeft.html)(); [strPadEnd](https://nevware21.github.io/ts-utils/typedoc/functions/strPadEnd.html)(); [strPadStart](https://nevware21.github.io/ts-utils/typedoc/functions/strPadStart.html)(); [strRepeat](https://nevware21.github.io/ts-utils/typedoc/functions/strRepeat.html)(); [strReplace](https://nevware21.github.io/ts-utils/typedoc/functions/strReplace.html)(); [strReplaceAll](https://nevware21.github.io/ts-utils/typedoc/functions/strReplaceAll.html)(); [strRight](https://nevware21.github.io/ts-utils/typedoc/functions/strRight.html)(); [strSlice](https://nevware21.github.io/ts-utils/typedoc/functions/strSlice.html)(); [strSplit](https://nevware21.github.io/ts-utils/typedoc/functions/strSplit.html)(); [strStartsWith](https://nevware21.github.io/ts-utils/typedoc/functions/strStartsWith.html)(); [strSubstr](https://nevware21.github.io/ts-utils/typedoc/functions/strSubstr.html)(); [strSubstring](https://nevware21.github.io/ts-utils/typedoc/functions/strSubstring.html)(); [strSymSplit](https://nevware21.github.io/ts-utils/typedoc/functions/strSymSplit.html)(); [strTruncate](https://nevware21.github.io/ts-utils/typedoc/functions/strTruncate.html)(); [strTrim](https://nevware21.github.io/ts-utils/typedoc/functions/strTrim.html)(); [strTrimEnd](https://nevware21.github.io/ts-utils/typedoc/functions/strTrimEnd.html)(); [strTrimLeft](https://nevware21.github.io/ts-utils/typedoc/functions/strTrimLeft.html)(); [strTrimRight](https://nevware21.github.io/ts-utils/typedoc/functions/strTrimRight.html)(); [strTrimStart](https://nevware21.github.io/ts-utils/typedoc/functions/strTrimStart.html)(); [strLetterCase](https://nevware21.github.io/ts-utils/typedoc/functions/strLetterCase.html)(); [strCapitalizeWords](https://nevware21.github.io/ts-utils/typedoc/functions/strCapitalizeWords.html)(); [strCamelCase](https://nevware21.github.io/ts-utils/typedoc/functions/strCamelCase.html)(); [strKebabCase](https://nevware21.github.io/ts-utils/typedoc/functions/strKebabCase.html)(); [strSnakeCase](https://nevware21.github.io/ts-utils/typedoc/functions/strSnakeCase.html)(); [strUpper](https://nevware21.github.io/ts-utils/typedoc/functions/strUpper.html)(); [strLower](https://nevware21.github.io/ts-utils/typedoc/functions/strLower.html)(); [strContains](https://nevware21.github.io/ts-utils/typedoc/functions/strContains.html)(); [strIncludes](https://nevware21.github.io/ts-utils/typedoc/functions/strIncludes.html)(); <br/>[polyStrSubstr](https://nevware21.github.io/ts-utils/typedoc/functions/polyStrSubstr.html)(); [polyStrTrim](https://nevware21.github.io/ts-utils/typedoc/functions/polyStrTrim.html)(); [polyStrTrimEnd](https://nevware21.github.io/ts-utils/typedoc/functions/polyStrTrimEnd.html)(); [polyStrTrimStart](https://nevware21.github.io/ts-utils/typedoc/functions/polyStrTrimStart.html)(); [polyStrIncludes](https://nevware21.github.io/ts-utils/typedoc/functions/polyStrIncludes.html)(); </code>
| Symbol | <code>[WellKnownSymbols](https://nevware21.github.io/ts-utils/typedoc/enums/WellKnownSymbols.html) (const enum);<br/>[getKnownSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/getKnownSymbol.html)(); [getSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/getSymbol.html)(); [hasSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/hasSymbol.html)(); [isSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/isSymbol.html)(); [newSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/newSymbol.html)(); [symbolFor](https://nevware21.github.io/ts-utils/typedoc/functions/symbolFor.html)(); [symbolKeyFor](https://nevware21.github.io/ts-utils/typedoc/functions/symbolKeyFor.html)();<br/>[polyGetKnownSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/polyGetKnownSymbol.html)(); [polyNewSymbol](https://nevware21.github.io/ts-utils/typedoc/functions/polyNewSymbol.html)(); [polySymbolFor](https://nevware21.github.io/ts-utils/typedoc/functions/polySymbolFor.html)(); [polySymbolKeyFor](https://nevware21.github.io/ts-utils/typedoc/functions/polySymbolKeyFor.html)();</code><br/>Polyfills are used to automatically backfill runtimes that do not support `Symbol`, not all of the Symbol functionality is provided.
| Timer | <code>[createTimeout](https://nevware21.github.io/ts-utils/typedoc/functions/createTimeout.html)(); [createTimeoutWith](https://nevware21.github.io/ts-utils/typedoc/functions/createTimeoutWith.html)(); [elapsedTime](https://nevware21.github.io/ts-utils/typedoc/functions/elapsedTime.html)(); [perfNow](https://nevware21.github.io/ts-utils/typedoc/functions/perfNow.html)(); [setGlobalTimeoutOverrides](https://nevware21.github.io/ts-utils/typedoc/functions/setGlobalTimeoutOverrides.html)(); [setMicroTaskFallbackOptions](https://nevware21.github.io/ts-utils/typedoc/functions/setMicroTaskFallbackOptions.html)(); [setNextTickFallbackOptions](https://nevware21.github.io/ts-utils/typedoc/functions/setNextTickFallbackOptions.html)(); [setTimeoutOverrides](https://nevware21.github.io/ts-utils/typedoc/functions/setTimeoutOverrides.html)(); [utcNow](https://nevware21.github.io/ts-utils/typedoc/functions/utcNow.html)(); [scheduleIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleIdleCallback.html)(); [scheduleInterval](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleInterval.html)(); [scheduleMicrotask](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleMicrotask.html)(); [scheduleNextTick](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleNextTick.html)(); [scheduleTimeout](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleTimeout.html)(); [scheduleTimeoutWith](https://nevware21.github.io/ts-utils/typedoc/functions/scheduleTimeoutWith.html)(); [hasIdleCallback](https://nevware21.github.io/ts-utils/typedoc/functions/hasIdleCallback.html)();</code><br/>Microtask helpers extend standard microtasks with cancellable handlers, and provide parity across all supported runtimes by using native `queueMicrotask` when present, Promise-backed scheduling when available, and a timer-backed queue otherwise. <br/>For runtimes that don't support `requestIdleCallback` normal setTimeout() is used with the values from [`setDefaultIdleTimeout`](https://nevware21.github.io/ts-utils/typedoc/functions/setDefaultIdleTimeout.html)() and [`setDefaultMaxExecutionTime`](https://nevware21.github.io/ts-utils/typedoc/functions/setDefaultMaxExecutionTime.html)(); <br /><code>[polyUtcNow](https://nevware21.github.io/ts-utils/typedoc/functions/polyUtcNow.html)();</code>
| Conversion & Encoding | <code>[encodeAsJson](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsJson.html)(); [encodeAsHtml](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsHtml.html)(); [encodeAsBase64](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsBase64.html)(); [decodeBase64](https://nevware21.github.io/ts-utils/typedoc/functions/decodeBase64.html)(); [encodeAsBase64Url](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsBase64Url.html)(); [decodeBase64Url](https://nevware21.github.io/ts-utils/typedoc/functions/decodeBase64Url.html)(); [encodeAsHex](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsHex.html)(); [decodeHex](https://nevware21.github.io/ts-utils/typedoc/functions/decodeHex.html)(); [encodeAsUri](https://nevware21.github.io/ts-utils/typedoc/functions/encodeAsUri.html)(); [decodeUri](https://nevware21.github.io/ts-utils/typedoc/functions/decodeUri.html)(); [asString](https://nevware21.github.io/ts-utils/typedoc/functions/asString.html)(); [getIntValue](https://nevware21.github.io/ts-utils/typedoc/functions/getIntValue.html)(); [normalizeJsName](https://nevware21.github.io/ts-utils/typedoc/functions/normalizeJsName.html)(); [strLetterCase](https://nevware21.github.io/ts-utils/typedoc/functions/strLetterCase.html)(); [strCapitalizeWords](https://nevware21.github.io/ts-utils/typedoc/functions/strCapitalizeWords.html)(); [strCamelCase](https://nevware21.github.io/ts-utils/typedoc/functions/strCamelCase.html)(); [strKebabCase](https://nevware21.github.io/ts-utils/typedoc/functions/strKebabCase.html)(); [strSnakeCase](https://nevware21.github.io/ts-utils/typedoc/functions/strSnakeCase.html)(); [strUpper](https://nevware21.github.io/ts-utils/typedoc/functions/strUpper.html)(); [strLower](https://nevware21.github.io/ts-utils/typedoc/functions/strLower.html)(); </code>
| Cache | <code>[createCachedValue](https://nevware21.github.io/ts-utils/typedoc/functions/createCachedValue.html)(); [createDeferredCachedValue](https://nevware21.github.io/ts-utils/typedoc/functions/createDeferredCachedValue.html)(); [getDeferred](https://nevware21.github.io/ts-utils/typedoc/functions/getDeferred.html)(); [getWritableDeferred](https://nevware21.github.io/ts-utils/typedoc/functions/getWritableDeferred.html)();</code>
| Lazy | <code>[getLazy](https://nevware21.github.io/ts-utils/typedoc/functions/getLazy.html)(); [getWritableLazy](https://nevware21.github.io/ts-utils/typedoc/functions/getWritableLazy.html)(); [lazySafeGetInst](https://nevware21.github.io/ts-utils/typedoc/functions/lazySafeGetInst.html)(); [safeGetLazy](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetLazy.html)(); [safeGetLazy](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetLazy.html)(); [setBypassLazyCache](https://nevware21.github.io/ts-utils/typedoc/functions/setBypassLazyCache.html)();</code>
| Safe | <code>[safe](https://nevware21.github.io/ts-utils/typedoc/functions/safe.html)(); [safeGetLazy](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetLazy.html)(); [safeGet](https://nevware21.github.io/ts-utils/typedoc/functions/safeGet.html)(); [safeGetDeferred](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetDeferred.html)(); [safeGetWritableDeferred](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetWritableDeferred.html)(); [lazySafeGetInst](https://nevware21.github.io/ts-utils/typedoc/functions/lazySafeGetInst.html)(); [safeGetWritableLazy](https://nevware21.github.io/ts-utils/typedoc/functions/safeGetWritableLazy.html)(); </code>
| Diagnostic | <code>[dumpObj](https://nevware21.github.io/ts-utils/typedoc/functions/dumpObj.html)(); </code>
| RegEx | <code>[createFilenameRegex](https://nevware21.github.io/ts-utils/typedoc/functions/createFilenameRegex.html)(); [createWildcardRegex](https://nevware21.github.io/ts-utils/typedoc/functions/createWildcardRegex.html)(); [makeGlobRegex](https://nevware21.github.io/ts-utils/typedoc/functions/makeGlobRegex.html)(); </code>
> Unless otherwise stated in the functions documentation polyfills are used to automatically backfill unsupported functions in older ES5 runtimes
## Why Use ts-utils?
### 1. Better Minification
Using ts-utils helper functions can significantly reduce your bundle size compared to standard JavaScript methods:
```typescript
// Standard JavaScript - Can't be minified effectively
function stdCode(obj) {
if (Array.isArray(obj)) {
for (let i = 0; i < obj.length; i++) {
if (Object.prototype.hasOwnProperty.call(obj, i)) {
// Do something
}
}
}
}
// Using ts-utils - Allows better minification
import { isArray, arrForEach, objHasOwnProperty } from "@nevware21/ts-utils";
function optimizedCode(obj) {
if (isArray(obj)) {
arrForEach(obj, (value, idx) => {
if (objHasOwnProperty(obj, idx)) {
// Do something
}
});
}
}
```
When minified, the ts-utils version is significantly smaller as function names can be reduced to single characters.
### 2. Cross-Environment Compatibility
Write code once that works across all environments without worrying about platform-specific APIs:
```typescript
import { getGlobal, isNode, isWebWorker } from "@nevware21/ts-utils";
// Safely access the global object in any environment
const globalObj = getGlobal();
// Environment detection
if (isNode()) {
// Node.js specific code
} else if (isWebWorker()) {
// Web Worker specific code
} else {
// Browser specific code
}
```
### 3. Type Safety
Robust type checking utilities to make your code more reliable:
```typescript
import {
isString, isNumber, isObject, isArray,
isNullOrUndefined, isPromise
} from "@nevware21/ts-utils";
function processValue(value: any) {
if (isString(value)) {
return value.toUpperCase();
} else if (isNumber(value)) {
return value * 2;
} else if (isArray(value)) {
return value.length;
} else if (isPromise(value)) {
return value.then(result => result);
} else if (isNullOrUndefined(value)) {
return "No value provided";
}
return "Unknown type";
}
```
### 4. Modern ECMAScript Features
Support for newer ECMAScript features with backward compatibility:
```typescript
import {
arrFindLast, arrFindLastIndex, // ES2023
objGetOwnPropertyDescriptors, // ES2017
strPadStart, strPadEnd, // ES2017
strReplaceAll, // ES2021
isBigInt, // ES2020
isWeakMap, isWeakSet // ES2015+
} from "@nevware21/ts-utils";
// Using ES2023 array methods with backward compatibility
const numbers = [5, 12, 8, 130, 44];
const lastBigNumber = arrFindLast(numbers, num => num > 10); // 44
const lastBigNumberIndex = arrFindLastIndex(numbers, num => num > 10); // 4
// Safe property descriptor access (ES2017)
const descriptors = objGetOwnPropertyDescriptors(myObject);
// String padding (ES2017)
const paddedString = strPadStart("123", 5, "0"); // "00123"
const paddedEnd = strPadEnd("hello", 10, "."); // "hello....."
// String replaceAll (ES2021)
const replaced = strReplaceAll("a-b-a", "a", "x"); // "x-b-x"
// Safe type checks for modern types
if (isBigInt(someValue)) {
// Handle BigInt (ES2020) safely
}
```
## Test Environments
This library is thoroughly tested in:
- Node.js (18, 20, 22, 24)
- Modern browsers (via Chromium headless)
- Web Workers (via Chromium headless)
All polyfill functions are tested against native implementations to ensure full compatibility.
## Module Support
The library supports multiple module formats to accommodate different project setups:
- ES Modules (ESM)
- CommonJS (CJS)
- Universal Module Definition (UMD)
## Language Support
### ES5 Compatibility
This library maintains ES5 compatibility for all v0.x and v1.x releases, ensuring support for any runtime that supports ES5 or higher.
Internal polyfills are used to backfill ES5 functionality which is not provided by older runtimes / browsers.
#### Future ECMAScript Support
Starting with v2.x, the library plans to update its baseline to target newer ECMAScript versions, reducing the need for polyfills as browser and runtime support evolves.
### Browser Support
![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Edge](https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![IE](https://raw.githubusercontent.com/alrra/browser-logos/36.0.0/internet-explorer/internet-explorer_48x48.png)
--- | --- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | <center>9+ ✔</center> |
> Internet Explorer support will be dropped in v2.x
### Polyfills
All of the included polyfills are tested against the current native implementation running in `node`, `browser` and `worker` environments to ensure that they conform to the current specification, these polyfills are only internally used for ES5 compatibility and when running in an environment (mostly IE) that does not support the required function.
Some additional polyfills are provided for simple backward compatibility to enable the utility functions in older environments, however, you don't have to use or include these provided polyfils. If you need to use them you will need to import the pre-packaged "polyfill" bundle (`bundle/ts-polyfills-utils.min.js`) directly by hosting it on your own CDN or all of the non-internal polyfill implementations are exported so you could implement your own version of the [polyfill initializer](https://github.com/nevware21/ts-utils/blob/main/lib/src/polyfills.ts) or more simply provide your own alternatives.
> Notes:
> - While some polyfills are provided to "somewhat" support older environments this library does not intend to become a fully fledged polyfill library. And the polyfills provided (or contributed) are just the minimum set that have been required over time. And should be less necessary are time moves forward.
> - Several functions use the [Object.defineProperty](https://caniuse.com/?search=Object.defineProperty) and therefore support is limited to runtimes or good polyfills that can correctly implement this functionality. (eg. createIterator; createIterable)
### TypeScript Support
Built with TypeScript v5.2.2, while currently limiting exported types to those supported by TypeScript v3.4+.
## Size Analysis and Bundle Optimization
### Bundle Size Impact
The ts-utils library is designed with size optimization as a primary goal. Each function is independently importable and has been optimized for tree-shaking in modern bundlers like Webpack and Rollup. This allows you to include only what you need in your final bundle.
Here's a comparison of bundle sizes when using ts-utils versus standard JavaScript approaches:
| Scenario | Standard JS | With ts-utils | Size Reduction |
|----------|-------------|---------------|----------------|
| Basic type checking | ~1.2KB | ~0.3KB | ~75% |
| Array operations | ~0.9KB | ~0.4KB | ~55% |
| String utilities | ~1.5KB | ~0.6KB | ~60% |
| Object helpers | ~2.1KB | ~0.8KB | ~62% |
For detailed byte-level measurements and concrete size optimization strategies, check out our [Bundle Size Optimization Guide](https://nevware21.github.io/ts-utils/size-optimization.html).
> Note: Actual size savings depend on your specific usage patterns, minification settings, and bundler configuration.
### When to Use ts-utils for Repeated Functions
You should consider using ts-utils helper functions when:
1. **Your code uses the same operations repeatedly**: If you're frequently checking types, manipulating arrays/objects, or working with strings, using ts-utils can reduce repetition and improve minification.
2. **Bundle size is a concern**: For applications where download size matters (e.g., mobile web apps, SPAs), ts-utils can significantly reduce your bundle size through better minification.
3. **Cross-environment compatibility is needed**: When your code needs to run across Node.js, browsers, and web workers without environment-specific code paths.
4. **You want better tree-shaking**: The library is designed to allow bundlers to eliminate unused code effectively.
5. **Consistent API access is important**: ts-utils provides a unified API for accessing functionality that might be implemented differently across environments.
For example, instead of repeating this pattern across your codebase:
```javascript
// Before: Multiple instances of this pattern across your code
if (typeof value === 'object' && value !== null && Array.isArray(value)) {
for (let i = 0; i < value.length; i++) {
if (Object.prototype.hasOwnProperty.call(value, i)) {
// Do something with value[i]
}
}
}
```
Use ts-utils to make it more concise and minification-friendly:
```javascript
// After: More concise, better minification
import { isArray, arrForEach, objHasOwnProperty } from "@nevware21/ts-utils";
if (isArray(value)) {
arrForEach(value, (item, idx) => {
if (objHasOwnProperty(value, idx)) {
// Do something with item
}
});
}
```
For more information on performance and minification benefits, see our [Usage Guide](https://nevware21.github.io/ts-utils/usage-guide.html#performance-and-minification-benefits).
For detailed documentation on all available utilities, refer to the [main documentation site](https://nevware21.github.io/ts-utils/).
## License
MIT
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
@@ -0,0 +1,3 @@
/*! https://github.com/nevware21/ts-utils v0.15.0 */
function n(n,r){return n||r}function r(n,r){return null!=n?n[r]:void 0}function s(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function R(n,r,t){n=s(n,t);return n.e?r:n.v}function W(r){return function(n){return typeof n===r}}function M(r){return function(n){return typeof n===r||!(!n||n[Lt]!==r)}}function t(n){var r="[object "+n+"]";return function(n){return!(!n||U(n)!==r)}}function U(n){return Pt[Ft].call(n)}function L(n){return typeof n===jt||n===jt}function B(n){return n===m}function a(n){return n===w||L(n)}function f(n){return n===w||n===m}function _(n){return xt=xt||["string","number","boolean",jt,"symbol","bigint"],!(n===Tt||!~xt.indexOf(n))}function G(n){return!(!n&&a(n)||!n||typeof n!==Tt)}function c(n){return!f(n)&&!O(n)&&Vt(n[x])&&0<=n[x]}function K(n){return!!(n&&n.then&&O(n.then))}function $(n){return!!(n&&O(n.get)&&O(n.set)&&O(n.has)&&O(n.delete)&&Vt(n.size))}function V(n){return!!(n&&O(n.add)&&O(n.has)&&O(n.delete)&&Vt(n.size))}function H(n){return!(!n||R(function(){return!(n&&0+n)},!n))}function q(){}function J(){return[]}function Q(){return!1}function Z(n,r){var t=S,e=Pt[Ft][A](n);e===oe&&(n={stack:C(n.stack),message:C(n.message),name:C(n.name)});try{t=((t=JSON.stringify(n,w,r?"number"==typeof r?r:4:m))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):w)||C(n)}catch(n){t=" - "+Z(n,r)}return e+": "+t}function l(n){throw new TypeError(n)}function X(n){throw new RangeError(n)}function v(n){f(n)&&l("Cannot convert undefined or null to object")}function Y(n){Bt(n)||l("'"+Z(n)+"' is not a string")}function nn(n,r){return!!n&&Pt.hasOwnProperty[A](n,r)}function rn(n,r){return v(n),nn(n,r)||!!ae(n,r)}function tn(n){return n===kt||n===Ot||n===I}function en(n,r,t){if(n&&(G(n)||O(n)))for(var e in n)if(fe(n,e)&&-1===r[A](f(t)?n:t,e,n[e]))break}function p(n,r,t){if(n)for(var e=n[x]>>>0,u=0;u<e&&!(u in n&&-1===r[A](f(t)?n:t,n[u],u,n));u++);}function e(e,n,u){var i=n?n[e]:w;return function(n){var r,t=(n?n[e]:w)||i;if(t||u)return r=arguments,(t||u).apply(n,t?j[A](r,1):r);l('"'+C(e)+'" not defined for '+Z(n))}}function un(e,n,u){var i=n?n[e]:w;return function(n){var r,t=i;if(t||u)return r=arguments,(t||u).apply(n,t?j[A](r,1):r);l('"'+C(e)+'" not defined for '+Z(n))}}function on(r){return function(n){return n[r]}}function an(r,t){var n,e=o.getOwnPropertyDescriptor;return(n=(n=!f(r)&&e?s(e,[r,t]).v||w:n)||f(r)?n:s(function(){for(var n in r)if(n==t)return{enumerable:nn(r,n)}}).v)&&n.enumerable||!1}function fn(r){var n,t={};return t[pe.c]=!0,t[pe.e]=!0,r.l&&(t.get=function(){return r.l.v},n=le(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),en(r,function(n,r){t[pe[n]]=B(r)?t[pe[n]]:r}),t}function cn(n,r,t){return F(n,r,fn(t))}function sn(n,t,e,r){var u={};return en(n,function(n,r){ln(u,n,t?r:n),ln(u,r,e?r:n)}),r?r(u):u}function ln(n,r,t){F(n,r,{value:t,enumerable:!0,writable:!1})}function vn(n,t){var e=[];return en(n,function(n,r){e.push(t(n,r))}),e}function pn(n){return vn(n,function(n,r){return[n,r]})}function hn(n){return vn(n,function(n,r){return r})}function yn(n,r){return n!=n?r!=r:0===n&&0===r?1/n==1/r:n===r}function dn(n){return n}function gn(n){return v(n),n[kt]||w}function bn(n){return sn(n,0,0,we)}function mn(n){var t={};return en(n,function(n,r){ln(t,n,r[1]),ln(t,r[0],r[1])}),we(t)}function wn(){var n;return(n=(n=(n=typeof globalThis!==jt?globalThis:n)||typeof self===jt?n:self)||typeof window===jt?n:window)||typeof global===jt?n:global}function Sn(){var n;return ke||(n=s(wn).v||{},ke=n[Oe]=n[Oe]||{}),ke}function In(n,r,t){return v(n),t<0?S:((r=r||0)<0&&(r=Ce(r+n[x],0)),L(t)?Fe(n,r):Fe(n,r,r+t))}function xn(n,r){return Pe(n,0,r)}function An(n,r){var t;function e(){}return t=f(n)?{}:((t=typeof n)!==Tt&&t!==At&&l("Prototype must be an Object or function: "+Z(n)),e[I]=n,s(function(){e[kt]=n}),new e),r&&s(he,[t,r]),t}function Tn(){return(Date.now||kn)()}function kn(){return(new Date).getTime()}function h(n,r,t){return n.apply(r,t)}function jn(n,r){return n.apply(r,j[A](arguments,2))}function On(n,r){return n.bind.apply(n,j[A](arguments,1))}function y(){P=Sn()}function En(r,t){var e={};return P||y(),e.b=P.lzy,F(e,"v",{configurable:!0,get:function(){var n=h(r,null,t);return P.lzy||F(e,"v",{value:n}),e.b=P.lzy,n}}),e}function Cn(r,t){function e(n){F(u,"v",{value:n,writable:!0}),u.b&&delete u.b}var u={};return P||y(),u.b=P.lzy,F(u,"v",{configurable:!0,get:function(){var n=h(r,null,t);return P.lzy||e(n),P.lzy&&u.b!==P.lzy&&(u.b=P.lzy),n},set:e}),u}function Fn(){var n;return Ne||(n=Sn(),Ne=n.gblSym=n.gblSym||{k:{},s:{}}),Ne}function Pn(n){var r="_"+Be+++"_"+Me.v,t=Et+"("+n+")";function e(n,r){cn(i,n,{v:r,e:!1,w:!1})}var u,i=ze(null);return e("description",C(n)),e(Ft,function(){return t+Le+r}),e("valueOf",function(){return i}),e("v",t),e("_uid",r),(u=i)&&(s(function(){u[Ut]=!0,u[Lt]="symbol"}),s(cn,[u,Ut,{v:!0,w:!1,e:!1}]),s(cn,[u,Lt,{v:"symbol",w:!1,e:!1}])),u}function Dn(n){var r,t,e=Fn();return fe(e.k,n)||(r=Pn(n),t=me(e.s).length,r[Ue]=function(){return t+"_"+r[Ft]()},e.k[n]=r,e.s[r[Ue]()]=C(n)),e.k[n]}funcLine truncated
//# sourceMappingURL=ts-utils.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/array.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/fill.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/flatMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/trunc.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/to_int.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/unique.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/with.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/fnBindArgs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/fnProxy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/set_pLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-polyfills-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/array.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/starts_with.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/ends_with.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/replace.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/trim.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/floor.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/trunc.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/to_iLine truncated
@@ -0,0 +1,2 @@
function n(n,r){return n||r}function r(n,r){return null!=n?n[r]:void 0}function t(t){return function(){for(var n=[this],r=0;r<arguments[h];r++)n[r+1]=arguments[r];return t.apply(this,n)}}function c(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function N(r){return function(n){return typeof n===r}}function M(n){var r="[object "+n+"]";return function(n){return!(!n||W(n)!==r)}}function W(n){return x[jn].call(n)}function D(n){return typeof n===b||n===b}function F(n){return n===d||D(n)}function l(n){return n===d||n===y}function u(n){return(n||!F(n))&&n&&typeof n===En}function L(n){return!l(n)&&!S(n)&&kn(n[h])&&0<=n[h]}function o(n,r,t){if(n)for(var e=n[h]>>>0,u=0;u<e&&!(u in n&&-1===r[w](l(t)?n:t,n[u],u,n));u++);}function f(n,r){var t=g,e=x[jn][w](n);e===Cn&&(n={stack:j(n.stack),message:j(n.message),name:j(n.name)});try{t=((t=JSON.stringify(n,d,r?"number"==typeof r?r:4:y))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):d)||j(n)}catch(n){t=" - "+f(n,r)}return e+": "+t}function s(n){throw new TypeError(n)}function i(n){throw new RangeError(n)}function Y(e,n,u){var i=n?n[e]:d;return function(n){var r,t=(n?n[e]:d)||i;if(t||u)return r=arguments,(t||u).apply(n,t?E[w](r,1):r);s('"'+j(e)+'" not defined for '+f(n))}}function G(r){return function(n){return n[r]}}function J(n){return((n?n.slice:d)||E).apply(n,E[w](arguments,1))}function B(){}function U(){return[]}function v(n){l(n)&&s("Cannot convert undefined or null to object")}function V(n){A(n)||s("'"+f(n)+"' is not a string")}function q(n,r){return v(n),!!n&&x.hasOwnProperty[w](n,r)||!!Wn(n,r)}function H(n,r,t){if(n&&(u(n)||S(n)))for(var e in n)if(Dn(n,e)&&-1===r[w](l(t)?n:t,e,n[e]))break}function K(n,r,t){return R(n,r,(e=t,(u={})[I.c]=!0,u[I.e]=!0,e.l&&(u.get=function(){return e.l.v},n=Fn(e.l,"v"))&&n.set&&(u.set=function(n){e.l.v=n}),H(e,function(n,r){u[I[n]]=r===y?u[I[n]]:r}),u));var e,u}function Q(n){return R({toJSON:function(){return n}},"v",{value:n})}function X(n,r,t){R(n,r,{value:t,enumerable:!0,writable:!1})}function Z(n,t){var e=[];return H(n,function(n,r){e.push(t(n,r))}),e}function e(n){return v(n),u(n)||s("non-object "+f(n)),Z(n,function(n,r){return n})}function nn(n){return n}function rn(n){return r=Yn,t={},H(n,function(n,r){X(t,n,n),X(t,r,n)}),r?r(t):t;var r,t}function tn(){var n;return(n=(n=(n=typeof globalThis!==b?globalThis:n)||typeof self===b?n:self)||typeof window===b?n:window)||typeof global===b?n:global}function en(n,r){var t;function e(){}return t=l(n)?{}:((t=typeof n)!==En&&t!=_n&&s("Prototype must be an Object or function: "+f(n)),e[An]=n,c(function(){e[Sn]=n}),new e),r&&c(Ln,[t,r]),t}function un(){var n;Gn||(n=c(tn).v||{},Gn=n[Bn]=n[Bn]||{}),$=Gn}function on(r,t){var e={};return $||un(),e.b=$.lzy,R(e,"v",{configurable:!0,get:function(){var n=r.apply(null,t);return $.lzy||R(e,"v",{value:n}),e.b=$.lzy,n}}),e}function fn(n,r){r=(k&&!1!==r?k:(r=r,$||un(),k=k&&!1!==r&&!$.lzy?k:Q(c(tn).v||d))).v;if(r&&r[n])return r[n];if(n===er)try{return window}catch(n){}return d}function p(n){var r,t,e,u,i=Jn[n],o=($||un(),($.lzy?0:rr)||(rr=Q(c(fn,[Pn]).v)));return o.v?o.v[i||n]:(Kn=Kn||{},(o=Jn[n])?Kn[o]=Kn[o]||(i=Pn+"."+o,r="_"+nr+++"_"+Xn.v,t=Pn+"("+i+")",u=Hn(null),f("description",j(i)),f(jn,function(){return t+Zn+r}),f("valueOf",function(){return u}),f("v",t),f("_uid",r),(e=u)&&(c(function(){e[Tn]=!0,e[$n]="symbol"}),c(K,[e,Tn,{v:!0,w:!1,e:!1}]),c(K,[e,$n,{v:"symbol",w:!1,e:!1}])),e):void 0);function f(n,r){K(u,n,{v:r,e:!1,w:!1})}}function cn(n){return n&&S(n.next)}function an(r,n,t){if(r&&(cn(r)||(r=r[(tr=tr||Q(p(3))).v]?r[tr.v]():d),cn(r))){var e=y,u=y;try{for(var i=0;!(u=r.next()).done&&-1!==n[w](l(t)?r:t,u.value,i,r);)i++}catch(n){e={e:n},r.throw&&(u=d,r.throw(e))}finally{try{u&&!u.done&&r.return&&r.return(u)}finally{if(e)throw e.e}}}}function ln(t,e,u){var i=-1;return o(t,function(n,r){if(e[w](l(u)?t:u,n,r,t))return i=r,-1}),i}function sn(n,r,t){for(var e=-1,u=(n[h]>>>0)-1;0<=u;u--)if(u in n&&r[w](l(t)?n:t,n[u],u,n)){e=u;break}return e}function vn(r){return function(n){return v(n),(n=j(n))&&ur(n,r,g)}}function pn(n){n=+n;return(0<n?ir:or)(n)}function yn(n,r){var t=+n;return r&&t==1/0&&i("invalid value ["+f(n)+"]"),t!=t||0==t?0:fr(t)}function dn(n,r){v(n),(r=yn(r,!0))<0&&i("invalid count must be >= 0 && < Infinity");for(var t=A(n)?n:j(n),e=g;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function gn(n,r,t){var e=g,n=(r=yn(r,!0),n[h]);return n<(r>>=0)&&(e=(r-=n)>(e=F(t)?" ":j(t))[h]?cr(e,or(r/e[h])):e)[h]>r?qn(e,0,r):e}function bn(n,r,t){v(n);var e=p(4),u=p(6),i=zn(r),n=A(n)?n:j(n),o=r||!l(r);if(i&&o?!1!==r[e]:i)r.global||s("searchValue must be a global regular expression"),f=r;else{if(e=o?r[u]:null,S(e))return e.call(r,n,t);var i=A(r)?r:j(r),f=RegExp(ur(j(i),/[.*+?^${}()|[\]\\]/g,"\\$&")||"(?:)","g")}return ur(n,f,t)}function hn(n){var r=[],t=m.hasOwn||q;if(!lr)try{lr=!0;for(var e=0;e<=12;){var u=p(e);u&&t(n,u)&&r.push(u),e++}}finally{lr=!1}return r}function wn(n,r){var t;return L(n)&&(t=n.length,0<=(r=(r=r)<0?t+r:r))&&r<t?n[r]:void 0}function mn(n,r,t,eLine truncated
//# sourceMappingURL=ts-polyfills-utils.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-polyfills-utils.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/array.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/trim.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/trunc.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/to_int.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/repeat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/pad.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/replace_all.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/regexp.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objGetOwnProperty.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/fill.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/flatMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/with.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/sliceLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
@@ -0,0 +1,3 @@
/*! https://github.com/nevware21/ts-utils v0.15.0 */
function n(n){function r(n,r){return n||r}function t(n,r){return null!=n?n[r]:void 0}var R,s=void 0,v=null,f="",W="function",M="object",l="prototype",U="__proto__",L="undefined",B="constructor",_="Symbol",a="length",G="name",p="call",K="toString",$="getOwnPropertyDescriptor",V="getOwnPropertyNames",H="getOwnPropertySymbols",i=r(Object),q=t(i,l),e=t(N=r(String),l),u=r(Math),o=t(te=r(Array),l),h=t(o,"slice"),J=t(Ju=r(Number),l),Q=t(r(Function),l),Z=t(r(Date),l),X=t(r(RegExp),l),Y=t(r(Boolean),l),nn=t(r(Error),l),rn="_polyfill",tn="__nw21$polytype__";function y(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function en(n,r,t){n=y(n,t);return n.e?r:n.v}function un(r){return function(n){return typeof n===r}}function on(r){return function(n){return typeof n===r||!(!n||n[tn]!==r)}}function c(n){var r="[object "+n+"]";return function(n){return!(!n||an(n)!==r)}}function an(n){return q[K].call(n)}function fn(n){return typeof n===L||n===L}function cn(n){return n===s}function d(n){return n===v||fn(n)}function g(n){return n===v||n===s}function sn(n){return R=R||["string","number","boolean",L,"symbol","bigint"],!(n===M||!~R.indexOf(n))}var ln=un("string"),b=un(W),vn=c("AsyncFunction"),pn=c("GeneratorFunction"),hn=c("AsyncGeneratorFunction");function yn(n){return!(!n&&d(n)||!n||typeof n!==M)}var m=t(te,"isArray");function w(n){return!g(n)&&!b(n)&&gn(n[a])&&0<=n[a]}var dn=c("Date"),gn=un("number"),bn=un("boolean"),mn=c("RegExp"),wn=c("File"),Sn=c("FormData"),In=c("Blob"),xn=c("ArrayBuffer"),An=c("Error");function Tn(n){return!!(n&&n.then&&b(n.then))}var kn=Tn,jn=c("Map"),On=c("WeakMap"),En=c("Set"),Cn=c("WeakSet");function Fn(n){return!!(n&&b(n.get)&&b(n.set)&&b(n.has)&&b(n.delete)&&gn(n.size))}function Pn(n){return!!(n&&b(n.add)&&b(n.has)&&b(n.delete)&&gn(n.size))}function Dn(n){return!(!n||en(function(){return!(n&&0+n)},!n))}var zn=on("bigint");function Nn(){}function Rn(){return[]}function Wn(){return!1}var S=r(N),Mn="[object Error]";function Un(n,r){var t=f,e=q[K][p](n);e===Mn&&(n={stack:S(n.stack),message:S(n.message),name:S(n.name)});try{t=((t=JSON.stringify(n,v,r?"number"==typeof r?r:4:s))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):v)||S(n)}catch(n){t=" - "+Un(n,r)}return e+": "+t}function I(n){throw new TypeError(n)}function Ln(n){throw new RangeError(n)}function x(n){g(n)&&I("Cannot convert undefined or null to object")}function Bn(n){ln(n)||I("'"+Un(n)+"' is not a string")}function _n(n,r){return!!n&&q.hasOwnProperty[p](n,r)}var Gn=r(t(i,$),Nn),Kn=r(t(i,"hasOwn"),$n);function $n(n,r){return x(n),_n(n,r)||!!Gn(n,r)}function Vn(n){return n===U||n===B||n===l}function Hn(n,r,t){if(n&&(yn(n)||b(n)))for(var e in n)if(Kn(n,e)&&-1===r[p](g(t)?n:t,e,n[e]))break}function A(n,r,t){if(n)for(var e=n[a]>>>0,u=0;u<e&&!(u in n&&-1===r[p](g(t)?n:t,n[u],u,n));u++);}function T(e,n,u){var i=n?n[e]:v;return function(n){var r,t=(n?n[e]:v)||i;if(t||u)return r=arguments,(t||u).apply(n,t?h[p](r,1):r);I('"'+S(e)+'" not defined for '+Un(n))}}function qn(e,n,u){var i=n?n[e]:v;return function(n){var r,t=i;if(t||u)return r=arguments,(t||u).apply(n,t?h[p](r,1):r);I('"'+S(e)+'" not defined for '+Un(n))}}function Jn(r){return function(n){return n[r]}}function Qn(r,t){var n,e=i.getOwnPropertyDescriptor;return(n=(n=!g(r)&&e?y(e,[r,t]).v||v:n)||g(r)?n:y(function(){for(var n in r)if(n==t)return{enumerable:_n(r,n)}}).v)&&n.enumerable||!1}var Zn=(N=T)("propertyIsEnumerable",v,Qn),Xn=qn("propertyIsEnumerable",q,Qn),Yn=r(t(i,$),Nn),nr=r(t(i,H),Rn),rr={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function tr(r){var n,t={};return t[rr.c]=!0,t[rr.e]=!0,r.l&&(t.get=function(){return r.l.v},n=Yn(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),Hn(r,function(n,r){t[rr[n]]=r===s?t[rr[n]]:r}),t}var k=t(i,"defineProperty"),er=t(i,"defineProperties");function ur(n,r,t){return k(n,r,tr(t))}function ir(n,t,e,r){var u={};return Hn(n,function(n,r){or(u,n,t?r:n),or(u,r,e?r:n)}),r?r(u):u}function or(n,r,t){k(n,r,{value:t,enumerable:!0,writable:!1})}function ar(n,t){var e=[];return Hn(n,function(n,r){e.push(t(n,r))}),e}function fr(n){return ar(n,function(n,r){return[n,r]})}function cr(n){return ar(n,function(n,r){return r})}function sr(n,r){return n!=n?r!=r:0===n&&0===r?1/n==1/r:n===r}var lr=r(t(i,"isFrozen"),Wn),vr=r(t(i,"isSealed"),Wn),pr=t(i,"freeze");function hr(n){return n}function yr(n){return x(n),n[U]||v}var dr=t(i,"assign"),gr=t(i,"keys"),br=r(pr,hr),mr=r(t(i,"seal"),hr),wr=r(t(i,"getPrototypeOf"),yr),Sr=r(t(i,"entries"),fr),Ir=r(t(i,"values"),cr),xr=r(t(i,"is"),sr);function Ar(n){return ir(n,0,0,br)}function Tr(n){var t={};return Hn(n,function(n,r){or(t,n,r[1]),or(t,r[0],r[1])}),br(t)}var kr,jr=Ar({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Or="__tsUtils$gblCfg";function Er(){var n;return(n=(n=(n=typeof globalThis!==L?globalThis:n)||typeof self===L?n:self)||typeof window===L?n:window)||typeof global===L?n:glLine truncated
//# sourceMappingURL=ts-utils.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/liLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
@@ -0,0 +1,3 @@
/*! https://github.com/nevware21/ts-utils v0.15.0 */
this.nevware21=this.nevware21||{},this.nevware21["ts-utils"]=(t=>{function e(t,e){return t||e}function r(t,e){return null!=t?t[e]:void 0}let f=void 0,p=null,c="",R="function",W="object",s="prototype",M="__proto__",U="undefined",L="constructor",B="Symbol",a="length",_="name",h="call",G="toString",K="getOwnPropertyDescriptor",$="getOwnPropertyNames",V="getOwnPropertySymbols",i=e(Object),H=r(i,s),q=e(String),n=r(q,s),u=e(Math),J=e(Array),o=r(J,s),v=r(o,"slice"),Q=e(Number),Z=r(Q,s),X=r(e(Function),s),Y=r(e(Date),s),tt=r(e(RegExp),s),et=r(e(Boolean),s),rt=r(e(Error),s),nt="_polyfill",ut="__nw21$polytype__";function y(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}function it(t,e,r){t=y(t,r);return t.e?e:t.v}let ot;function at(e){return function(t){return typeof t===e}}function lt(r){return function(t){return typeof t===r||(e=r,!(!t||t[ut]!==e));var e}}function l(t){let e="[object "+t+"]";return function(t){return!(!t||ft(t)!==e)}}function ft(t){return H[G].call(t)}function ct(t){return typeof t===U||t===U}function st(t){return t===f}function d(t){return t===p||ct(t)}function g(t){return t===p||t===f}function vt(t){return ot=ot||["string","number","boolean",U,"symbol","bigint"],!(t===W||!~ot.indexOf(t))}let pt=at("string"),b=at(R),ht=l("AsyncFunction"),yt=l("GeneratorFunction"),dt=l("AsyncGeneratorFunction");function gt(t){return!(!t&&d(t)||!t||typeof t!==W)}let m=r(J,"isArray");function w(t){return!g(t)&&!b(t)&&mt(t[a])&&0<=t[a]}let bt=l("Date"),mt=at("number"),wt=at("boolean"),St=l("RegExp"),It=l("File"),xt=l("FormData"),At=l("Blob"),Tt=l("ArrayBuffer"),kt=l("Error");function jt(t){return!!(t&&t.then&&b(t.then))}var Ot=jt,Et=l("Map"),Ct=l("WeakMap"),Ft=l("Set"),Pt=l("WeakSet");function Dt(t){return!!(t&&b(t.get)&&b(t.set)&&b(t.has)&&b(t.delete)&&mt(t.size))}function zt(t){return!!(t&&b(t.add)&&b(t.has)&&b(t.delete)&&mt(t.size))}function Nt(t){return!(!t||it(()=>!(t&&0+t),!t))}var Rt=lt("bigint");function Wt(){}function Mt(){return[]}function Ut(){return!1}let S=e(q),Lt="[object Error]";function Bt(t,e){let r=c,n=H[G][h](t);n===Lt&&(t={stack:S(t.stack),message:S(t.message),name:S(t.name)});try{r=((r=JSON.stringify(t,p,e?"number"==typeof e?e:4:f))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):p)||S(t)}catch(t){r=" - "+Bt(t,e)}return n+": "+r}function I(t){throw new TypeError(t)}function _t(t){throw new RangeError(t)}function x(t){g(t)&&I("Cannot convert undefined or null to object")}function Gt(t){pt(t)||I("'"+Bt(t)+"' is not a string")}function Kt(t,e){return!!t&&H.hasOwnProperty[h](t,e)}let $t=e(r(i,K),Wt),Vt=e(r(i,"hasOwn"),Ht);function Ht(t,e){return x(t),Kt(t,e)||!!$t(t,e)}function qt(t){return t===M||t===L||t===s}function Jt(t,e,r){if(t&&(gt(t)||b(t)))for(var n in t)if(Vt(t,n)&&-1===e[h](g(r)?t:r,n,t[n]))break}function A(e,r,n){if(e){var u=e[a]>>>0;for(let t=0;t<u&&!(t in e&&-1===r[h](g(n)?e:n,e[t],t,e));t++);}}var T=k;function k(n,t,u){let i=t?t[n]:p;return function(t){var e,r=(t?t[n]:p)||i;if(r||u)return e=arguments,(r||u).apply(t,r?v[h](e,1):e);I('"'+S(n)+'" not defined for '+Bt(t))}}function Qt(n,t,u){let i=t?t[n]:p;return function(t){var e,r=i;if(r||u)return e=arguments,(r||u).apply(t,r?v[h](e,1):e);I('"'+S(n)+'" not defined for '+Bt(t))}}function Zt(e){return function(t){return t[e]}}function Xt(e,r){var t=i.getOwnPropertyDescriptor;return(t=(t=!g(e)&&t?y(t,[e,r]).v||p:void 0)||g(e)?t:y(()=>{for(var t in e)if(t==r)return{enumerable:Kt(e,t)}}).v)&&t.enumerable||!1}let Yt=k("propertyIsEnumerable",p,Xt),te=Qt("propertyIsEnumerable",H,Xt),ee=e(r(i,K),Wt),re=e(r(i,V),Mt),ne={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function ue(e){let r={};var t;return r[ne.c]=!0,r[ne.e]=!0,e.l&&(r.get=()=>e.l.v,t=ee(e.l,"v"))&&t.set&&(r.set=t=>{e.l.v=t}),Jt(e,(t,e)=>{r[ne[t]]=st(e)?r[ne[t]]:e}),r}let j=r(i,"defineProperty"),ie=r(i,"defineProperties");function oe(t,e,r){return j(t,e,ue(r))}function ae(t,r,n,e){let u={};return Jt(t,(t,e)=>{le(u,t,r?e:t),le(u,e,n?e:t)}),e?e(u):u}function le(t,e,r){j(t,e,{value:r,enumerable:!0,writable:!1})}function fe(t,r){let n=[];return Jt(t,(t,e)=>{n.push(r(t,e))}),n}function ce(t){return fe(t,(t,e)=>[t,e])}function se(t){return fe(t,(t,e)=>e)}function ve(t,e){return t!=t?e!=e:0===t&&0===e?1/t==1/e:t===e}let pe=e(r(i,"isFrozen"),Ut),he=e(r(i,"isSealed"),Ut),ye=r(i,"freeze");function de(t){return t}function ge(t){return x(t),t[M]||p}let be=r(i,"assign"),me=r(i,"keys"),we=e(ye,de),Se=e(r(i,"seal"),de),Ie=e(r(i,"getPrototypeOf"),ge),xe=e(r(i,"entries"),ce),Ae=e(r(i,"values"),se),Te=e(r(i,"is"),ve);function ke(t){return ae(t,0,0,we)}function je(t){let r={};return Jt(t,(t,e)=>{le(r,t,e[1]),le(r,e[0],e[1])}),we(r)}let Oe=ke({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Ee="__tsUtils$gblCfg",Ce;function Fe(){var t;return(t=(t=(t=typeof globalThis!==U?globalThis:t)||typeof self===U?t:self)||typeof window===U?t:window)||typeof global===U?t:globLine truncated
//# sourceMappingURL=ts-utils.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/liLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
@@ -0,0 +1,3 @@
/*! https://github.com/nevware21/ts-utils v0.15.0 */
function t(t){function e(t,e){return t||e}function r(t,e){return null!=t?t[e]:void 0}let f=void 0,p=null,c="",R="function",W="object",s="prototype",M="__proto__",U="undefined",L="constructor",B="Symbol",a="length",_="name",h="call",G="toString",K="getOwnPropertyDescriptor",$="getOwnPropertyNames",V="getOwnPropertySymbols",i=e(Object),H=r(i,s),q=e(String),n=r(q,s),u=e(Math),J=e(Array),o=r(J,s),v=r(o,"slice"),Q=e(Number),Z=r(Q,s),X=r(e(Function),s),Y=r(e(Date),s),tt=r(e(RegExp),s),et=r(e(Boolean),s),rt=r(e(Error),s),nt="_polyfill",ut="__nw21$polytype__";function d(t,e){try{return{v:t.apply(this,e)}}catch(t){return{e:t}}}function it(t,e,r){t=d(t,r);return t.e?e:t.v}let ot;function at(e){return function(t){return typeof t===e}}function lt(r){return function(t){return typeof t===r||(e=r,!(!t||t[ut]!==e));var e}}function l(t){let e="[object "+t+"]";return function(t){return!(!t||ft(t)!==e)}}function ft(t){return H[G].call(t)}function ct(t){return typeof t===U||t===U}function st(t){return t===f}function y(t){return t===p||ct(t)}function g(t){return t===p||t===f}function vt(t){return ot=ot||["string","number","boolean",U,"symbol","bigint"],!(t===W||!~ot.indexOf(t))}let pt=at("string"),b=at(R),ht=l("AsyncFunction"),dt=l("GeneratorFunction"),yt=l("AsyncGeneratorFunction");function gt(t){return!(!t&&y(t)||!t||typeof t!==W)}let m=r(J,"isArray");function w(t){return!g(t)&&!b(t)&&mt(t[a])&&0<=t[a]}let bt=l("Date"),mt=at("number"),wt=at("boolean"),St=l("RegExp"),It=l("File"),xt=l("FormData"),At=l("Blob"),Tt=l("ArrayBuffer"),kt=l("Error");function jt(t){return!!(t&&t.then&&b(t.then))}var Ot=jt,Et=l("Map"),Ct=l("WeakMap"),Ft=l("Set"),Pt=l("WeakSet");function Dt(t){return!!(t&&b(t.get)&&b(t.set)&&b(t.has)&&b(t.delete)&&mt(t.size))}function zt(t){return!!(t&&b(t.add)&&b(t.has)&&b(t.delete)&&mt(t.size))}function Nt(t){return!(!t||it(()=>!(t&&0+t),!t))}var Rt=lt("bigint");function Wt(){}function Mt(){return[]}function Ut(){return!1}let S=e(q),Lt="[object Error]";function Bt(t,e){let r=c,n=H[G][h](t);n===Lt&&(t={stack:S(t.stack),message:S(t.message),name:S(t.name)});try{r=((r=JSON.stringify(t,p,e?"number"==typeof e?e:4:f))?r.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):p)||S(t)}catch(t){r=" - "+Bt(t,e)}return n+": "+r}function I(t){throw new TypeError(t)}function _t(t){throw new RangeError(t)}function x(t){g(t)&&I("Cannot convert undefined or null to object")}function Gt(t){pt(t)||I("'"+Bt(t)+"' is not a string")}function Kt(t,e){return!!t&&H.hasOwnProperty[h](t,e)}let $t=e(r(i,K),Wt),Vt=e(r(i,"hasOwn"),Ht);function Ht(t,e){return x(t),Kt(t,e)||!!$t(t,e)}function qt(t){return t===M||t===L||t===s}function Jt(t,e,r){if(t&&(gt(t)||b(t)))for(var n in t)if(Vt(t,n)&&-1===e[h](g(r)?t:r,n,t[n]))break}function A(e,r,n){if(e){var u=e[a]>>>0;for(let t=0;t<u&&!(t in e&&-1===r[h](g(n)?e:n,e[t],t,e));t++);}}var T=k;function k(n,t,u){let i=t?t[n]:p;return function(t){var e,r=(t?t[n]:p)||i;if(r||u)return e=arguments,(r||u).apply(t,r?v[h](e,1):e);I('"'+S(n)+'" not defined for '+Bt(t))}}function Qt(n,t,u){let i=t?t[n]:p;return function(t){var e,r=i;if(r||u)return e=arguments,(r||u).apply(t,r?v[h](e,1):e);I('"'+S(n)+'" not defined for '+Bt(t))}}function Zt(e){return function(t){return t[e]}}function Xt(e,r){var t=i.getOwnPropertyDescriptor;return(t=(t=!g(e)&&t?d(t,[e,r]).v||p:void 0)||g(e)?t:d(()=>{for(var t in e)if(t==r)return{enumerable:Kt(e,t)}}).v)&&t.enumerable||!1}let Yt=k("propertyIsEnumerable",p,Xt),te=Qt("propertyIsEnumerable",H,Xt),ee=e(r(i,K),Wt),re=e(r(i,V),Mt),ne={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function ue(e){let r={};var t;return r[ne.c]=!0,r[ne.e]=!0,e.l&&(r.get=()=>e.l.v,t=ee(e.l,"v"))&&t.set&&(r.set=t=>{e.l.v=t}),Jt(e,(t,e)=>{r[ne[t]]=st(e)?r[ne[t]]:e}),r}let j=r(i,"defineProperty"),ie=r(i,"defineProperties");function oe(t,e,r){return j(t,e,ue(r))}function ae(t,r,n,e){let u={};return Jt(t,(t,e)=>{le(u,t,r?e:t),le(u,e,n?e:t)}),e?e(u):u}function le(t,e,r){j(t,e,{value:r,enumerable:!0,writable:!1})}function fe(t,r){let n=[];return Jt(t,(t,e)=>{n.push(r(t,e))}),n}function ce(t){return fe(t,(t,e)=>[t,e])}function se(t){return fe(t,(t,e)=>e)}function ve(t,e){return t!=t?e!=e:0===t&&0===e?1/t==1/e:t===e}let pe=e(r(i,"isFrozen"),Ut),he=e(r(i,"isSealed"),Ut),de=r(i,"freeze");function ye(t){return t}function ge(t){return x(t),t[M]||p}let be=r(i,"assign"),me=r(i,"keys"),we=e(de,ye),Se=e(r(i,"seal"),ye),Ie=e(r(i,"getPrototypeOf"),ge),xe=e(r(i,"entries"),ce),Ae=e(r(i,"values"),se),Te=e(r(i,"is"),ve);function ke(t){return ae(t,0,0,we)}function je(t){let r={};return Jt(t,(t,e)=>{le(r,t,e[1]),le(r,e[0],e[1])}),we(r)}let Oe=ke({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Ee="__tsUtils$gblCfg",Ce;function Fe(){var t;return(t=(t=(t=typeof globalThis!==U?globalThis:t)||typeof self===U?t:self)||typeof window===U?t:window)||typeof global===U?t:global}function Pe(){var t;return Ce||(t=d(Fe).v||{},Ce=Line truncated
//# sourceMappingURL=ts-utils.min.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.min.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/indexOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/liLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"version":3,"file":"ts-utils.js","sources":["https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/treeshake_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/constants.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_helpers.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/safe_get.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/base.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/stubs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/as_string.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/diagnostics.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/throw.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/throwIf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own_prop.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/has_own.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/isUnsafePropKey.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/for_each_key.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/forEach.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/unwrapFunction.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/property_is_enumerable.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/define.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/map.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objKeys.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/object/objIs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object_state.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/object.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/enum.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/well_known.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/global.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/min_max.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/slice.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/string/substring.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/poly_utils.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/object/create.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/date.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/funcs/funcs.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/lazy.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/math/random.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/internal/instance.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/polyfills/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/cache.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/helpers/environment.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/symbol/symbol.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/iterator.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/iterator/forOf.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/append.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/concat.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/at.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/arrToMap.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/chunk.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lib/src/array/compact.ts","https://raw.githubusercontent.com/nevware21/ts-utils/refs/tags/0.15.0/lLine truncated
File diff suppressed because it is too large. Load diff
+208
View File
@@ -0,0 +1,208 @@
{
"name": "@nevware21/ts-utils",
"description": "Comprehensive TypeScript/JavaScript utility library with cross-environment support (Node.js, browser, web worker) providing helper functions, polyfills (ES5-ES2023), type checking utilities, and optimized implementations for better minification and code readability",
"version": "0.15.0",
"homepage": "https://github.com/nevware21/ts-utils",
"license": "MIT",
"author": {
"name": "Nevware21 Solutions LLC",
"email": "[email protected]"
},
"keywords": [
"ts",
"typescript",
"js",
"javascript",
"minification",
"minify",
"utils",
"helper",
"node",
"browser",
"worker",
"webworker",
"polyfill",
"ES5",
"ES6",
"ES7",
"ES2015",
"ES2016",
"ES2017",
"ES2018",
"ES2019",
"ES2020",
"ECMAScript 5",
"ECMAScript 6",
"ECMAScript 7",
"ECMAScript 2015",
"ECMAScript 2016",
"ECMAScript 2017",
"ECMAScript 2018",
"ECMAScript 2019",
"ECMAScript 2020",
"ECMAScript 2021",
"ECMAScript 2022",
"ECMAScript 2023",
"getDocument",
"getGlobal",
"getHistory",
"getInst",
"getNavigator",
"getWindow",
"hasDocument",
"hasHistory",
"hasNavigator",
"hasWindow",
"isNode",
"isWebWorker",
"isArray",
"isArrayBuffer",
"isBlob",
"isBoolean",
"isDate",
"isError",
"isFile",
"isFormData",
"isFunction",
"isIterable",
"isIterator",
"isNullOrUndefined",
"isNumber",
"isObject",
"isPromise",
"isPromiseLike",
"isThenable",
"isRegExp",
"isStrictNullOrUndefined",
"isStrictUndefined",
"isString",
"isTypeof",
"isUndefined",
"hasValue",
"isDefined",
"isNotTruthy",
"isTruthy",
"string left",
"strLeft",
"string right",
"strRight",
"normalize js name",
"letter case",
"lettercase",
"camel case",
"camelcase",
"kebab case",
"kebabcase",
"snake case",
"snakecase",
"uppercase",
"lowercase",
"custom error",
"asString",
"hasOwn",
"defineProperty",
"timeout",
"idle timer",
"timer",
"interval",
"microtask",
"queueMicrotask",
"nextTick",
"process-nexttick",
"cancellable microtask",
"function-bind",
"includes",
"string contains",
"html encode",
"deep-copy",
"deep-clone",
"throttle",
"debounce",
"memoize",
"utility-functions",
"cross-platform",
"environment-detection",
"tree-shaking",
"bundle-size-optimization",
"esm",
"commonjs",
"umd",
"type-guards",
"object-manipulation",
"array-utilities",
"string-manipulation",
"promise-utilities",
"async-utilities",
"zero-dependency",
"universal",
"isomorphic",
"cross-runtime",
"environment-agnostic",
"lodash-alternative",
"underscore-alternative",
"ramda-alternative",
"starts-with",
"ends-with",
"string-padding",
"string-trim",
"string-repeat",
"array-map",
"array-reduce",
"array-filter",
"array-find",
"array-concat",
"object-copy",
"object-keys",
"lightweight",
"performance-optimized",
"type-safe",
"prototype-pollution",
"prototype-pollution-prevention",
"secure-merge",
"secure-copy",
"object-security",
"defensive-programming",
"forEachOwnKeySafe",
"isUnsafePropKey",
"isUnsafeTarget",
"arrKeys",
"arrIndexKeys",
"sparse-array",
"array-like",
"from-entries",
"has-own",
"base64"
],
"types": "./dist/types/ts-utils.d.ts",
"main": "./dist/es5/main/ts-utils.js",
"module": "./dist/es5/mod/ts-utils.js",
"esnext:main": "./dist/es6/main/ts-utils.js",
"esnext": "./dist/es6/mod/ts-utils.js",
"esnext:module": "./dist/es6/mod/ts-utils.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/nevware21/ts-utils.git"
},
"bugs": {
"url": "https://github.com/nevware21/ts-utils/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/nevware21"
},
{
"type": "other",
"url": "https://buymeacoffee.com/nevware21"
}
],
"licenses": [
{
"type": "MIT",
"url": "https://github.com/nevware21/ts-utils/blob/main/LICENSE"
}
],
"dependencies": {
}
}
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"sourceMap": true,
"inlineSources": true,
"noImplicitAny": true,
"module": "es6",
"moduleResolution": "node",
"target": "es5",
"lib": ["ES2015", "DOM"],
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"noEmitHelpers": false,
"alwaysStrict": true,
"declaration": false,
"outDir": "./build/base",
"allowSyntheticDefaultImports": true,
"removeComments": false
},
"include": [
"./src/**/*.ts"
],
"exclude": [
"node_modules/"
]
}
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es6",
"outDir": "./build/es6/mod"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es5",
"declaration": true,
"declarationMap": true,
"declarationDir": "./build/types",
"removeComments": false,
"outDir": "./build/es5/mod"
}
}