@hypernym/utils 3.4.2 → 3.4.4
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.
|
@@ -220,4 +220,5 @@ interface RemoveOptions {
|
|
|
220
220
|
*/
|
|
221
221
|
declare function remove(path: RemovePath | RemovePath[], options?: RemoveOptions): Promise<void>;
|
|
222
222
|
|
|
223
|
-
export {
|
|
223
|
+
export { copy, exists, mkdir, read, readdir, remove, write, writeFile };
|
|
224
|
+
export type { CopyDestination, CopyOptions, CopySource, MakeDirOptions, MakeDirPath, ReadEncodingType, ReadOptions, ReadPath, ReadType, ReaddirEncodingType, ReaddirOptions, ReaddirPath, ReaddirType, ReaddirWithFileType, RemoveOptions, RemovePath, WritePath };
|
|
@@ -496,4 +496,5 @@ type RequiredObjectDeep<T extends object, Options extends RequiredOptions = {
|
|
|
496
496
|
[K in keyof T]-?: RequiredDeep<T[K], Options>;
|
|
497
497
|
};
|
|
498
498
|
|
|
499
|
-
export {
|
|
499
|
+
export { isArray, isArrayEmpty, isBigInt, isBoolean, isBrowser, isDate, isElement, isError, isFalse, isFunction, isHtmlCollection, isHtmlCollectionEmpty, isHtmlElement, isInfinity, isMap, isNaNValue, isNodeList, isNodeListEmpty, isNull, isNumber, isObject, isObjectEmpty, isPrimitive, isRegExp, isSet, isString, isStringEmpty, isSvgElement, isSymbol, isTrue, isURL, isUndefined, isWeakMap, isWeakSet, noop, toString };
|
|
500
|
+
export type { BuiltIn, IsAny, IsNever, IsNull, PartialDeep, Primitive, RequiredDeep };
|
package/package.json
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypernym/utils",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"author": "Hypernym Studio",
|
|
5
5
|
"description": "A collection of reusable utilities.",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/hypernym-studio/utils.git"
|
|
10
|
+
},
|
|
8
11
|
"homepage": "https://github.com/hypernym-studio/utils",
|
|
9
12
|
"funding": "https://github.com/sponsors/ivodolenc",
|
|
10
13
|
"type": "module",
|
|
11
14
|
"exports": {
|
|
12
15
|
".": {
|
|
13
|
-
"types": "./dist/
|
|
16
|
+
"types": "./dist/index.d.mts",
|
|
14
17
|
"import": "./dist/index.mjs"
|
|
15
18
|
},
|
|
16
19
|
"./fs": {
|
|
17
|
-
"types": "./dist/
|
|
20
|
+
"types": "./dist/fs/index.d.mts",
|
|
18
21
|
"import": "./dist/fs/index.mjs"
|
|
19
22
|
}
|
|
20
23
|
},
|
|
@@ -44,12 +47,6 @@
|
|
|
44
47
|
"format": "prettier --write .",
|
|
45
48
|
"prepublishOnly": "npm run build"
|
|
46
49
|
},
|
|
47
|
-
"sideEffects": false,
|
|
48
|
-
"packageManager": "pnpm@10.4.0",
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=20.0.0",
|
|
51
|
-
"pnpm": ">=9.0.0"
|
|
52
|
-
},
|
|
53
50
|
"peerDependencies": {
|
|
54
51
|
"@types/node": ">=20.0.0",
|
|
55
52
|
"typescript": ">=5.0.0"
|
|
@@ -63,14 +60,14 @@
|
|
|
63
60
|
}
|
|
64
61
|
},
|
|
65
62
|
"devDependencies": {
|
|
66
|
-
"@hypernym/bundler": "^0.14.
|
|
67
|
-
"@hypernym/eslint-config": "^3.
|
|
68
|
-
"@hypernym/prettier-config": "^3.2.
|
|
69
|
-
"@hypernym/tsconfig": "^2.
|
|
70
|
-
"@types/node": "^22.
|
|
71
|
-
"eslint": "^9.
|
|
72
|
-
"prettier": "^3.5.
|
|
73
|
-
"typescript": "^5.
|
|
74
|
-
"vitest": "^3.
|
|
63
|
+
"@hypernym/bundler": "^0.14.3",
|
|
64
|
+
"@hypernym/eslint-config": "^3.6.1",
|
|
65
|
+
"@hypernym/prettier-config": "^3.2.4",
|
|
66
|
+
"@hypernym/tsconfig": "^2.6.1",
|
|
67
|
+
"@types/node": "^22.15.17",
|
|
68
|
+
"eslint": "^9.26.0",
|
|
69
|
+
"prettier": "^3.5.3",
|
|
70
|
+
"typescript": "^5.8.3",
|
|
71
|
+
"vitest": "^3.1.3"
|
|
75
72
|
}
|
|
76
73
|
}
|