mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-23 17:53:32 +00:00
Remove mz, mkdirp, body-parser dependencies
'mz' can be safely replaced with fs.promises and util.promisify for faster native methods. 'mkdirp' after Node v8 uses native fs.mkdir, thus is redundant. 'body-parser' is deprecated and contained within express v4.x. Closes: #1567 Change-type: patch Signed-off-by: Christina Wang <christina@balena.io>
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { fs } from 'mz';
|
||||
import { promises as fs } from 'fs';
|
||||
import * as os from 'os';
|
||||
import { stub, spy } from 'sinon';
|
||||
|
||||
import { expect } from './lib/chai-config';
|
||||
import { expect } from 'chai';
|
||||
import Log from '../src/lib/supervisor-console';
|
||||
import * as network from '../src/network';
|
||||
|
||||
|
Reference in New Issue
Block a user