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

method-tool

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

method-tool - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

8

index.js

@@ -36,4 +36,2 @@ "use strict";

MyStorage.prototype.setStorage = function (value, key, type) {
if (Auth())
return;
if (type == "session") {

@@ -54,4 +52,2 @@ this.store = window.localStorage;

MyStorage.prototype.getStorage = function (key, type) {
if (Auth())
return null;
if (type == "session") {

@@ -75,4 +71,2 @@ this.store = window.localStorage;

MyStorage.prototype.remove = function (key, type) {
if (Auth())
return null;
if (type == "session") {

@@ -87,4 +81,2 @@ this.store = window.localStorage;

MyStorage.prototype.clear = function (type) {
if (Auth())
return null;
if (type == "session") {

@@ -91,0 +83,0 @@ this.store = window.localStorage;

2

package.json
{
"name": "method-tool",
"version": "1.1.3",
"version": "1.1.4",
"main": "index.js",
"license": "MIT"
}
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