@brillout/json-serializer
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -51,5 +51,5 @@ "use strict"; | ||
const fallback = name === '' && location === '' ? ` ${valueName}` : ''; | ||
return `Cannot serialize${name}${location}${fallback} because it is a ${valueType} (https://github.com/brillout/json-s)`; | ||
return `Cannot serialize${name}${location}${fallback} because it is a ${valueType} (https://github.com/brillout/json-serializer)`; | ||
} | ||
} | ||
exports.stringify = stringify; |
@@ -49,4 +49,4 @@ export { stringify }; | ||
const fallback = name === '' && location === '' ? ` ${valueName}` : ''; | ||
return `Cannot serialize${name}${location}${fallback} because it is a ${valueType} (https://github.com/brillout/json-s)`; | ||
return `Cannot serialize${name}${location}${fallback} because it is a ${valueType} (https://github.com/brillout/json-serializer)`; | ||
} | ||
} |
{ | ||
"name": "@brillout/json-serializer", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Same as JSON but with added support for `Date`, `undefined`, `Map`, `Set`, and more.", | ||
"main": "./index.js", | ||
"main": "./index.mjs", | ||
"exports": { | ||
".": "./index.js", | ||
".": "./index.mjs", | ||
"./parse": { | ||
"require": "./dist/cjs/parse.js", | ||
"import": "./dist/esm/parse.js" | ||
"worker": "./dist/cjs/parse.js", | ||
"node": "./dist/cjs/parse.js", | ||
"browser": "./dist/esm/parse.js" | ||
}, | ||
"./stringify": { | ||
"require": "./dist/cjs/stringify.js", | ||
"import": "./dist/esm/stringify.js" | ||
"worker": "./dist/cjs/stringify.js", | ||
"node": "./dist/cjs/stringify.js", | ||
"browser": "./dist/esm/stringify.js" | ||
} | ||
@@ -16,0 +18,0 @@ }, |
25935
32
436