@ts-utilities/core 1.0.0 → 1.0.2
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/LICENSE +15 -0
- package/README.md +255 -19
- package/dist/functions/index.cjs +1 -0
- package/dist/functions/index.d.cts +2 -0
- package/dist/functions/index.d.ts +2 -0
- package/dist/functions/index.js +1 -0
- package/dist/functions-Bj4KwuS7.cjs +1 -0
- package/dist/functions-DOWFQTb6.js +1 -0
- package/dist/index-B2qsrrxx.d.cts +610 -0
- package/dist/index-BOKcRBiB.d.ts +610 -0
- package/dist/{index.d.mts → index-BlbkY6UJ.d.ts} +14 -623
- package/dist/index-CODZbfqn.d.cts +679 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +1 -0
- package/dist/types-CExAEo2W.js +1 -0
- package/dist/types-Cr826iDM.cjs +1 -0
- package/package.json +21 -9
- package/dist/index.mjs +0 -765
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"./types-CExAEo2W.js";import{a as i,c as a,d as o,f as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v}from"./functions-DOWFQTb6.js";export{l as convertToNormalCase,i as convertToSlug,p as debounce,c as deepmerge,g as escapeRegExp,s as extendProps,m as getObjectValue,d as hydrate,r as isFalsy,t as isNullish,n as isPlainObject,e as isPrimitive,a as normalizeText,h as poll,u as printf,f as schedule,_ as shield,v as sleep,o as throttle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../types-Cr826iDM.cjs`);exports.isFalsy=e.t,exports.isNullish=e.n,exports.isPlainObject=e.r,exports.isPrimitive=e.i;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as Never, B as Substract, C as Intersection, D as Merge, E as Maybe, F as Optional, H as Values, I as Prettify, L as RequiredKeys, M as Nullish, N as OmitByType, O as Mutable, P as OneOf, R as SelectivePartial, S as Diff, T as KeysOfType, U as Without, V as TwoOf, _ as XOR_Binary, a as isPlainObject, b as DeepReadonly, c as BUFFER, d as NOR, f as NOT, g as XOR, h as XNOR_Binary, i as isNullish, j as Nullable, k as NestedKeyOf, l as IMPLIES, m as XNOR, n as Primitive, o as isPrimitive, p as OR, r as isFalsy, s as AND, t as Falsy, u as NAND, v as AllOrNone, w as Keys, x as DeepRequired, y as DeepPartial, z as SelectiveRequired } from "../index-B2qsrrxx.cjs";
|
|
2
|
+
export { AND, AllOrNone, BUFFER, DeepPartial, DeepReadonly, DeepRequired, Diff, Falsy, IMPLIES, Intersection, Keys, KeysOfType, Maybe, Merge, Mutable, NAND, NOR, NOT, NestedKeyOf, Never, Nullable, Nullish, OR, OmitByType, OneOf, Optional, Prettify, Primitive, RequiredKeys, SelectivePartial, SelectiveRequired, Substract, TwoOf, Values, Without, XNOR, XNOR_Binary, XOR, XOR_Binary, isFalsy, isNullish, isPlainObject, isPrimitive };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as Never, B as Substract, C as Intersection, D as Merge, E as Maybe, F as Optional, H as Values, I as Prettify, L as RequiredKeys, M as Nullish, N as OmitByType, O as Mutable, P as OneOf, R as SelectivePartial, S as Diff, T as KeysOfType, U as Without, V as TwoOf, _ as XOR_Binary, a as isPlainObject, b as DeepReadonly, c as BUFFER, d as NOR, f as NOT, g as XOR, h as XNOR_Binary, i as isNullish, j as Nullable, k as NestedKeyOf, l as IMPLIES, m as XNOR, n as Primitive, o as isPrimitive, p as OR, r as isFalsy, s as AND, t as Falsy, u as NAND, v as AllOrNone, w as Keys, x as DeepRequired, y as DeepPartial, z as SelectiveRequired } from "../index-BOKcRBiB.js";
|
|
2
|
+
export { AND, AllOrNone, BUFFER, DeepPartial, DeepReadonly, DeepRequired, Diff, Falsy, IMPLIES, Intersection, Keys, KeysOfType, Maybe, Merge, Mutable, NAND, NOR, NOT, NestedKeyOf, Never, Nullable, Nullish, OR, OmitByType, OneOf, Optional, Prettify, Primitive, RequiredKeys, SelectivePartial, SelectiveRequired, Substract, TwoOf, Values, Without, XNOR, XNOR_Binary, XOR, XOR_Binary, isFalsy, isNullish, isPlainObject, isPrimitive };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"../types-CExAEo2W.js";export{r as isFalsy,t as isNullish,n as isPlainObject,e as isPrimitive};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>!e,t=e=>e==null,n=e=>{if(e==null)return!0;switch(typeof e){case`string`:case`number`:case`bigint`:case`boolean`:case`symbol`:return!0;default:return!1}};function r(e){if(typeof e!=`object`||!e||Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}export{n as i,t as n,r,e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>!e,t=e=>e==null,n=e=>{if(e==null)return!0;switch(typeof e){case`string`:case`number`:case`bigint`:case`boolean`:case`symbol`:return!0;default:return!1}};function r(e){if(typeof e!=`object`||!e||Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-utilities/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"author": "Sohan Emon <sohanemon@outlook.com>",
|
|
5
|
-
"description": "Core utilities for JavaScript/TypeScript projects
|
|
5
|
+
"description": "Core utilities for JavaScript/TypeScript projects",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -15,6 +15,25 @@
|
|
|
15
15
|
".": {
|
|
16
16
|
"import": "./dist/index.js",
|
|
17
17
|
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./functions": {
|
|
20
|
+
"import": "./dist/functions/index.js",
|
|
21
|
+
"require": "./dist/functions/index.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./types": {
|
|
24
|
+
"import": "./dist/types/index.js",
|
|
25
|
+
"require": "./dist/types/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"typesVersions": {
|
|
30
|
+
"*": {
|
|
31
|
+
"functions": [
|
|
32
|
+
"dist/functions.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"types": [
|
|
35
|
+
"dist/types.d.ts"
|
|
36
|
+
]
|
|
18
37
|
}
|
|
19
38
|
},
|
|
20
39
|
"scripts": {
|
|
@@ -46,18 +65,11 @@
|
|
|
46
65
|
},
|
|
47
66
|
"devDependencies": {
|
|
48
67
|
"@biomejs/biome": "2.3.8",
|
|
49
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
50
|
-
"@testing-library/react": "^16.3.0",
|
|
51
68
|
"@tsconfig/strictest": "^2.0.8",
|
|
52
69
|
"@types/node": "^24.10.1",
|
|
53
|
-
"@vitejs/plugin-react": "^5.1.1",
|
|
54
|
-
"@vitest/ui": "^4.0.14",
|
|
55
70
|
"jsdom": "^27.2.0",
|
|
56
71
|
"tsdown": "^0.16.4",
|
|
57
|
-
"typedoc": "^0.28.15",
|
|
58
|
-
"typedoc-plugin-markdown": "^4.9.0",
|
|
59
72
|
"typescript": "^5.9.3",
|
|
60
|
-
"vite": "npm:rolldown-vite@^7.2.5",
|
|
61
73
|
"vitest": "^4.0.14"
|
|
62
74
|
},
|
|
63
75
|
"publishConfig": {
|