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

normalizr

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalizr - npm Package Versions

134

3.2.1

Diff

paularmstrong
published 3.2.0 •

Changelog

Source

v3.2.0

  • Added Support denormalizing from Immutable entities (gh-228)
  • Added Brought back get idAttribute() to schema.Entity (gh-226)
  • Fixed Gracefully handle missing data in denormalize (gh-232)
  • Fixed Prevent infinite recursion in denormalize (gh-220)
paularmstrong
published 3.1.0 •

Changelog

Source

v3.1.0

  • Added denormalize. (gh-214)
  • Changed No longer requires all input in a polymorphic schema (Array, Union, Values) have a matching schema definition. (gh-208)
  • Changed Builds do both rollup and plain babel file conversions. "main" property in package.json points to babel-converted files.
paularmstrong
published 3.0.2 •

paularmstrong
published 3.0.1 •

paularmstrong
published 3.0.0 •

Changelog

Source

v3.0.0

The entire normalizr package has been rewritten from v2.x for this version. Please refer to the documentation for all changes.

Added

  • schema.Entity
    • processStrategy for modifying Entity objects before they're moved to the entities stack.
    • mergeStrategy for merging with multiple entities with the same ID.
  • Added schema.Object, with a shorthand of {}
  • Added schema.Array, with a shorthand of [ schema ]

Changed

  • Schema has been moved to a schema namespace, available at schema.Entity
  • arrayOf has been replaced by schema.Array or []
  • unionOf has been replaced by schema.Union
  • valuesOf has been replaced by schema.Values

Removed

  • normalize no longer accepts an optional options argument. All options are assigned at the schema level.
  • Entity schema no longer accepts defaults as an option. Use a custom processStrategy option to apply defaults as needed.
  • assignEntity has been replaced by processStrategy
  • meta option. See processStrategy
paularmstrong
published 3.0.0-beta.2 •

paularmstrong
published 3.0.0-beta •

paularmstrong
published 2.3.1 •

paularmstrong
published 2.3.0 •

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