Socket
Socket
Sign inDemoInstall

electron-store

Package Overview
Dependencies
26
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.1 to 7.0.2

8

index.js

@@ -32,3 +32,9 @@ 'use strict';

if (ipcRenderer) {
({defaultCwd, appVersion} = ipcRenderer.sendSync('electron-store-get-data'));
const appData = ipcRenderer.sendSync('electron-store-get-data');
if (!appData) {
throw new Error('Electron Store: You need to call `.initRenderer()` from the main process.');
}
({defaultCwd, appVersion} = appData);
} else if (ipcMain && app) {

@@ -35,0 +41,0 @@ ({defaultCwd, appVersion} = initDataListener());

2

package.json
{
"name": "electron-store",
"version": "7.0.1",
"version": "7.0.2",
"description": "Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc