CSP: Remove @babel/runtime from dependencies
See original GitHub issue@babel/runtime
contains a dependency regenenerator-runtime
. And this break the Content-Security-Policy unsafe-eval
.
I think, that @babel/runtime
should not be a part of dependency. It must be a part of devDependency?!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
javascript - Webpack Babel Function("r", "regeneratorRuntime ...
I am using the webpack configurations below to build all my JS files: const path = require('path'); const glob = require('glob'); ...
Read more >Upgrade to Babel 7
In Babel 7, this command has been split out into its own @babel/node package, so if you are using that command, you'll want...
Read more >Code Splitting - webpack
Let's remove this duplication in next section. Prevent Duplication. Entry dependencies. The dependOn option allows to share the modules between the chunks ...
Read more >csp-generator - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: MIT. Security Policy: No.
Read more >Security Hardening for Create-React-App (CRA)
npm install react-app-rewired customize-cra @melloware/csp-webpack-plugin --save-dev. TypeScript. Copy. Install runtime dependencies for ...
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
Yes, but why do you mention me? I’m not a maintainer, just a random contributor sending the latest PR that got merged to
@ant-design/react-slick
.Hi! This issue can probably be closed;
@babel/runtime@7.18.0
does not depend onregenerator-runtime
anymore.