@webdeveric/utils 0.25.0 → 0.25.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-factory.js","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":";;;AAEO,MAAM,UAAU,GACrB,
|
|
1
|
+
{"version":3,"file":"sort-factory.js","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":";;;AAEO,MAAM,UAAU,GACrB,CAAgD,SAA0B,EAAE,QAAW,EAAgB,EAAE,CACzG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACd,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AAHlC,QAAA,UAAU,cAGwB;AAExC,MAAM,WAAW,GACtB,CAAI,SAAuB,EAAgB,EAAE,CAC7C,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACd,CAAC,GAAG,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAHlB,QAAA,WAAW,eAGO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-factory.js","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GACrB,
|
|
1
|
+
{"version":3,"file":"sort-factory.js","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GACrB,CAAgD,SAA0B,EAAE,QAAW,EAAgB,EAAE,CACzG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACd,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,WAAW,GACtB,CAAI,SAAuB,EAAgB,EAAE,CAC7C,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACd,CAAC,GAAG,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CompareFn } from './types.js';
|
|
2
|
-
export declare const byProperty: <T extends object>(compareFn: CompareFn<T[
|
|
2
|
+
export declare const byProperty: <T extends object, K extends keyof T = keyof T>(compareFn: CompareFn<T[K]>, property: K) => CompareFn<T>;
|
|
3
3
|
export declare const byReverseOf: <T>(compareFn: CompareFn<T>) => CompareFn<T>;
|
|
4
4
|
//# sourceMappingURL=sort-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-factory.d.ts","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"sort-factory.d.ts","sourceRoot":"","sources":["../../src/sort-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,UAAU,0GAGuB,CAAC;AAE/C,eAAO,MAAM,WAAW,8CAGM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webdeveric/utils",
|
|
3
3
|
"description": "Just another collection of utilities.",
|
|
4
|
-
"version": "0.25.
|
|
4
|
+
"version": "0.25.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
103
103
|
"@types/lodash.escaperegexp": "^4.1.7",
|
|
104
104
|
"@types/node": "^18.11.12",
|
|
105
|
-
"@vitest/coverage-c8": "^0.
|
|
105
|
+
"@vitest/coverage-c8": "^0.27.0",
|
|
106
106
|
"@webdeveric/eslint-config-ts": "^0.6.0",
|
|
107
107
|
"@webdeveric/prettier-config": "^0.2.0",
|
|
108
108
|
"cspell": "^6.17.0",
|
|
@@ -112,10 +112,11 @@
|
|
|
112
112
|
"eslint-plugin-import": "^2.26.0",
|
|
113
113
|
"eslint-plugin-jest": "^27.1.6",
|
|
114
114
|
"husky": "^8.0.2",
|
|
115
|
+
"jsdom": "^21.0.0",
|
|
115
116
|
"lint-staged": "^13.1.0",
|
|
116
117
|
"prettier": "^2.8.1",
|
|
117
118
|
"rimraf": "^3.0.2",
|
|
118
119
|
"typescript": "^4.9.4",
|
|
119
|
-
"vitest": "^0.
|
|
120
|
+
"vitest": "^0.27.0"
|
|
120
121
|
}
|
|
121
122
|
}
|