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

mongodb-extjson

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-extjson - npm Package Versions

1

2.1.0

Diff

mbroadst
published 2.0.0 •

Changelog

Source

2.1.1 (2018-04-01)

Features

  • browser: Added browser parameter in package.json pointing to transpiled dist (97b0feb)
  • double: supported relaxed mode for double parsing (0ee5016)
  • int32: support relaxed parsing of int32 types (c8513cb)
  • long: support relaxed parsing of long types (ac52ae5)
  • parsing: support relaxed parsing of extended json (92e06d3)

<a name="2.0.0"></a>

Features

  • make compliant with extended JSON 2.0.0 spec and add corpus tests (7818d61)
  • binary: removing browser buffer support (dc556c8)

BREAKING CHANGES

  • Methods now exist on a global instance of ExtJSON. Whereas previously the library was consumed as such:

    const extJSON = require('mongodb-extjson');
    const EJSON = new extJSON();
    EJSON.parse(...);
    

    it is now consumed thusly:

    const EJSON = require('mongodb-extjson');
    EJSON.parse(...);
    
  • binary: Removes out-of-box support for Binary serialization on web platforms. Users will have to polyfill node Buffer type

  • Library is now compliant with Extended JSON v2.0.0, and as such may not be compatible with v1.0.0 Extended JSON objects.

<a name="1.0.5"></a>

christkv
published 1.0.5 •

Changelog

Source

1.0.5 (2017-05-24)

Bug Fixes

  • parse: properly support null values in parsed strings (b3f88f9), closes #2
  • serialize: properly serialize BSON types when used as values (66fe3d9), closes #1

<a name="1.0.4"></a>

christkv
published 1.0.4 •

Changelog

Source

1.0.4 (2017-03-15)

<a name="1.0.3"></a>

christkv
published 1.0.3 •

Changelog

Source

1.0.3 (2017-03-02)

<a name="1.0.2"></a>

christkv
published 1.0.2 •

Changelog

Source

1.0.2 (2017-03-01)

<a name="1.0.1"></a>

christkv
published 1.0.1 •

Changelog

Source

1.0.1 (2017-03-01)

<a name="1.0.0"></a>

christkv
published 1.0.0 •

Changelog

Source

1.0.0 (2017-03-01)

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