@my-devkit/core 1.0.18 → 1.0.19
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/my-devkit-core-1.0.19.tgz +0 -0
- package/package.json +1 -1
- package/vendors/lodash.d.ts +13 -16
- package/vendors/lodash.js +3 -2
- package/vendors/lodash.js.map +1 -1
- package/my-devkit-core-1.0.18.tgz +0 -0
|
Binary file
|
package/package.json
CHANGED
package/vendors/lodash.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const _uniq: <T>(array:
|
|
3
|
-
export declare const _flatten: <T>(array:
|
|
4
|
-
export declare const _flattenDeep: <T>(array:
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const _sum: (collection: import("lodash").List<any>) => number;
|
|
1
|
+
import { Dictionary, Flat, List, ListOfRecursiveArraysOrValues, Many, ValueIteratee } from 'lodash';
|
|
2
|
+
export declare const _uniq: <T>(array: List<T> | null | undefined) => T[];
|
|
3
|
+
export declare const _flatten: <T>(array: List<Many<T>>) => T[];
|
|
4
|
+
export declare const _flattenDeep: <T>(array: ListOfRecursiveArraysOrValues<T>) => Flat<T>[];
|
|
5
|
+
export declare const _sumBy: <T>(collection: List<T>, iteratee?: string | ((value: T) => number)) => number;
|
|
6
|
+
export declare const _sum: (collection: List<any>) => number;
|
|
8
7
|
export declare const _words: {
|
|
9
8
|
(string?: string, pattern?: string | RegExp): string[];
|
|
10
9
|
(string: string, index: string | number, guard: object): string[];
|
|
@@ -13,14 +12,12 @@ export declare const _isEqual: (value: any, other: any) => boolean;
|
|
|
13
12
|
export declare const _deburr: (string?: string) => string;
|
|
14
13
|
export declare const _kebabCase: (string?: string) => string;
|
|
15
14
|
export declare const _shuffle: {
|
|
16
|
-
<T>(collection:
|
|
17
|
-
<
|
|
18
|
-
};
|
|
19
|
-
export declare const _groupBy: {
|
|
20
|
-
<T>(collection: import("lodash").List<T>, iteratee?: import("lodash").ValueIteratee<T>): import("lodash").Dictionary<T[]>;
|
|
21
|
-
<T_1 extends object>(collection: T_1, iteratee?: import("lodash").ValueIteratee<T_1[keyof T_1]>): import("lodash").Dictionary<T_1[keyof T_1][]>;
|
|
15
|
+
<T>(collection: List<T>): T[];
|
|
16
|
+
<T extends object>(collection: T): T[keyof T][];
|
|
22
17
|
};
|
|
18
|
+
export declare const _groupBy: <T>(collection: List<T>, iteratee?: ValueIteratee<T>) => Dictionary<T[]>;
|
|
23
19
|
export declare const _cloneDeep: <T>(value: T) => T;
|
|
24
|
-
export declare const _maxBy: <T>(collection:
|
|
25
|
-
export declare const _minBy: <T>(collection:
|
|
26
|
-
export declare const _first: <T>(array:
|
|
20
|
+
export declare const _maxBy: <T>(collection: List<T>, iteratee?: ValueIteratee<T>) => T;
|
|
21
|
+
export declare const _minBy: <T>(collection: List<T>, iteratee?: ValueIteratee<T>) => T;
|
|
22
|
+
export declare const _first: <T>(array: List<T>) => T;
|
|
23
|
+
export declare const _last: <T>(array: List<T>) => T;
|
package/vendors/lodash.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._first = exports._minBy = exports._maxBy = exports._cloneDeep = exports._groupBy = exports._shuffle = exports._kebabCase = exports._deburr = exports._isEqual = exports._words = exports._sum = exports._sumBy = exports.
|
|
3
|
+
exports._last = exports._first = exports._minBy = exports._maxBy = exports._cloneDeep = exports._groupBy = exports._shuffle = exports._kebabCase = exports._deburr = exports._isEqual = exports._words = exports._sum = exports._sumBy = exports._flattenDeep = exports._flatten = exports._uniq = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
5
|
var lodash_1 = require("lodash");
|
|
5
6
|
exports._uniq = lodash_1.uniq;
|
|
6
7
|
exports._flatten = lodash_1.flatten;
|
|
7
8
|
exports._flattenDeep = lodash_1.flattenDeep;
|
|
8
|
-
exports._last = lodash_1.last;
|
|
9
9
|
exports._sumBy = lodash_1.sumBy;
|
|
10
10
|
exports._sum = lodash_1.sum;
|
|
11
11
|
exports._words = lodash_1.words;
|
|
@@ -18,4 +18,5 @@ exports._cloneDeep = lodash_1.cloneDeep;
|
|
|
18
18
|
exports._maxBy = lodash_1.maxBy;
|
|
19
19
|
exports._minBy = lodash_1.minBy;
|
|
20
20
|
exports._first = lodash_1.first;
|
|
21
|
+
exports._last = lodash_1.last;
|
|
21
22
|
//# sourceMappingURL=lodash.js.map
|
package/vendors/lodash.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lodash.js","sourceRoot":"","sources":["../../src/vendors/lodash.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"lodash.js","sourceRoot":"","sources":["../../src/vendors/lodash.ts"],"names":[],"mappings":";;;AAAA,iDAAiD;AACjD,iCAuBgB;AAEH,QAAA,KAAK,GAAkD,aAAI,CAAC;AAC5D,QAAA,QAAQ,GAAqC,gBAAO,CAAC;AACrD,QAAA,YAAY,GAA8D,oBAAW,CAAC;AACtF,QAAA,MAAM,GAAmF,cAAK,CAAC;AAC/F,QAAA,IAAI,GAAsC,YAAG,CAAC;AAC9C,QAAA,MAAM,GAGf,cAAK,CAAC;AACG,QAAA,QAAQ,GAAwC,gBAAO,CAAC;AACxD,QAAA,OAAO,GAAgC,eAAM,CAAC;AAC9C,QAAA,UAAU,GAAgC,kBAAS,CAAC;AACpD,QAAA,QAAQ,GAGjB,gBAAO,CAAC;AACC,QAAA,QAAQ,GAA6E,gBAAO,CAAC;AAC7F,QAAA,UAAU,GAAuB,kBAAS,CAAC;AAC3C,QAAA,MAAM,GAA+D,cAAK,CAAC;AAC3E,QAAA,MAAM,GAA+D,cAAK,CAAC;AAC3E,QAAA,MAAM,GAA6B,cAAK,CAAC;AACzC,QAAA,KAAK,GAA6B,aAAI,CAAC"}
|
|
Binary file
|