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

fergies-inverted-index

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fergies-inverted-index - npm Package Compare versions

Comparing version 10.1.0 to 10.2.0

3

package.json
{
"name": "fergies-inverted-index",
"version": "10.1.0",
"version": "10.2.0",
"description": "An inverted index that allows javascript objects to be easily serialised and retrieved using promises and map-reduce",

@@ -19,3 +19,2 @@ "browser": "src/browser.js",

"memory-level": "^1.0.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",

@@ -22,0 +21,0 @@ "process": "^0.11.10",

@@ -286,3 +286,2 @@ const tokenParser = require('./parseToken.js')

// TODO remove if DISTINCT is no longer used
const DISTINCT = (...tokens) =>

@@ -300,3 +299,2 @@ Promise.all(

// TODO remove if DISTINCT is no longer used
const DIST = token =>

@@ -303,0 +301,0 @@ parseToken(token)

@@ -39,3 +39,3 @@ const trav = require('traverse')

this.isLeaf &&
ops.stopwords.includes((this.node + '').split('#')[0])
ops.stopwords.includes((this.node + '').split('#')[0]) // TODO: is # still used?
) {

@@ -47,5 +47,7 @@ searchable = false

let key
try {
const parsedJSON = JSON.parse(this.node)
if (!Array.isArray(parsedJSON)) throw new Error()
this.update(parsedJSON, true)
key = JSON.stringify([fieldName, parsedJSON])

@@ -52,0 +54,0 @@ } catch (e) {

Sorry, the diff of this file is too big to display

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