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

surrial

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surrial - npm Package Versions

2.0.2

Diff

Changelog

Source

2.0.2 (2020-03-28)

Bug Fixes

  • surrializable: support surrializable in array or objects (#10) (f1c9bda)
nicojs
published 2.0.1 •

Changelog

Source

2.0.1 (2020-02-14)

Features

  • template: add surrial tag for template literals (bf27e77)

  • feat(custom): allow custom serialization logic (#7) (bd78dc4), closes #7 #5

BREAKING CHANGES

  • If you have surrialize() methods on your objects (for some reason?) that function will now be used when serializing the object.
nicojs
published 2.0.0 •

Changelog

Source

2.0.1 (2020-02-14)

Features

  • template: add surrial tag for template literals (bf27e77)

  • feat(custom): allow custom serialization logic (#7) (bd78dc4), closes #7 #5

BREAKING CHANGES

  • If you have surrialize() methods on your objects (for some reason?) that function will now be used when serializing the object.
nicojs
published 1.0.0 •

Changelog

Source

1.0.0 (2019-02-12)

<a name="0.2.0"></a>

nicojs
published 0.2.0 •

Changelog

Source

0.2.0 (2019-01-23)

Bug Fixes

  • remove unused typescript options (f689593)

Features

  • Serialize: Only serialize known class instances (#3) (245008d)

BREAKING CHANGES

  • Serialize: Class instances will now only be serialized in its constructor form if it is a "knownClass".
serialize(new Foo('bar'));
// Should now be:
serialize(new Foo('bar'), [Foo]);

<a name="0.1.3"></a>

nicojs
published 0.1.3 •

Changelog

Source

0.1.3 (2018-02-23)

Bug Fixes

  • arrays: add support for arrays inside objects. (5b5ca10)

<a name="0.1.2"></a>

nicojs
published 0.1.2 •

Changelog

Source

0.1.2 (2018-02-19)

<a name="0.1.1"></a>

nicojs
published 0.1.1 •

Changelog

Source

0.1.1 (2018-02-16)

Bug Fixes

  • buffer: support binary data as buffer (7dc94bb)

<a name="0.1.0"></a>

nicojs
published 0.1.0 •

Changelog

Source

0.1.0 (2018-02-16)

Bug Fixes

  • node-4: support classes in node 4 (0991835)

Features

  • collections: support Sets and Maps (60c06ea)
  • html-tags: support html tags as-is (0da8fdb)
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