@idlebox/deepmerge 0.0.9 → 0.0.11

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idlebox/deepmerge",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "Deep merge utility for JSON files with custom merge strategies.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -15,8 +15,8 @@
15
15
  "chai": "^6.2.2",
16
16
  "mocha": "^11.7.5",
17
17
  "rimraf": "^6.1.2",
18
- "@build-script/baseline-rig": "latest",
19
- "@mpis/run": "^0.0.17"
18
+ "@mpis/run": "^0.0.19",
19
+ "@build-script/baseline-rig": "latest"
20
20
  },
21
21
  "sideEffects": false,
22
22
  "license": "MIT",
package/src/index.ts CHANGED
@@ -97,9 +97,9 @@ const defaults: StrategyRequired = {
97
97
 
98
98
  /**
99
99
  * 深复制并合并两个对象,原对象不会修改(当然,无法限制options传入的回调)。
100
- *
100
+ *
101
101
  * 并且其中的对象引用完全依赖传入的options。
102
- *
102
+ *
103
103
  * 对返回值进行写操作可能产生意外影响。
104
104
  */
105
105
  export function deepmerge<A, B = any>(a: A, b: B, options?: MergeStrategy): A & B {