Skip to content

Commit

Permalink
Fixes security vulnerability with webpack dev server.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrux committed Feb 6, 2019
1 parent 81e3ba4 commit 0a721a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"webpack": "^4.16.3",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.5",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.1.3",
"yarn": "^1.9.2"
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { dependencies as externals } from './app/package.json';
import { dependencies as possibleExternals } from './package.json';

// Find all the dependencies without a `main` property and add them as webpack externals
function filterDepWithoutEntryPoints(dep: string): boolean {
function filterDepWithoutEntryPoints(dep) {
// Return true if we want to add a dependency to externals
try {
// If the root of the dependency has an index.js, return true
Expand Down

0 comments on commit 0a721a5

Please sign in to comment.