🗑 Remove TextDecoder import since it is part of Node 11 core
This commit is contained in:
parent
61b3770f24
commit
4dec585ba9
2 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
* Check the .ZIP File Format Specification <https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT>.
|
* Check the .ZIP File Format Specification <https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { TextDecoder } from 'util';
|
|
||||||
import { ISsnFileEntry } from '../../interfaces/ISsnFileEntry';
|
import { ISsnFileEntry } from '../../interfaces/ISsnFileEntry';
|
||||||
import getDecryptionKeys from '../decryption/getDecryptionKeys';
|
import getDecryptionKeys from '../decryption/getDecryptionKeys';
|
||||||
import modifyPassword from '../decryption/modifyPassword';
|
import modifyPassword from '../decryption/modifyPassword';
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import * as stream from 'stream';
|
import * as stream from 'stream';
|
||||||
import { TextDecoder } from 'util';
|
|
||||||
|
|
||||||
export default function streamToString(inputStream: stream.Readable): Promise<string> {
|
export default function streamToString(inputStream: stream.Readable): Promise<string> {
|
||||||
const decoder = new TextDecoder('utf-8');
|
const decoder = new TextDecoder('utf-8');
|
||||||
|
|
Loading…
Reference in a new issue