New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cimpress/simple-auth-wrapper

Package Overview
Dependencies
Maintainers
9
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cimpress/simple-auth-wrapper - npm Package Compare versions

Comparing version 6.3.0 to 6.3.1

8

lib/centralizedauth.js

@@ -191,5 +191,4 @@ 'use strict';

switch (e.key) {
// TODO: namespace the key (e.g. "expires_at" -> "saw:expires_at") we are using since there is no way to tell
// if this event is coming from localStorage or sessionStorage - if applications are using "expires_at" in
// sessionStorage, this will result in undefined behavior
// TODO: add storage namespace option (e.g. "expires_at" -> "saw:expires_at") apps will likely break this wrapper's
// behavior if they use any of the localStorage keys this wrapper relies on
case 'expires_at':

@@ -203,4 +202,3 @@ // check to see if it's being removed or not

} catch (e) {
// for JSON.parse: shouldn't happen unless people are modifying localStorage manually or using
// the "expires_at" key in sessionStorage
// for JSON.parse: shouldn't happen unless people are modifying storage manually
}

@@ -207,0 +205,0 @@ }

{
"name": "@cimpress/simple-auth-wrapper",
"version": "6.3.0",
"version": "6.3.1",
"description": "A simple utility class to wrap basic Auth0 functionality",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -117,5 +117,4 @@ import Auth0 from 'auth0-js';

switch(e.key) {
// TODO: namespace the key (e.g. "expires_at" -> "saw:expires_at") we are using since there is no way to tell
// if this event is coming from localStorage or sessionStorage - if applications are using "expires_at" in
// sessionStorage, this will result in undefined behavior
// TODO: add storage namespace option (e.g. "expires_at" -> "saw:expires_at") apps will likely break this wrapper's
// behavior if they use any of the localStorage keys this wrapper relies on
case 'expires_at':

@@ -129,4 +128,3 @@ // check to see if it's being removed or not

} catch (e) {
// for JSON.parse: shouldn't happen unless people are modifying localStorage manually or using
// the "expires_at" key in sessionStorage
// for JSON.parse: shouldn't happen unless people are modifying storage manually
}

@@ -133,0 +131,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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