TypeError: Object Variable has no method 'codePointAt'
denysdovhan opened this issue · 4 comments
denysdovhan commented
Hi there!
I use msee in my bash-handbook. I've received an issue report from user and it seems like a trouble with msee itself
Error stack:
/usr/lib/node_modules/bash-handbook/node_modules/msee/lib/msee.js:312
var code = str.codePointAt(i);
^
TypeError: Object Variable has no method 'codePointAt'
at getStringWidth (/usr/lib/node_modules/bash-handbook/node_modules/msee/lib/msee.js:312:24)
at /usr/lib/node_modules/bash-handbook/node_modules/msee/node_modules/text-table/index.js:33:21
at Array.forEach (native)
at forEach (/usr/lib/node_modules/bash-handbook/node_modules/msee/node_modules/text-table/index.js:73:31)
at /usr/lib/node_modules/bash-handbook/node_modules/msee/node_modules/text-table/index.js:32:9
at Array.reduce (native)
at reduce (/usr/lib/node_modules/bash-handbook/node_modules/msee/node_modules/text-table/index.js:63:30)
at module.exports (/usr/lib/node_modules/bash-handbook/node_modules/msee/node_modules/text-table/index.js:31:17)
at tableFormat (/usr/lib/node_modules/bash-handbook/node_modules/msee/lib/msee.js:294:12)
at processToken (/usr/lib/node_modules/bash-handbook/node_modules/msee/lib/msee.js:188:23)
Deleted user commented
martinheidegger commented
Note: I did publish msee-preview
a preview variant of msee. @firede if you add me to the owners in npm I can also publish msee
firede commented
@martinheidegger done.
martinheidegger commented
Published 0.4.0 - please review :)