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

mongodb-extjson

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-extjson - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "mongodb-extjson",
"version": "1.0.1",
"version": "1.0.2",
"description": "MongoDB Extended JSON library",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -41,3 +41,3 @@ # MongoDB Extended JSON Library

console.log(ExtJSON.stringify(doc, null, 2));
console.log(extJSON.stringify(doc, null, 2));
```

@@ -64,7 +64,7 @@

// Serialize the document
var text = ExtJSON.stringify(doc, null, 2);
var text = extJSON.stringify(doc, null, 2);
// Deserialize using strict mode (returning BSON type objects)
console.dir(ExtJSON.parse(text, {strict: true}));
console.dir(extJSON.parse(text, {strict: true}));
// Deserialize using strict mode (converting to native JS types where possible)
console.dir(ExtJSON.parse(text, {strict: true}));
console.dir(extJSON.parse(text, {strict: true}));
```

@@ -87,3 +87,3 @@

console.log(ExtJSON.stringify(doc, null, 2));
console.log(extJSON.stringify(doc, null, 2));
```

@@ -109,7 +109,7 @@

// Serialize the document
var text = ExtJSON.stringify(doc, null, 2);
var text = extJSON.stringify(doc, null, 2);
// Deserialize using strict mode (returning BSON type objects)
console.dir(ExtJSON.parse(text, {strict: true}));
console.dir(extJSON.parse(text, {strict: true}));
// Deserialize using strict mode (converting to native JS types where possible)
console.dir(ExtJSON.parse(text, {strict: true}));
console.dir(extJSON.parse(text, {strict: true}));
```
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