Tom Select is a lightweight (~16kb gzipped) hybrid of a textbox and select box. Forked from selectize.js to provide a framework agnostic autocomplete widget with native-feeling keyboard navigation. Useful for tagging, contact lists, etc.
Every time I type npm run build, I have this error:
./node_modules/tom-select/src/vanilla.ts:100:39
Type error: Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '\x09' instead.
98 | iterate( args, (_classes) =>{
99 | if( typeof _classes === 'string' ){
> 100 | _classes = _classes.trim().split(/[\11\12\14\15\40]/);
| ^
101 | }
102 | if( Array.isArray(_classes) ){
103 | classes = classes.concat(_classes);
(BTW, I noticed a pull request that should fix that)
Bug description
Hello,
Every time I type
npm run build
, I have this error:(BTW, I noticed a pull request that should fix that)
Expected behavior
I expected that there would be no errors
Steps to reproduce
npm run build
Additional context
From the
package.json
file: