Skip to content

Commit abed912

Browse files
authored
upgrade: fix deps security issues (#439)
1 parent 9d2c231 commit abed912

File tree

3 files changed

+721
-615
lines changed

3 files changed

+721
-615
lines changed

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"autoprefixer": "^9.6.1",
2727
"babel-eslint": "^10.0.1",
2828
"babel-loader": "^8.1.0",
29-
"copy-webpack-plugin": "^5.1.1",
29+
"copy-webpack-plugin": "^6.1.0",
3030
"css-loader": "^2.1.0",
3131
"dotenv": "^6.2.0",
3232
"eslint": "^6.2.2",
@@ -38,28 +38,29 @@
3838
"file-loader": "^3.0.1",
3939
"jest": "^25.3.0",
4040
"jest-puppeteer": "^4.4.0",
41-
"node-sass": "^4.13.1",
41+
"node-sass": "^4.14.1",
4242
"postcss-loader": "^3.0.0",
4343
"puppeteer": "^5.2.1",
4444
"sass-loader": "^7.0.3",
4545
"style-loader": "^0.23.1",
46-
"terser-webpack-plugin": "^2.3.1",
46+
"terser-webpack-plugin": "^4.2.1",
4747
"url-loader": "^1.1.2",
48-
"webpack": "^4.41.4",
49-
"webpack-cli": "^3.3.10",
50-
"webpack-dev-server": "^3.10.1"
48+
"webpack": "^4.44.1",
49+
"webpack-cli": "^3.3.12",
50+
"webpack-dev-server": "^3.11.0"
5151
},
5252
"dependencies": {
5353
"@babel/polyfill": "^7.2.5",
5454
"@babel/runtime": "^7.3.4",
55-
"@ringcentral/sdk": "^4.3.2",
56-
"@ringcentral/subscriptions": "^4.3.2",
55+
"@rc-ex/core": "^0.4.2",
5756
"@ringcentral-integration/core": "^0.12.2",
5857
"@ringcentral-integration/glip-widgets": "^0.0.1",
5958
"@ringcentral-integration/i18n": "^2.0.1",
6059
"@ringcentral-integration/locale-loader": "^2.0.2",
6160
"@ringcentral-integration/phone-number": "^1.0.7",
6261
"@ringcentral-integration/rcui": "^0.1.0",
62+
"@ringcentral/sdk": "^4.3.2",
63+
"@ringcentral/subscriptions": "^4.3.2",
6364
"classnames": "^2.2.5",
6465
"core-js": "^2.6.5",
6566
"format-message": "^5.1.2",

webpack-production.config.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,15 @@ config.plugins = [
7171
RECORDING_LINK: JSON.stringify(recordingLink),
7272
},
7373
}),
74-
new CopyWebpackPlugin([
75-
{ from: 'src/assets', to: 'assets' },
76-
{ from: 'src/app.html', to: 'app.html' },
77-
{ from: 'src/index.html', to: 'index.html' },
78-
{ from: 'src/proxy.html', to: 'proxy.html' },
79-
{ from: 'src/redirect.html', to: 'redirect.html' },
80-
]),
74+
new CopyWebpackPlugin({
75+
patterns: [
76+
{ from: 'src/assets', to: 'assets' },
77+
{ from: 'src/app.html', to: 'app.html' },
78+
{ from: 'src/index.html', to: 'index.html' },
79+
{ from: 'src/proxy.html', to: 'proxy.html' },
80+
{ from: 'src/redirect.html', to: 'redirect.html' },
81+
]
82+
}),
8183
];
8284
if (!localExtensionMode) {
8385
config.entry['adapter.min'] = './src/adapter.js';

0 commit comments

Comments
 (0)