🚀 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
0.1.3

2

index.js

@@ -170,3 +170,3 @@ // The export pattern is a UMD template:

case INSTANCE:
if (typeof value !== 'object' || value === null || !(decoder.key in value)) {
if (typeof value !== 'object' || value === null) {
return err(expected('an object', value));

@@ -173,0 +173,0 @@ } else {

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

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