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

@ombori/ga-settings

Package Overview
Dependencies
Maintainers
0
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ombori/ga-settings - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

11

CHANGELOG.md

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

## 4.0.3 (2024-08-24)
### Bug Fixes
* es ([da88e20](https://github.com/ombori/gridapp/commit/da88e209c7bc5698d385b062aa8f5601f22944de))
## 4.0.2 (2024-08-24)

@@ -8,0 +19,0 @@

8

dist/index.js

@@ -23,2 +23,4 @@ "use strict";

var DEVELOPMENT_ID = 'XXXXXXXXXXXXXXXXXXXXXXXX';
// TODO, this key should be app specific
var localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
var log = function () {

@@ -129,4 +131,2 @@ var data = [];

};
// TODO, this key should be app specific
var localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
if (utils_1.isDev) {

@@ -136,3 +136,3 @@ setSettings(getDevSettings(props.devSettings));

else if (localStorageGridAppSettings) {
log('Settings localStorageGridAppSettings production mode');
console.log('Settings localStorageGridAppSettings production mode');
window.addEventListener('GridappReady', handler);

@@ -164,3 +164,3 @@ try {

else {
log('Settings production mode');
console.log('Settings production mode');
try {

@@ -167,0 +167,0 @@ handler();

{
"name": "@ombori/ga-settings",
"version": "4.0.2",
"version": "4.0.3",
"main": "dist/index.js",

@@ -19,3 +19,3 @@ "license": "UNLICENSED",

"test:coverage": "npm run test -- --coverage --watchAll=false",
"gitHead": "7be08ccdc57b5110545e2644135ab86472bba983"
"gitHead": "f051fc1638263e05b674ae2dcf70a4bbaa5c3ae9"
}

@@ -17,2 +17,5 @@ import { useEffect, useState, useRef } from 'react';

// TODO, this key should be app specific
const localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
const log = (...data: any[]): void => {

@@ -139,8 +142,6 @@ if (process.env.NODE_ENV === 'test') return;

// TODO, this key should be app specific
const localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
if (isDev) {
setSettings(getDevSettings(props.devSettings));
} else if (localStorageGridAppSettings) {
log('Settings localStorageGridAppSettings production mode');
console.log('Settings localStorageGridAppSettings production mode');
window.addEventListener('GridappReady', handler);

@@ -171,3 +172,3 @@

} else {
log('Settings production mode');
console.log('Settings production mode');
try {

@@ -174,0 +175,0 @@ handler();

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