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.6 to 0.0.7

8

CHANGELOG.md

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

## [0.0.7](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-session-storage/compare/@analytics/session-storage-utils@0.0.6...@analytics/session-storage-utils@0.0.7) (2023-05-27)
**Note:** Version bump only for package @analytics/session-storage-utils
## [0.0.6](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-session-storage/compare/@analytics/session-storage-utils@0.0.5...@analytics/session-storage-utils@0.0.6) (2023-05-27)

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

2

dist/browser/session-storage-utils.js

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

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}({});
var utilSessionStorage=function(n){var e="undefined",t="object";"undefined"==typeof process||process;var r="undefined"!=typeof document;function o(n,e){return e.charAt(0)[n]()+e.slice(1)}"undefined"!=typeof Deno&&Deno,r&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(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 v(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))}}c.bind(null,"undefined"),c.bind(null,"boolean"),c.bind(null,"symbol"),d.bind(null,TypeError),d.bind(null,SyntaxError),b(v,"form"),b(v,"button"),b(v,"input"),b(v,"select");var m="__global__",p=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}p[m]||(p[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 I="sessionStorage",j=S.bind(null,I),w=g(I,"getItem",function(n){return p[m][n]}),E=g(I,"setItem",function(n,e){return p[m][n]=e}),A=g(I,"removeItem",function(n){delete p[m][n]});return n.SESSION_STORAGE=I,n.getSessionItem=w,n.hasSessionStorage=j,n.removeSessionItem=A,n.setSessionItem=E,n}({});
//# sourceMappingURL=session-storage-utils.js.map

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

!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});
!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 document;function r(n,e){return e.charAt(0)[n]()+e.slice(1)}"undefined"!=typeof Deno&&Deno,o&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(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 v="__global__",m=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}m[v]||(m[v]={});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 j="sessionStorage",I=S.bind(null,j),w=g(j,"getItem",function(n){return m[v][n]}),h=g(j,"setItem",function(n,e){return m[v][n]=e}),E=g(j,"removeItem",function(n){delete m[v][n]});n.SESSION_STORAGE=j,n.getSessionItem=w,n.hasSessionStorage=I,n.removeSessionItem=E,n.setSessionItem=h});
//# sourceMappingURL=session-storage-utils.umd.js.map
{
"name": "@analytics/session-storage-utils",
"version": "0.0.6",
"version": "0.0.7",
"description": "Tiny SessionStorage utility library",

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

"dependencies": {
"@analytics/global-storage-utils": "^0.1.6"
"@analytics/global-storage-utils": "^0.1.7"
},
"gitHead": "587a2ec0e20db0b24151fd69626d0fa19ac22131"
"gitHead": "904e8bc88a9de0d9e55ecbe1e87ac2ee2a454e32"
}

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