Skip to content

Commit

Permalink
Switch to a somewhat newer webpack-inject-plugin fork to fix dependen…
Browse files Browse the repository at this point in the history
…cy vulnerability
  • Loading branch information
tobias-93 committed Dec 15, 2023
1 parent c61c92d commit 3e1aa85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Resources/package.json
@@ -1,6 +1,6 @@
{
"name": "fos-router",
"version": "2.4.6",
"version": "2.5.0",
"description": "A pretty nice way to use the routes generated by the FOSJsRoutingBundle in your JavaScript.",
"keywords": [
"router",
Expand Down Expand Up @@ -49,6 +49,6 @@
"prepublish": "npm run build"
},
"dependencies": {
"webpack-inject-plugin": "^1.5.5"
"@bpnetguy/webpack-inject-plugin": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion Resources/webpack/FosRouting.js
Expand Up @@ -5,7 +5,7 @@ const fs = require('fs');
const path = require('path');
const util = require('util');

const InjectPlugin = require('webpack-inject-plugin').default;
const InjectPlugin = require('@bpnetguy/webpack-inject-plugin').default;

const execFile = util.promisify(require('child_process').execFile);
const readFile = util.promisify(fs.readFile);
Expand Down

0 comments on commit 3e1aa85

Please sign in to comment.