valdres 0.2.0-alpha.72 → 0.2.0-alpha.73

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/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -138,7 +138,7 @@ var isFunction = (value) => typeof value === "function";
138
138
 
139
139
  // src/utils/deepFreeze.ts
140
140
  var deepFreeze = (obj, seen = new WeakSet) => {
141
- if (seen.has(obj))
141
+ if (obj === null || obj === undefined || seen.has(obj))
142
142
  return obj;
143
143
  if (obj && typeof obj === "object")
144
144
  seen.add(obj);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valdres",
3
- "version": "0.2.0-alpha.72",
3
+ "version": "0.2.0-alpha.73",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Eigil Sagafos"
@@ -36,5 +36,5 @@
36
36
  "access": "public",
37
37
  "registry": "https://registry.npmjs.org/"
38
38
  },
39
- "gitHead": "297f3b83aa05f1c0a5f40a89d8f298fa96b2fc3f"
39
+ "gitHead": "5305c7f88eb9cc492fcb2165de0db5161d4eb752"
40
40
  }