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

@analytics/session-storage-utils

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics/session-storage-utils - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.0.5](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-session-storage/compare/@analytics/session-storage-utils@0.0.4...@analytics/session-storage-utils@0.0.5) (2022-03-18)
**Note:** Version bump only for package @analytics/session-storage-utils
## [0.0.4](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-session-storage/compare/@analytics/session-storage-utils@0.0.3...@analytics/session-storage-utils@0.0.4) (2022-02-05)

@@ -8,0 +16,0 @@

2

dist/browser/session-storage-utils.js

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

var utilSessionStorage=function(e){var n="undefined",t="object";"undefined"==typeof process||process;var o="undefined"!=typeof window;function r(e,n){return typeof n===e}"undefined"!=typeof Deno&&Deno,o&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),r.bind(null,"function"),r.bind(null,"string"),r.bind(null,"undefined"),r.bind(null,"boolean");var i="__global__",s=typeof self===t&&self.self===self&&self||typeof global===t&&global.global===global&&global||void 0;function l(e,n,t){var o;try{if(a(e)){var r=window[e];o=r[n].bind(r)}}catch(e){}return o||t}s[i]||(s[i]={});var u={};function a(e){if(typeof u[e]!==n)return u[e];try{var t=window[e];t.setItem(n,n),t.removeItem(n)}catch(t){return u[e]=!1}return u[e]=!0}var d="sessionStorage",f=a.bind(null,d),c=l(d,"getItem",function(e){return s[i][e]}),g=l(d,"setItem",function(e,n){return s[i][e]=n}),v=l(d,"removeItem",function(e){delete s[i][e]});return e.SESSION_STORAGE=d,e.getSessionItem=c,e.hasSessionStorage=f,e.removeSessionItem=v,e.setSessionItem=g,e}({});
var utilSessionStorage=function(n){var e="undefined",t="object";"undefined"==typeof process||process;var r="undefined"!=typeof window;function o(n,e){return e.charAt(0)[n]()+e.slice(1)}"undefined"!=typeof Deno&&Deno,r&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var i=o.bind(null,"toUpperCase"),u=o.bind(null,"toLowerCase");function l(n,e){void 0===e&&(e=!0);var t=function(n){return f(n)?i("null"):"object"==typeof n?function(n){return a(n.constructor)?n.constructor.name:null}(n):Object.prototype.toString.call(n).slice(8,-1)}(n);return e?u(t):t}function c(n,e){return typeof e===n}var a=c.bind(null,"function"),s=c.bind(null,"string");function f(n){return null===n}function d(n,e){if("object"!=typeof e||f(e))return!1;if(e instanceof n)return!0;var t=l(new n(""));if(function(n){return n instanceof Error||s(n.message)&&n.constructor&&function(n){return"number"===l(n)&&!isNaN(n)}(n.constructor.stackTraceLimit)}(e))for(;e;){if(l(e)===t)return!0;e=Object.getPrototypeOf(e)}return!1}function b(n,e){var t=n instanceof Element||n instanceof HTMLDocument;return t&&e?function(n,e){return void 0===e&&(e=""),n&&n.nodeName===e.toUpperCase()}(n,e):t}function v(n){var e=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(e))}}c.bind(null,"undefined"),c.bind(null,"boolean"),c.bind(null,"symbol"),d.bind(null,TypeError),d.bind(null,SyntaxError),v(b,"form"),v(b,"button"),v(b,"input"),v(b,"select");var p="__global__",m=typeof self===t&&self.self===self&&self||typeof global===t&&global.global===global&&global||void 0;function g(n,e,t){var r;try{if(S(n)){var o=window[n];r=o[e].bind(o)}}catch(n){}return r||t}m[p]||(m[p]={});var y={};function S(n){if(typeof y[n]!==e)return y[n];try{var t=window[n];t.setItem(e,e),t.removeItem(e)}catch(e){return y[n]=!1}return y[n]=!0}var w="sessionStorage",I=S.bind(null,w),j=g(w,"getItem",function(n){return m[p][n]}),E=g(w,"setItem",function(n,e){return m[p][n]=e}),N=g(w,"removeItem",function(n){delete m[p][n]});return n.SESSION_STORAGE=w,n.getSessionItem=j,n.hasSessionStorage=I,n.removeSessionItem=N,n.setSessionItem=E,n}({});
//# sourceMappingURL=session-storage-utils.js.map

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

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).utilSessionStorage={})}(this,function(e){var n="undefined",o="object";"undefined"==typeof process||process;var t="undefined"!=typeof window;function i(e,n){return typeof n===e}"undefined"!=typeof Deno&&Deno,t&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),i.bind(null,"function"),i.bind(null,"string"),i.bind(null,"undefined"),i.bind(null,"boolean");var f="__global__",r=typeof self===o&&self.self===self&&self||typeof global===o&&global.global===global&&global||void 0;function s(e,n,o){var t;try{if(l(e)){var i=window[e];t=i[n].bind(i)}}catch(e){}return t||o}r[f]||(r[f]={});var d={};function l(e){if(typeof d[e]!==n)return d[e];try{var o=window[e];o.setItem(n,n),o.removeItem(n)}catch(o){return d[e]=!1}return d[e]=!0}var u="sessionStorage",a=l.bind(null,u),c=s(u,"getItem",function(e){return r[f][e]}),g=s(u,"setItem",function(e,n){return r[f][e]=n}),b=s(u,"removeItem",function(e){delete r[f][e]});e.SESSION_STORAGE=u,e.getSessionItem=c,e.hasSessionStorage=a,e.removeSessionItem=b,e.setSessionItem=g});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n||self).utilSessionStorage={})}(this,function(n){var e="undefined",t="object";"undefined"==typeof process||process;var o="undefined"!=typeof window;function r(n,e){return e.charAt(0)[n]()+e.slice(1)}"undefined"!=typeof Deno&&Deno,o&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var i=r.bind(null,"toUpperCase"),u=r.bind(null,"toLowerCase");function l(n,e){void 0===e&&(e=!0);var t=function(n){return a(n)?i("null"):"object"==typeof n?function(n){return c(n.constructor)?n.constructor.name:null}(n):Object.prototype.toString.call(n).slice(8,-1)}(n);return e?u(t):t}function f(n,e){return typeof e===n}var c=f.bind(null,"function"),s=f.bind(null,"string");function a(n){return null===n}function d(n,e){if("object"!=typeof e||a(e))return!1;if(e instanceof n)return!0;var t=l(new n(""));if(function(n){return n instanceof Error||s(n.message)&&n.constructor&&function(n){return"number"===l(n)&&!isNaN(n)}(n.constructor.stackTraceLimit)}(e))for(;e;){if(l(e)===t)return!0;e=Object.getPrototypeOf(e)}return!1}function p(n,e){var t=n instanceof Element||n instanceof HTMLDocument;return t&&e?function(n,e){return void 0===e&&(e=""),n&&n.nodeName===e.toUpperCase()}(n,e):t}function b(n){var e=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(e))}}f.bind(null,"undefined"),f.bind(null,"boolean"),f.bind(null,"symbol"),d.bind(null,TypeError),d.bind(null,SyntaxError),b(p,"form"),b(p,"button"),b(p,"input"),b(p,"select");var m="__global__",v=typeof self===t&&self.self===self&&self||typeof global===t&&global.global===global&&global||void 0;function g(n,e,t){var o;try{if(S(n)){var r=window[n];o=r[e].bind(r)}}catch(n){}return o||t}v[m]||(v[m]={});var y={};function S(n){if(typeof y[n]!==e)return y[n];try{var t=window[n];t.setItem(e,e),t.removeItem(e)}catch(e){return y[n]=!1}return y[n]=!0}var w="sessionStorage",j=S.bind(null,w),I=g(w,"getItem",function(n){return v[m][n]}),h=g(w,"setItem",function(n,e){return v[m][n]=e}),E=g(w,"removeItem",function(n){delete v[m][n]});n.SESSION_STORAGE=w,n.getSessionItem=I,n.hasSessionStorage=j,n.removeSessionItem=E,n.setSessionItem=h});
//# sourceMappingURL=session-storage-utils.umd.js.map
{
"name": "@analytics/session-storage-utils",
"version": "0.0.4",
"version": "0.0.5",
"description": "Tiny SessionStorage utility library",

@@ -53,5 +53,5 @@ "author": "David Wells",

"dependencies": {
"@analytics/global-storage-utils": "^0.1.4"
"@analytics/global-storage-utils": "^0.1.5"
},
"gitHead": "104d15e3d891b1560459272443e11bf3b926028b"
"gitHead": "911491fffca5df822a6d8eb5b6255e47983e338c"
}

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