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.4 to 3.0.5

2

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

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

@@ -25,2 +25,10 @@

t.equal(u.upper({$lt: 'a'}), 'a')
t.equal(u.lower({$lt: 'a'}), null)
t.equal(u.upper({$lte: 'a'}), 'a')
t.equal(u.lower({$lte: 'a'}), null)
t.equal(u.upper({$gt: 'a'}), undefined)
t.equal(u.lower({$gt: 'a'}), 'a',)
t.equal(u.upper({$gte: 'a'}), undefined)
t.equal(u.lower({$gte: 'a'}), 'a')
t.end()

@@ -31,2 +39,1 @@ })

@@ -58,4 +58,6 @@ 'use strict'

if(isString(v.$prefix)) return v.$prefix
if(has(v, '$gt')) return v.$gt
if(has(v, '$gt')) return v.$gt
if(has(v, '$gte')) return v.$gte
if(has(v, '$lt')) return exports.LO
if(has(v, '$lte')) return exports.LO
}

@@ -70,4 +72,6 @@ if(isArray(v)) return v.map(lower)

if(isString(v.$prefix)) return v.$prefix+'\uffff'
if(has(v, '$lt')) return v.$lt
if(has(v, '$lt')) return v.$lt
if(has(v, '$lte')) return v.$lte
if(has(v, '$gt')) return exports.HI
if(has(v, '$gte')) return exports.HI
}

@@ -176,1 +180,2 @@ if(isArray(v)) return v.map(upper)

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