Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}
function logError(err) {
console.error(err);
}
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}
function logError(err) {
console.error(err);
}
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}
function logError(err) {
console.error(err);
}
function error(message) {
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}
function logError(err) {
console.error(err);
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}
function logError(err) {
import Symbol from 'core-js/es6/symbol';
const __ls = Symbol('localStorage');
const __store = Symbol('store');
const __window = Symbol('window');
const __name = Symbol('name');
const __isWriting = Symbol('isWriting');
const __error = Symbol('error');
function isWindowAndHasLS(window) {
return window && window.localStorage;
}
function isValidObject(object) {
return (
object && typeof object === 'object' && !Array.isArray(object) && !(object instanceof Error)
);
}