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

match-json

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

match-json - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

10

lib/match.js

@@ -84,11 +84,11 @@ 'use strict';

let result;
switch (func) {
switch (func) {
case Number:
result = type(value)=== 'number';
break;
result = type(value) === 'number';
break;
case String:
result = type(value)=== 'string';
result = type(value) === 'string';
break;
case Boolean:
result = type(value)=== 'boolean';
result = type(value) === 'boolean';
break;

@@ -95,0 +95,0 @@ default:

{
"name": "match-json",
"version": "1.2.0",
"version": "1.2.1",
"description": "A JavaScript library to test JSON APIs",

@@ -5,0 +5,0 @@ "keywords": [

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