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.1.0 to 4.1.1

11

CHANGELOG.md

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

## 4.1.1 (2024-08-25)
### Bug Fixes
* settings read from right localstorage ([9dcf45c](https://github.com/ombori/gridapp/commit/9dcf45cfb5016c4a5872f759914b928341130fc9))
# 4.1.0 (2024-08-25)

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

6

dist/index.js

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

var DEVELOPMENT_ID = 'XXXXXXXXXXXXXXXXXXXXXXXX';
// TODO, this key should be app specific
var localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
var settingsKey = document.location.pathname.split('/').splice(0, 4).join('/');
var localStorageGridAppSettings = window.localStorage.getItem(settingsKey);
var log = function () {

@@ -158,3 +158,3 @@ var data = [];

id: 'app-container',
root: document.location.pathname.split('/').splice(0, 4).join('/'),
root: settingsKey,
settings: localStorageSettings_1,

@@ -161,0 +161,0 @@ };

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

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

"test:coverage": "npm run test -- --coverage --watchAll=false",
"gitHead": "0a121fc29f35036e2895b370f61f6f3d0aad6b5f"
"gitHead": "32854d4a137160831e37eb84537f96aa5e611ffe"
}

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

// TODO, this key should be app specific
const localStorageGridAppSettings = window.localStorage.getItem('gridappSettings');
const settingsKey = document.location.pathname.split('/').splice(0, 4).join('/');
const localStorageGridAppSettings = window.localStorage.getItem(settingsKey);

@@ -174,3 +174,3 @@ const log = (...data: any[]): void => {

id: 'app-container',
root: document.location.pathname.split('/').splice(0, 4).join('/'),
root: settingsKey,
settings: localStorageSettings,

@@ -177,0 +177,0 @@ };

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