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

map-filter-reduce

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map-filter-reduce - npm Package Compare versions

Comparing version 3.0.8 to 3.1.0

2

package.json
{
"name": "map-filter-reduce",
"description": "",
"version": "3.0.8",
"version": "3.1.0",
"homepage": "https://github.com/dominictarr/map-filter-reduce",

@@ -6,0 +6,0 @@ "repository": {

@@ -41,2 +41,7 @@ 'use strict'

}
exports.in = function (a, b) {
return ~b.indexOf(a)
}
exports.type = function (a) {

@@ -43,0 +48,0 @@ return typeof a

@@ -19,2 +19,3 @@ var tape = require('tape')

{source: 'b', dest: 'a', rel: ['contact', false, null]},
{source: 'x', dest: 'a', rel: ['age', false, null]},
true,

@@ -34,3 +35,5 @@ false

{$is: 'boolean'},
{$is: 'string'}
{$is: 'string'},
{source: {$in: ['x', 'a']}},
{rel: [{$in: ['name', 'age']}]}
]

@@ -54,3 +57,12 @@

[true, false],
['string', 'strength']
['string', 'strength'],
[
{source: 'a', dest: 'b', rel: ['name', '@bob']},
{source: 'x', dest: 'a', rel: ['age', false, null]},
],
[
{source: 'a', dest: 'b', rel: ['name', '@bob']},
{source: 'b', dest: 'a', rel: ['name', '@alice']},
{source: 'x', dest: 'a', rel: ['age', false, null]},
]
]

@@ -57,0 +69,0 @@

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