Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove CVE-2020-7774 vulnerability by updating the y18n package #4693

Merged
merged 6 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libraries/adaptive-expressions-ie11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"types": "./dist/index.d.ts",
"dependencies": {
"adaptive-expressions": "4.1.6",
"clean-webpack-plugin": "^3.0.0",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.3.2",
"terser-webpack-plugin": "^4.2.3"
"terser-webpack-plugin": "^5.3.10"
},
"devDependencies": {
"@babel/core": "^7.23.2",
Expand All @@ -35,8 +35,8 @@
"babel-loader": "^8.0.6",
"ts-loader": "^7.0.5",
"typescript": "3.5.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
"webpack": "^5.92.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"build": "webpack",
Expand Down
6 changes: 4 additions & 2 deletions libraries/adaptive-expressions-ie11/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ module.exports = () => {
minimize: true,
minimizer: [new TerserPlugin()],
},
devtool: 'none',
resolve: {
extensions: ['.ts', '.js'],
fallback: {
'adaptive-expressions': require.resolve('adaptive-expressions'),
},
},
module: {
rules: [
Expand All @@ -37,7 +39,7 @@ module.exports = () => {
{
test: /\.js$/,
loader: 'babel-loader',
query: { compact: false },
options: { compact: false },
include: [
resolvePackageRoot('adaptive-expressions'),
resolvePackageRoot('@microsoft/recognizers-text-data-types-timex-expression'),
Expand Down
3 changes: 1 addition & 2 deletions tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"random-js": "1.0.4",
"should": "^8.3.1",
"sinon": "^2.1.0",
"xmlbuilder": "0.4.3",
"yargs": "3.29.0"
"xmlbuilder": "0.4.3"
},
"homepage": "http://github.com/azure/azure-sdk-for-node",
"repository": {
Expand Down
Loading
Loading