Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brillout/json-serializer

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brillout/json-serializer - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

2

dist/cjs/stringify.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc