micro-storage
Advanced tools
Comparing version 0.0.5 to 0.0.6
/*! | ||
* @ProjectName micro-storage | ||
* @Version 0.0.4 | ||
* @Version 0.0.6 | ||
* @Author lixinliang(https://github.com/lixinliang) | ||
* @Update 2016-09-23 11:34:00 pm | ||
* @Update 2016-09-23 11:49:16 pm | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.microStorage=t():e.microStorage=t()}(this,function(){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t){"use strict";function o(e){return storage.remove=function(t){localStorage.removeItem(e+"."+t)},function(t,o){if(0!=arguments.length){if(1==arguments.length){var r=JSON.parse(localStorage.getItem(e+"."+t));return r?r.$:r}return localStorage.setItem(e+"."+t,JSON.stringify({$:o})),o}}}o.version="0.0.4",e.exports=o}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.microStorage=t():e.microStorage=t()}(this,function(){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t){"use strict";function o(e){return storage.remove=function(t){localStorage.removeItem(e+"."+t)},function(t,o){if(0!=arguments.length){if(1==arguments.length){var r=JSON.parse(localStorage.getItem(e+"."+t));return r?r.$:r}return localStorage.setItem(e+"."+t,JSON.stringify({$:o})),o}}}o.version="0.0.6",e.exports=o}])}); |
{ | ||
"name": "micro-storage", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "(<1kb) A lite localStorage plugin with namespace.", | ||
@@ -5,0 +5,0 @@ "main": "dist/micro-storage.min.js", |
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