'Use of eval is strongly discouraged' warning in rollup
See original GitHub issueWhen using rollup to package a component that references react-paginate, it spits out the following warning:
(!) Use of eval is strongly discouraged https://rollupjs.org/guide/en/#avoiding-eval node_modules/react-paginate/dist/react-paginate.js
I am using version 8.1.3.
Any ideas? Thank you!
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Rollup warnings "Use of eval is strongly discouraged" #147
Describe the bug Rollup emits multiple warnings from this library, most importantly: (!) Use of eval is strongly discouraged ...
Read more >Firebase ionic2-rc0 and rollup - “rollup: Use of `eval` is ...
You can disable this warning in rollup config: ... is strongly discouraged/.test(message)) { return; } console.error(message); } };.
Read more >Use Of Eval Is Strongly Discouraged, As It Posses Security Risks
Using Rollup throws errors about dependency Rubberduck using eval. of eval is strongly discouraged as it poses security risks and may cause issues...
Read more >Using OneSDK with Rollup - API docs - FrankieOne
Use of eval is strongly discouraged. This warning comes from an internal library from one of our biometrics providers that uses the
Read more >rollup: Use of `eval` is strongly discouraged - Ionic Forum
Firebase ionic2-rc0 and rollup - "rollup: Use of `eval` is strongly discouraged" ... Anyone has seen this error with rollup? ... Got the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I removed it (trying to replace it by react-refresh in dev). No more
eval
in the build indeed. Thanks @silverwind.@AdeleD can you release https://github.com/AdeleD/react-paginate/releases/tag/v8.1.4? Thx
The problem comes from
react-hot-loader
. With it removed, there is no moreeval
in the compiled file.