You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIR the public npmjs.com repository requires packages to be valid ES5 code. Apparently serialize-javascript is not ES5 since 1.6.0 version. Steps to reproduce:
npm i serialize-javascript@1.5.0
npm i es-check --save-dev
./node_modules/.bin/es-check es5 'node_modules/serialize-javascript/*.js'
For version 1.5.0 the above does not complain at all.
My specific case was that UglifyJs babel plugin complains about not being able to compile JS code during build process once serialize-javascript got upgraded to 1.6.0 version.
The text was updated successfully, but these errors were encountered:
AFAIR the public npmjs.com repository requires packages to be valid ES5 code. Apparently
serialize-javascript
is not ES5 since 1.6.0 version. Steps to reproduce:For version 1.5.0 the above does not complain at all.
My specific case was that UglifyJs babel plugin complains about not being able to compile JS code during build process once
serialize-javascript
got upgraded to 1.6.0 version.The text was updated successfully, but these errors were encountered: