@brillout/json-serializer 0.5.12 → 0.5.13
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/cjs/stringify.js +1 -1
- package/dist/esm/stringify.js +1 -1
- package/package.json +1 -1
package/dist/cjs/stringify.js
CHANGED
|
@@ -65,7 +65,7 @@ function genErr({ value, valueType, path, rootValueName, problematicValueName, }
|
|
|
65
65
|
const subjectName = getSubjectName({ path, rootValueName, problematicValueName });
|
|
66
66
|
const messageCore = `cannot serialize ${subjectName} because it's a ${valueType}`;
|
|
67
67
|
const err = new Error(`[@brillout/json-serializer](https://github.com/brillout/json-serializer) ${messageCore}.`);
|
|
68
|
-
const pathString = getPathString(path,
|
|
68
|
+
const pathString = getPathString(path, true);
|
|
69
69
|
const errAddendum = {
|
|
70
70
|
[stamp]: true,
|
|
71
71
|
messageCore,
|
package/dist/esm/stringify.js
CHANGED
|
@@ -63,7 +63,7 @@ function genErr({ value, valueType, path, rootValueName, problematicValueName, }
|
|
|
63
63
|
const subjectName = getSubjectName({ path, rootValueName, problematicValueName });
|
|
64
64
|
const messageCore = `cannot serialize ${subjectName} because it's a ${valueType}`;
|
|
65
65
|
const err = new Error(`[@brillout/json-serializer](https://github.com/brillout/json-serializer) ${messageCore}.`);
|
|
66
|
-
const pathString = getPathString(path,
|
|
66
|
+
const pathString = getPathString(path, true);
|
|
67
67
|
const errAddendum = {
|
|
68
68
|
[stamp]: true,
|
|
69
69
|
messageCore,
|