Skip to content

TagSpaces is an offline, open source, document manager with tagging support

updating window state package

Ilian Sapundshievcca60ee5c3db
diff --git a/data/node_modules/electron-window-state/index.js b/data/node_modules/electron-window-state/index.js
index 9a0632b14..575ff2cab 100644
--- a/data/node_modules/electron-window-state/index.js
+++ b/data/node_modules/electron-window-state/index.js
@@ -47,7 +47,7 @@ module.exports = function (options) {
if (!sameBounds) {
if (displayBounds.width < state.displayBounds.width) {
if (state.x > displayBounds.width) {
- state.x = null;
+ state.x = 0;
}
if (state.width > displayBounds.width) {
@@ -57,7 +57,7 @@ module.exports = function (options) {
if (displayBounds.height < state.displayBounds.height) {
if (state.y > displayBounds.height) {
- state.y = null;
+ state.y = 0;
}
if (state.height > displayBounds.height) {
diff --git a/data/node_modules/electron-window-state/package.json b/data/node_modules/electron-window-state/package.json
index 9f53932bc..59e34ee06 100644
--- a/data/node_modules/electron-window-state/package.json
+++ b/data/node_modules/electron-window-state/package.json
@@ -2,50 +2,49 @@
"_args": [
[
{
- "raw": "electron-window-state",
+ "raw": "electron-window-state@^4.0.1",
"scope": null,
"escapedName": "electron-window-state",
"name": "electron-window-state",
- "rawSpec": "",
- "spec": "latest",
- "type": "tag"
+ "rawSpec": "^4.0.1",
+ "spec": ">=4.0.1 <5.0.0",
+ "type": "range"
},
"/home/na/TagSpaces/repo/data"
]
],
- "_from": "electron-window-state@latest",
- "_id": "[email protected]",
+ "_from": "electron-window-state@>=4.0.1 <5.0.0",
+ "_id": "[email protected]",
"_inCache": true,
"_installable": true,
"_location": "/electron-window-state",
- "_nodeVersion": "6.8.0",
+ "_nodeVersion": "7.1.0",
"_npmOperationalInternal": {
- "host": "packages-12-west.internal.npmjs.com",
- "tmp": "tmp/electron-window-state-4.0.0.tgz_1479926522550_0.4300933440681547"
+ "host": "packages-18-east.internal.npmjs.com",
+ "tmp": "tmp/electron-window-state-4.0.1.tgz_1482052067579_0.2297594991978258"
},
"_npmUser": {
"name": "mawie81",
"email": "[email protected]"
},
- "_npmVersion": "3.10.8",
+ "_npmVersion": "3.10.9",
"_phantomChildren": {},
"_requested": {
- "raw": "electron-window-state",
+ "raw": "electron-window-state@^4.0.1",
"scope": null,
"escapedName": "electron-window-state",
"name": "electron-window-state",
- "rawSpec": "",
- "spec": "latest",
- "type": "tag"
+ "rawSpec": "^4.0.1",
+ "spec": ">=4.0.1 <5.0.0",
+ "type": "range"
},
"_requiredBy": [
- "#USER",
"/"
],
- "_resolved": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-4.0.0.tgz",
- "_shasum": "ac24438162d4640506b4a36dd8363a1c3abd278f",
+ "_resolved": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-4.0.1.tgz",
+ "_shasum": "8f3ccd96b6288aa78e903eb40c6a363874ee0830",
"_shrinkwrap": null,
- "_spec": "electron-window-state",
+ "_spec": "electron-window-state@^4.0.1",
"_where": "/home/na/TagSpaces/repo/data",
"author": {
"name": "Marcel Wiehle"
@@ -67,8 +66,8 @@
},
"directories": {},
"dist": {
- "shasum": "ac24438162d4640506b4a36dd8363a1c3abd278f",
- "tarball": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-4.0.0.tgz"
+ "shasum": "8f3ccd96b6288aa78e903eb40c6a363874ee0830",
+ "tarball": "https://registry.npmjs.org/electron-window-state/-/electron-window-state-4.0.1.tgz"
},
"engines": {
"node": ">=4.0.0"
@@ -76,7 +75,7 @@
"files": [
"index.js"
],
- "gitHead": "2c302e5e2da1a128d6566eaab759f32bdbf490ca",
+ "gitHead": "9a54b2929cd5da010408ff620d11ea76756dd6fa",
"homepage": "https://github.com/mawie81/electron-window-state#readme",
"keywords": [
"electron"
@@ -99,7 +98,7 @@
"scripts": {
"test": "xo && ava"
},
- "version": "4.0.0",
+ "version": "4.0.1",
"xo": {
"space": true,
"rules": {