abstract-nosql
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167066
3537
Updatedabstract-object@^1.2.1