File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
12# Changelog
23
4+ ## v3.1.1
5+ - Fixes for typings.
6+
37## v3.1.0
48- Add support for ES modules.
59
Original file line number Diff line number Diff line change 22/**
33 * Check if a Node.js Buffer or Uint8Array is UTF-8.
44 */
5- export default function isUtf8 ( buf ?: Buffer | Uint8Array ) : boolean ;
5+ declare function isUtf8 ( buf ?: Buffer | Uint8Array ) : boolean ;
6+ export = isUtf8 ;
Original file line number Diff line number Diff line change 11{
22 "name" : " isutf8" ,
33 "description" : " Check if a Node.js Buffer or Uint8Array is utf-8" ,
4- "version" : " 3.1.0 " ,
4+ "version" : " 3.1.1 " ,
55 "author" : {
66 "name" : " Denis Seleznev" ,
77 "email" : " hcodes@yandex.ru" ,
Original file line number Diff line number Diff line change 66 "allowJs" : false ,
77 "declaration" : true ,
88 "target" : " es6" ,
9- "outDir" : " ./lib " ,
9+ "outDir" : " ./dist " ,
1010 "lib" : [
1111 " es6" ,
1212 ],
13+ "esModuleInterop" : true ,
1314 "strict" : true ,
1415 "alwaysStrict" : true ,
1516 "strictFunctionTypes" : true ,
You can’t perform that action at this time.
0 commit comments