From e067ff74a8d7e6213f20a28ffad9510c9ba06b0d Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 24 Feb 2022 00:38:44 +0100 Subject: chore(deps): Bump dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristóf Marussy --- packages/main/package.json | 26 +++++++++++----------- .../electron/impl/ElectronViewFactory.ts | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'packages/main') diff --git a/packages/main/package.json b/packages/main/package.json index 4f4a6cb..4ba6d06 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -12,34 +12,34 @@ "@sophie/shared": "workspace:*", "chalk": "^5.0.0", "deep-equal": "^2.0.5", - "electron": "17.0.0", - "fs-extra": "^10.0.0", + "electron": "17.1.0", + "fs-extra": "^10.0.1", "json5": "^2.2.0", "lodash-es": "^4.17.21", "loglevel": "^1.8.0", "loglevel-plugin-prefix": "^0.8.4", - "mobx": "^6.3.13", - "mobx-state-tree": "^5.1.0", + "mobx": "^6.4.1", + "mobx-state-tree": "^5.1.3", "ms": "^2.1.3", - "nanoid": "^3.1.30", + "nanoid": "^3.3.1", "os-name": "^5.0.1", "slug": "^5.2.0" }, "devDependencies": { - "@jest/globals": "^27.4.6", + "@jest/globals": "^27.5.1", "@sophie/test-utils": "workspace:*", "@types/deep-equal": "^1.0.1", "@types/electron-devtools-installer": "^2.2.1", - "@types/lodash-es": "^4.17.5", + "@types/lodash-es": "^4.17.6", "@types/ms": "^0.7.31", - "@types/node": "^17.0.12", - "@types/slug": "^5", - "@types/source-map-support": "^0", + "@types/node": "^17.0.21", + "@types/slug": "^5.0.3", + "@types/source-map-support": "^0.5.4", "electron-devtools-installer": "^3.2.0", - "esbuild": "^0.14.14", + "esbuild": "^0.14.23", "git-repo-info": "^2.1.1", - "jest": "^27.4.7", - "jest-mock": "^27.4.6", + "jest": "^27.5.1", + "jest-mock": "^27.5.1", "source-map-support": "^0.5.21" } } diff --git a/packages/main/src/infrastructure/electron/impl/ElectronViewFactory.ts b/packages/main/src/infrastructure/electron/impl/ElectronViewFactory.ts index f8b4a36..884643a 100644 --- a/packages/main/src/infrastructure/electron/impl/ElectronViewFactory.ts +++ b/packages/main/src/infrastructure/electron/impl/ElectronViewFactory.ts @@ -99,7 +99,7 @@ export default class ElectronViewFactory implements ViewFactory { const injectFile = 'index.js'; const injectPath = this.resources.getPath(injectPackage, injectFile); this.serviceInjectSource = { - code: await readFile(injectPath, 'utf-8'), + code: await readFile(injectPath, 'utf8'), url: this.resources.getFileURL(injectPackage, injectFile), }; } -- cgit v1.2.3-70-g09d2