lodash-omitdeep 1.6.0 → 1.6.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.
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./omitDeep/omitDeep.cjs"),t=require("./omitDeepBy/omitDeepBy.cjs");exports.omitDeep=e.omitDeep;exports.omitDeepBy=t.omitDeepBy;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("lodash"),o=i=>!n.isNil(i)&&(n.isPlainObject(i)||Array.isArray(i)),a=(i,...t)=>{function u(r){if(!Array.isArray(r)&&!n.isPlainObject(r))return r;if(Array.isArray(r))return r.map(e=>o(e)?a(e,...t):e);const y={};for(const[e,s]of Object.entries(r))y[e]=o(s)?a(s,...t):s;return n.omit(y,...t)}return u(i)};exports.needOmit=o;exports.omitDeep=a;
2
+ //# sourceMappingURL=omitDeep.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omitDeep.cjs","sources":["../../../src/omitDeep/omitDeep.ts"],"sourcesContent":["import type { Many, PartialObject, PropertyName } from 'lodash';\n\nimport lodash from 'lodash';\n\nexport const needOmit = (value: any) =>\n !lodash.isNil(value) && (lodash.isPlainObject(value) || Array.isArray(value));\n\ninterface OmitDeep {\n <T extends object, K extends PropertyName[]>(\n object: T | null | undefined,\n ...paths: K\n ): Pick<T, Exclude<keyof T, K[number]>>;\n <T extends object, K extends keyof T>(\n object: T | null | undefined,\n ...paths: Many<K>[]\n ): Omit<T, K>;\n <T extends object>(\n object: T | null | undefined,\n ...paths: Many<PropertyName>[]\n ): PartialObject<T>;\n}\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable properties of `object` that are not omitted.\n *\n * @category Function\n * @param object The source object.\n * @param [paths] The property names to omit, specified\n * individually or in arrays.\n * @returns Returns the new object.\n * @example\n *\n * const object = { 'a': 1, 'b': 2, 'c': { 'a': 1, 'b': 2 } };\n *\n * omitDeep(object, ['b', 'a']);\n * // => { 'c': {} }\n */\nexport const omitDeep: OmitDeep = (object: any, ...paths: any) => {\n function omitDeepOnOwnProps(object: any) {\n if (!Array.isArray(object) && !lodash.isPlainObject(object)) {\n return object;\n }\n\n if (Array.isArray(object)) {\n return object.map((element) => (needOmit(element) ? omitDeep(element, ...paths) : element));\n }\n\n const temp = {};\n\n for (const [key, value] of Object.entries<{\n [x: string]: object | PropertyName;\n }>(object)) {\n (temp as any)[key] = needOmit(value) ? omitDeep(value, ...paths) : value;\n }\n return lodash.omit(temp, ...paths);\n }\n\n return omitDeepOnOwnProps(object);\n};\n"],"names":["needOmit","value","lodash","omitDeep","object","paths","omitDeepOnOwnProps","element","temp","key"],"mappings":"0GAIaA,EAAYC,GACvB,CAACC,EAAO,MAAMD,CAAK,IAAMC,EAAO,cAAcD,CAAK,GAAK,MAAM,QAAQA,CAAK,GAiChEE,EAAqB,CAACC,KAAgBC,IAAe,CAChE,SAASC,EAAmBF,EAAa,CACvC,GAAI,CAAC,MAAM,QAAQA,CAAM,GAAK,CAACF,EAAO,cAAcE,CAAM,EACxD,OAAOA,EAGT,GAAI,MAAM,QAAQA,CAAM,EACtB,OAAOA,EAAO,IAAKG,GAAaP,EAASO,CAAO,EAAIJ,EAASI,EAAS,GAAGF,CAAK,EAAIE,CAAQ,EAG5F,MAAMC,EAAO,CAAA,EAEb,SAAW,CAACC,EAAKR,CAAK,IAAK,OAAO,QAE/BG,CAAM,EACNI,EAAaC,CAAG,EAAIT,EAASC,CAAK,EAAIE,EAASF,EAAO,GAAGI,CAAK,EAAIJ,EAErE,OAAOC,EAAO,KAAKM,EAAM,GAAGH,CAAK,CACnC,CAEA,OAAOC,EAAmBF,CAAM,CAClC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("lodash"),i=(s,e)=>{function y(r){if(!Array.isArray(r)&&!o.isPlainObject(r))return r;if(Array.isArray(r))return r.map(t=>i(t,e));const n={};for(const[t,a]of Object.entries(r))n[t]=i(a,e);return o.omitBy(n,e)}return y(s)};exports.omitDeepBy=i;
2
+ //# sourceMappingURL=omitDeepBy.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omitDeepBy.cjs","sources":["../../../src/omitDeepBy/omitDeepBy.ts"],"sourcesContent":["import type {\n Dictionary,\n NumericDictionary,\n PartialObject,\n PropertyName,\n ValueKeyIteratee\n} from 'lodash';\n\nimport lodash from 'lodash';\n\ninterface OmitDeepBy {\n <T>(object: Dictionary<T> | null | undefined, predicate?: ValueKeyIteratee<T>): Dictionary<T>;\n <T>(\n object: NumericDictionary<T> | null | undefined,\n predicate?: ValueKeyIteratee<T>\n ): NumericDictionary<T>;\n <T extends object>(\n object: T | null | undefined,\n predicate: ValueKeyIteratee<T[keyof T]>\n ): PartialObject<T>;\n}\n\n/**\n * The opposite of `_.pickBy`; this method creates an object composed of the\n * own and inherited enumerable properties of `object` that `predicate`\n * doesn't return truthy for.\n *\n * @category Function\n * @param object The source object.\n * @param [predicate] The function invoked per property.\n * @returns Returns the new object.\n * @example\n *\n * const object = { 'a': 1, 'b': null, 'c': { 'a': 1, 'b': null } };\n *\n * omitByDeep(object, _.isNil);\n * // => { 'a': 1, 'c': { 'a': 1 } }\n */\nexport const omitDeepBy: OmitDeepBy = (object: any, cb: any) => {\n function omitByDeepByOnOwnProps(object: any) {\n if (!Array.isArray(object) && !lodash.isPlainObject(object)) {\n return object;\n }\n\n if (Array.isArray(object)) {\n return object.map((element) => omitDeepBy(element, cb));\n }\n\n const temp = {};\n\n for (const [key, value] of Object.entries<{\n [x: string]: object | PropertyName;\n }>(object)) {\n (temp as any)[key] = omitDeepBy(value, cb);\n }\n return lodash.omitBy(temp, cb);\n }\n\n return omitByDeepByOnOwnProps(object);\n};\n"],"names":["omitDeepBy","object","cb","omitByDeepByOnOwnProps","lodash","element","temp","key","value"],"mappings":"0GAsCaA,EAAyB,CAACC,EAAaC,IAAY,CAC9D,SAASC,EAAuBF,EAAa,CAC3C,GAAI,CAAC,MAAM,QAAQA,CAAM,GAAK,CAACG,EAAO,cAAcH,CAAM,EACxD,OAAOA,EAGT,GAAI,MAAM,QAAQA,CAAM,EACtB,OAAOA,EAAO,IAAKI,GAAYL,EAAWK,EAASH,CAAE,CAAC,EAGxD,MAAMI,EAAO,CAAA,EAEb,SAAW,CAACC,EAAKC,CAAK,IAAK,OAAO,QAE/BP,CAAM,EACNK,EAAaC,CAAG,EAAIP,EAAWQ,EAAON,CAAE,EAE3C,OAAOE,EAAO,OAAOE,EAAMJ,CAAE,CAC/B,CAEA,OAAOC,EAAuBF,CAAM,CACtC"}
@@ -0,0 +1,7 @@
1
+ import { omitDeep as m } from "./omitDeep/omitDeep.mjs";
2
+ import { omitDeepBy as r } from "./omitDeepBy/omitDeepBy.mjs";
3
+ export {
4
+ m as omitDeep,
5
+ r as omitDeepBy
6
+ };
7
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,19 @@
1
+ import s from "lodash";
2
+ const y = (i) => !s.isNil(i) && (s.isPlainObject(i) || Array.isArray(i)), e = (i, ...t) => {
3
+ function f(r) {
4
+ if (!Array.isArray(r) && !s.isPlainObject(r))
5
+ return r;
6
+ if (Array.isArray(r))
7
+ return r.map((n) => y(n) ? e(n, ...t) : n);
8
+ const a = {};
9
+ for (const [n, o] of Object.entries(r))
10
+ a[n] = y(o) ? e(o, ...t) : o;
11
+ return s.omit(a, ...t);
12
+ }
13
+ return f(i);
14
+ };
15
+ export {
16
+ y as needOmit,
17
+ e as omitDeep
18
+ };
19
+ //# sourceMappingURL=omitDeep.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omitDeep.mjs","sources":["../../../src/omitDeep/omitDeep.ts"],"sourcesContent":["import type { Many, PartialObject, PropertyName } from 'lodash';\n\nimport lodash from 'lodash';\n\nexport const needOmit = (value: any) =>\n !lodash.isNil(value) && (lodash.isPlainObject(value) || Array.isArray(value));\n\ninterface OmitDeep {\n <T extends object, K extends PropertyName[]>(\n object: T | null | undefined,\n ...paths: K\n ): Pick<T, Exclude<keyof T, K[number]>>;\n <T extends object, K extends keyof T>(\n object: T | null | undefined,\n ...paths: Many<K>[]\n ): Omit<T, K>;\n <T extends object>(\n object: T | null | undefined,\n ...paths: Many<PropertyName>[]\n ): PartialObject<T>;\n}\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable properties of `object` that are not omitted.\n *\n * @category Function\n * @param object The source object.\n * @param [paths] The property names to omit, specified\n * individually or in arrays.\n * @returns Returns the new object.\n * @example\n *\n * const object = { 'a': 1, 'b': 2, 'c': { 'a': 1, 'b': 2 } };\n *\n * omitDeep(object, ['b', 'a']);\n * // => { 'c': {} }\n */\nexport const omitDeep: OmitDeep = (object: any, ...paths: any) => {\n function omitDeepOnOwnProps(object: any) {\n if (!Array.isArray(object) && !lodash.isPlainObject(object)) {\n return object;\n }\n\n if (Array.isArray(object)) {\n return object.map((element) => (needOmit(element) ? omitDeep(element, ...paths) : element));\n }\n\n const temp = {};\n\n for (const [key, value] of Object.entries<{\n [x: string]: object | PropertyName;\n }>(object)) {\n (temp as any)[key] = needOmit(value) ? omitDeep(value, ...paths) : value;\n }\n return lodash.omit(temp, ...paths);\n }\n\n return omitDeepOnOwnProps(object);\n};\n"],"names":["needOmit","value","lodash","omitDeep","object","paths","omitDeepOnOwnProps","element","temp","key"],"mappings":";AAIO,MAAMA,IAAW,CAACC,MACvB,CAACC,EAAO,MAAMD,CAAK,MAAMC,EAAO,cAAcD,CAAK,KAAK,MAAM,QAAQA,CAAK,IAiChEE,IAAqB,CAACC,MAAgBC,MAAe;AAChE,WAASC,EAAmBF,GAAa;AACvC,QAAI,CAAC,MAAM,QAAQA,CAAM,KAAK,CAACF,EAAO,cAAcE,CAAM;AACxD,aAAOA;AAGT,QAAI,MAAM,QAAQA,CAAM;AACtB,aAAOA,EAAO,IAAI,CAACG,MAAaP,EAASO,CAAO,IAAIJ,EAASI,GAAS,GAAGF,CAAK,IAAIE,CAAQ;AAG5F,UAAMC,IAAO,CAAA;AAEb,eAAW,CAACC,GAAKR,CAAK,KAAK,OAAO,QAE/BG,CAAM;AACN,MAAAI,EAAaC,CAAG,IAAIT,EAASC,CAAK,IAAIE,EAASF,GAAO,GAAGI,CAAK,IAAIJ;AAErE,WAAOC,EAAO,KAAKM,GAAM,GAAGH,CAAK;AAAA,EACnC;AAEA,SAAOC,EAAmBF,CAAM;AAClC;"}
@@ -0,0 +1,18 @@
1
+ import e from "lodash";
2
+ const o = (s, n) => {
3
+ function y(r) {
4
+ if (!Array.isArray(r) && !e.isPlainObject(r))
5
+ return r;
6
+ if (Array.isArray(r))
7
+ return r.map((i) => o(i, n));
8
+ const t = {};
9
+ for (const [i, a] of Object.entries(r))
10
+ t[i] = o(a, n);
11
+ return e.omitBy(t, n);
12
+ }
13
+ return y(s);
14
+ };
15
+ export {
16
+ o as omitDeepBy
17
+ };
18
+ //# sourceMappingURL=omitDeepBy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omitDeepBy.mjs","sources":["../../../src/omitDeepBy/omitDeepBy.ts"],"sourcesContent":["import type {\n Dictionary,\n NumericDictionary,\n PartialObject,\n PropertyName,\n ValueKeyIteratee\n} from 'lodash';\n\nimport lodash from 'lodash';\n\ninterface OmitDeepBy {\n <T>(object: Dictionary<T> | null | undefined, predicate?: ValueKeyIteratee<T>): Dictionary<T>;\n <T>(\n object: NumericDictionary<T> | null | undefined,\n predicate?: ValueKeyIteratee<T>\n ): NumericDictionary<T>;\n <T extends object>(\n object: T | null | undefined,\n predicate: ValueKeyIteratee<T[keyof T]>\n ): PartialObject<T>;\n}\n\n/**\n * The opposite of `_.pickBy`; this method creates an object composed of the\n * own and inherited enumerable properties of `object` that `predicate`\n * doesn't return truthy for.\n *\n * @category Function\n * @param object The source object.\n * @param [predicate] The function invoked per property.\n * @returns Returns the new object.\n * @example\n *\n * const object = { 'a': 1, 'b': null, 'c': { 'a': 1, 'b': null } };\n *\n * omitByDeep(object, _.isNil);\n * // => { 'a': 1, 'c': { 'a': 1 } }\n */\nexport const omitDeepBy: OmitDeepBy = (object: any, cb: any) => {\n function omitByDeepByOnOwnProps(object: any) {\n if (!Array.isArray(object) && !lodash.isPlainObject(object)) {\n return object;\n }\n\n if (Array.isArray(object)) {\n return object.map((element) => omitDeepBy(element, cb));\n }\n\n const temp = {};\n\n for (const [key, value] of Object.entries<{\n [x: string]: object | PropertyName;\n }>(object)) {\n (temp as any)[key] = omitDeepBy(value, cb);\n }\n return lodash.omitBy(temp, cb);\n }\n\n return omitByDeepByOnOwnProps(object);\n};\n"],"names":["omitDeepBy","object","cb","omitByDeepByOnOwnProps","lodash","element","temp","key","value"],"mappings":";AAsCO,MAAMA,IAAyB,CAACC,GAAaC,MAAY;AAC9D,WAASC,EAAuBF,GAAa;AAC3C,QAAI,CAAC,MAAM,QAAQA,CAAM,KAAK,CAACG,EAAO,cAAcH,CAAM;AACxD,aAAOA;AAGT,QAAI,MAAM,QAAQA,CAAM;AACtB,aAAOA,EAAO,IAAI,CAACI,MAAYL,EAAWK,GAASH,CAAE,CAAC;AAGxD,UAAMI,IAAO,CAAA;AAEb,eAAW,CAACC,GAAKC,CAAK,KAAK,OAAO,QAE/BP,CAAM;AACN,MAAAK,EAAaC,CAAG,IAAIP,EAAWQ,GAAON,CAAE;AAE3C,WAAOE,EAAO,OAAOE,GAAMJ,CAAE;AAAA,EAC/B;AAEA,SAAOC,EAAuBF,CAAM;AACtC;"}
@@ -0,0 +1,2 @@
1
+ export { omitDeep } from './omitDeep/omitDeep';
2
+ export { omitDeepBy } from './omitDeepBy/omitDeepBy';
@@ -0,0 +1,25 @@
1
+ import { Many, PartialObject, PropertyName } from 'lodash';
2
+ export declare const needOmit: (value: any) => boolean;
3
+ interface OmitDeep {
4
+ <T extends object, K extends PropertyName[]>(object: T | null | undefined, ...paths: K): Pick<T, Exclude<keyof T, K[number]>>;
5
+ <T extends object, K extends keyof T>(object: T | null | undefined, ...paths: Many<K>[]): Omit<T, K>;
6
+ <T extends object>(object: T | null | undefined, ...paths: Many<PropertyName>[]): PartialObject<T>;
7
+ }
8
+ /**
9
+ * The opposite of `_.pick`; this method creates an object composed of the
10
+ * own and inherited enumerable properties of `object` that are not omitted.
11
+ *
12
+ * @category Function
13
+ * @param object The source object.
14
+ * @param [paths] The property names to omit, specified
15
+ * individually or in arrays.
16
+ * @returns Returns the new object.
17
+ * @example
18
+ *
19
+ * const object = { 'a': 1, 'b': 2, 'c': { 'a': 1, 'b': 2 } };
20
+ *
21
+ * omitDeep(object, ['b', 'a']);
22
+ * // => { 'c': {} }
23
+ */
24
+ export declare const omitDeep: OmitDeep;
25
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { Dictionary, NumericDictionary, PartialObject, ValueKeyIteratee } from 'lodash';
2
+ interface OmitDeepBy {
3
+ <T>(object: Dictionary<T> | null | undefined, predicate?: ValueKeyIteratee<T>): Dictionary<T>;
4
+ <T>(object: NumericDictionary<T> | null | undefined, predicate?: ValueKeyIteratee<T>): NumericDictionary<T>;
5
+ <T extends object>(object: T | null | undefined, predicate: ValueKeyIteratee<T[keyof T]>): PartialObject<T>;
6
+ }
7
+ /**
8
+ * The opposite of `_.pickBy`; this method creates an object composed of the
9
+ * own and inherited enumerable properties of `object` that `predicate`
10
+ * doesn't return truthy for.
11
+ *
12
+ * @category Function
13
+ * @param object The source object.
14
+ * @param [predicate] The function invoked per property.
15
+ * @returns Returns the new object.
16
+ * @example
17
+ *
18
+ * const object = { 'a': 1, 'b': null, 'c': { 'a': 1, 'b': null } };
19
+ *
20
+ * omitByDeep(object, _.isNil);
21
+ * // => { 'a': 1, 'c': { 'a': 1 } }
22
+ */
23
+ export declare const omitDeepBy: OmitDeepBy;
24
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,82 +1,79 @@
1
- {
2
- "name": "lodash-omitdeep",
3
- "type": "module",
4
- "version": "1.6.0",
5
- "description": "lodash omitDeep/omitByDeep object key/value recursively",
6
- "author": {
7
- "name": "SIBERIA CAN CODE 🧊",
8
- "url": "https://github.com/siberiacancode"
9
- },
10
- "license": "MIT",
11
- "homepage": "https://github.com/siberiacancode/lodash-omitdeep",
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/siberiacancode/lodash-omitdeep.git"
15
- },
16
- "bugs": {
17
- "url": "https://github.com/siberiacancode/lodash-omitdeep/issues"
18
- },
19
- "keywords": [
20
- "lodash",
21
- "omit",
22
- "omitDeep",
23
- "omitBy",
24
- "omitByDeep",
25
- "key",
26
- "keys",
27
- "delete",
28
- "remove",
29
- "object",
30
- "deep"
31
- ],
32
- "sideEffects": false,
33
- "exports": {
34
- "types": "./dist/types/index.d.ts",
35
- "import": "./dist/esm/index.mjs",
36
- "require": "./dist/cjs/index.cjs"
37
- },
38
- "main": "dist/cjs/index.cjs",
39
- "module": "dist/esm/index.mjs",
40
- "types": "dist/types/index.d.ts",
41
- "files": [
42
- "dist/**/*"
43
- ],
44
- "scripts": {
45
- "build": "shx rm -rf dist && vite build",
46
- "lint": "eslint . --fix",
47
- "type": "tsc --noEmit",
48
- "format": "prettier --write .",
49
- "pretty": "yarn type && yarn lint && yarn format",
50
- "prepare": "husky",
51
- "unit-test": "vitest"
52
- },
53
- "peerDependencies": {
54
- "lodash": "^4"
55
- },
56
- "dependencies": {
57
- "lodash": "^4"
58
- },
59
- "devDependencies": {
60
- "@siberiacancode/eslint": "^2.9.0",
61
- "@siberiacancode/prettier": "^1.3.0",
62
- "@siberiacancode/vitest": "^2.1.0",
63
- "@types/lodash": "^4.17.16",
64
- "@types/node": "^22.14.1",
65
- "husky": "^9.1.7",
66
- "lint-staged": "^15.5.1",
67
- "shx": "^0.4.0",
68
- "typescript": "^5.8.3",
69
- "vite": "^6.3.2",
70
- "vite-plugin-dts": "^4.5.3"
71
- },
72
- "lint-staged": {
73
- "*.js": [
74
- "eslint --fix",
75
- "prettier --write"
76
- ],
77
- "*.ts": [
78
- "eslint --fix",
79
- "prettier --write"
80
- ]
81
- }
82
- }
1
+ {
2
+ "name": "lodash-omitdeep",
3
+ "type": "module",
4
+ "version": "1.6.2",
5
+ "description": "lodash omitDeep/omitByDeep object key/value recursively",
6
+ "author": {
7
+ "name": "SIBERIA CAN CODE 🧊",
8
+ "url": "https://github.com/siberiacancode"
9
+ },
10
+ "license": "MIT",
11
+ "homepage": "https://github.com/siberiacancode/lodash-omitdeep",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/siberiacancode/lodash-omitdeep.git"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/siberiacancode/lodash-omitdeep/issues"
18
+ },
19
+ "keywords": [
20
+ "lodash",
21
+ "omit",
22
+ "omitDeep",
23
+ "omitBy",
24
+ "omitByDeep",
25
+ "key",
26
+ "keys",
27
+ "delete",
28
+ "remove",
29
+ "object",
30
+ "deep"
31
+ ],
32
+ "sideEffects": false,
33
+ "exports": {
34
+ "types": "./dist/types/index.d.ts",
35
+ "import": "./dist/esm/index.mjs",
36
+ "require": "./dist/cjs/index.cjs"
37
+ },
38
+ "main": "dist/cjs/index.cjs",
39
+ "module": "dist/esm/index.mjs",
40
+ "types": "dist/types/index.d.ts",
41
+ "files": [
42
+ "dist"
43
+ ],
44
+ "scripts": {
45
+ "prepublishOnly": "yarn unit-test run && yarn build",
46
+ "build": "shx rm -rf dist && vite build",
47
+ "lint": "eslint . --fix",
48
+ "type": "tsc --noEmit",
49
+ "format": "prettier --write .",
50
+ "pretty": "yarn type && yarn lint && yarn format",
51
+ "prepare": "husky",
52
+ "unit-test": "vitest"
53
+ },
54
+ "peerDependencies": {
55
+ "lodash": "^4"
56
+ },
57
+ "dependencies": {
58
+ "lodash": "^4"
59
+ },
60
+ "devDependencies": {
61
+ "@siberiacancode/eslint": "^2.11.0",
62
+ "@siberiacancode/prettier": "^1.3.0",
63
+ "@siberiacancode/vitest": "^2.1.0",
64
+ "@types/lodash": "^4.17.20",
65
+ "@types/node": "^24.0.13",
66
+ "husky": "^9.1.7",
67
+ "lint-staged": "^16.1.2",
68
+ "shx": "^0.4.0",
69
+ "typescript": "^5.8.3",
70
+ "vite": "^7.0.4",
71
+ "vite-plugin-dts": "^4.5.4"
72
+ },
73
+ "lint-staged": {
74
+ "*.{js,ts}": [
75
+ "eslint --fix",
76
+ "prettier --write"
77
+ ]
78
+ }
79
+ }