Socket
Socket
Sign inDemoInstall

web-local-storage

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

2

dist/web-local-storage.js

@@ -5,3 +5,3 @@ "use strict";

function _isBrowser() {
return typeof this.storage !== "undefined";
return typeof localStorage !== "undefined";
}

@@ -8,0 +8,0 @@ var WebLocalStorage = /** @class */ (function () {

{
"name": "web-local-storage",
"version": "0.1.6",
"version": "0.1.7",
"description": "Convenience class to work with localStorage. Implements the same interface as js-cookie.",

@@ -5,0 +5,0 @@ "main": "dist/web-local-storage.js",

function _isBrowser() {
return typeof this.storage !== "undefined";
return typeof localStorage !== "undefined";
}

@@ -4,0 +4,0 @@ export interface IWebStorage {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc