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

@rest-hooks/normalizr

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rest-hooks/normalizr - npm Package Compare versions

Comparing version 6.0.0-beta.8 to 6.0.0-beta.9

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

## [6.0.0-beta.9](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/normalizr@6.0.0-beta.8...@rest-hooks/normalizr@6.0.0-beta.9) (2020-05-19)
### 🐛 Bug Fix
* Types need to be exported ([0bf5aac](https://github.com/coinbase/rest-hooks/commit/0bf5aac7d41ec8f4795d77f03eba2d426765aff7))
## [6.0.0-beta.8](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/normalizr@6.0.0-beta.7...@rest-hooks/normalizr@6.0.0-beta.8) (2020-05-19)

@@ -8,0 +17,0 @@

14

dist/schema.d.ts

@@ -1,3 +0,13 @@

import { Schema, AbstractInstanceType } from './types';
import Entity from './entities/Entity';
import {
Schema,
AbstractInstanceType,
Normalize,
NormalizeNullable,
Denormalize,
DenormalizeNullable,
DenormalizeObject,
DenormalizeNullableObject,
NormalizeObject,
NormalizedNullableObject,
} from './types';

@@ -4,0 +14,0 @@ export type StrategyFunction<T> = (value: any, parent: any, key: string) => T;

9

dist/types.d.ts

@@ -13,12 +13,12 @@ import type { default as schema, EntityInterface } from './schema';

} : never;
declare type DenormalizeObject<S extends Record<string, any>> = {
export declare type DenormalizeObject<S extends Record<string, any>> = {
[K in keyof S]: S[K] extends Schema ? Denormalize<S[K]> : S[K];
};
declare type DenormalizeNullableObject<S extends Record<string, any>> = {
export declare type DenormalizeNullableObject<S extends Record<string, any>> = {
[K in keyof S]: S[K] extends Schema ? DenormalizeNullable<S[K]> : S[K];
};
declare type NormalizeObject<S extends Record<string, any>> = {
export declare type NormalizeObject<S extends Record<string, any>> = {
[K in keyof S]: S[K] extends Schema ? Normalize<S[K]> : S[K];
};
declare type NormalizedNullableObject<S extends Record<string, any>> = {
export declare type NormalizedNullableObject<S extends Record<string, any>> = {
[K in keyof S]: S[K] extends Schema ? NormalizeNullable<S[K]> : S[K];

@@ -67,3 +67,2 @@ };

};
export {};
//# sourceMappingURL=types.d.ts.map
{
"name": "@rest-hooks/normalizr",
"version": "6.0.0-beta.8",
"version": "6.0.0-beta.9",
"description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications",

@@ -62,3 +62,3 @@ "homepage": "https://github.com/coinbase/rest-hooks/tree/master/packages/normalizr#readme",

},
"gitHead": "5a155052d4208ac82c54084d7cd7cb3d967bce1c"
"gitHead": "78eb3293bbb8123fa8d6f0b910272e3894a452f7"
}

Sorry, the diff of this file is not supported yet

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