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

serializr

Package Overview
Dependencies
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serializr - npm Package Compare versions

Comparing version 2.0.0-beta1 to 2.0.0-beta2

lib/api/createModelSchema.d.ts.map

2

lib/types/identifier.d.ts

@@ -37,3 +37,3 @@ import { AdditionalPropArgs, PropSchema, RegisterFunction } from "../api/types";

export declare function identifier(registerFn?: RegisterFunction, additionalArgs?: AdditionalPropArgs): PropSchema;
export declare function identifier(additionalArgs: AdditionalPropArgs): PropSchema;
export declare function identifier(additionalArgs?: AdditionalPropArgs): PropSchema;
export default function identifier(arg1?: RegisterFunction | AdditionalPropArgs, arg2?: AdditionalPropArgs): PropSchema;

@@ -16,2 +16,2 @@ import { PropSchema, AdditionalPropArgs } from "../api/types";

*/
export default function raw(additionalArgs: AdditionalPropArgs): PropSchema;
export default function raw(additionalArgs?: AdditionalPropArgs): PropSchema;
{
"name": "serializr",
"version": "2.0.0-beta1",
"version": "2.0.0-beta2",
"description": "Serialize and deserialize complex object graphs to JSON",

@@ -5,0 +5,0 @@ "main": "lib/serializr.js",

@@ -656,3 +656,3 @@ # Serializr

### _function_ `raw`(_additionalArgs_: [AdditionalPropArgs](#type-additionalpropargs--pickpropschema-beforedeserialize--afterdeserialize--pattern-src)): [PropSchema](#interface-propschemasrc) <sub><a href="src/types/raw.ts#L18">src</a></sub>
### _function_ `raw`(_additionalArgs_?: [AdditionalPropArgs](#type-additionalpropargs--pickpropschema-beforedeserialize--afterdeserialize--pattern-src)): [PropSchema](#interface-propschemasrc) <sub><a href="src/types/raw.ts#L18">src</a></sub>

@@ -659,0 +659,0 @@ Indicates that this field is only need to putted in the serialized json or deserialized instance, without any transformations. Stay with its original value

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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