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

nedb

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nedb - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

browser-version/browser-specific/lib/storage.js

@@ -6,3 +6,3 @@ /**

*
* This version is the Node.js/Node Webkit version
* This version is the browser version
*/

@@ -9,0 +9,0 @@

{
"name": "nedb",
"version": "1.1.3",
"version": "1.1.4",
"author": {

@@ -26,3 +26,3 @@ "name": "Louis Chatriot",

"binary-search-tree": "0.2.4",
"mkdirp": "~0.3.5"
"mkdirp": "~0.5.1"
},

@@ -29,0 +29,0 @@ "devDependencies": {

@@ -5,2 +5,4 @@ # NeDB (Node embedded database)

**IMPORTANT NOTE: Please don't submit issues for questions regarding your code. Only actual bugs or feature requests will be answered, all others will be closed without comment.**
**Embedded persistent database for Node.js, written in Javascript, with no dependency** (except npm

@@ -538,3 +540,3 @@ modules), which

### Indexing
NeDB supports indexing. It gives a very nice speed boost and can be used to enforce a unique constraint on a field. You can index any field, including fields in nested documents using the dot notation. For now, indexes are only used to speed up basic queries and queries using `$in`, `$lt`, `$lte`, `$gt` and `$gte`.
NeDB supports indexing. It gives a very nice speed boost and can be used to enforce a unique constraint on a field. You can index any field, including fields in nested documents using the dot notation. For now, indexes are only used to speed up basic queries and queries using `$in`, `$lt`, `$lte`, `$gt` and `$gte`. The indexed values cannot be of type array of object.

@@ -541,0 +543,0 @@ To create an index, use `datastore.ensureIndex(options, cb)`, where callback is optional and get passed an error if any (usually a unique constraint that was violated). `ensureIndex` can be called when you want, even after some data was inserted, though it's best to call it at application startup. The options are:

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