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.
- package/dist/index.js +1 -1
- 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.
|
|
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": "
|
|
39
|
+
"gitHead": "5305c7f88eb9cc492fcb2165de0db5161d4eb752"
|
|
40
40
|
}
|