diff --git a/common/src/eval/scrypted-eval.ts b/common/src/eval/scrypted-eval.ts index 89750b1f0a..7003ff86f5 100644 --- a/common/src/eval/scrypted-eval.ts +++ b/common/src/eval/scrypted-eval.ts @@ -63,7 +63,6 @@ export async function scryptedEval(device: ScryptedDeviceBase, script: string, e const allParams = Object.assign({}, params, { sdk, - fs: require('realfs'), ScryptedDeviceBase, MixinDeviceBase, StorageSettings, diff --git a/common/src/ffmpeg-hardware-acceleration.ts b/common/src/ffmpeg-hardware-acceleration.ts index 4b674f20e5..9904e09bc4 100644 --- a/common/src/ffmpeg-hardware-acceleration.ts +++ b/common/src/ffmpeg-hardware-acceleration.ts @@ -19,7 +19,7 @@ function isPi(model: string) { export function isRaspberryPi() { let cpuInfo: string; try { - cpuInfo = require('realfs').readFileSync('/proc/cpuinfo', { encoding: 'utf8' }); + cpuInfo = require('fs').readFileSync('/proc/cpuinfo', { encoding: 'utf8' }); } catch (e) { // if this fails, this is probably not a pi diff --git a/plugins/mqtt/package-lock.json b/plugins/mqtt/package-lock.json index 588061650e..1879e7a82f 100644 --- a/plugins/mqtt/package-lock.json +++ b/plugins/mqtt/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/mqtt", - "version": "0.0.82", + "version": "0.0.83", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/mqtt", - "version": "0.0.82", + "version": "0.0.83", "dependencies": { "aedes": "^0.46.1", "axios": "^0.23.0", diff --git a/plugins/mqtt/package.json b/plugins/mqtt/package.json index 1a6068bddb..d79e9b5481 100644 --- a/plugins/mqtt/package.json +++ b/plugins/mqtt/package.json @@ -43,5 +43,5 @@ "@types/node": "^18.4.2", "@types/nunjucks": "^3.2.0" }, - "version": "0.0.82" + "version": "0.0.83" }