Skip to content

Commit a210d56

Browse files
author
Amr Wagdy
committed
Chore: Release v2.0.2
1 parent 66df47c commit a210d56

File tree

4 files changed

+763
-1046
lines changed

4 files changed

+763
-1046
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Types of changes:
2525
- ...
2626

2727
-------------
28+
## 2.0.2 - 2023-04-18
29+
### Fixed
30+
- Remove CVE vulnerabilities
31+
2832
## 2.0.1 - 2022-08-19
2933
### Fixed
3034
- Prevent the config to be visible on DOM.

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-cloudimage-responsive-plain",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"main": "dist/index.js",
55
"description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique.",
66
"author": "scaleflex",
@@ -47,7 +47,7 @@
4747
},
4848
"devDependencies": {
4949
"@babel/cli": "^7.0.0",
50-
"@babel/core": "^7.0.0",
50+
"@babel/core": "^7.21.4",
5151
"@babel/parser": "^7.18.10",
5252
"@babel/plugin-proposal-class-properties": "^7.0.0",
5353
"@babel/plugin-proposal-decorators": "^7.0.0",
@@ -58,25 +58,24 @@
5858
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
5959
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
6060
"@babel/plugin-syntax-import-meta": "^7.0.0",
61-
"@babel/preset-env": "^7.9.5",
61+
"@babel/preset-env": "^7.21.4",
6262
"@babel/preset-react": "^7.0.0",
63-
"babel-loader": "^8.0.0",
64-
"css-loader": "^2.0.0",
63+
"babel-loader": "^9.1.2",
64+
"css-loader": "^6.7.3",
6565
"eslint": "^7.32.0 || ^8.2.0",
6666
"eslint-config-airbnb": "^19.0.4",
67-
"eslint-plugin-import": "^2.25.3",
6867
"eslint-plugin-jsx-a11y": "^6.5.1",
6968
"eslint-plugin-react": "^7.28.0",
7069
"eslint-plugin-react-hooks": "^4.3.0",
7170
"gh-pages": "^2.0.1",
72-
"html-webpack-plugin": "^5.5.0",
71+
"html-webpack-plugin": "^5.5.1",
7372
"react": "^18.2.0",
7473
"react-dom": "^18.2.0",
75-
"react-syntax-highlighter": "^10.2.0",
76-
"style-loader": "^0.23.1",
77-
"uglifyjs-webpack-plugin": "^2.2.0",
78-
"webpack": "^5.74.0",
79-
"webpack-cli": "^4.10.0",
80-
"webpack-dev-server": "^4.10.0"
74+
"react-syntax-highlighter": "^15.5.0",
75+
"style-loader": "^3.3.2",
76+
"terser-webpack-plugin": "^5.3.7",
77+
"webpack": "^5.79.0",
78+
"webpack-cli": "^5.0.1",
79+
"webpack-dev-server": "^4.13.3"
8180
}
8281
}

webpack-demo.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const path = require('path');
22
const HtmlWebpackPlugin = require("html-webpack-plugin");
3-
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
3+
const TerserPlugin = require("terser-webpack-plugin");
44

55
const htmlWebpackPlugin = new HtmlWebpackPlugin({
66
template: path.join(__dirname, "examples/src/index.html"),
@@ -28,9 +28,7 @@ module.exports = {
2828
},
2929
optimization: {
3030
minimize: true,
31-
minimizer: [new UglifyJsPlugin({
32-
include: /\.min\.js$/
33-
})]
31+
minimizer: [new TerserPlugin()],
3432
},
3533
plugins: [htmlWebpackPlugin],
3634
resolve: {

0 commit comments

Comments
 (0)