New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@data-client/normalizr

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@data-client/normalizr - npm Package Compare versions

Comparing version 0.14.6 to 0.14.10

4

package.json
{
"name": "@data-client/normalizr",
"version": "0.14.6",
"version": "0.14.10",
"description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications",

@@ -123,5 +123,5 @@ "homepage": "https://dataclient.io/docs/concepts/normalization",

"@anansi/browserslist-config": "^1.4.2",
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"immutable": "4.2.2"
}
}

@@ -93,14 +93,6 @@ # Normalizr Client

// Define a users schema
class User extends Entity {
pk() {
return this.id;
}
}
class User extends Entity {}
// Define your comments schema
class Comment extends Entity {
pk() {
return this.id;
}
static schema = {

@@ -114,6 +106,2 @@ commenter: User,

class Article extends Entity {
pk() {
return this.id;
}
static schema = {

@@ -120,0 +108,0 @@ author: User,

@@ -637,3 +637,3 @@ // eslint-env jest

).toEqual({
data: { article: '5' },
data: { article: 5 },
});

@@ -789,3 +789,3 @@ });

pagination: { next: '', previous: '' },
data: '5',
data: 5,
});

@@ -792,0 +792,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