Socket
Socket
Sign inDemoInstall

serializr

Package Overview
Dependencies
0
Maintainers
5
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

3.0.2

Diff

narida
published 3.0.1 •

Changelog

Source

3.0.1

  • #175 serialize null list
narida
published 2.0.5 •

Changelog

Source

2.0.5

narida
published 2.0.4 •

Changelog

Source

2.0.4

  • Fix Callback for update function should be optional. (#138)
  • Fix #135 Context args is private. (#137))
pyrogenic
published 2.0.3 •

narida
published 2.0.2 •

narida
published 2.0.1 •

narida
published 2.0.0 •

Changelog

Source

2.0.0

  • #117 TypeScript conversion. Type definitions should now match behavior exactly. By @NaridaL
  • BREAKING CHANGE: @serializeAll("*": ModelSchema) is no longer valid. Instead you should pass @serializeAll("*": object(ModelSchema)).
  • BREAKING CHANGE: {"*": object(...)} and {"x": object(...)} now behave the same when deserializing {"x": "str_not_object"} (result: {x: null}). Previously the "*" schema would have returned {}.
  • BREAKING CHANGE: Removed deprecated ref and child functions. Use reference and object instead.
  • BREAKING CHANGE: Removed undocumented and untested code which possibly retried deserialization on error.
  • You can pass a pattern argument as AdditionalPropArgs instead of having to manually assign it to a PropSchema: @serializeAll("*": list(primitive(), { pattern: /^_.*/ })). Note this only make sense together with the "*" property.
narida
published 2.0.0-beta2 •

narida
published 2.0.0-beta1 •

234Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc