@faasjs/deep_merge 0.0.2-beta.361 → 0.0.2-beta.362

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/README.md +30 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,3 +5,33 @@
5
5
  [![License: MIT](https://img.shields.io/npm/l/@faasjs/deep_merge.svg)](https://github.com/faasjs/faasjs/blob/main/packages/faasjs/deep_merge/LICENSE)
6
6
  [![NPM Stable Version](https://img.shields.io/npm/v/@faasjs/deep_merge/stable.svg)](https://www.npmjs.com/package/@faasjs/deep_merge)
7
7
  [![NPM Beta Version](https://img.shields.io/npm/v/@faasjs/deep_merge/beta.svg)](https://www.npmjs.com/package/@faasjs/deep_merge)
8
+
9
+ ## Modules
10
+
11
+ ### Functions
12
+
13
+ - [deepMerge](modules.md#deepmerge)
14
+
15
+ ## Functions
16
+
17
+ ### deepMerge
18
+
19
+ ▸ **deepMerge**(...`sources`): `any`
20
+
21
+ 合并对象
22
+
23
+ **`description`**
24
+ 注意事项:
25
+ * 合并时会复制对象,不会修改原对象
26
+ * 合并顺序是后面的覆盖前面的
27
+ * 若有数组形式的属性,数组里的内容将被去重合并
28
+
29
+ #### Parameters
30
+
31
+ | Name | Type | Description |
32
+ | :------ | :------ | :------ |
33
+ | `...sources` | `any`[] | 合并对象 |
34
+
35
+ #### Returns
36
+
37
+ `any`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/deep_merge",
3
- "version": "0.0.2-beta.361",
3
+ "version": "0.0.2-beta.362",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",