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

abstract-nosql

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-nosql - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

11

abstract-error.js

@@ -1,7 +0,8 @@

var Errors = require('abstract-object/Error')
var createError = Errors.createError
var Errors = require('abstract-object/Error')
var AbstractError = Errors.AbstractError
var createError = Errors.createError
var OpenError = createError("CanNotOpen", 51)
var CloseError = createError("CanNotClose", 52)
var AlreadyEndError = createError("AlreadyEnd", 53)
var OpenError = createError("CanNotOpen", AbstractError.NotOpened)
var CloseError = createError("CanNotClose", 0x52)
var AlreadyEndError = createError("AlreadyEnd", 0x53)

@@ -8,0 +9,0 @@ Errors.OpenError = OpenError

{
"name": "abstract-nosql",
"description": "An abstract prototype for nosql database(LevelDOWN API)",
"version": "1.4.0",
"version": "1.4.1",
"contributors": [

@@ -36,3 +36,3 @@ "Riceball LEE <snowyu.lee@gmail.com> (https://github.com/snowyu)",

"dependencies": {
"abstract-object": "^1.2.0",
"abstract-object": "^1.2.1",
"xtend": "~3.0.0"

@@ -39,0 +39,0 @@ },

@@ -46,4 +46,4 @@ # Abstract NoSQL Database [![Build Status](https://secure.travis-ci.org/snowyu/node-abstract-nosql.png)](http://travis-ci.org/snowyu/node-abstract-nosql)

+ the AbstractNoSQL class supports events now.
* open/ready event after the database is opened.
* closed event after the database is closed.
* emit `'open'` and `'ready'` event after the database is opened.
* emit `'closed'` event after the database is closed.
+ isOpen()/opened to test the database whether opened.

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