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

nedb-promises

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nedb-promises - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## 6.0.2
### Fixed
- TypeScript declaration `update` result when `upsert` and `multi` is set to `true`.
## 6.0.1

@@ -9,0 +13,0 @@ ### Updated

@@ -460,2 +460,15 @@ import { EventEmitter } from 'events';

/**
* Update documents that match a query.
* Insert a new document corresponding to the `update` rules
* if no matching document was found.
*
* It's basically the same as the original:
* https://github.com/louischatriot/nedb#updating-documents
*/
update<TSchema>(
query: Query,
update: Update,
options: UpdateOptions & { returnUpdatedDocs: true; upsert: true; multi: true },
): Promise<(TDocument & TSchema)[] | (TDocument & TSchema)>;
/**
* Update a document that matches a query.

@@ -462,0 +475,0 @@ *

2

package.json
{
"name": "nedb-promises",
"version": "6.0.1",
"version": "6.0.2",
"description": "A dead-simple promise wrapper for nedb.",

@@ -5,0 +5,0 @@ "main": "index.js",

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