Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "min", | ||
"family": "iwillwen", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Database on JavaScript", | ||
@@ -43,3 +43,14 @@ "main": "dist/min.js", | ||
"localforage": "^1.7.3" | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
![MinDB](http://iwillwen.u.qiniudn.com/min/mindb_logo.png?123)**JavaScript 数据库** | ||
![MinDB](https://raw.githubusercontent.com/iwillwen/mindb/master/assets/mindb.png)**JavaScript 数据库** | ||
@@ -3,0 +3,0 @@ 在 JavaScript 中对你的应用数据进行存储和操作。 |
@@ -1,2 +0,2 @@ | ||
![MinDB](http://iwillwen.u.qiniudn.com/min/mindb_logo.png?123)**Database on JavaScript** | ||
![MinDB](https://raw.githubusercontent.com/iwillwen/mindb/master/assets/mindb.png)**Database on JavaScript** | ||
@@ -3,0 +3,0 @@ Storing and structuring your application data on JavaScript. |
@@ -81,2 +81,3 @@ import { Base, TYPES } from './base' | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.hash) | ||
@@ -83,0 +84,0 @@ this.emit('hdel', key, field, removed) |
@@ -42,2 +42,3 @@ import { Base, TYPES } from './base' | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -86,2 +87,3 @@ this.emit('lpushx', key, values, data.length) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -108,2 +110,3 @@ this.emit('lpushx', key, values, data.length) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -130,2 +133,3 @@ this.emit('lpop', key, value) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -223,2 +227,3 @@ this.emit('rpop', key, value) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -258,2 +263,3 @@ this.emit('lrem', key, count, value, removeds) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -289,2 +295,3 @@ this.emit('lset', key, index, value, data.length) | ||
await this.set(key, values) | ||
await this._setType(key, TYPES.list) | ||
@@ -338,2 +345,3 @@ this.emit('ltrim', key, start, stop, values.length) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -366,2 +374,3 @@ this.emit('linsertBefore', key, pivot, value, data.length) | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.list) | ||
@@ -368,0 +377,0 @@ this.emit('linsertAfter', key, pivot, value, data.length) |
@@ -56,2 +56,3 @@ import { Base, TYPES } from './base' | ||
await this.set(key, data) | ||
await this._setType(key, TYPES.set) | ||
@@ -58,0 +59,0 @@ this.emit('srem', key, members, data.length) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1767301
25476