Comparing version 2.1.3 to 2.1.4
{ | ||
"name": "vue-ls", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Vue plugin for work with LocalStorage from Vue context", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-ls.js", |
@@ -18,2 +18,7 @@ import ls from './localStorage'; | ||
Object.defineProperty(Vue.prototype, '$ls', { | ||
/** | ||
* Define $ls property | ||
* | ||
* @return {Storage} | ||
*/ | ||
get () { | ||
@@ -20,0 +25,0 @@ return ls; |
@@ -68,2 +68,7 @@ let ls = {}; | ||
Object.defineProperty(memoryStorage, 'length', { | ||
/** | ||
* Define length property | ||
* | ||
* @return {number} | ||
*/ | ||
get () { | ||
@@ -70,0 +75,0 @@ return Object.keys(ls).length; |
@@ -44,2 +44,7 @@ const eventListeners = {}; | ||
Object.defineProperty(this, 'length', { | ||
/** | ||
* Define length property | ||
* | ||
* @return {number} | ||
*/ | ||
get () { | ||
@@ -46,0 +51,0 @@ return this.storage.length; |
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
209502
702