react-native-storage
Advanced tools
Comparing version 1.0.0-beta.0 to 1.0.0-beta.1
@@ -517,2 +517,3 @@ 'use strict'; | ||
this.removeItem('map').then(() => { | ||
this.cache = {}; | ||
this._m = this._initMap(); | ||
@@ -519,0 +520,0 @@ }); |
@@ -513,2 +513,3 @@ function _defineProperty(obj, key, value) { | ||
this.removeItem('map').then(() => { | ||
this.cache = {}; | ||
this._m = this._initMap(); | ||
@@ -515,0 +516,0 @@ }); |
@@ -519,2 +519,3 @@ (function (global, factory) { | ||
this.removeItem('map').then(() => { | ||
this.cache = {}; | ||
this._m = this._initMap(); | ||
@@ -521,0 +522,0 @@ }); |
{ | ||
"name": "react-native-storage", | ||
"version": "1.0.0-beta.0", | ||
"version": "1.0.0-beta.1", | ||
"description": "A local storage wrapper for both react-native(AsyncStorage) and browser(localStorage).", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
# react-native-storage [![Build Status](https://travis-ci.org/sunnylqm/react-native-storage.svg)](https://travis-ci.org/sunnylqm/react-native-storage) [![npm version](https://badge.fury.io/js/react-native-storage.svg)](http://badge.fury.io/js/react-native-storage) | ||
# react-native-storage [![Build Status](https://travis-ci.org/sunnylqm/react-native-storage.svg)](https://travis-ci.org/sunnylqm/react-native-storage) ![npm version](https://img.shields.io/npm/v/react-native-storage.svg) ![npm beta version](https://img.shields.io/npm/v/react-native-storage/beta.svg) | ||
@@ -9,3 +9,5 @@ This is a local storage wrapper for both react native apps (using AsyncStorage) and web apps (using localStorage). [ES6](http://babeljs.io/docs/learn-es2015/) syntax, promise for async load, fully tested with jest. | ||
npm install react-native-storage | ||
``` | ||
npm install react-native-storage@beta | ||
``` | ||
@@ -12,0 +14,0 @@ ## Usage |
@@ -1,2 +0,2 @@ | ||
# react-native-storage [![Build Status](https://travis-ci.org/sunnylqm/react-native-storage.svg)](https://travis-ci.org/sunnylqm/react-native-storage) [![npm version](https://badge.fury.io/js/react-native-storage.svg)](http://badge.fury.io/js/react-native-storage) | ||
# react-native-storage [![Build Status](https://travis-ci.org/sunnylqm/react-native-storage.svg)](https://travis-ci.org/sunnylqm/react-native-storage) ![npm version](https://img.shields.io/npm/v/react-native-storage.svg) ![npm beta version](https://img.shields.io/npm/v/react-native-storage/beta.svg) | ||
@@ -9,3 +9,5 @@ [English version doc here](README.md) | ||
npm install react-native-storage | ||
``` | ||
npm install react-native-storage@beta | ||
``` | ||
@@ -12,0 +14,0 @@ ## 使用说明 |
@@ -325,2 +325,3 @@ /* | ||
this.removeItem('map').then(() => { | ||
this.cache = {}; | ||
this._m = this._initMap(); | ||
@@ -327,0 +328,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69462
1785
278
0