@visulima/object 1.0.11 → 1.0.12

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## @visulima/object [1.0.12](https://github.com/visulima/visulima/compare/@visulima/object@1.0.11...@visulima/object@1.0.12) (2025-09-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **object:** restore require exports in package.json for CommonJS compatibility ([beb9c7d](https://github.com/visulima/visulima/commit/beb9c7d4c7046ab536de948ff9157a2bc7f9c916))
6
+
1
7
  ## @visulima/object [1.0.11](https://github.com/visulima/visulima/compare/@visulima/object@1.0.10...@visulima/object@1.0.11) (2025-05-31)
2
8
 
3
9
  ### Bug Fixes
package/dist/index.d.cts CHANGED
@@ -4,4 +4,4 @@ export type { DeeksOptions as DeepKeysOptions } from "deeks";
4
4
  export { deepKeys, deepKeysFromList } from "deeks";
5
5
  export { deleteProperty, escapePath, getProperty, hasProperty, setProperty } from "dot-prop";
6
6
  export { default as isPlainObject } from "is-plain-obj";
7
- export type { OmitDeep, Paths, PickDeep, Split } from "type-fest";
7
+ export type { OmitDeep, Paths, PickDeep, Split } from ".//index.d.d.cts";
package/dist/index.d.mts CHANGED
@@ -4,4 +4,4 @@ export type { DeeksOptions as DeepKeysOptions } from "deeks";
4
4
  export { deepKeys, deepKeysFromList } from "deeks";
5
5
  export { deleteProperty, escapePath, getProperty, hasProperty, setProperty } from "dot-prop";
6
6
  export { default as isPlainObject } from "is-plain-obj";
7
- export type { OmitDeep, Paths, PickDeep, Split } from "type-fest";
7
+ export type { OmitDeep, Paths, PickDeep, Split } from ".//index.d.d.mts";
package/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ export type { DeeksOptions as DeepKeysOptions } from "deeks";
4
4
  export { deepKeys, deepKeysFromList } from "deeks";
5
5
  export { deleteProperty, escapePath, getProperty, hasProperty, setProperty } from "dot-prop";
6
6
  export { default as isPlainObject } from "is-plain-obj";
7
- export type { OmitDeep, Paths, PickDeep, Split } from "type-fest";
7
+ export type { OmitDeep, Paths, PickDeep, Split } from ".//index.d.d.ts";
package/dist/omit.d.cts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { OmitDeep, Paths } from "type-fest";
8
+ import type { OmitDeep, Paths } from ".//index.d.d.cts";
9
9
  /**
10
10
  * omit returns a new object without the props you omit
11
11
  *
package/dist/omit.d.mts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { OmitDeep, Paths } from "type-fest";
8
+ import type { OmitDeep, Paths } from ".//index.d.d.mts";
9
9
  /**
10
10
  * omit returns a new object without the props you omit
11
11
  *
package/dist/omit.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { OmitDeep, Paths } from "type-fest";
8
+ import type { OmitDeep, Paths } from ".//index.d.d.ts";
9
9
  /**
10
10
  * omit returns a new object without the props you omit
11
11
  *
package/dist/pick.d.cts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { Paths, PickDeep } from "type-fest";
8
+ import type { Paths, PickDeep } from ".//index.d.d.cts";
9
9
  /**
10
10
  * pick returns a new object with only the props you pick
11
11
  *
package/dist/pick.d.mts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { Paths, PickDeep } from "type-fest";
8
+ import type { Paths, PickDeep } from ".//index.d.d.mts";
9
9
  /**
10
10
  * pick returns a new object with only the props you pick
11
11
  *
package/dist/pick.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Copyright (c) 2018 Luca Ban - Mesqueeb
7
7
  */
8
- import type { Paths, PickDeep } from "type-fest";
8
+ import type { Paths, PickDeep } from ".//index.d.d.ts";
9
9
  /**
10
10
  * pick returns a new object with only the props you pick
11
11
  *
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.cts";
2
2
  declare const recursiveOmit: <T extends { [key in string]: unknown; }, OmittedKeys extends Paths<T>[]>(object: T, omittedKeys: OmittedKeys, pathUntilNow?: string) => T;
3
3
  export = recursiveOmit;
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.mts";
2
2
  declare const recursiveOmit: <T extends { [key in string]: unknown; }, OmittedKeys extends Paths<T>[]>(object: T, omittedKeys: OmittedKeys, pathUntilNow?: string) => T;
3
3
  export default recursiveOmit;
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.ts";
2
2
  declare const recursiveOmit: <T extends { [key in string]: unknown; }, OmittedKeys extends Paths<T>[]>(object: T, omittedKeys: OmittedKeys, pathUntilNow?: string) => T;
3
3
  export = recursiveOmit;
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.cts";
2
2
  declare const recursivePick: <T extends { [key in string]: unknown; }, PickedKeys extends Paths<T>[]>(object: T, pickedKeys: PickedKeys, pathUntilNow?: string) => T;
3
3
  export = recursivePick;
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.mts";
2
2
  declare const recursivePick: <T extends { [key in string]: unknown; }, PickedKeys extends Paths<T>[]>(object: T, pickedKeys: PickedKeys, pathUntilNow?: string) => T;
3
3
  export default recursivePick;
@@ -1,3 +1,3 @@
1
- import type { Paths } from "type-fest";
1
+ import type { Paths } from ".//index.d.d.ts";
2
2
  declare const recursivePick: <T extends { [key in string]: unknown; }, PickedKeys extends Paths<T>[]>(object: T, pickedKeys: PickedKeys, pathUntilNow?: string) => T;
3
3
  export = recursivePick;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/object",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Helper functions for working with objects and arrays.",
5
5
  "keywords": [
6
6
  "visulima",
@@ -49,13 +49,13 @@
49
49
  "type": "module",
50
50
  "exports": {
51
51
  ".": {
52
- "require": {
53
- "types": "./dist/index.d.cts",
54
- "default": "./dist/index.cjs"
55
- },
56
52
  "import": {
57
53
  "types": "./dist/index.d.mts",
58
54
  "default": "./dist/index.mjs"
55
+ },
56
+ "require": {
57
+ "types": "./dist/index.d.cts",
58
+ "default": "./dist/index.cjs"
59
59
  }
60
60
  },
61
61
  "./package.json": "./package.json"