@analytics/localstorage-utils
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16186
17