are-you-es5
are-you-es5 copied to clipboard
highlight.js not recognized as non-es5
Highlight v10 starts to use es6 features but it is not getting picked up by are-you-es5.
@trigun539 Can you share how you installed highlight.js? When I did an npm install it looks like I got a package intended for Node.js and I don't see any ES6 syntax in its index file at least (although lib/core.js uses classes). I looked at their build pipeline and I noticed that building for the browser is supported but I'm not sure how to get that version. Is the version that's installed via NPM intended for browser usage?
I think this case could have been caught if #2 is implemented.
@obahareth I did simple npm i -D highlight.js
Yes, it seems like it will be fixed when #2 is fixed. Just wanted to add it in there as another use case/example.