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

electron-window-state

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-window-state - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

4

index.js

@@ -32,4 +32,4 @@ 'use strict';

Number.isInteger(state.y) &&
Number.isInteger(state.width) &&
Number.isInteger(state.height);
Number.isInteger(state.width) && state.width > 0 &&
Number.isInteger(state.height) && state.height > 0;
}

@@ -36,0 +36,0 @@

{
"name": "electron-window-state",
"version": "4.1.0",
"version": "4.1.1",
"description": "Simple module that helps to save and restore size and position of Electron windows.",

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

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