🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@schroffl/json-mapping

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schroffl/json-mapping - npm Package Compare versions

Comparing version

to
1.2.0

test.js

1

index.d.ts

@@ -11,2 +11,3 @@ export type Decoder<T> = {

export const bool: Decoder<boolean>
export const unknown: Decoder<unknown>

@@ -13,0 +14,0 @@ export type ObjectLayout<O> = {

@@ -37,2 +37,4 @@ // The export pattern is a UMD template:

var UNKNOWN = 15;
var FIELD_ERROR_META = 999;

@@ -241,2 +243,6 @@

}
case UNKNOWN: {
return ok(value);
}
}

@@ -330,2 +336,4 @@ }

Decode.unknown = { tag: UNKNOWN };
return {

@@ -332,0 +340,0 @@ Decode: Decode,

2

package.json
{
"name": "@schroffl/json-mapping",
"version": "1.1.1",
"version": "1.2.0",
"description": "A set of utilites for defining and running conversions between JSON and JavaScript values",

@@ -5,0 +5,0 @@ "main": "index.js",