Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
⬆️ (deps): Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed Mar 31, 2020
1 parent a517ab2 commit c15799c
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 55 deletions.
56 changes: 31 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
},
"dependencies": {
"clean-css": "4.2.3",
"electron": "8.1.1",
"electron": "8.2.0",
"electron-builder": "^22.4.1",
"electron-rebuild": "^1.10.1",
"node-abi": "2.15.0",
Expand Down
2 changes: 1 addition & 1 deletion src/_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function waitForFonts() {

// A proxy function used to add multithreading to systeminformation calls - see backend process manager @ _multithread.js
function initSystemInformationProxy() {
const nanoid = require("nanoid/non-secure");
const { nanoid } = require("nanoid/non-secure");

window.si = new Proxy({}, {
apply: () => {throw new Error("Cannot use sysinfo proxy directly as a function")},
Expand Down
2 changes: 1 addition & 1 deletion src/classes/modal.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Modal {
if (!options || !options.type) throw "Missing parameters";

this.type = options.type;
this.id = require("nanoid")();
this.id = require("nanoid").nanoid();
while (typeof window.modals[this.id] !== "undefined") {
this.id = require("nanoid")();
}
Expand Down
42 changes: 17 additions & 25 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"dependencies": {
"augmented-ui": "1.1.2",
"color": "3.1.2",
"geolite2-redist": "^1.0.4",
"geolite2-redist": "^1.0.5",
"howler": "2.1.3",
"maxmind": "4.1.1",
"nanoid": "2.1.11",
"nanoid": "3.0.2",
"node-pty": "0.9.0",
"pretty-bytes": "5.3.0",
"shell-env": "3.0.0",
Expand Down

0 comments on commit c15799c

Please sign in to comment.