@@ -1,2 +0,2 @@ | ||
| export declare const arkUtilVersion = "0.55.0"; | ||
| export declare const arkUtilVersion = "0.56.0"; | ||
| export declare const initialRegistryContents: { | ||
@@ -3,0 +3,0 @@ version: string; |
+1
-1
@@ -9,3 +9,3 @@ import { domainOf } from "./domain.js"; | ||
| // For now, we assert this matches the package.json version via a unit test. | ||
| export const arkUtilVersion = "0.55.0"; | ||
| export const arkUtilVersion = "0.56.0"; | ||
| export const initialRegistryContents = { | ||
@@ -12,0 +12,0 @@ version: arkUtilVersion, |
+2
-2
@@ -15,3 +15,3 @@ import { domainOf } from "./domain.js"; | ||
| const o = data; | ||
| const ctorName = o.constructor.name; | ||
| const ctorName = o.constructor?.name ?? "Object"; | ||
| return (ctorName === "Object" || ctorName === "Array" ? | ||
@@ -42,3 +42,3 @@ opts?.quoteKeys === false ? | ||
| } | ||
| const ctorName = value.constructor.name; | ||
| const ctorName = value.constructor?.name ?? "Object"; | ||
| if (ctorName === "Object") { | ||
@@ -45,0 +45,0 @@ const keyValues = stringAndSymbolicEntriesOf(value).map(([key, val]) => { |
+1
-1
| { | ||
| "name": "@ark/util", | ||
| "version": "0.55.0", | ||
| "version": "0.56.0", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
115838
0.02%