@sorrell/utilities 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/Distribution/PackageExports.Generated.json +0 -132
- package/Distribution/Types/Array/Array.Internal.Types.d.cts +0 -43
- package/Distribution/Types/Array/Array.Internal.Types.d.cts.map +0 -10
- package/Distribution/Types/Array/Array.Internal.Types.d.mts +0 -43
- package/Distribution/Types/Array/Array.Internal.Types.d.mts.map +0 -10
- package/Distribution/Types/Array/Array.Internal.Types.d.ts +0 -43
- package/Distribution/Types/Array/Array.Internal.Types.d.ts.map +0 -1
- package/Distribution/Types/Array/Array.Internal.d.cts +0 -16
- package/Distribution/Types/Array/Array.Internal.d.cts.map +0 -10
- package/Distribution/Types/Array/Array.Internal.d.mts +0 -16
- package/Distribution/Types/Array/Array.Internal.d.mts.map +0 -10
- package/Distribution/Types/Array/Array.Internal.d.ts +0 -16
- package/Distribution/Types/Array/Array.Internal.d.ts.map +0 -1
- package/Distribution/Types/Array/Array.Types.d.cts +0 -92
- package/Distribution/Types/Array/Array.Types.d.cts.map +0 -10
- package/Distribution/Types/Array/Array.Types.d.mts +0 -92
- package/Distribution/Types/Array/Array.Types.d.mts.map +0 -10
- package/Distribution/Types/Array/Array.Types.d.ts +0 -92
- package/Distribution/Types/Array/Array.Types.d.ts.map +0 -1
- package/Distribution/Types/Array/Array.d.cts +0 -33
- package/Distribution/Types/Array/Array.d.cts.map +0 -10
- package/Distribution/Types/Array/Array.d.mts +0 -33
- package/Distribution/Types/Array/Array.d.mts.map +0 -10
- package/Distribution/Types/Array/Array.d.ts +0 -33
- package/Distribution/Types/Array/Array.d.ts.map +0 -1
- package/Distribution/Types/Array/index.d.cts +0 -9
- package/Distribution/Types/Array/index.d.cts.map +0 -10
- package/Distribution/Types/Array/index.d.mts +0 -9
- package/Distribution/Types/Array/index.d.mts.map +0 -10
- package/Distribution/Types/Array/index.d.ts +0 -9
- package/Distribution/Types/Array/index.d.ts.map +0 -1
- package/Distribution/Types/Async/Async.Types.d.cts +0 -150
- package/Distribution/Types/Async/Async.Types.d.cts.map +0 -10
- package/Distribution/Types/Async/Async.Types.d.mts +0 -150
- package/Distribution/Types/Async/Async.Types.d.mts.map +0 -10
- package/Distribution/Types/Async/Async.Types.d.ts +0 -150
- package/Distribution/Types/Async/Async.Types.d.ts.map +0 -1
- package/Distribution/Types/Async/Async.d.cts +0 -145
- package/Distribution/Types/Async/Async.d.cts.map +0 -10
- package/Distribution/Types/Async/Async.d.mts +0 -145
- package/Distribution/Types/Async/Async.d.mts.map +0 -10
- package/Distribution/Types/Async/Async.d.ts +0 -145
- package/Distribution/Types/Async/Async.d.ts.map +0 -1
- package/Distribution/Types/Async/index.d.cts +0 -9
- package/Distribution/Types/Async/index.d.cts.map +0 -10
- package/Distribution/Types/Async/index.d.mts +0 -9
- package/Distribution/Types/Async/index.d.mts.map +0 -10
- package/Distribution/Types/Async/index.d.ts +0 -9
- package/Distribution/Types/Async/index.d.ts.map +0 -1
- package/Distribution/Types/Effect/Effect.Types.d.cts +0 -16
- package/Distribution/Types/Effect/Effect.Types.d.cts.map +0 -10
- package/Distribution/Types/Effect/Effect.Types.d.mts +0 -16
- package/Distribution/Types/Effect/Effect.Types.d.mts.map +0 -10
- package/Distribution/Types/Effect/Effect.Types.d.ts +0 -16
- package/Distribution/Types/Effect/Effect.Types.d.ts.map +0 -1
- package/Distribution/Types/Effect/Effect.d.cts +0 -8
- package/Distribution/Types/Effect/Effect.d.cts.map +0 -10
- package/Distribution/Types/Effect/Effect.d.mts +0 -8
- package/Distribution/Types/Effect/Effect.d.mts.map +0 -10
- package/Distribution/Types/Effect/Effect.d.ts +0 -8
- package/Distribution/Types/Effect/Effect.d.ts.map +0 -1
- package/Distribution/Types/Effect/Index.Effect.d.cts +0 -10
- package/Distribution/Types/Effect/Index.Effect.d.cts.map +0 -10
- package/Distribution/Types/Effect/Index.Effect.d.mts +0 -10
- package/Distribution/Types/Effect/Index.Effect.d.mts.map +0 -10
- package/Distribution/Types/Effect/Index.Effect.d.ts +0 -10
- package/Distribution/Types/Effect/Index.Effect.d.ts.map +0 -1
- package/Distribution/Types/Effect/index.d.cts +0 -8
- package/Distribution/Types/Effect/index.d.cts.map +0 -10
- package/Distribution/Types/Effect/index.d.mts +0 -8
- package/Distribution/Types/Effect/index.d.mts.map +0 -10
- package/Distribution/Types/Effect/index.d.ts +0 -8
- package/Distribution/Types/Effect/index.d.ts.map +0 -1
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts +0 -8
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts.map +0 -10
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts +0 -8
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts.map +0 -10
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts +0 -8
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts.map +0 -1
- package/Distribution/Types/FileSystem/FileSystem.d.cts +0 -55
- package/Distribution/Types/FileSystem/FileSystem.d.cts.map +0 -10
- package/Distribution/Types/FileSystem/FileSystem.d.mts +0 -55
- package/Distribution/Types/FileSystem/FileSystem.d.mts.map +0 -10
- package/Distribution/Types/FileSystem/FileSystem.d.ts +0 -55
- package/Distribution/Types/FileSystem/FileSystem.d.ts.map +0 -1
- package/Distribution/Types/FileSystem/index.d.cts +0 -9
- package/Distribution/Types/FileSystem/index.d.cts.map +0 -10
- package/Distribution/Types/FileSystem/index.d.mts +0 -9
- package/Distribution/Types/FileSystem/index.d.mts.map +0 -10
- package/Distribution/Types/FileSystem/index.d.ts +0 -9
- package/Distribution/Types/FileSystem/index.d.ts.map +0 -1
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts +0 -9
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts.map +0 -10
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts +0 -9
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts.map +0 -10
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts +0 -9
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts.map +0 -1
- package/Distribution/Types/Functional/Functional.Internal.d.cts +0 -8
- package/Distribution/Types/Functional/Functional.Internal.d.cts.map +0 -10
- package/Distribution/Types/Functional/Functional.Internal.d.mts +0 -8
- package/Distribution/Types/Functional/Functional.Internal.d.mts.map +0 -10
- package/Distribution/Types/Functional/Functional.Internal.d.ts +0 -8
- package/Distribution/Types/Functional/Functional.Internal.d.ts.map +0 -1
- package/Distribution/Types/Functional/Functional.Types.d.cts +0 -28
- package/Distribution/Types/Functional/Functional.Types.d.cts.map +0 -10
- package/Distribution/Types/Functional/Functional.Types.d.mts +0 -28
- package/Distribution/Types/Functional/Functional.Types.d.mts.map +0 -10
- package/Distribution/Types/Functional/Functional.Types.d.ts +0 -28
- package/Distribution/Types/Functional/Functional.Types.d.ts.map +0 -1
- package/Distribution/Types/Functional/Functional.d.cts +0 -8
- package/Distribution/Types/Functional/Functional.d.cts.map +0 -10
- package/Distribution/Types/Functional/Functional.d.mts +0 -8
- package/Distribution/Types/Functional/Functional.d.mts.map +0 -10
- package/Distribution/Types/Functional/Functional.d.ts +0 -8
- package/Distribution/Types/Functional/Functional.d.ts.map +0 -1
- package/Distribution/Types/Functional/index.d.cts +0 -9
- package/Distribution/Types/Functional/index.d.cts.map +0 -10
- package/Distribution/Types/Functional/index.d.mts +0 -9
- package/Distribution/Types/Functional/index.d.mts.map +0 -10
- package/Distribution/Types/Functional/index.d.ts +0 -9
- package/Distribution/Types/Functional/index.d.ts.map +0 -1
- package/Distribution/Types/Math/Complex.Internal.d.cts +0 -8
- package/Distribution/Types/Math/Complex.Internal.d.cts.map +0 -10
- package/Distribution/Types/Math/Complex.Internal.d.mts +0 -8
- package/Distribution/Types/Math/Complex.Internal.d.mts.map +0 -10
- package/Distribution/Types/Math/Complex.Internal.d.ts +0 -8
- package/Distribution/Types/Math/Complex.Internal.d.ts.map +0 -1
- package/Distribution/Types/Math/Complex.Types.d.cts +0 -69
- package/Distribution/Types/Math/Complex.Types.d.cts.map +0 -10
- package/Distribution/Types/Math/Complex.Types.d.mts +0 -69
- package/Distribution/Types/Math/Complex.Types.d.mts.map +0 -10
- package/Distribution/Types/Math/Complex.Types.d.ts +0 -69
- package/Distribution/Types/Math/Complex.Types.d.ts.map +0 -1
- package/Distribution/Types/Math/Complex.d.cts +0 -63
- package/Distribution/Types/Math/Complex.d.cts.map +0 -10
- package/Distribution/Types/Math/Complex.d.mts +0 -63
- package/Distribution/Types/Math/Complex.d.mts.map +0 -10
- package/Distribution/Types/Math/Complex.d.ts +0 -63
- package/Distribution/Types/Math/Complex.d.ts.map +0 -1
- package/Distribution/Types/Math/Index.Complex.d.cts +0 -9
- package/Distribution/Types/Math/Index.Complex.d.cts.map +0 -10
- package/Distribution/Types/Math/Index.Complex.d.mts +0 -9
- package/Distribution/Types/Math/Index.Complex.d.mts.map +0 -10
- package/Distribution/Types/Math/Index.Complex.d.ts +0 -9
- package/Distribution/Types/Math/Index.Complex.d.ts.map +0 -1
- package/Distribution/Types/Math/Index.Experimental.d.cts +0 -10
- package/Distribution/Types/Math/Index.Experimental.d.cts.map +0 -10
- package/Distribution/Types/Math/Index.Experimental.d.mts +0 -10
- package/Distribution/Types/Math/Index.Experimental.d.mts.map +0 -10
- package/Distribution/Types/Math/Index.Experimental.d.ts +0 -10
- package/Distribution/Types/Math/Index.Experimental.d.ts.map +0 -1
- package/Distribution/Types/Math/Math.Internal.Types.d.cts +0 -47
- package/Distribution/Types/Math/Math.Internal.Types.d.cts.map +0 -10
- package/Distribution/Types/Math/Math.Internal.Types.d.mts +0 -47
- package/Distribution/Types/Math/Math.Internal.Types.d.mts.map +0 -10
- package/Distribution/Types/Math/Math.Internal.Types.d.ts +0 -47
- package/Distribution/Types/Math/Math.Internal.Types.d.ts.map +0 -1
- package/Distribution/Types/Math/Math.Types.d.cts +0 -98
- package/Distribution/Types/Math/Math.Types.d.cts.map +0 -10
- package/Distribution/Types/Math/Math.Types.d.mts +0 -98
- package/Distribution/Types/Math/Math.Types.d.mts.map +0 -10
- package/Distribution/Types/Math/Math.Types.d.ts +0 -98
- package/Distribution/Types/Math/Math.Types.d.ts.map +0 -1
- package/Distribution/Types/Math/Math.d.cts +0 -8
- package/Distribution/Types/Math/Math.d.cts.map +0 -10
- package/Distribution/Types/Math/Math.d.mts +0 -8
- package/Distribution/Types/Math/Math.d.mts.map +0 -10
- package/Distribution/Types/Math/Math.d.ts +0 -8
- package/Distribution/Types/Math/Math.d.ts.map +0 -1
- package/Distribution/Types/Math/Vector.d.cts +0 -102
- package/Distribution/Types/Math/Vector.d.cts.map +0 -10
- package/Distribution/Types/Math/Vector.d.mts +0 -102
- package/Distribution/Types/Math/Vector.d.mts.map +0 -10
- package/Distribution/Types/Math/Vector.d.ts +0 -102
- package/Distribution/Types/Math/Vector.d.ts.map +0 -1
- package/Distribution/Types/Math/index.d.cts +0 -15
- package/Distribution/Types/Math/index.d.cts.map +0 -10
- package/Distribution/Types/Math/index.d.mts +0 -15
- package/Distribution/Types/Math/index.d.mts.map +0 -10
- package/Distribution/Types/Math/index.d.ts +0 -15
- package/Distribution/Types/Math/index.d.ts.map +0 -1
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts +0 -8
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts.map +0 -10
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts +0 -8
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts.map +0 -10
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts +0 -8
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts.map +0 -1
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts +0 -104
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts.map +0 -10
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts +0 -104
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts.map +0 -10
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts +0 -104
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts.map +0 -1
- package/Distribution/Types/Miscellaneous/index.d.cts +0 -8
- package/Distribution/Types/Miscellaneous/index.d.cts.map +0 -10
- package/Distribution/Types/Miscellaneous/index.d.mts +0 -8
- package/Distribution/Types/Miscellaneous/index.d.mts.map +0 -10
- package/Distribution/Types/Miscellaneous/index.d.ts +0 -8
- package/Distribution/Types/Miscellaneous/index.d.ts.map +0 -1
- package/Distribution/Types/Npm/Index.Effect.d.cts +0 -9
- package/Distribution/Types/Npm/Index.Effect.d.cts.map +0 -10
- package/Distribution/Types/Npm/Index.Effect.d.mts +0 -9
- package/Distribution/Types/Npm/Index.Effect.d.mts.map +0 -10
- package/Distribution/Types/Npm/Index.Effect.d.ts +0 -9
- package/Distribution/Types/Npm/Index.Effect.d.ts.map +0 -1
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts +0 -17
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts +0 -17
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts +0 -17
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts.map +0 -1
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts +0 -12
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts +0 -12
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts +0 -12
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts.map +0 -1
- package/Distribution/Types/Npm/Npm.Effect.d.cts +0 -92
- package/Distribution/Types/Npm/Npm.Effect.d.cts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.d.mts +0 -92
- package/Distribution/Types/Npm/Npm.Effect.d.mts.map +0 -10
- package/Distribution/Types/Npm/Npm.Effect.d.ts +0 -92
- package/Distribution/Types/Npm/Npm.Effect.d.ts.map +0 -1
- package/Distribution/Types/Npm/Npm.Error.d.cts +0 -36
- package/Distribution/Types/Npm/Npm.Error.d.cts.map +0 -10
- package/Distribution/Types/Npm/Npm.Error.d.mts +0 -36
- package/Distribution/Types/Npm/Npm.Error.d.mts.map +0 -10
- package/Distribution/Types/Npm/Npm.Error.d.ts +0 -36
- package/Distribution/Types/Npm/Npm.Error.d.ts.map +0 -1
- package/Distribution/Types/Npm/Npm.d.cts +0 -91
- package/Distribution/Types/Npm/Npm.d.cts.map +0 -10
- package/Distribution/Types/Npm/Npm.d.mts +0 -91
- package/Distribution/Types/Npm/Npm.d.mts.map +0 -10
- package/Distribution/Types/Npm/Npm.d.ts +0 -91
- package/Distribution/Types/Npm/Npm.d.ts.map +0 -1
- package/Distribution/Types/Npm/index.d.cts +0 -15
- package/Distribution/Types/Npm/index.d.cts.map +0 -10
- package/Distribution/Types/Npm/index.d.mts +0 -15
- package/Distribution/Types/Npm/index.d.mts.map +0 -10
- package/Distribution/Types/Npm/index.d.ts +0 -15
- package/Distribution/Types/Npm/index.d.ts.map +0 -1
- package/Distribution/Types/Path/Path.d.cts +0 -17
- package/Distribution/Types/Path/Path.d.cts.map +0 -10
- package/Distribution/Types/Path/Path.d.mts +0 -17
- package/Distribution/Types/Path/Path.d.mts.map +0 -10
- package/Distribution/Types/Path/Path.d.ts +0 -17
- package/Distribution/Types/Path/Path.d.ts.map +0 -1
- package/Distribution/Types/Path/index.d.cts +0 -8
- package/Distribution/Types/Path/index.d.cts.map +0 -10
- package/Distribution/Types/Path/index.d.mts +0 -8
- package/Distribution/Types/Path/index.d.mts.map +0 -10
- package/Distribution/Types/Path/index.d.ts +0 -8
- package/Distribution/Types/Path/index.d.ts.map +0 -1
- package/Distribution/Types/Record/Record.Internal.Types.d.cts +0 -32
- package/Distribution/Types/Record/Record.Internal.Types.d.cts.map +0 -10
- package/Distribution/Types/Record/Record.Internal.Types.d.mts +0 -32
- package/Distribution/Types/Record/Record.Internal.Types.d.mts.map +0 -10
- package/Distribution/Types/Record/Record.Internal.Types.d.ts +0 -32
- package/Distribution/Types/Record/Record.Internal.Types.d.ts.map +0 -1
- package/Distribution/Types/Record/Record.Types.d.cts +0 -78
- package/Distribution/Types/Record/Record.Types.d.cts.map +0 -10
- package/Distribution/Types/Record/Record.Types.d.mts +0 -78
- package/Distribution/Types/Record/Record.Types.d.mts.map +0 -10
- package/Distribution/Types/Record/Record.Types.d.ts +0 -78
- package/Distribution/Types/Record/Record.Types.d.ts.map +0 -1
- package/Distribution/Types/Record/Record.d.cts +0 -63
- package/Distribution/Types/Record/Record.d.cts.map +0 -10
- package/Distribution/Types/Record/Record.d.mts +0 -63
- package/Distribution/Types/Record/Record.d.mts.map +0 -10
- package/Distribution/Types/Record/Record.d.ts +0 -63
- package/Distribution/Types/Record/Record.d.ts.map +0 -1
- package/Distribution/Types/Record/index.d.cts +0 -9
- package/Distribution/Types/Record/index.d.cts.map +0 -10
- package/Distribution/Types/Record/index.d.mts +0 -9
- package/Distribution/Types/Record/index.d.mts.map +0 -10
- package/Distribution/Types/Record/index.d.ts +0 -9
- package/Distribution/Types/Record/index.d.ts.map +0 -1
- package/Distribution/Types/String/String.d.cts +0 -28
- package/Distribution/Types/String/String.d.cts.map +0 -10
- package/Distribution/Types/String/String.d.mts +0 -28
- package/Distribution/Types/String/String.d.mts.map +0 -10
- package/Distribution/Types/String/String.d.ts +0 -28
- package/Distribution/Types/String/String.d.ts.map +0 -1
- package/Distribution/Types/String/index.d.cts +0 -8
- package/Distribution/Types/String/index.d.cts.map +0 -10
- package/Distribution/Types/String/index.d.mts +0 -8
- package/Distribution/Types/String/index.d.mts.map +0 -10
- package/Distribution/Types/String/index.d.ts +0 -8
- package/Distribution/Types/String/index.d.ts.map +0 -1
- package/Distribution/Types/index.d.cts +0 -24
- package/Distribution/Types/index.d.cts.map +0 -10
- package/Distribution/Types/index.d.mts +0 -24
- package/Distribution/Types/index.d.mts.map +0 -10
- package/Distribution/Types/index.d.ts +0 -24
- package/Distribution/Types/index.d.ts.map +0 -1
- package/Distribution/array.cjs +0 -51
- package/Distribution/array.cjs.map +0 -7
- package/Distribution/array.js +0 -28
- package/Distribution/array.js.map +0 -7
- package/Distribution/async.cjs +0 -174
- package/Distribution/async.cjs.map +0 -7
- package/Distribution/async.js +0 -151
- package/Distribution/async.js.map +0 -7
- package/Distribution/complex.cjs +0 -97
- package/Distribution/complex.cjs.map +0 -7
- package/Distribution/complex.js +0 -74
- package/Distribution/complex.js.map +0 -7
- package/Distribution/effect.cjs +0 -63
- package/Distribution/effect.cjs.map +0 -7
- package/Distribution/effect.js +0 -58
- package/Distribution/effect.js.map +0 -7
- package/Distribution/fs.cjs +0 -128
- package/Distribution/fs.cjs.map +0 -7
- package/Distribution/fs.js +0 -95
- package/Distribution/fs.js.map +0 -7
- package/Distribution/functional.cjs +0 -49
- package/Distribution/functional.cjs.map +0 -7
- package/Distribution/functional.js +0 -26
- package/Distribution/functional.js.map +0 -7
- package/Distribution/index.cjs +0 -701
- package/Distribution/index.cjs.map +0 -7
- package/Distribution/index.js +0 -674
- package/Distribution/index.js.map +0 -7
- package/Distribution/math.cjs +0 -243
- package/Distribution/math.cjs.map +0 -7
- package/Distribution/math.js +0 -226
- package/Distribution/math.js.map +0 -7
- package/Distribution/misc.cjs +0 -45
- package/Distribution/misc.cjs.map +0 -7
- package/Distribution/misc.js +0 -22
- package/Distribution/misc.js.map +0 -7
- package/Distribution/npm-effect.cjs +0 -130
- package/Distribution/npm-effect.cjs.map +0 -7
- package/Distribution/npm-effect.js +0 -97
- package/Distribution/npm-effect.js.map +0 -7
- package/Distribution/npm.cjs +0 -106
- package/Distribution/npm.cjs.map +0 -7
- package/Distribution/npm.js +0 -73
- package/Distribution/npm.js.map +0 -7
- package/Distribution/path.cjs +0 -63
- package/Distribution/path.cjs.map +0 -7
- package/Distribution/path.js +0 -40
- package/Distribution/path.js.map +0 -7
- package/Distribution/record.cjs +0 -116
- package/Distribution/record.cjs.map +0 -7
- package/Distribution/record.js +0 -93
- package/Distribution/record.js.map +0 -7
package/Distribution/index.cjs
DELETED
|
@@ -1,701 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// Source/index.ts
|
|
31
|
-
var Source_exports = {};
|
|
32
|
-
__export(Source_exports, {
|
|
33
|
-
Array: () => Array_exports,
|
|
34
|
-
Async: () => Async_exports,
|
|
35
|
-
Complex: () => Complex_exports,
|
|
36
|
-
FileSystem: () => FileSystem_exports,
|
|
37
|
-
Functional: () => Functional_exports,
|
|
38
|
-
Math: () => Math_exports,
|
|
39
|
-
Miscellaneous: () => Miscellaneous_exports,
|
|
40
|
-
Npm: () => Npm_exports,
|
|
41
|
-
Path: () => Path_exports,
|
|
42
|
-
String: () => String_exports
|
|
43
|
-
});
|
|
44
|
-
module.exports = __toCommonJS(Source_exports);
|
|
45
|
-
|
|
46
|
-
// Source/Array/index.ts
|
|
47
|
-
var Array_exports = {};
|
|
48
|
-
__export(Array_exports, {
|
|
49
|
-
FilterDefined: () => FilterDefined
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
// Source/Array/Array.ts
|
|
53
|
-
function FilterDefined(Array) {
|
|
54
|
-
return Array.filter((Element) => {
|
|
55
|
-
return Element !== void 0;
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Source/Async/index.ts
|
|
60
|
-
var Async_exports = {};
|
|
61
|
-
__export(Async_exports, {
|
|
62
|
-
FPromiseInstantiationError: () => FPromiseInstantiationError,
|
|
63
|
-
Map: () => Map,
|
|
64
|
-
TPromise: () => TPromise,
|
|
65
|
-
TPromiseLike: () => TPromiseLike,
|
|
66
|
-
Try: () => Try
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
// Source/Miscellaneous/Utility.Types.ts
|
|
70
|
-
var AbstractMethodCallError = class extends Error {
|
|
71
|
-
constructor(ClassName) {
|
|
72
|
-
super(ClassName);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
// Source/Async/Async.ts
|
|
77
|
-
async function Try(Source) {
|
|
78
|
-
try {
|
|
79
|
-
const Data2 = typeof Source === "function" ? await Source() : await Source;
|
|
80
|
-
return {
|
|
81
|
-
Data: Data2,
|
|
82
|
-
Error: void 0
|
|
83
|
-
};
|
|
84
|
-
} catch (ErrorValue) {
|
|
85
|
-
return {
|
|
86
|
-
Data: void 0,
|
|
87
|
-
Error: ErrorValue
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
async function Map(Elements, Mapper) {
|
|
92
|
-
const MapperWrapped = async (Element) => {
|
|
93
|
-
return Mapper(Element);
|
|
94
|
-
};
|
|
95
|
-
const Out = Elements.map(MapperWrapped);
|
|
96
|
-
return await Promise.all(Out);
|
|
97
|
-
}
|
|
98
|
-
var TPromiseLike = class {
|
|
99
|
-
then(_OnFulfilled, _OnRejected) {
|
|
100
|
-
throw new AbstractMethodCallError("TPromiseLike");
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
var FPromiseInstantiationError = class extends TypeError {
|
|
104
|
-
constructor() {
|
|
105
|
-
super();
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var TPromise = class _TPromise extends TPromiseLike {
|
|
109
|
-
constructor(Argument) {
|
|
110
|
-
super();
|
|
111
|
-
if (typeof Argument === "function") {
|
|
112
|
-
this.Underlying = new Promise(Argument);
|
|
113
|
-
} else {
|
|
114
|
-
if (Argument instanceof _TPromise) {
|
|
115
|
-
this.Underlying = Argument.Raw();
|
|
116
|
-
} else if (Argument instanceof Promise) {
|
|
117
|
-
this.Underlying = Argument;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
throw new FPromiseInstantiationError();
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* This class's extension of {@link Promise!then}.
|
|
124
|
-
*
|
|
125
|
-
* @template ResultType - The type to which the value underlying the {@link TPromise} returned by this
|
|
126
|
-
* will resolve, if the {@link TPromise} resolves.
|
|
127
|
-
*
|
|
128
|
-
* @template RejectType - The type to which the value underlying the {@link TPromise} returned by this
|
|
129
|
-
* will reject, if the {@link TPromise} rejects.
|
|
130
|
-
*
|
|
131
|
-
* @param OnFulfilled - The callback that is called when the underlying {@link Promise} resolves,
|
|
132
|
-
* if it resolves.
|
|
133
|
-
*
|
|
134
|
-
* @param OnRejected - The callback that is called when the underlying {@link Promise} rejects,
|
|
135
|
-
* if it rejects.
|
|
136
|
-
*
|
|
137
|
-
* @returns {TPromise<ResultType | RejectType>} A new {@link TPromise} of the result of the
|
|
138
|
-
* given callbacks.
|
|
139
|
-
*
|
|
140
|
-
* @example
|
|
141
|
-
* ```typescript
|
|
142
|
-
* const Example: TPromise<string> = new TPromise<string>((Resolve, Reject) =>
|
|
143
|
-
* {
|
|
144
|
-
* if (Math.random() < 0.5)
|
|
145
|
-
* {
|
|
146
|
-
* Resolve("Success");
|
|
147
|
-
* }
|
|
148
|
-
* else
|
|
149
|
-
* {
|
|
150
|
-
* Reject("Error");
|
|
151
|
-
* }
|
|
152
|
-
* });
|
|
153
|
-
*
|
|
154
|
-
* Example.then(
|
|
155
|
-
* (Value: string): void =>
|
|
156
|
-
* {
|
|
157
|
-
* // `Value` <- `"Success"`
|
|
158
|
-
* },
|
|
159
|
-
* (Reason: unknown): void =>
|
|
160
|
-
* {
|
|
161
|
-
* // `Reason` <- `"Error"`
|
|
162
|
-
* }
|
|
163
|
-
* );
|
|
164
|
-
* ```
|
|
165
|
-
*/
|
|
166
|
-
Then(OnFulfilled, OnRejected) {
|
|
167
|
-
return new _TPromise(this.Underlying.then(OnFulfilled, OnRejected));
|
|
168
|
-
}
|
|
169
|
-
then(OnFulfilled, OnRejected) {
|
|
170
|
-
return new _TPromise(this.Underlying.then(OnFulfilled, OnRejected));
|
|
171
|
-
}
|
|
172
|
-
Catch(OnRejected) {
|
|
173
|
-
return new _TPromise(this.Underlying.catch(OnRejected));
|
|
174
|
-
}
|
|
175
|
-
Finally(OnFinally) {
|
|
176
|
-
return new _TPromise(this.Underlying.finally(OnFinally));
|
|
177
|
-
}
|
|
178
|
-
static Resolve(Value) {
|
|
179
|
-
return new _TPromise(Promise.resolve(Value));
|
|
180
|
-
}
|
|
181
|
-
static Reject(Reason) {
|
|
182
|
-
return new _TPromise(Promise.reject(Reason));
|
|
183
|
-
}
|
|
184
|
-
Raw() {
|
|
185
|
-
return this.Underlying;
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
// Source/Math/Complex.ts
|
|
190
|
-
var Complex_exports = {};
|
|
191
|
-
__export(Complex_exports, {
|
|
192
|
-
FComplex: () => FComplex,
|
|
193
|
-
i: () => i
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
// Source/Math/Complex.Internal.ts
|
|
197
|
-
var MathBuiltin = Math;
|
|
198
|
-
|
|
199
|
-
// Source/Math/Complex.ts
|
|
200
|
-
var import_tsover_runtime = require("tsover-runtime");
|
|
201
|
-
var _FComplex = class _FComplex {
|
|
202
|
-
constructor(A, B = 0) {
|
|
203
|
-
if (typeof A === "number") {
|
|
204
|
-
this.Re = A;
|
|
205
|
-
this.Im = B;
|
|
206
|
-
} else {
|
|
207
|
-
this.Re = A.Re;
|
|
208
|
-
this.Im = A.Im;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* Get the modulus of this {@link FComplex} number.
|
|
213
|
-
*
|
|
214
|
-
* @returns {number} The modulus of this {@link FComplex} number.
|
|
215
|
-
*/
|
|
216
|
-
get Mod() {
|
|
217
|
-
return MathBuiltin.sqrt(this.Re ** 2 + this.Im ** 2);
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Get the modulus of this {@link FComplex} number.
|
|
221
|
-
*
|
|
222
|
-
* @returns {number} The modulus of this {@link FComplex} number.
|
|
223
|
-
*/
|
|
224
|
-
get Theta() {
|
|
225
|
-
const Out = MathBuiltin.atan2(this.Im, this.Re);
|
|
226
|
-
if (Out < 0) {
|
|
227
|
-
return Out + 2 * MathBuiltin.PI;
|
|
228
|
-
}
|
|
229
|
-
return Out;
|
|
230
|
-
}
|
|
231
|
-
[import_tsover_runtime.Operator.star](A, B) {
|
|
232
|
-
if (typeof A === "number") {
|
|
233
|
-
return new _FComplex(B.Re * A, B.Im * A);
|
|
234
|
-
} else if (typeof B === "number") {
|
|
235
|
-
return new _FComplex(A.Re * B, A.Im * B);
|
|
236
|
-
} else {
|
|
237
|
-
return new _FComplex(A.Re + B.Re - (A.Im + B.Im), A.Re + B.Im + (B.Re + A.Im));
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
[import_tsover_runtime.Operator.plus](A, B) {
|
|
241
|
-
if (typeof A === "number") {
|
|
242
|
-
return new _FComplex(A + B.Re, B.Im);
|
|
243
|
-
} else if (typeof B === "number") {
|
|
244
|
-
return new _FComplex(A.Re + B, A.Im);
|
|
245
|
-
} else {
|
|
246
|
-
return new _FComplex(A.Re + B.Re, A.Im + B.Im);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
_FComplex.Zero = new _FComplex(0, 0);
|
|
251
|
-
var FComplex = _FComplex;
|
|
252
|
-
var i = new FComplex(0, 1);
|
|
253
|
-
|
|
254
|
-
// Source/FileSystem/index.ts
|
|
255
|
-
var FileSystem_exports = {};
|
|
256
|
-
__export(FileSystem_exports, {
|
|
257
|
-
GetSafeNewPath: () => GetSafeNewPath,
|
|
258
|
-
IsSupportedFileExtension: () => IsSupportedFileExtension,
|
|
259
|
-
IsValidFileName: () => IsValidFileName,
|
|
260
|
-
WriteTextFile: () => WriteTextFile
|
|
261
|
-
});
|
|
262
|
-
|
|
263
|
-
// Source/FileSystem/FileSystem.ts
|
|
264
|
-
var import_path = require("path");
|
|
265
|
-
var import_fs = require("fs");
|
|
266
|
-
var import_fs2 = require("fs");
|
|
267
|
-
var import_os = __toESM(require("os"), 1);
|
|
268
|
-
async function PathExists(Path) {
|
|
269
|
-
try {
|
|
270
|
-
await import_fs.promises.access(Path, import_fs2.constants.F_OK);
|
|
271
|
-
return true;
|
|
272
|
-
} catch {
|
|
273
|
-
return false;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
function IsSupportedFileExtension(Extension) {
|
|
277
|
-
let NormalizedExtension = Extension.slice(1);
|
|
278
|
-
if (NormalizedExtension.startsWith(".")) {
|
|
279
|
-
NormalizedExtension = NormalizedExtension.slice(1);
|
|
280
|
-
}
|
|
281
|
-
if (NormalizedExtension.length === 0) {
|
|
282
|
-
return false;
|
|
283
|
-
}
|
|
284
|
-
if (NormalizedExtension.includes("/") || NormalizedExtension.includes("\\") || NormalizedExtension.includes("\0")) {
|
|
285
|
-
return false;
|
|
286
|
-
}
|
|
287
|
-
if (import_os.default.platform() === "win32") {
|
|
288
|
-
const HasIllegalCharacters = /[<>:"/\\|?*\x00-\x1F]/u.test(NormalizedExtension);
|
|
289
|
-
if (HasIllegalCharacters) {
|
|
290
|
-
return false;
|
|
291
|
-
}
|
|
292
|
-
if (/[ .]$/u.test(NormalizedExtension)) {
|
|
293
|
-
return false;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return true;
|
|
297
|
-
}
|
|
298
|
-
async function GetSafeNewPath(InPath) {
|
|
299
|
-
const DirectoryPath = (0, import_path.dirname)(InPath);
|
|
300
|
-
const Extension = (0, import_path.extname)(InPath);
|
|
301
|
-
const FileName = (0, import_path.basename)(InPath);
|
|
302
|
-
const BaseFileName = Extension === "" ? FileName : (0, import_path.basename)(InPath, Extension);
|
|
303
|
-
let CandidatePath = InPath;
|
|
304
|
-
let Index = 1;
|
|
305
|
-
while (await PathExists(CandidatePath)) {
|
|
306
|
-
const CandidateFileName = `${BaseFileName} (${Index})${Extension}`;
|
|
307
|
-
CandidatePath = (0, import_path.join)(DirectoryPath, CandidateFileName);
|
|
308
|
-
Index++;
|
|
309
|
-
}
|
|
310
|
-
return CandidatePath;
|
|
311
|
-
}
|
|
312
|
-
async function IsValidFileName(DirectoryPath, FileName, PersistNewFile = false, Extension = void 0) {
|
|
313
|
-
const ExtensionSafe = Extension !== void 0 ? Extension.startsWith(".") && IsSupportedFileExtension(Extension) ? Extension : null : "";
|
|
314
|
-
const IsExtensionImproper = ExtensionSafe === null || ExtensionSafe === "." || !FileName.endsWith(ExtensionSafe);
|
|
315
|
-
if (IsExtensionImproper) {
|
|
316
|
-
return false;
|
|
317
|
-
}
|
|
318
|
-
const FilePath = (0, import_path.join)(DirectoryPath, FileName);
|
|
319
|
-
try {
|
|
320
|
-
const ThisFileHandle = await import_fs.promises.open(FilePath, "wx");
|
|
321
|
-
await ThisFileHandle.close();
|
|
322
|
-
if (!PersistNewFile) {
|
|
323
|
-
await import_fs.promises.unlink(FilePath);
|
|
324
|
-
}
|
|
325
|
-
return true;
|
|
326
|
-
} catch {
|
|
327
|
-
return false;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
async function WriteTextFile(Path, Contents) {
|
|
331
|
-
await import_fs.promises.writeFile(Path, Contents, { encoding: "utf-8" });
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// Source/Functional/index.ts
|
|
335
|
-
var Functional_exports = {};
|
|
336
|
-
__export(Functional_exports, {
|
|
337
|
-
Identity: () => Identity
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
// Source/Functional/Functional.ts
|
|
341
|
-
function Identity(...Arguments) {
|
|
342
|
-
return Arguments;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// Source/Math/index.ts
|
|
346
|
-
var Math_exports = {};
|
|
347
|
-
__export(Math_exports, {
|
|
348
|
-
Complex: () => Index_Complex_exports,
|
|
349
|
-
Vector: () => Vector_exports,
|
|
350
|
-
__DummyExport_Number: () => __DummyExport_Number
|
|
351
|
-
});
|
|
352
|
-
|
|
353
|
-
// Source/Math/Index.Complex.ts
|
|
354
|
-
var Index_Complex_exports = {};
|
|
355
|
-
__export(Index_Complex_exports, {
|
|
356
|
-
FComplex: () => FComplex,
|
|
357
|
-
i: () => i
|
|
358
|
-
});
|
|
359
|
-
|
|
360
|
-
// Source/Math/Vector.ts
|
|
361
|
-
var Vector_exports = {};
|
|
362
|
-
__export(Vector_exports, {
|
|
363
|
-
FVector: () => FVector,
|
|
364
|
-
FVector2D: () => FVector2D
|
|
365
|
-
});
|
|
366
|
-
var import_tsover_runtime2 = require("tsover-runtime");
|
|
367
|
-
var _FVector2D = class _FVector2D {
|
|
368
|
-
constructor(X = 0, Y = X) {
|
|
369
|
-
this.X = X;
|
|
370
|
-
this.Y = Y;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Get a representation of this vector as a `string`.
|
|
374
|
-
*
|
|
375
|
-
* @returns {string} The string representation of this vector.
|
|
376
|
-
*/
|
|
377
|
-
toString() {
|
|
378
|
-
return `(${this.X}, ${this.Y})`;
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* Perform per-component addition of two {@link FVector2D}s.
|
|
382
|
-
*
|
|
383
|
-
* @param Left - The left-hand operand.
|
|
384
|
-
* @param Right - The right-hand operand.
|
|
385
|
-
*
|
|
386
|
-
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
387
|
-
*
|
|
388
|
-
* @example
|
|
389
|
-
* ```typescript
|
|
390
|
-
* "use tsover";
|
|
391
|
-
*
|
|
392
|
-
* const A: FVector2D = new FVector2D(1, -1);
|
|
393
|
-
* const B: FVector2D = new FVector2D(-3, 5);
|
|
394
|
-
*
|
|
395
|
-
* const C: FVector2D = A + B;
|
|
396
|
-
* // `C` <- `(-2, 4)`
|
|
397
|
-
* ```
|
|
398
|
-
*/
|
|
399
|
-
[import_tsover_runtime2.Operator.plus](Left, Right) {
|
|
400
|
-
return new _FVector2D(Left.X + Right.X, Left.Y + Right.Y);
|
|
401
|
-
}
|
|
402
|
-
[import_tsover_runtime2.Operator.minus](A, B) {
|
|
403
|
-
return new _FVector2D(A.X - B.X, A.Y - B.Y);
|
|
404
|
-
}
|
|
405
|
-
[import_tsover_runtime2.Operator.preMinus](Vector) {
|
|
406
|
-
return new _FVector2D(-1 * Vector.X, -1 * Vector.Y);
|
|
407
|
-
}
|
|
408
|
-
[import_tsover_runtime2.Operator.star](Left, Right) {
|
|
409
|
-
if (typeof Left === "number" && Right instanceof _FVector2D) {
|
|
410
|
-
return new _FVector2D(Left * Right.X, Left * Right.Y);
|
|
411
|
-
}
|
|
412
|
-
if (typeof Right === "number" && Left instanceof _FVector2D) {
|
|
413
|
-
return new _FVector2D(Left.X * Right, Left.Y * Right);
|
|
414
|
-
}
|
|
415
|
-
return import_tsover_runtime2.Operator.deferOperation;
|
|
416
|
-
}
|
|
417
|
-
get length() {
|
|
418
|
-
return Math.sqrt(this.X ** 2 + this.Y ** 2);
|
|
419
|
-
}
|
|
420
|
-
get Length() {
|
|
421
|
-
return this.length;
|
|
422
|
-
}
|
|
423
|
-
};
|
|
424
|
-
/** The identity of $\mathbf{R}^2$ *wrt* addition. */
|
|
425
|
-
_FVector2D.Zero = new _FVector2D(0, 0);
|
|
426
|
-
var FVector2D = _FVector2D;
|
|
427
|
-
var FVector = class _FVector {
|
|
428
|
-
constructor(X = 0, Y = X, Z = X) {
|
|
429
|
-
this.X = X;
|
|
430
|
-
this.Y = Y;
|
|
431
|
-
this.Z = Z;
|
|
432
|
-
}
|
|
433
|
-
[import_tsover_runtime2.Operator.plus](Left, Right) {
|
|
434
|
-
return new _FVector(Left.X + Right.X, Left.Y + Right.Y, Left.Z + Right.Z);
|
|
435
|
-
}
|
|
436
|
-
[import_tsover_runtime2.Operator.minus](A, B) {
|
|
437
|
-
return new _FVector(A.X - B.X, A.Y - B.Y, A.Z - B.Z);
|
|
438
|
-
}
|
|
439
|
-
[import_tsover_runtime2.Operator.preMinus](Vector) {
|
|
440
|
-
return new _FVector(-1 * Vector.X, -1 * Vector.Y, -1 * Vector.Z);
|
|
441
|
-
}
|
|
442
|
-
[import_tsover_runtime2.Operator.star](Left, Right) {
|
|
443
|
-
if (typeof Left === "number" && Right instanceof _FVector) {
|
|
444
|
-
return new _FVector(Left * Right.X, Left * Right.Y, Left * Right.Z);
|
|
445
|
-
}
|
|
446
|
-
if (typeof Right === "number" && Left instanceof _FVector) {
|
|
447
|
-
return new _FVector(Left.X * Right, Left.Y * Right, Left.Z * Right);
|
|
448
|
-
}
|
|
449
|
-
return import_tsover_runtime2.Operator.deferOperation;
|
|
450
|
-
}
|
|
451
|
-
get length() {
|
|
452
|
-
return Math.sqrt(this.X ** 2 + this.Y ** 2 + this.Z ** 2);
|
|
453
|
-
}
|
|
454
|
-
get Length() {
|
|
455
|
-
return this.length;
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
// Source/Math/Math.ts
|
|
460
|
-
var __DummyExport_Number = "DummyExport";
|
|
461
|
-
|
|
462
|
-
// Source/Miscellaneous/index.ts
|
|
463
|
-
var Miscellaneous_exports = {};
|
|
464
|
-
__export(Miscellaneous_exports, {
|
|
465
|
-
AbstractMethodCallError: () => AbstractMethodCallError
|
|
466
|
-
});
|
|
467
|
-
|
|
468
|
-
// Source/Npm/index.ts
|
|
469
|
-
var Npm_exports = {};
|
|
470
|
-
__export(Npm_exports, {
|
|
471
|
-
GetPackageJson: () => GetPackageJson,
|
|
472
|
-
GetPackageRootDirectory: () => GetPackageRootDirectory,
|
|
473
|
-
PackageJsonParseError: () => PackageJsonParseError,
|
|
474
|
-
RootDirectoryNotFoundError: () => RootDirectoryNotFoundError
|
|
475
|
-
});
|
|
476
|
-
|
|
477
|
-
// Source/Npm/Npm.ts
|
|
478
|
-
var import_fs3 = require("fs");
|
|
479
|
-
|
|
480
|
-
// Source/Npm/Npm.Error.ts
|
|
481
|
-
var import_effect = require("effect");
|
|
482
|
-
var PackageJsonParseError = class extends import_effect.Data.TaggedError("PackageJsonParseError") {
|
|
483
|
-
};
|
|
484
|
-
var RootDirectoryNotFoundError = class extends import_effect.Data.TaggedError("RootDirectoryNotFound") {
|
|
485
|
-
};
|
|
486
|
-
|
|
487
|
-
// Source/Npm/Npm.ts
|
|
488
|
-
var import_path2 = require("path");
|
|
489
|
-
var import_process = __toESM(require("process"), 1);
|
|
490
|
-
async function GetPackageJson(Path) {
|
|
491
|
-
const RootDirectory = await GetPackageRootDirectory(Path);
|
|
492
|
-
const PackageJsonPath = (0, import_path2.join)(RootDirectory, "package.json");
|
|
493
|
-
const FileContents = await import_fs3.promises.readFile(PackageJsonPath, "utf-8");
|
|
494
|
-
const PackageJson = await (async () => {
|
|
495
|
-
try {
|
|
496
|
-
return JSON.parse(FileContents);
|
|
497
|
-
} catch (Cause) {
|
|
498
|
-
throw new PackageJsonParseError({ Cause, Path: PackageJsonPath });
|
|
499
|
-
}
|
|
500
|
-
})();
|
|
501
|
-
return PackageJson;
|
|
502
|
-
}
|
|
503
|
-
async function GetPackageRootDirectory(Path) {
|
|
504
|
-
let CurrentDirectory = await import_fs3.promises.realpath(Path ?? import_process.default.cwd());
|
|
505
|
-
while (true) {
|
|
506
|
-
const PackageJsonPath = (0, import_path2.join)(CurrentDirectory, "package.json");
|
|
507
|
-
const PackageJsonExists = await (async () => {
|
|
508
|
-
try {
|
|
509
|
-
await import_fs3.promises.access(PackageJsonPath, import_fs3.constants.F_OK);
|
|
510
|
-
return true;
|
|
511
|
-
} catch {
|
|
512
|
-
return false;
|
|
513
|
-
}
|
|
514
|
-
})();
|
|
515
|
-
if (PackageJsonExists) {
|
|
516
|
-
return CurrentDirectory;
|
|
517
|
-
}
|
|
518
|
-
const ParentDirectory = (0, import_path2.dirname)(CurrentDirectory);
|
|
519
|
-
if (ParentDirectory === CurrentDirectory) {
|
|
520
|
-
throw new RootDirectoryNotFoundError({ Path });
|
|
521
|
-
}
|
|
522
|
-
CurrentDirectory = ParentDirectory;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
// Source/Path/index.ts
|
|
527
|
-
var Path_exports = {};
|
|
528
|
-
__export(Path_exports, {
|
|
529
|
-
FPath: () => FPath
|
|
530
|
-
});
|
|
531
|
-
|
|
532
|
-
// Source/Path/Path.ts
|
|
533
|
-
var import_path3 = require("path");
|
|
534
|
-
var import_tsover_runtime3 = require("tsover-runtime");
|
|
535
|
-
var FPath = class _FPath {
|
|
536
|
-
toString() {
|
|
537
|
-
return this.Raw;
|
|
538
|
-
}
|
|
539
|
-
constructor(Argument) {
|
|
540
|
-
if (typeof Argument === "string") {
|
|
541
|
-
this.Raw = Argument;
|
|
542
|
-
} else {
|
|
543
|
-
this.Raw = Argument.Raw;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
[import_tsover_runtime3.Operator.slash](A, B) {
|
|
547
|
-
if (typeof A === "string") {
|
|
548
|
-
return new _FPath((0, import_path3.join)(A, B.Raw));
|
|
549
|
-
} else if (typeof B === "string") {
|
|
550
|
-
return new _FPath((0, import_path3.join)(A.Raw, B));
|
|
551
|
-
} else {
|
|
552
|
-
return new _FPath((0, import_path3.join)(A.Raw, B.Raw));
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
|
|
557
|
-
// Source/String/index.ts
|
|
558
|
-
var String_exports = {};
|
|
559
|
-
__export(String_exports, {
|
|
560
|
-
IsAlpha: () => IsAlpha,
|
|
561
|
-
IsLetters: () => IsLetters,
|
|
562
|
-
IsNumeric: () => IsNumeric
|
|
563
|
-
});
|
|
564
|
-
|
|
565
|
-
// Source/String/String.ts
|
|
566
|
-
function IsLetters(In) {
|
|
567
|
-
return /^[a-zA-Z]*$/.test(In);
|
|
568
|
-
}
|
|
569
|
-
function IsAlpha(In) {
|
|
570
|
-
return IsLetters(In);
|
|
571
|
-
}
|
|
572
|
-
function IsNumeric(In) {
|
|
573
|
-
return /^\d+$/.test(In);
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* @file Array.ts
|
|
577
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
578
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
579
|
-
* @license MIT
|
|
580
|
-
*/
|
|
581
|
-
/**
|
|
582
|
-
* @file Array.Types.ts
|
|
583
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
584
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
585
|
-
* @license MIT
|
|
586
|
-
*/
|
|
587
|
-
/**
|
|
588
|
-
* @file index.ts
|
|
589
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
590
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
591
|
-
* @license MIT
|
|
592
|
-
*/
|
|
593
|
-
/**
|
|
594
|
-
* @file Utility.Types.ts
|
|
595
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
596
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
597
|
-
* @license MIT
|
|
598
|
-
*/
|
|
599
|
-
/**
|
|
600
|
-
* @file Async.ts
|
|
601
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
602
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
603
|
-
* @license MIT
|
|
604
|
-
*/
|
|
605
|
-
/**
|
|
606
|
-
* @file Promise.Types.ts
|
|
607
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
608
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
609
|
-
* @license MIT
|
|
610
|
-
*/
|
|
611
|
-
/**
|
|
612
|
-
* @file Complex.Internal.ts
|
|
613
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
614
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
615
|
-
* @license MIT
|
|
616
|
-
*/
|
|
617
|
-
/**
|
|
618
|
-
* @file Complex.ts
|
|
619
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
620
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
621
|
-
* @license MIT
|
|
622
|
-
*/
|
|
623
|
-
/**
|
|
624
|
-
* @file FileSystem.ts
|
|
625
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
626
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
627
|
-
* @license MIT
|
|
628
|
-
*/
|
|
629
|
-
/**
|
|
630
|
-
* @file FileSystem.Types.ts
|
|
631
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
632
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
633
|
-
* @license MIT
|
|
634
|
-
*/
|
|
635
|
-
/**
|
|
636
|
-
* @file Functional.ts
|
|
637
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
638
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
639
|
-
* @license MIT
|
|
640
|
-
*/
|
|
641
|
-
/**
|
|
642
|
-
* @file Functional.Types.ts
|
|
643
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
644
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
645
|
-
* @license MIT
|
|
646
|
-
*/
|
|
647
|
-
/**
|
|
648
|
-
* @file Complex.Types.ts
|
|
649
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
650
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
651
|
-
* @license MIT
|
|
652
|
-
*/
|
|
653
|
-
/**
|
|
654
|
-
* @file Index.Complex.ts
|
|
655
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
656
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
657
|
-
* @license MIT
|
|
658
|
-
*/
|
|
659
|
-
/**
|
|
660
|
-
* @file Vector.ts
|
|
661
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
662
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
663
|
-
* @license MIT
|
|
664
|
-
*/
|
|
665
|
-
/**
|
|
666
|
-
* @file Math.ts
|
|
667
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
668
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
669
|
-
* @license MIT
|
|
670
|
-
*/
|
|
671
|
-
/**
|
|
672
|
-
* @file Math.Types.ts
|
|
673
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
674
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
675
|
-
* @license MIT
|
|
676
|
-
*/
|
|
677
|
-
/**
|
|
678
|
-
* @file Npm.Error.ts
|
|
679
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
680
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
681
|
-
* @license MIT
|
|
682
|
-
*/
|
|
683
|
-
/**
|
|
684
|
-
* @file Npm.ts
|
|
685
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
686
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
687
|
-
* @license MIT
|
|
688
|
-
*/
|
|
689
|
-
/**
|
|
690
|
-
* @file Path.ts
|
|
691
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
692
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
693
|
-
* @license MIT
|
|
694
|
-
*/
|
|
695
|
-
/**
|
|
696
|
-
* @file String.ts
|
|
697
|
-
* @author Gage Sorrell <gage@sorrell.sh>
|
|
698
|
-
* @copyright (c) 2026 Gage Sorrell
|
|
699
|
-
* @license MIT
|
|
700
|
-
*/
|
|
701
|
-
//# sourceMappingURL=index.cjs.map
|