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

marsdb

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marsdb - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

index.js

@@ -0,1 +1,2 @@

var EventEmitter = require('eventemitter3');
var Collection = require('./dist/Collection').default;

@@ -18,2 +19,3 @@ var CursorObservable = require('./dist/CursorObservable').default;

StorageManager: StorageManager,
EventEmitter: EventEmitter
};

3

lib/IndexManager.js

@@ -186,3 +186,4 @@ import _keys from 'fast.js/object/keys';

const errors = [];
return new DocumentRetriver(this.db).retriveAll().then((docs) => {
return new DocumentRetriver(this.db)
.retriveAll().then((docs) => {
_each(docs, doc => {

@@ -189,0 +190,0 @@ try {

@@ -69,2 +69,3 @@ import _each from 'fast.js/forEach';

_loadStorage() {
this._storage = {};
return Promise.resolve();

@@ -71,0 +72,0 @@ }

{
"name": "marsdb",
"version": "0.4.2",
"version": "0.4.3",
"author": {

@@ -28,3 +28,3 @@ "name": "Artem Artemev",

"check-types": "^5.1.0",
"core-js": "^2.0.0",
"core-js": "^2.0.1",
"eventemitter3": "1.1.1",

@@ -31,0 +31,0 @@ "fast.js": "^0.1.1",

@@ -9,3 +9,4 @@ <div style="text-align:center"><img src="https://static.studytime.me/marsdb.png" /></div>

[![Coverage Status](https://coveralls.io/repos/c58/marsdb/badge.svg?branch=master&service=github)](https://coveralls.io/github/c58/marsdb?branch=master)
[![Dependency Status](https://david-dm.org/c58/marsdb.svg)](https://david-dm.org/c58/marsdb)
[![Dependency Status](https://david-dm.org/c58/marsdb.svg)](https://david-dm.org/c58/marsdb)
[![Join the chat at https://gitter.im/c58/marsdb](https://badges.gitter.im/c58/marsdb.svg)](https://gitter.im/c58/marsdb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -29,2 +30,18 @@ MarsDB is a lightweight client-side database.

## Bindings
* [React](https://github.com/c58/marsdb-react)
* [AngularJS 1.x](https://github.com/c58/marsdb-angular)
## Storage implementations
* In-memory (built-in default)
* [LocalForage](https://github.com/c58/marsdb-localforage)
* [LocalStorage](https://github.com/c58/marsdb-localstorage)
## Server-side synchronizers
* [Meteor](https://github.com/c58/marsdb-meteor)
* REST (pull-request if you need it ;))
## Examples

@@ -179,3 +196,2 @@

* Indexes support for some kind of simple requests {a: '^b'}, {a: {$lt: 9}}
* Some set of backends
* Documentation

@@ -188,2 +204,2 @@

## License
See [License](LICENSE)
See [License](LICENSE)
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