@mll-lab/js-utils 2.26.0 → 2.27.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.
@@ -5,3 +5,9 @@
5
5
  * pick({}, 'dummy') -> error
6
6
  */
7
7
  export declare function pick<T extends object, K extends keyof T>(object: T, ...props: Array<K>): Pick<T, K>;
8
+ /**
9
+ * A singleton empty object.
10
+ *
11
+ * Can be used as a default or fallback while maintaining referential equality.
12
+ */
13
+ export declare const EMPTY_OBJECT: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mll-lab/js-utils",
3
- "version": "2.26.0",
3
+ "version": "2.27.1",
4
4
  "main": "dist/index.common.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "@babel/runtime": ">=7.13.6"
39
39
  },
40
40
  "dependencies": {
41
- "date-fns": "2.0.0-alpha.26",
41
+ "date-fns": "3.0.1",
42
42
  "lodash": "4.17.15"
43
43
  },
44
44
  "devDependencies": {
File without changes