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

fergies-inverted-index

Package Overview
Dependencies
Maintainers
0
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 13.0.0-rc.5 to 13.0.0-rc.6

14

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

@@ -10,3 +10,3 @@ "browser": "src/entrypoints/browser.js",

"charwise": "3.0.1",
"traverse": "0.6.7"
"traverse": "0.6.9"
},

@@ -20,3 +20,3 @@ "directories": {

"devDependencies": {
"classic-level": "^1.3.0",
"classic-level": "^1.4.1",
"diacritic": "^0.0.2",

@@ -27,3 +27,3 @@ "level-out": "^1.0.1",

"path-browserify": "^1.0.1",
"prettier": "^2.8.8",
"prettier": "^3.3.3",
"process": "^0.11.10",

@@ -34,5 +34,5 @@ "standard": "17.1.0",

"stream-browserify": "^3.0.0",
"tape": "^5.6.3",
"tape-run": "^10.0.0",
"webpack": "^5.87.0",
"tape": "^5.8.1",
"tape-run": "^11.0.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",

@@ -39,0 +39,0 @@ "world-bank-dataset": "^1.0.0"

@@ -153,3 +153,3 @@ # Fergie's Inverted Index

.then(([facetResult, queryResult]) =>
AGGREGATION_FILTER(facetResult, queryResult)
AGGREGATION_FILTER(facetResult, queryResult, true)
)

@@ -156,0 +156,0 @@ .then(result)

@@ -255,2 +255,4 @@ import charwise from 'charwise'

// TODO: this should just take one token with a limits on total hits and total
// values (as in DICTIONARY). Maybe (token, reduceFunc, limit)
const DISTINCT = (...tokens) =>

@@ -257,0 +259,0 @@ Promise.all(

@@ -236,4 +236,6 @@ import trav from 'traverse'

const timestamp = () => new Date().toISOString()
const TIMESTAMP_LAST_UPDATED = passThrough =>
ops.db.put(['~LAST_UPDATED'], Date.now()).then(() => passThrough)
ops.db.put(['~LAST_UPDATED'], timestamp()).then(() => passThrough)

@@ -245,3 +247,3 @@ const TIMESTAMP = () =>

.catch(e =>
ops.db.put(['~CREATED'], Date.now()).then(TIMESTAMP_LAST_UPDATED)
ops.db.put(['~CREATED'], timestamp()).then(TIMESTAMP_LAST_UPDATED)
)

@@ -248,0 +250,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