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

bson

Package Overview
Dependencies
Maintainers
8
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bson - npm Package Versions

1
17

4.4.1

Diff

Changelog

Source

4.4.1 (2021-07-06)

Bug Fixes

  • NODE-3247: DBRef special handling (#443) (f5d984d)
  • NODE-3282: BSONRegExp options not alphabetized (#441) (18c3512)
  • NODE-3376: use standard JS methods for copying Buffers (#444) (804050d)
  • NODE-3390: serialize non-finite doubles correctly in EJSON (#445) (7eb7998)
nbbeeken
published 4.4.0 •

Changelog

Source

4.4.0 (2021-05-18)

Features

  • NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
  • make circular input errors for EJSON expressive (#433) (7b351cc)

Bug Fixes

  • make Long inspect result evaluable (3a2eff1)
  • NODE-3153: correctly deserialize __proto__ properties (#431) (f34cabc)
  • accept Uint8Array where Buffer is accepted (#432) (4613763)
  • clean up instanceof usage (9b6d52a)
  • improve ArrayBuffer brand check in ensureBuffer (#429) (99722f6)
nbbeeken
published 4.3.0 •

Changelog

Source

4.3.0 (2021-04-06)

Features

nbbeeken
published 1.1.6 •

durran
published 4.2.3 •

Changelog

Source

4.2.3 (2021-03-02)

Bug Fixes

  • allow library to be loaded in web workeds (#423) (023f57e)

  • make inspection result of BSON types evaluable (#416) (616665f)

  • permit BSON types to be created without new (#424) (d2bc284)

nbbeeken
published 4.2.2 •

Changelog

Source

4.2.2 (2020-12-01)

Bug Fixes

  • remove tslib usage and fix Long method alias (#415) (2d9a8e6)
nbbeeken
published 4.2.1 •

Changelog

Source

4.2.1 (2020-12-01)

Bug Fixes

  • backwards compatibility with older BSON package versions (#411) (5167be2)
  • Downlevel type definitions (#410) (203402f)
  • make inspect method for ObjectId work (#412) (a585a0c)
  • remove stringify overloads (2df6b42)
nbbeeken
published 4.2.0 •

Changelog

Source

4.2.0 (2020-10-13)

Features

Bug Fixes

  • adds interfaces for EJSON objects (7f5f1a3)
  • Correct API Extractor config to omit definition file from dist (#407) (ace8647)
  • coverage (992e2e0)
  • deprecate cacheFunctionsCrc32 (ea83bf5)
  • Rework rollup config to output named and default exports (#404) (a48676b)
  • Throw on BigInt type values (#397) (2dd54e5)
  • type issues with SerializeOptions and Long methods accepting Timestamp (c18ba71)

<a name="4.1.0"></a>

mbroadst
published 1.1.5 •

mbroadst
published 4.1.0 •

Changelog

Source

4.1.0 (2020-08-10)

Bug Fixes

  • spelling in deserializer errors (4c6f2e4)
  • object-id: harden the duck-typing (4b800ae)
  • parse value of Int32 in constructor (5cda40f)
  • Reduce floating point precision required of extended json implementations (#369) (5e35d1a)

Features

  • add support for primitives to EJSON.stringify (329857d)

<a name="4.0.4"></a>

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