Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
985 additions
and
827 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Security Policy | ||
|
||
This document explains the security policy of webpack-cli and how we intend to support webpack and webpack-cli. | ||
|
||
## Supported Versions | ||
|
||
webpack CLI is currently supporting webpack v4 and webpack v5. Security fixes are released in patches. | ||
|
||
| webpack version | webpack-cli version | Supported | | ||
| --------------- | ----------------------------- | ------------------ | | ||
| >= 4.20.x | ^3.1.2 | :white_check_mark: | | ||
| <= 4.19.x | ^3.1.1 | :white_check_mark: | | ||
| 5.x.0 | ^3.1.2 | :white_check_mark: | | ||
| 5.0.x | ^3.1.2 | :white_check_mark: | | ||
| < 4.x.x | (CLI included in webpack < 4) | :x: | | ||
|
||
**Note: Using webpack < 4 with webpack CLI is not required as CLI was [included](https://github.com/webpack/webpack/commit/4b0332d3909eea8115d84f9a03da2d52478daa70#diff-b9cfc7f2cdf78a7f4b91a753d10865a2) in webpack.** | ||
|
||
## Reporting a Vulnerability | ||
|
||
To report a vulnerability, please contact one of webpack maintainers through the email provided from either npm, GitHub or reach out at other social media platforms. For third party security vulnerabilities, submitting an issue or Pull Request to fix the security vulerability is much appreciated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
**/*.js | ||
!*.test.js | ||
!/**/*.test.js | ||
!/templates/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { generatePluginName } from "../utils/plugins"; | ||
|
||
describe("generatePluginName", () => { | ||
it("should return webpack Standard Plugin Name for Name : extract-text-webpack-plugin", () => { | ||
const pluginName = generatePluginName("extract-text-webpack-plugin"); | ||
expect(pluginName).toEqual("ExtractTextWebpackPlugin"); | ||
}); | ||
|
||
it("should return webpack Standard Plugin Name for Name : webpack.DefinePlugin", () => { | ||
const pluginName = generatePluginName("webpack.DefinePlugin"); | ||
expect(pluginName).toEqual("webpack.DefinePlugin"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ export { | |
loaderGenerator, | ||
pluginGenerator, | ||
removeGenerator, | ||
updateGenerator, | ||
updateGenerator | ||
}; |
Oops, something went wrong.