@faasjs/deep_merge 0.0.2-beta.325 → 0.0.2-beta.329

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/dist/index.js CHANGED
@@ -49,7 +49,7 @@ var shouldMerge = function(item) {
49
49
  return type === "[object Object]" || type === "[object Array]";
50
50
  };
51
51
  function deepMerge(...sources) {
52
- let acc = Object.create(null);
52
+ let acc = /* @__PURE__ */ Object.create(null);
53
53
  for (const source of sources)
54
54
  if (source instanceof Array) {
55
55
  if (!(acc instanceof Array))
package/dist/index.mjs CHANGED
@@ -24,7 +24,7 @@ var shouldMerge = function(item) {
24
24
  return type === "[object Object]" || type === "[object Array]";
25
25
  };
26
26
  function deepMerge(...sources) {
27
- let acc = Object.create(null);
27
+ let acc = /* @__PURE__ */ Object.create(null);
28
28
  for (const source of sources)
29
29
  if (source instanceof Array) {
30
30
  if (!(acc instanceof Array))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/deep_merge",
3
- "version": "0.0.2-beta.325",
3
+ "version": "0.0.2-beta.329",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,8 @@
16
16
  },
17
17
  "funding": "https://github.com/sponsors/faasjs",
18
18
  "scripts": {
19
- "build": "rm -rf ./dist && tsup-node src/index.ts --format esm,cjs --dts"
19
+ "build": "tsup-node src/index.ts --format esm,cjs",
20
+ "build:types": "tsup-node src/index.ts --dts-only"
20
21
  },
21
22
  "files": [
22
23
  "dist"
@@ -27,6 +28,5 @@
27
28
  },
28
29
  "engines": {
29
30
  "npm": ">=8.0.0"
30
- },
31
- "gitHead": "4a9f699171ad7e20d922e68b74418d1ec5b7d016"
31
+ }
32
32
  }