Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-ls

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-ls - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

2

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc