diff --git a/Makefile b/Makefile
index 066b44d..d64b435 100755
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,10 @@ test: ## run mocha unit tests
test: test-cover
test-check: ## run mocha unit tests with coverage reports
- $(NODE_BIN)/nyc $(COVER_OPTS) $(NODE_BIN)/mocha $(MOCHA_OPTS) $(TARGET_PATH)/test.js
+ $(NODE_BIN)/nyc $(COVER_OPTS) \
+ $(NODE_BIN)/mocha $(MOCHA_OPTS) \
+ --require esm \
+ $(TARGET_PATH)/test.js
test-cover: ## run mocha unit tests with coverage reports
test-cover: test-check
diff --git a/config/rollup.js b/config/rollup.js
index 421d6f7..ea4e4b1 100644
--- a/config/rollup.js
+++ b/config/rollup.js
@@ -3,22 +3,20 @@ import commonjs from 'rollup-plugin-commonjs';
import { eslint } from 'rollup-plugin-eslint';
import json from 'rollup-plugin-json';
import multiEntry from 'rollup-plugin-multi-entry';
-import externals from 'rollup-plugin-node-externals';
+import builtins from 'rollup-plugin-node-builtins';
+import globals from 'rollup-plugin-node-globals';
import resolve from 'rollup-plugin-node-resolve';
import replace from 'rollup-plugin-replace';
import typescript from 'rollup-plugin-typescript2';
+import visualizer from 'rollup-plugin-visualizer';
import yaml from 'rollup-plugin-yaml';
-const debug = process.env['DEBUG'] === 'TRUE';
+const flag_debug = process.env['DEBUG'] === 'TRUE';
+
const metadata = require('../package.json');
const external = require('./rollup-external.json').names;
-const globals = require('./rollup-globals.json');
const namedExports = require('./rollup-named.json');
-const stubNames = require('./rollup-stub.json').names;
-
-const passStub = 'require("pass-stub")';
-const stubs = stubNames.reduce((p, c) => (p[c] = passStub, p), {});
const rootPath = process.env['ROOT_PATH'];
const targetPath = process.env['TARGET_PATH'];
@@ -41,6 +39,14 @@ const bundle = {
return 'vendor';
}
+ if (id.match(/node-resolve:/)) {
+ return 'vendor';
+ }
+
+ /* if (id.includes(`chai`) || id.includes(`sinon`)) {
+ return 'test';
+ } */
+
if (id.includes(`${sep}node_modules${sep}`)) {
return 'vendor';
}
@@ -49,12 +55,16 @@ const bundle = {
return 'index';
}
- if (id.includes(`${sep}src${sep}`)) {
+ if (id.includes(`${sep}src${sep}`) || id.includes(`${sep}rules${sep}`)) {
return 'main';
}
- if (debug) {
- console.log('file belongs to no chunk', id);
+ if (flag_debug) {
+ console.log('file does not belong to any chunk:', id);
+ }
+
+ if (id.length === 30 && id.match(/^[a-f0-9]+$/)) {
+ return 'vendor';
}
return 'nochunk';
@@ -63,28 +73,13 @@ const bundle = {
dir: targetPath,
chunkFileNames: '[name].js',
entryFileNames: 'entry-[name].js',
- format: 'cjs',
- globals,
+ format: 'module',
sourcemap: true,
},
plugins: [
multiEntry(),
json(),
yaml(),
- externals({
- builtins: true,
- deps: true,
- devDeps: false,
- peerDeps: false,
- }),
- replace({
- delimiters: ['require("', '")'],
- values: stubs,
- }),
- replace({
- delimiters: ['require(\'', '\')'],
- values: stubs,
- }),
replace({
delimiters: ['{{ ', ' }}'],
values: {
@@ -103,6 +98,7 @@ const bundle = {
commonjs({
namedExports,
}),
+ globals(),
eslint({
configFile: join('.', 'config', 'eslint.json'),
exclude: [
@@ -112,14 +108,20 @@ const bundle = {
join('src', '**', '*.yml'),
],
include: [
- join('**', '*.ts'),
+ join('src', '**', '*.ts'),
+ join('test', '**', '*.ts'),
],
throwOnError: true,
+ useEslintrc: false,
}),
typescript({
cacheRoot: join(targetPath, 'cache', 'rts2'),
rollupCommonJSResolveHack: true,
}),
+ visualizer({
+ filename: join(rootPath, 'out', 'bundle-graph.html'),
+ sourcemap: true,
+ }),
],
};
diff --git a/docs/api/js-utils.arraymapper._constructor_.md b/docs/api/js-utils.arraymapper._constructor_.md
index 92a0fc9..d6619ce 100644
--- a/docs/api/js-utils.arraymapper._constructor_.md
+++ b/docs/api/js-utils.arraymapper._constructor_.md
@@ -16,5 +16,5 @@ constructor(options: ArrayMapperOptions);
| Parameter | Type | Description |
| --- | --- | --- |
-| options | ArrayMapperOptions
| |
+| options | [ArrayMapperOptions](./js-utils.arraymapperoptions.md) | |
diff --git a/docs/api/js-utils.arraymapper.map.md b/docs/api/js-utils.arraymapper.map.md
index d002561..2b20f34 100644
--- a/docs/api/js-utils.arraymapper.map.md
+++ b/docs/api/js-utils.arraymapper.map.md
@@ -16,9 +16,9 @@ map(input: Array): Map>;
| Parameter | Type | Description |
| --- | --- | --- |
-| input | Array<string>
| |
+| input | Array<string> | |
Returns:
-`Map>`
+Map<string, Array<string>>
diff --git a/docs/api/js-utils.arraymapper.md b/docs/api/js-utils.arraymapper.md
index 45f29a8..fa1b2ff 100644
--- a/docs/api/js-utils.arraymapper.md
+++ b/docs/api/js-utils.arraymapper.md
@@ -22,9 +22,9 @@ export declare class ArrayMapper
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
-| [rest](./js-utils.arraymapper.rest.md) | | string
| |
-| [skip](./js-utils.arraymapper.skip.md) | | number
| |
-| [take](./js-utils.arraymapper.take.md) | | Array<string>
| |
+| [rest](./js-utils.arraymapper.rest.md) | | string | |
+| [skip](./js-utils.arraymapper.skip.md) | | number | |
+| [take](./js-utils.arraymapper.take.md) | | Array<string> | |
## Methods
diff --git a/docs/api/js-utils.arraymapperoptions.md b/docs/api/js-utils.arraymapperoptions.md
index 6995cec..d69d1cd 100644
--- a/docs/api/js-utils.arraymapperoptions.md
+++ b/docs/api/js-utils.arraymapperoptions.md
@@ -14,7 +14,7 @@ export interface ArrayMapperOptions
| Property | Type | Description |
| --- | --- | --- |
-| [rest](./js-utils.arraymapperoptions.rest.md) | string
| Key for any remaining, unmatched elements. |
-| [skip](./js-utils.arraymapperoptions.skip.md) | number
| Number of initial elements to skip. |
-| [take](./js-utils.arraymapperoptions.take.md) | Array<string>
| List of element keys. |
+| [rest](./js-utils.arraymapperoptions.rest.md) | string | Key for any remaining, unmatched elements. |
+| [skip](./js-utils.arraymapperoptions.skip.md) | number | Number of initial elements to skip. |
+| [take](./js-utils.arraymapperoptions.take.md) | Array<string> | List of element keys. |
diff --git a/docs/api/js-utils.asynctracker.clear.md b/docs/api/js-utils.asynctracker.clear.md
index f223a02..8020090 100644
--- a/docs/api/js-utils.asynctracker.clear.md
+++ b/docs/api/js-utils.asynctracker.clear.md
@@ -11,5 +11,5 @@ clear(): void;
```
Returns:
-`void`
+void
diff --git a/docs/api/js-utils.asynctracker.disable.md b/docs/api/js-utils.asynctracker.disable.md
index 92a1591..a12ff9e 100644
--- a/docs/api/js-utils.asynctracker.disable.md
+++ b/docs/api/js-utils.asynctracker.disable.md
@@ -11,5 +11,5 @@ disable(): void;
```
Returns:
-`void`
+void
diff --git a/docs/api/js-utils.asynctracker.dump.md b/docs/api/js-utils.asynctracker.dump.md
index 9e337aa..25eeea9 100644
--- a/docs/api/js-utils.asynctracker.dump.md
+++ b/docs/api/js-utils.asynctracker.dump.md
@@ -13,5 +13,5 @@ dump(): void;
```
Returns:
-`void`
+void
diff --git a/docs/api/js-utils.asynctracker.enable.md b/docs/api/js-utils.asynctracker.enable.md
index 1c0afb6..ffafdb8 100644
--- a/docs/api/js-utils.asynctracker.enable.md
+++ b/docs/api/js-utils.asynctracker.enable.md
@@ -11,5 +11,5 @@ enable(): void;
```
Returns:
-`void`
+void
diff --git a/docs/api/js-utils.asynctracker.getstack.md b/docs/api/js-utils.asynctracker.getstack.md
index 7395a90..9315848 100644
--- a/docs/api/js-utils.asynctracker.getstack.md
+++ b/docs/api/js-utils.asynctracker.getstack.md
@@ -13,5 +13,5 @@ getStack(): string;
```
Returns:
-`string`
+string
diff --git a/docs/api/js-utils.asynctracker.md b/docs/api/js-utils.asynctracker.md
index 5b24646..96e3aa3 100644
--- a/docs/api/js-utils.asynctracker.md
+++ b/docs/api/js-utils.asynctracker.md
@@ -24,8 +24,8 @@ export declare class AsyncTracker
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
-| [filter](./js-utils.asynctracker.filter.md) | | Optional<StackFilter>
| |
-| [size](./js-utils.asynctracker.size.md) | | number
| |
+| [filter](./js-utils.asynctracker.filter.md) | | [Optional](./js-utils.optional.md)<StackFilter> | |
+| [size](./js-utils.asynctracker.size.md) | | number | |
## Methods
diff --git a/docs/api/js-utils.checklist._constructor_.md b/docs/api/js-utils.checklist._constructor_.md
index 26db8f4..d1595c8 100644
--- a/docs/api/js-utils.checklist._constructor_.md
+++ b/docs/api/js-utils.checklist._constructor_.md
@@ -16,5 +16,5 @@ constructor(options: ChecklistOptions);
| Parameter | Type | Description |
| --- | --- | --- |
-| options | ChecklistOptions<T>
| |
+| options | [ChecklistOptions](./js-utils.checklistoptions.md)<T> | |
diff --git a/docs/api/js-utils.checklist.check.md b/docs/api/js-utils.checklist.check.md
index 8e07797..f9260b7 100644
--- a/docs/api/js-utils.checklist.check.md
+++ b/docs/api/js-utils.checklist.check.md
@@ -14,9 +14,9 @@ check(value: T): boolean;
| Parameter | Type | Description |
| --- | --- | --- |
-| value | T
| |
+| value | T | |
Returns:
-`boolean`
+boolean
diff --git a/docs/api/js-utils.checklist.md b/docs/api/js-utils.checklist.md
index 271252e..2185afa 100644
--- a/docs/api/js-utils.checklist.md
+++ b/docs/api/js-utils.checklist.md
@@ -11,6 +11,7 @@ Check whether items are included or not (blacklist or whitelist, depending on `m
```typescript
export declare class Checklist implements ChecklistOptions
```
+Implements: [ChecklistOptions](./js-utils.checklistoptions.md)<T>
## Constructors
@@ -22,8 +23,8 @@ export declare class Checklist implements ChecklistOptions
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
-| [data](./js-utils.checklist.data.md) | | Array<T>
| TODO: switch to Set |
-| [mode](./js-utils.checklist.mode.md) | | ChecklistMode
| |
+| [data](./js-utils.checklist.data.md) | | Array<T> | TODO: switch to Set |
+| [mode](./js-utils.checklist.mode.md) | | [ChecklistMode](./js-utils.checklistmode.md) | |
## Methods
diff --git a/docs/api/js-utils.checklistoptions.md b/docs/api/js-utils.checklistoptions.md
index 3daad5f..4b39f6d 100644
--- a/docs/api/js-utils.checklistoptions.md
+++ b/docs/api/js-utils.checklistoptions.md
@@ -14,6 +14,6 @@ export interface ChecklistOptions
| Property | Type | Description |
| --- | --- | --- |
-| [data](./js-utils.checklistoptions.data.md) | Array<T>
| |
-| [mode](./js-utils.checklistoptions.mode.md) | ChecklistMode
| |
+| [data](./js-utils.checklistoptions.data.md) | Array<T> | |
+| [mode](./js-utils.checklistoptions.mode.md) | [ChecklistMode](./js-utils.checklistmode.md) | |
diff --git a/docs/api/js-utils.childoptions.md b/docs/api/js-utils.childoptions.md
index baaa4c4..a099310 100644
--- a/docs/api/js-utils.childoptions.md
+++ b/docs/api/js-utils.childoptions.md
@@ -9,11 +9,12 @@
```typescript
export interface ChildOptions extends ChildProcessOptions
```
+Extends: ChildProcessOptions
## Properties
| Property | Type | Description |
| --- | --- | --- |
-| [args](./js-utils.childoptions.args.md) | Array<string>
| |
-| [command](./js-utils.childoptions.command.md) | string
| |
+| [args](./js-utils.childoptions.args.md) | Array<string> | |
+| [command](./js-utils.childoptions.command.md) | string | |
diff --git a/docs/api/js-utils.childprocesserror._constructor_.md b/docs/api/js-utils.childprocesserror._constructor_.md
index 30a0db3..33f6bb1 100644
--- a/docs/api/js-utils.childprocesserror._constructor_.md
+++ b/docs/api/js-utils.childprocesserror._constructor_.md
@@ -16,6 +16,6 @@ constructor(msg?: string, ...nested: Array);
| Parameter | Type | Description |
| --- | --- | --- |
-| msg | string
| |
-| nested | Array<Error>
| |
+| msg | string | |
+| nested | Array<Error> | |
diff --git a/docs/api/js-utils.childprocesserror.md b/docs/api/js-utils.childprocesserror.md
index 7241bb8..ece1822 100644
--- a/docs/api/js-utils.childprocesserror.md
+++ b/docs/api/js-utils.childprocesserror.md
@@ -11,6 +11,7 @@ Error indicating that a child process exited with an error status.
```typescript
export declare class ChildProcessError extends BaseError
```
+Extends: BaseError
## Constructors
diff --git a/docs/api/js-utils.childresult.md b/docs/api/js-utils.childresult.md
index 6cba88f..4657a2b 100644
--- a/docs/api/js-utils.childresult.md
+++ b/docs/api/js-utils.childresult.md
@@ -14,7 +14,7 @@ export interface ChildResult
| Property | Type | Description |
| --- | --- | --- |
-| [status](./js-utils.childresult.status.md) | number
| |
-| [stderr](./js-utils.childresult.stderr.md) | string
| |
-| [stdout](./js-utils.childresult.stdout.md) | string
| |
+| [status](./js-utils.childresult.status.md) | number | |
+| [stderr](./js-utils.childresult.stderr.md) | string | |
+| [stdout](./js-utils.childresult.stdout.md) | string | |
diff --git a/docs/api/js-utils.concat.md b/docs/api/js-utils.concat.md
index faa1f5e..e8a320f 100644
--- a/docs/api/js-utils.concat.md
+++ b/docs/api/js-utils.concat.md
@@ -16,9 +16,9 @@ export declare function concat(chunks: Array): Buffer;
| Parameter | Type | Description |
| --- | --- | --- |
-| chunks | Array<Buffer>
| |
+| chunks | Array<Buffer> | |
Returns:
-`Buffer`
+Buffer
diff --git a/docs/api/js-utils.constructorname.md b/docs/api/js-utils.constructorname.md
index c0583e3..2e3d9a5 100644
--- a/docs/api/js-utils.constructorname.md
+++ b/docs/api/js-utils.constructorname.md
@@ -16,9 +16,9 @@ export declare function constructorName(val: object): string;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | object
| |
+| val | object | |
Returns:
-`string`
+string
diff --git a/docs/api/js-utils.countof.md b/docs/api/js-utils.countof.md
index 8e29555..01baa54 100644
--- a/docs/api/js-utils.countof.md
+++ b/docs/api/js-utils.countof.md
@@ -18,9 +18,9 @@ export declare function countOf(val: unknown): number;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | unknown
| |
+| val | unknown | |
Returns:
-`number`
+number
diff --git a/docs/api/js-utils.defaultwhen.md b/docs/api/js-utils.defaultwhen.md
index 222305b..c2cd22c 100644
--- a/docs/api/js-utils.defaultwhen.md
+++ b/docs/api/js-utils.defaultwhen.md
@@ -16,10 +16,10 @@ export declare function defaultWhen(condition: boolean, ...items: Arrayboolean | |
-| items | Array<TVal>
| |
+| condition | boolean | |
+| items | Array<TVal> | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.defer.md b/docs/api/js-utils.defer.md
index 469f26f..ba49c63 100644
--- a/docs/api/js-utils.defer.md
+++ b/docs/api/js-utils.defer.md
@@ -16,10 +16,10 @@ export declare function defer(ms: number, val?: T): Promise;
| Parameter | Type | Description |
| --- | --- | --- |
-| ms | number
| |
-| val | T
| |
+| ms | number | |
+| val | T | |
Returns:
-`Promise`
+Promise<T>
diff --git a/docs/api/js-utils.doesexist.md b/docs/api/js-utils.doesexist.md
index 115b812..186e9dc 100644
--- a/docs/api/js-utils.doesexist.md
+++ b/docs/api/js-utils.doesexist.md
@@ -16,9 +16,9 @@ export declare function doesExist(val: Optional): val is T;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<T>
| |
+| val | [Optional](./js-utils.optional.md)<T> | |
Returns:
-`val is T`
+val is T
diff --git a/docs/api/js-utils.encode.md b/docs/api/js-utils.encode.md
index d66653f..665416e 100644
--- a/docs/api/js-utils.encode.md
+++ b/docs/api/js-utils.encode.md
@@ -16,10 +16,10 @@ export declare function encode(chunks: Array, encoding: string): string;
| Parameter | Type | Description |
| --- | --- | --- |
-| chunks | Array<Buffer>
| |
-| encoding | string
| |
+| chunks | Array<Buffer> | |
+| encoding | string | |
Returns:
-`string`
+string
diff --git a/docs/api/js-utils.ensurearray.md b/docs/api/js-utils.ensurearray.md
index 754f7a0..424fd0d 100644
--- a/docs/api/js-utils.ensurearray.md
+++ b/docs/api/js-utils.ensurearray.md
@@ -14,9 +14,9 @@ export declare function ensureArray(val: Optional>): Array;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<Array<T>>
| |
+| val | [Optional](./js-utils.optional.md)<Array<T>> | |
Returns:
-`Array`
+Array<T>
diff --git a/docs/api/js-utils.entriesof.md b/docs/api/js-utils.entriesof.md
index f85979d..757dd24 100644
--- a/docs/api/js-utils.entriesof.md
+++ b/docs/api/js-utils.entriesof.md
@@ -16,9 +16,9 @@ export declare function entriesOf(map: Optional>): Array<[st
| Parameter | Type | Description |
| --- | --- | --- |
-| map | Optional<MapLike<TVal>>
| |
+| map | [Optional](./js-utils.optional.md)<[MapLike](./js-utils.maplike.md)<TVal>> | |
Returns:
-`Array<[string, TVal]>`
+Array<\[string, TVal\]>
diff --git a/docs/api/js-utils.externalmodule.md b/docs/api/js-utils.externalmodule.md
index 5910888..eddf1c6 100644
--- a/docs/api/js-utils.externalmodule.md
+++ b/docs/api/js-utils.externalmodule.md
@@ -14,7 +14,7 @@ export interface ExternalModule
| Property | Type | Description |
| --- | --- | --- |
-| [data](./js-utils.externalmodule.data.md) | unknown
| |
-| [export](./js-utils.externalmodule.export.md) | string
| |
-| [require](./js-utils.externalmodule.require.md) | string
| |
+| [data](./js-utils.externalmodule.data.md) | unknown | |
+| [export](./js-utils.externalmodule.export.md) | string | |
+| [require](./js-utils.externalmodule.require.md) | string | |
diff --git a/docs/api/js-utils.filternil.md b/docs/api/js-utils.filternil.md
index fdc6b27..13a1e74 100644
--- a/docs/api/js-utils.filternil.md
+++ b/docs/api/js-utils.filternil.md
@@ -16,9 +16,9 @@ export declare function filterNil(list: ArrayLike>): Arra
| Parameter | Type | Description |
| --- | --- | --- |
-| list | ArrayLike<Optional<TItem>>
| |
+| list | ArrayLike<[Optional](./js-utils.optional.md)<TItem>> | |
Returns:
-`Array`
+Array<TItem>
diff --git a/docs/api/js-utils.getconstructor.md b/docs/api/js-utils.getconstructor.md
index 8e52cb6..f78eb8c 100644
--- a/docs/api/js-utils.getconstructor.md
+++ b/docs/api/js-utils.getconstructor.md
@@ -16,9 +16,9 @@ export declare function getConstructor(val: object): Function;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | object
| |
+| val | object | |
Returns:
-`Function`
+Function
diff --git a/docs/api/js-utils.gethead.md b/docs/api/js-utils.gethead.md
index 3a81a2f..d77740c 100644
--- a/docs/api/js-utils.gethead.md
+++ b/docs/api/js-utils.gethead.md
@@ -16,10 +16,10 @@ export declare function getHead(map: Map>, key: TK
| Parameter | Type | Description |
| --- | --- | --- |
-| map | Map<TKey, Array<TVal>>
| |
-| key | TKey
| |
+| map | Map<TKey, Array<TVal>> | |
+| key | TKey | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.getheadordefault.md b/docs/api/js-utils.getheadordefault.md
index ee8311e..abd2860 100644
--- a/docs/api/js-utils.getheadordefault.md
+++ b/docs/api/js-utils.getheadordefault.md
@@ -16,11 +16,11 @@ export declare function getHeadOrDefault(map: MapMap<TKey, Array<Optional<TVal>>> | |
-| key | TKey
| |
-| defaultValue | TVal
| |
+| map | Map<TKey, Array<[Optional](./js-utils.optional.md)<TVal>>> | |
+| key | TKey | |
+| defaultValue | TVal | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.getmethods.md b/docs/api/js-utils.getmethods.md
index 2456a3e..20a0d21 100644
--- a/docs/api/js-utils.getmethods.md
+++ b/docs/api/js-utils.getmethods.md
@@ -16,9 +16,9 @@ export declare function getMethods(value: TValue): SetTValue | |
+| value | TValue | |
Returns:
-`Set`
+Set<Function>
diff --git a/docs/api/js-utils.getordefault.md b/docs/api/js-utils.getordefault.md
index 824835b..60547d8 100644
--- a/docs/api/js-utils.getordefault.md
+++ b/docs/api/js-utils.getordefault.md
@@ -16,11 +16,11 @@ export declare function getOrDefault(map: Map, key: TKey
| Parameter | Type | Description |
| --- | --- | --- |
-| map | Map<TKey, TVal>
| |
-| key | TKey
| |
-| defaultValue | TVal
| |
+| map | Map<TKey, TVal> | |
+| key | TKey | |
+| defaultValue | TVal | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.gettestlogger.md b/docs/api/js-utils.gettestlogger.md
index 412f993..b72b795 100644
--- a/docs/api/js-utils.gettestlogger.md
+++ b/docs/api/js-utils.gettestlogger.md
@@ -16,9 +16,9 @@ export declare function getTestLogger(verbose?: boolean): Logger;
| Parameter | Type | Description |
| --- | --- | --- |
-| verbose | boolean
| |
+| verbose | boolean | |
Returns:
-`Logger`
+Logger
diff --git a/docs/api/js-utils.hasitems.md b/docs/api/js-utils.hasitems.md
index 33202f7..fd30286 100644
--- a/docs/api/js-utils.hasitems.md
+++ b/docs/api/js-utils.hasitems.md
@@ -18,9 +18,9 @@ export declare function hasItems(val: Optional>): val is Array;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<Array<T>>
| |
+| val | [Optional](./js-utils.optional.md)<Array<T>> | |
Returns:
-`val is Array`
+val is Array<T>
diff --git a/docs/api/js-utils.hasitems_1.md b/docs/api/js-utils.hasitems_1.md
index 1e3a780..c2c4d9a 100644
--- a/docs/api/js-utils.hasitems_1.md
+++ b/docs/api/js-utils.hasitems_1.md
@@ -14,9 +14,9 @@ export declare function hasItems(val: Optional>): val is Rea
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<ReadonlyArray<T>>
| |
+| val | [Optional](./js-utils.optional.md)<ReadonlyArray<T>> | |
Returns:
-`val is ReadonlyArray`
+val is ReadonlyArray<T>
diff --git a/docs/api/js-utils.invalidargumenterror._constructor_.md b/docs/api/js-utils.invalidargumenterror._constructor_.md
index 8d3d12b..5e3946b 100644
--- a/docs/api/js-utils.invalidargumenterror._constructor_.md
+++ b/docs/api/js-utils.invalidargumenterror._constructor_.md
@@ -16,6 +16,6 @@ constructor(msg?: string, ...nested: Array);
| Parameter | Type | Description |
| --- | --- | --- |
-| msg | string
| |
-| nested | Array<Error>
| |
+| msg | string | |
+| nested | Array<Error> | |
diff --git a/docs/api/js-utils.invalidargumenterror.md b/docs/api/js-utils.invalidargumenterror.md
index 149773a..a05e63e 100644
--- a/docs/api/js-utils.invalidargumenterror.md
+++ b/docs/api/js-utils.invalidargumenterror.md
@@ -11,6 +11,7 @@ Error indicating that an invalid argument was passed to a function call.
```typescript
export declare class InvalidArgumentError extends BaseError
```
+Extends: BaseError
## Constructors
diff --git a/docs/api/js-utils.isdebug.md b/docs/api/js-utils.isdebug.md
index 131b4f7..e50bbe7 100644
--- a/docs/api/js-utils.isdebug.md
+++ b/docs/api/js-utils.isdebug.md
@@ -15,5 +15,5 @@ export declare function isDebug(): boolean;
```
Returns:
-`boolean`
+boolean
diff --git a/docs/api/js-utils.isnil.md b/docs/api/js-utils.isnil.md
index e7f8e11..39fba21 100644
--- a/docs/api/js-utils.isnil.md
+++ b/docs/api/js-utils.isnil.md
@@ -16,9 +16,9 @@ export declare function isNil(val: Optional): val is Nil;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<T>
| |
+| val | [Optional](./js-utils.optional.md)<T> | |
Returns:
-`val is Nil`
+val is [Nil](./js-utils.nil.md)
diff --git a/docs/api/js-utils.leftpad.md b/docs/api/js-utils.leftpad.md
index 5ed95d2..6af610b 100644
--- a/docs/api/js-utils.leftpad.md
+++ b/docs/api/js-utils.leftpad.md
@@ -14,11 +14,11 @@ export declare function leftPad(val: string, min?: number, fill?: string): strin
| Parameter | Type | Description |
| --- | --- | --- |
-| val | string
| |
-| min | number
| |
-| fill | string
| |
+| val | string | |
+| min | number | |
+| fill | string | |
Returns:
-`string`
+string
diff --git a/docs/api/js-utils.makedict.md b/docs/api/js-utils.makedict.md
index 1336a84..39dc004 100644
--- a/docs/api/js-utils.makedict.md
+++ b/docs/api/js-utils.makedict.md
@@ -16,9 +16,9 @@ export declare function makeDict(map: Optional>): Dict
| Parameter | Type | Description |
| --- | --- | --- |
-| map | Optional<MapLike<TVal>>
| |
+| map | [Optional](./js-utils.optional.md)<[MapLike](./js-utils.maplike.md)<TVal>> | |
Returns:
-`Dict`
+[Dict](./js-utils.dict.md)<TVal>
diff --git a/docs/api/js-utils.makemap.md b/docs/api/js-utils.makemap.md
index 0749acd..e45e87b 100644
--- a/docs/api/js-utils.makemap.md
+++ b/docs/api/js-utils.makemap.md
@@ -16,9 +16,9 @@ export declare function makeMap(val: Optional>): MapOptional<MapLike<TVal>> | |
+| val | [Optional](./js-utils.optional.md)<[MapLike](./js-utils.maplike.md)<TVal>> | |
Returns:
-`Map`
+Map<string, TVal>
diff --git a/docs/api/js-utils.mergelist.md b/docs/api/js-utils.mergelist.md
index 0f41eb7..5b95a83 100644
--- a/docs/api/js-utils.mergelist.md
+++ b/docs/api/js-utils.mergelist.md
@@ -16,9 +16,9 @@ export declare function mergeList(...parts: Array>):
| Parameter | Type | Description |
| --- | --- | --- |
-| parts | Array<TItem | Array<TItem>>
| |
+| parts | Array<TItem \| Array<TItem>> | |
Returns:
-`Array`
+Array<TItem>
diff --git a/docs/api/js-utils.mergemap.md b/docs/api/js-utils.mergemap.md
index 4b774c6..6fe7ae5 100644
--- a/docs/api/js-utils.mergemap.md
+++ b/docs/api/js-utils.mergemap.md
@@ -16,10 +16,10 @@ export declare function mergeMap(target: Map, source: Ma
| Parameter | Type | Description |
| --- | --- | --- |
-| target | Map<TKey, TVal>
| |
-| source | Map<TKey, TVal> | Array<[TKey, TVal]>
| |
+| target | Map<TKey, TVal> | |
+| source | Map<TKey, TVal> \| Array<\[TKey, TVal\]> | |
Returns:
-`Map`
+Map<TKey, TVal>
diff --git a/docs/api/js-utils.missingkeyerror._constructor_.md b/docs/api/js-utils.missingkeyerror._constructor_.md
index 636d600..76d4930 100644
--- a/docs/api/js-utils.missingkeyerror._constructor_.md
+++ b/docs/api/js-utils.missingkeyerror._constructor_.md
@@ -16,6 +16,6 @@ constructor(msg?: string, ...nested: Array);
| Parameter | Type | Description |
| --- | --- | --- |
-| msg | string
| |
-| nested | Array<Error>
| |
+| msg | string | |
+| nested | Array<Error> | |
diff --git a/docs/api/js-utils.missingkeyerror.md b/docs/api/js-utils.missingkeyerror.md
index 53e4d54..673588e 100644
--- a/docs/api/js-utils.missingkeyerror.md
+++ b/docs/api/js-utils.missingkeyerror.md
@@ -11,6 +11,7 @@ Error indicating that a required key did not exist in a map-like.
```typescript
export declare class MissingKeyError extends NotFoundError
```
+Extends: [NotFoundError](./js-utils.notfounderror.md)
## Constructors
diff --git a/docs/api/js-utils.mustcoalesce.md b/docs/api/js-utils.mustcoalesce.md
index 94db16c..fc7d903 100644
--- a/docs/api/js-utils.mustcoalesce.md
+++ b/docs/api/js-utils.mustcoalesce.md
@@ -18,9 +18,9 @@ export declare function mustCoalesce(...values: Array>): T;
| Parameter | Type | Description |
| --- | --- | --- |
-| values | Array<Optional<T>>
| |
+| values | Array<[Optional](./js-utils.optional.md)<T>> | |
Returns:
-`T`
+T
diff --git a/docs/api/js-utils.mustexist.md b/docs/api/js-utils.mustexist.md
index 3300a80..d8c5739 100644
--- a/docs/api/js-utils.mustexist.md
+++ b/docs/api/js-utils.mustexist.md
@@ -16,11 +16,11 @@ export declare function mustExist(val: Optional): T;
| Parameter | Type | Description |
| --- | --- | --- |
-| val | Optional<T>
| |
+| val | [Optional](./js-utils.optional.md)<T> | |
Returns:
-`T`
+T
val
diff --git a/docs/api/js-utils.mustfind.md b/docs/api/js-utils.mustfind.md
index f78dd00..0c3f5f2 100644
--- a/docs/api/js-utils.mustfind.md
+++ b/docs/api/js-utils.mustfind.md
@@ -16,10 +16,10 @@ export declare function mustFind(list: Array>, predicate: P
| Parameter | Type | Description |
| --- | --- | --- |
-| list | Array<Optional<TVal>>
| |
-| predicate | PredicateC1<TVal>
| |
+| list | Array<[Optional](./js-utils.optional.md)<TVal>> | |
+| predicate | PredicateC1<TVal> | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.mustget.md b/docs/api/js-utils.mustget.md
index d085a26..b6d1cdc 100644
--- a/docs/api/js-utils.mustget.md
+++ b/docs/api/js-utils.mustget.md
@@ -16,10 +16,10 @@ export declare function mustGet(map: Map, key: TKey): TV
| Parameter | Type | Description |
| --- | --- | --- |
-| map | Map<TKey, TVal>
| |
-| key | TKey
| |
+| map | Map<TKey, TVal> | |
+| key | TKey | |
Returns:
-`TVal`
+TVal
diff --git a/docs/api/js-utils.normalizemap.md b/docs/api/js-utils.normalizemap.md
index fe8d4cc..53817ae 100644
--- a/docs/api/js-utils.normalizemap.md
+++ b/docs/api/js-utils.normalizemap.md
@@ -19,9 +19,9 @@ export declare function normalizeMap(map: MapLike): Dict>
| Parameter | Type | Description |
| --- | --- | --- |
-| map | MapLike<unknown>
| |
+| map | [MapLike](./js-utils.maplike.md)<unknown> | |
Returns:
-`Dict>`
+[Dict](./js-utils.dict.md)<Array<string>>
diff --git a/docs/api/js-utils.notfounderror._constructor_.md b/docs/api/js-utils.notfounderror._constructor_.md
index 65b7c57..e899f15 100644
--- a/docs/api/js-utils.notfounderror._constructor_.md
+++ b/docs/api/js-utils.notfounderror._constructor_.md
@@ -16,6 +16,6 @@ constructor(msg?: string, ...nested: Array);
| Parameter | Type | Description |
| --- | --- | --- |
-| msg | string
| |
-| nested | Array<Error>
| |
+| msg | string | |
+| nested | Array<Error> | |
diff --git a/docs/api/js-utils.notfounderror.md b/docs/api/js-utils.notfounderror.md
index c19f1bb..a48fd4c 100644
--- a/docs/api/js-utils.notfounderror.md
+++ b/docs/api/js-utils.notfounderror.md
@@ -11,6 +11,7 @@ Error indicating that some value was not found.
```typescript
export declare class NotFoundError extends BaseError
```
+Extends: BaseError
## Constructors
diff --git a/docs/api/js-utils.notimplementederror._constructor_.md b/docs/api/js-utils.notimplementederror._constructor_.md
index 3fe412a..26a0cc7 100644
--- a/docs/api/js-utils.notimplementederror._constructor_.md
+++ b/docs/api/js-utils.notimplementederror._constructor_.md
@@ -16,6 +16,6 @@ constructor(msg?: string, ...nested: Array);
| Parameter | Type | Description |
| --- | --- | --- |
-| msg | string
| |
-| nested | Array<Error>
| |
+| msg | string | |
+| nested | Array<Error> | |
diff --git a/docs/api/js-utils.notimplementederror.md b/docs/api/js-utils.notimplementederror.md
index 75460fe..ed2e079 100644
--- a/docs/api/js-utils.notimplementederror.md
+++ b/docs/api/js-utils.notimplementederror.md
@@ -11,6 +11,7 @@ Error indicating that a function has not been implemented yet.
```typescript
export declare class NotImplementedError extends BaseError
```
+Extends: BaseError
## Constructors
diff --git a/docs/api/js-utils.pairstomap.md b/docs/api/js-utils.pairstomap.md
index 6a851f7..7c5ba94 100644
--- a/docs/api/js-utils.pairstomap.md
+++ b/docs/api/js-utils.pairstomap.md
@@ -16,9 +16,9 @@ export declare function pairsToMap(pairs: Array>): Map
| Parameter | Type | Description |
| --- | --- | --- |
-| pairs | Array<NameValuePair<TVal>>
| |
+| pairs | Array<NameValuePair<TVal>> | |
Returns:
-`Map`
+Map<string, TVal>
diff --git a/docs/api/js-utils.pushmergemap.md b/docs/api/js-utils.pushmergemap.md
index ef780a6..91014a4 100644
--- a/docs/api/js-utils.pushmergemap.md
+++ b/docs/api/js-utils.pushmergemap.md
@@ -16,9 +16,9 @@ export declare function pushMergeMap(...args: Array