-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entities 2.0.2 includes es6 regular expression flag/u #209
Comments
Line 65 in 9311466
|
+1 here It breaks IE. But since ts target is set to |
Same problem |
I think it could ve replaced const reNonASCII = new RegExp("[^\\0-\\x7F]", "gu"); |
No, in IE11 it still shows |
Same issue. |
Generated an equivalent regex using regexpu so that it does not break in IE. This is to fix fb55#209
hello, I have an old project, its node v4.4.2 npm v2.15.0, it use html-webpack-plugin v2.9.0, and html-webpack-plugin has a deep dependence to entities. This is because executes html-webpack-plugin’s code after |
I changed the regex to a version compatible with ES5 using regexpu:
to
Perhaps this can help. |
Hello, I have just started npm insall for my package, I still have the old version "[email protected]" :
I think we have update or merge issue for the new version. |
Actually, in my side , I cannot use the version 2.0.0 because the problems is related to a dependency of dependency of dependency... So at the end , we don't have the control of the exact version to use. We cannot completely review the solution andI think it will be ridiculous to do it just regarding the change made in the entities. We are waiting the fix to be able to continue our development which are stopped since the change made. |
You can try to install your own fork with working version using git url |
Hi all - a workaround for others which are having issues with this being a sub-dependency is to manually edit your lockfile, replacing any entities 2.0.2 with 2.0.0: Then just make sure your CI is using npm: "entities": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz",
"integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw=="
} yarn: [email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw== |
Hi all! |
entities 2.0.2 includes es6 regular expression flag /u
The text was updated successfully, but these errors were encountered: