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

sift

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sift - npm Package Versions

1
16

8.3.2

Diff

Changelog

Source

8.3.2

  • Query properties now excpect exact object shape (based on https://github.com/crcn/sift.js/issues/152). E.g: [{a: { b: 1}}, {a: { b: 1, c: 2}}]].filter(sift({ a: { b: 1} })) === [{a: {b: 1}], and [{a: 1, b: 1}, {a: 1}]].filter(sift({ a: 1 })) === [{a: 1, b: 1}, {a: 1}].
crcn
published 8.3.1 •

crcn
published 8.2.0 •

crcn
published 8.3.0 •

crcn
published 8.0.1 •

crcn
published 8.0.0 •

Changelog

Source

8.0.0

  • DEPRECATED indexOf in favor of array.findIndex(sift(query))
  • second param is now options instead of select function. E.g: sift(query, { expressions: customExpressions, select: selectValue })
  • DEPRECATED sift(query, array). You must now use array.filter(sift(query))
  • Queries now expect exact object shape (based on https://github.com/crcn/sift.js/issues/117). E.g: [{a: 1, b: 1}, {a: 1}]].filter(sift({ a: 1 })) === [{a: 1}]
crcn
published 7.0.1 •

crcn
published 7.0.0 •

Changelog

Source

7.0.0

  • Remove global *.use() function.
  • converted to ES6
crcn
published 6.0.0 •

Changelog

Source

16.0.0

  • Fix https://github.com/crcn/sift.js/issues/242
  • Fix https://github.com/crcn/sift.js/issues/243
crcn
published 5.1.0 •

Changelog

Source

15.1.0

  • Fix https://github.com/crcn/sift.js/issues/239
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