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

@seald-io/nedb

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seald-io/nedb - npm Package Compare versions

Comparing version 2.1.0-0 to 2.1.0-1

9

CHANGELOG.md

@@ -9,5 +9,10 @@ # Changelog

## [2.1.0-0] - 2021-10-05
Thank [@eliot-akira](https://github.com/eliot-akira) for the amazing on this.
## [2.1.0-1] - 2021-10-07
### Changed
- fixed package.json browser field for byline.js
- last minute improvements on [PR](https://github.com/seald/nedb/pull/5)
## [2.1.0-0] - 2021-10-051
Thank [@eliot-akira](https://github.com/eliot-akira) for the amazing work on this.
### Changed
- [implement file streaming of the database](https://github.com/seald/nedb/pull/5) like [a PR on the original repo](https://github.com/louischatriot/nedb/pull/463) did;

@@ -14,0 +19,0 @@ - internalize [`byline`](https://github.com/jahewson/node-byline) package because it is unmaintained.

@@ -159,3 +159,2 @@ /**

const dataById = {}
const tdata = []
const indexes = {}

@@ -185,3 +184,3 @@

tdata.push(...Object.values(dataById))
const tdata = Object.values(dataById)

@@ -197,3 +196,2 @@ return { data: tdata, indexes: indexes }

const dataById = {}
const tdata = []
const indexes = {}

@@ -230,7 +228,5 @@

Object.keys(dataById).forEach(function (k) {
tdata.push(dataById[k])
})
const data = Object.values(dataById)
cb(null, { data: tdata, indexes: indexes })
cb(null, { data, indexes: indexes })
})

@@ -237,0 +233,0 @@

{
"name": "@seald-io/nedb",
"version": "2.1.0-0",
"version": "2.1.0-1",
"files": [

@@ -81,3 +81,4 @@ "lib/**/*.js",

"./lib/customUtils.js": "./browser-version/lib/customUtils.js",
"./lib/storage.js": "./browser-version/lib/storage.js"
"./lib/storage.js": "./browser-version/lib/storage.js",
"./lib/byline.js": "./browser-version/lib/byline.js"
},

@@ -84,0 +85,0 @@ "license": "MIT",

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

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