Comparing version 2.0.0-beta1 to 2.0.0-beta2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
608213
68
3211
0