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

@analytics/localstorage-utils

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics/localstorage-utils - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

CHANGELOG.md

2

dist/analytics-util-localstorage.js

@@ -1,2 +0,2 @@

var e="undefined";exports.hasLocalStorage=function(){try{if(typeof localStorage===e||typeof JSON===e)return!1;localStorage.setItem("_"+e,"1"),localStorage.removeItem("_"+e)}catch(e){return!1}return!0};
var e,t="undefined";exports.hasLocalStorage=function(){if(typeof e!==t)return e;e=!0;try{typeof localStorage!==t&&typeof JSON!==t||(e=!1),localStorage.setItem("_"+t,"1"),localStorage.removeItem("_"+t)}catch(t){e=!1}return e};
//# sourceMappingURL=analytics-util-localstorage.js.map

@@ -1,2 +0,2 @@

const e="undefined";function t(){try{if(typeof localStorage===e||typeof JSON===e)return!1;localStorage.setItem("_"+e,"1"),localStorage.removeItem("_"+e)}catch(e){return!1}return!0}export{t as hasLocalStorage};
const e="undefined";let t;function o(){if(typeof t!==e)return t;t=!0;try{typeof localStorage!==e&&typeof JSON!==e||(t=!1),localStorage.setItem("_"+e,"1"),localStorage.removeItem("_"+e)}catch(e){t=!1}return t}export{o as hasLocalStorage};
//# sourceMappingURL=analytics-util-localstorage.modern.js.map

@@ -1,2 +0,2 @@

var e="undefined";function t(){try{if(typeof localStorage===e||typeof JSON===e)return!1;localStorage.setItem("_"+e,"1"),localStorage.removeItem("_"+e)}catch(e){return!1}return!0}export{t as hasLocalStorage};
var e,t="undefined";function o(){if(typeof e!==t)return e;e=!0;try{typeof localStorage!==t&&typeof JSON!==t||(e=!1),localStorage.setItem("_"+t,"1"),localStorage.removeItem("_"+t)}catch(t){e=!1}return e}export{o as hasLocalStorage};
//# sourceMappingURL=analytics-util-localstorage.module.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e||self).utilLocalStorage={})}(this,function(e){var t="undefined";e.hasLocalStorage=function(){try{if(typeof localStorage===t||typeof JSON===t)return!1;localStorage.setItem("_"+t,"1"),localStorage.removeItem("_"+t)}catch(e){return!1}return!0}});
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e||self).utilLocalStorage={})}(this,function(e){var o,t="undefined";e.hasLocalStorage=function(){if(typeof o!==t)return o;o=!0;try{typeof localStorage!==t&&typeof JSON!==t||(o=!1),localStorage.setItem("_"+t,"1"),localStorage.removeItem("_"+t)}catch(e){o=!1}return o}});
//# sourceMappingURL=analytics-util-localstorage.umd.js.map
{
"name": "@analytics/localstorage-utils",
"version": "0.0.1",
"version": "0.1.0",
"description": "Tiny LocalStorage utility library",

@@ -48,3 +48,4 @@ "author": "David Wells",

"watchlist": "^0.2.3"
}
},
"gitHead": "03e376a8270f7cf425a8cac821ab2d8c9f9d5f4e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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