micro-storage
Advanced tools
Comparing version 0.0.2 to 0.0.3
/*! | ||
* @ProjectName micro-storage | ||
* @Version 0.0.2 | ||
* @Version 0.0.3 | ||
* @Author lixinliang(https://github.com/lixinliang) | ||
* @Update 2016-09-21 11:49:09 pm | ||
* @Update 2016-09-22 1:24:36 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 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}}}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 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.3",e.exports=o}])}); |
{ | ||
"name": "micro-storage", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "(<1kb) A lite localStorage plugin with namespace", | ||
@@ -5,0 +5,0 @@ "main": "dist/micro-storage.min.js", |
@@ -0,1 +1,3 @@ | ||
microStorage.version = '@VERSION'; | ||
/** | ||
@@ -2,0 +4,0 @@ * A lite localStorage plugin with namespace |
@@ -6,2 +6,3 @@ 'use strict'; | ||
let webpack = require('webpack'); | ||
let PackageInfo = require('./package-info.js'); | ||
let packageJson = require('../package.json'); | ||
@@ -70,2 +71,5 @@ let extractTextPlugin = require('extract-text-webpack-plugin'); | ||
}), | ||
new PackageInfo({ | ||
'@VERSION' : packageJson.version, | ||
}), | ||
], | ||
@@ -72,0 +76,0 @@ vue : { |
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
16676
14
342
5