bgrins / TinyColor

Fast, small color manipulation and conversion for JavaScript
https://bgrins.github.io/TinyColor/
MIT License
5.05k stars 439 forks source link

Octal literal in strict mode #238

Open leoplaw opened 1 year ago

leoplaw commented 1 year ago

Octal literal are not permitted n strict mode

tinycolor.js:2:17 1: var styles = { 2: 'bold': ['\033[1m', '\033[22m'], ^ 3: 'italic': ['\033[3m', '\033[23m'], 4: 'underline': ['\033[4m', '\033[24m'],