From 65bb007b5252f26bef41a7bbc9ff219adae2d3b5 Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Sat, 7 Oct 2023 11:38:11 +0200 Subject: [PATCH] Use local version of outdated package to test on macOS --- app/package-lock.json | 86 ++++++++++++++-------------------------- app/package.json | 3 +- package-lock.json | 91 ++++++++++++++----------------------------- package.json | 3 +- 4 files changed, 62 insertions(+), 121 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 7ee4039e1..657f7e8f9 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -10,14 +10,13 @@ "license": "BSD-2-Clause", "dependencies": { "@electron/remote": "^2.0.10", - "@meetfranz/electron-notification-state": "^1.0.0", "electron-log": "^4.4.8", + "electron-notification-state": "github:hovancik/electron-notification-state#update-deps", "electron-store": "^8.1.0", "humanize-duration": "^3.29.0", "i18next": "^23.4.1", "i18next-fs-backend": "^2.1.5", "luxon": "^3.3.0", - "macos-notification-state": "^3.0.0", "meeussunmoon": "^3.0.3", "ps-list": "7.2.0", "rtl-detect": "^1.0.4", @@ -75,35 +74,6 @@ "electron": ">= 13.0.0" } }, - "node_modules/@meetfranz/electron-notification-state": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@meetfranz/electron-notification-state/-/electron-notification-state-1.0.0.tgz", - "integrity": "sha512-0gCEV7DfoasuMA9uY9sN1ufrzSFg/fXB0gHbxagid8EilAjGsbkSSLSl2rweZcIBz+ZgR35Yp7DlAVw/I3cIfA==", - "dependencies": { - "macos-notification-state": "^1.1.0", - "windows-notification-state": "^1.3.0", - "windows-quiet-hours": "^1.2.2" - } - }, - "node_modules/@meetfranz/electron-notification-state/node_modules/macos-notification-state": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-1.3.6.tgz", - "integrity": "sha512-/iL0Mepra7laWWxCWvXWQea+D8j7o73iazcgap5gYd/Lbx29JY0nfH3dYVNzWQT/AKvoB0I55fdTY/fd5JiTPg==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0" - } - }, - "node_modules/@meetfranz/electron-notification-state/node_modules/windows-notification-state": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/windows-notification-state/-/windows-notification-state-1.3.4.tgz", - "integrity": "sha512-Z2n6YLARi14AGqaY5zAlMnhButzjRjlQui0k73nXe4tVRg2U918zLeC3ZxM/i4JKho/GqV85rgQsMfLWnbTUCA==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.14.0" - } - }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -433,6 +403,35 @@ "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-4.4.8.tgz", "integrity": "sha512-QQ4GvrXO+HkgqqEOYbi+DHL7hj5JM+nHi/j+qrN9zeeXVKy8ZABgbu4CnG+BBqDZ2+tbeq9tUC4DZfIWFU5AZA==" }, + "node_modules/electron-notification-state": { + "version": "2.0.0", + "resolved": "git+ssh://git@github.com/hovancik/electron-notification-state.git#73db6ceee983407914a198429225708994f0e24b", + "license": "MIT", + "dependencies": { + "macos-notification-state": "^2.0.2", + "windows-notification-state": "^2.0.0", + "windows-quiet-hours": "^2.0.0" + } + }, + "node_modules/electron-notification-state/node_modules/macos-notification-state": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-2.0.2.tgz", + "integrity": "sha512-rTKda+694hvxXm4s00I5LEwlQxGwwCZKaCXogxEXyGagmsP7mGfLiyoI6MX360GQ0V6lmHOCqivg4LLQPFYb6A==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0" + } + }, + "node_modules/electron-notification-state/node_modules/windows-quiet-hours": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/windows-quiet-hours/-/windows-quiet-hours-2.0.0.tgz", + "integrity": "sha512-ANHLNqcsaA0w6iRkKbN5iYu0kNq5ByPAOxBsFzIUi6efdmCDskum8XnsRBnK/ASzPsjfEJUXttbQ75lJjTF8vA==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0", + "node-addon-api": "*" + } + }, "node_modules/electron-store": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/electron-store/-/electron-store-8.1.0.tgz", @@ -841,16 +840,6 @@ "node": ">=12" } }, - "node_modules/macos-notification-state": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-3.0.0.tgz", - "integrity": "sha512-tvFDZajIcwIsYg1WQAXGtrJFljlL1PEOK2cCoPDrN//XxIwTiVNvaXznxLjV4mYkyXctIDVs0ujGdrbGzeOY/w==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "node-addon-api": "3.0.0" - } - }, "node_modules/matcher": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz", @@ -906,11 +895,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "peer": true }, - "node_modules/nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" - }, "node_modules/node-addon-api": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.0.0.tgz", @@ -1262,16 +1246,6 @@ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" }, - "node_modules/windows-quiet-hours": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/windows-quiet-hours/-/windows-quiet-hours-1.2.7.tgz", - "integrity": "sha512-PjKM2/RQhZ3ikG4COq0vPpXvmJsxckcg2YN3xmQv8kZl5l1uu00a/epSGDeY6tczDPkzBhoThBz1FKRqxBA7cQ==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.3.0", - "nan": "^2.7.0" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/app/package.json b/app/package.json index af7aefa4e..a948c66cc 100644 --- a/app/package.json +++ b/app/package.json @@ -21,14 +21,13 @@ "homepage": "https://hovancik.net/stretchly", "dependencies": { "@electron/remote": "^2.0.10", - "@meetfranz/electron-notification-state": "^1.0.0", "electron-log": "^4.4.8", + "electron-notification-state": "github:hovancik/electron-notification-state#update-deps", "electron-store": "^8.1.0", "humanize-duration": "^3.29.0", "i18next": "^23.4.1", "i18next-fs-backend": "^2.1.5", "luxon": "^3.3.0", - "macos-notification-state": "^3.0.0", "meeussunmoon": "^3.0.3", "ps-list": "7.2.0", "rtl-detect": "^1.0.4", diff --git a/package-lock.json b/package-lock.json index dae328703..0666bac49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,14 +11,13 @@ "license": "BSD-2-Clause", "dependencies": { "@electron/remote": "^2.0.10", - "@meetfranz/electron-notification-state": "^1.0.0", "electron-log": "^4.4.8", + "electron-notification-state": "github:hovancik/electron-notification-state#update-deps", "electron-store": "^8.1.0", "humanize-duration": "^3.29.0", "i18next": "^23.4.1", "i18next-fs-backend": "^2.1.5", "luxon": "^3.3.0", - "macos-notification-state": "^3.0.0", "meeussunmoon": "^3.0.3", "ps-list": "7.2.0", "rtl-detect": "^1.0.4", @@ -651,35 +650,6 @@ "node": ">= 10.0.0" } }, - "node_modules/@meetfranz/electron-notification-state": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@meetfranz/electron-notification-state/-/electron-notification-state-1.0.0.tgz", - "integrity": "sha512-0gCEV7DfoasuMA9uY9sN1ufrzSFg/fXB0gHbxagid8EilAjGsbkSSLSl2rweZcIBz+ZgR35Yp7DlAVw/I3cIfA==", - "dependencies": { - "macos-notification-state": "^1.1.0", - "windows-notification-state": "^1.3.0", - "windows-quiet-hours": "^1.2.2" - } - }, - "node_modules/@meetfranz/electron-notification-state/node_modules/macos-notification-state": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-1.3.6.tgz", - "integrity": "sha512-/iL0Mepra7laWWxCWvXWQea+D8j7o73iazcgap5gYd/Lbx29JY0nfH3dYVNzWQT/AKvoB0I55fdTY/fd5JiTPg==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0" - } - }, - "node_modules/@meetfranz/electron-notification-state/node_modules/windows-notification-state": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/windows-notification-state/-/windows-notification-state-1.3.4.tgz", - "integrity": "sha512-Z2n6YLARi14AGqaY5zAlMnhButzjRjlQui0k73nXe4tVRg2U918zLeC3ZxM/i4JKho/GqV85rgQsMfLWnbTUCA==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.14.0" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -2874,6 +2844,35 @@ "resolved": "https://registry.npmjs.org/electron-log/-/electron-log-4.4.8.tgz", "integrity": "sha512-QQ4GvrXO+HkgqqEOYbi+DHL7hj5JM+nHi/j+qrN9zeeXVKy8ZABgbu4CnG+BBqDZ2+tbeq9tUC4DZfIWFU5AZA==" }, + "node_modules/electron-notification-state": { + "version": "2.0.0", + "resolved": "git+ssh://git@github.com/hovancik/electron-notification-state.git#73db6ceee983407914a198429225708994f0e24b", + "license": "MIT", + "dependencies": { + "macos-notification-state": "^2.0.2", + "windows-notification-state": "^2.0.0", + "windows-quiet-hours": "^2.0.0" + } + }, + "node_modules/electron-notification-state/node_modules/macos-notification-state": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-2.0.2.tgz", + "integrity": "sha512-rTKda+694hvxXm4s00I5LEwlQxGwwCZKaCXogxEXyGagmsP7mGfLiyoI6MX360GQ0V6lmHOCqivg4LLQPFYb6A==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0" + } + }, + "node_modules/electron-notification-state/node_modules/windows-quiet-hours": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/windows-quiet-hours/-/windows-quiet-hours-2.0.0.tgz", + "integrity": "sha512-ANHLNqcsaA0w6iRkKbN5iYu0kNq5ByPAOxBsFzIUi6efdmCDskum8XnsRBnK/ASzPsjfEJUXttbQ75lJjTF8vA==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0", + "node-addon-api": "*" + } + }, "node_modules/electron-publish": { "version": "24.5.0", "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.5.0.tgz", @@ -5353,21 +5352,6 @@ "node": ">=12" } }, - "node_modules/macos-notification-state": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/macos-notification-state/-/macos-notification-state-3.0.0.tgz", - "integrity": "sha512-tvFDZajIcwIsYg1WQAXGtrJFljlL1PEOK2cCoPDrN//XxIwTiVNvaXznxLjV4mYkyXctIDVs0ujGdrbGzeOY/w==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "node-addon-api": "3.0.0" - } - }, - "node_modules/macos-notification-state/node_modules/node-addon-api": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.0.0.tgz", - "integrity": "sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg==" - }, "node_modules/marky": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/marky/-/marky-1.2.5.tgz", @@ -5676,11 +5660,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/nan": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" - }, "node_modules/nanoid": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", @@ -8068,16 +8047,6 @@ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" }, - "node_modules/windows-quiet-hours": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/windows-quiet-hours/-/windows-quiet-hours-1.2.7.tgz", - "integrity": "sha512-PjKM2/RQhZ3ikG4COq0vPpXvmJsxckcg2YN3xmQv8kZl5l1uu00a/epSGDeY6tczDPkzBhoThBz1FKRqxBA7cQ==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.3.0", - "nan": "^2.7.0" - } - }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", diff --git a/package.json b/package.json index 579f1a71e..6aca2222e 100755 --- a/package.json +++ b/package.json @@ -142,14 +142,13 @@ }, "dependencies": { "@electron/remote": "^2.0.10", - "@meetfranz/electron-notification-state": "^1.0.0", "electron-log": "^4.4.8", + "electron-notification-state": "github:hovancik/electron-notification-state#update-deps", "electron-store": "^8.1.0", "humanize-duration": "^3.29.0", "i18next": "^23.4.1", "i18next-fs-backend": "^2.1.5", "luxon": "^3.3.0", - "macos-notification-state": "^3.0.0", "meeussunmoon": "^3.0.3", "ps-list": "7.2.0", "rtl-detect": "^1.0.4",