From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/iconv-lite/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'node_modules/iconv-lite/README.md') diff --git a/node_modules/iconv-lite/README.md b/node_modules/iconv-lite/README.md index 767daedef..c981c3708 100644 --- a/node_modules/iconv-lite/README.md +++ b/node_modules/iconv-lite/README.md @@ -20,7 +20,7 @@ var iconv = require('iconv-lite'); // Convert from an encoded buffer to js string. -str = iconv.decode(new Buffer([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251'); +str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251'); // Convert from js string to an encoded buffer. buf = iconv.encode("Sample input string", 'win1251'); @@ -154,7 +154,3 @@ $ # To view test coverage: $ npm run coverage $ open coverage/lcov-report/index.html ``` - -## Adoption -[![NPM](https://nodei.co/npm-dl/iconv-lite.png)](https://nodei.co/npm/iconv-lite/) -[![Codeship Status for ashtuchkin/iconv-lite](https://www.codeship.com/projects/81670840-fa72-0131-4520-4a01a6c01acc/status)](https://www.codeship.com/projects/29053) -- cgit v1.2.3