diff --git a/package.json b/package.json index 2746973cc..554454538 100644 --- a/package.json +++ b/package.json @@ -31,20 +31,20 @@ "dayjs": "1.8.14", "debug": "4.1.1", "ejs": "2.6.2", - "electron-debug": "3.0.0", + "electron-debug": "3.0.1", "electron-dl": "1.14.0", "electron-find": "1.0.6", "electron-window-state": "5.0.3", "express": "4.17.1", "express-session": "1.16.2", "file-type": "12.0.0", - "fs-extra": "8.0.1", + "fs-extra": "8.1.0", "get-port": "5.0.0", "helmet": "3.18.0", "html": "1.0.0", "html2plaintext": "2.1.2", "image-type": "4.1.0", - "imagemin": "6.1.0", + "imagemin": "7.0.0", "imagemin-giflossy": "5.1.10", "imagemin-mozjpeg": "8.0.0", "imagemin-pngquant": "8.0.0", @@ -54,14 +54,14 @@ "moment": "2.24.0", "multer": "1.4.1", "node-abi": "2.9.0", - "open": "6.3.0", + "open": "6.4.0", "pngjs": "3.4.0", "rand-token": "0.4.0", "rcedit": "2.0.0", "rimraf": "2.6.3", "sanitize-filename": "1.6.1", "sax": "1.2.4", - "semver": "6.1.1", + "semver": "6.1.2", "serve-favicon": "2.5.0", "session-file-store": "1.3.0", "simple-node-logger": "18.12.22", @@ -76,13 +76,12 @@ "devDependencies": { "devtron": "1.4.0", "electron": "6.0.0-beta.11", - "electron-builder": "20.44.2", + "electron-builder": "20.44.4", "electron-compile": "6.4.4", "electron-installer-debian": "2.0.0", - "electron-packager": "13.1.1", + "electron-packager": "14.0.0", "electron-rebuild": "1.8.5", "lorem-ipsum": "2.0.3", - "tape": "4.10.2", "xo": "0.24.0" }, "xo": { diff --git a/src/test/cbc_encryption.js b/src/test/cbc_encryption.js deleted file mode 100644 index 63d8c9cac..000000000 --- a/src/test/cbc_encryption.js +++ /dev/null @@ -1,14 +0,0 @@ -const test = require('tape'); -const data_encryption = require('../services/data_encryption'); - -test('encrypt & decrypt', t => { - const dataKey = [1,2,3]; - const iv = [4,5,6]; - const plainText = "Hello World!"; - - const cipherText = data_encryption.encrypt(dataKey, iv, plainText); - const decodedPlainText = data_encryption.decrypt(dataKey, iv, cipherText); - - t.equal(decodedPlainText, plainText); - t.end(); -}); \ No newline at end of file