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

Security version updates #6427

Closed
wants to merge 2 commits into from

Conversation

flying-sheep
Copy link

@flying-sheep flying-sheep commented Jan 6, 2023

Supersedes #6344

The d3-color module provides representations for various color spaces in the browser. Versions prior to 3.1.0 are vulnerable to a Regular expression Denial of Service. This issue has been patched in version 3.1.0. There are no known workarounds.

Weaknesses

@mik-patient

Also fixes this security issue in JSON5

@archmoj
Copy link
Contributor

archmoj commented Jan 6, 2023

Good start.
Could you please investigate why some jasmine tests are failing?
Perhaps adjusting this webpack config could help

webpack: {
target: ['web', 'es5'],
module: {
rules: [{
test: /\.js$/,
use: [
'transform-loader?' + path.resolve(__dirname, '..', '..', 'tasks/util/shortcut_paths')
]
}, {
test: /\.js$/,
include: /node_modules/,
use: {
loader: 'babel-loader',
options: {
babelrc: false,
configFile: false,
plugins: [
'@babel/plugin-transform-modules-commonjs'
]
}
}
}, {
test: /\.(js|glsl)$/,
use: [
'ify-loader'
]
}]
},
resolve: {
fallback: {
'stream': require.resolve('stream-browserify')
}
},
plugins: [
new NodePolyfillPlugin({ includeAliases: ['process'] }),
new LoaderOptionsPlugin({
// test: /\.xxx$/, // may apply this only for some modules
options: {
library: {
name: 'Plotly',
type: 'umd',
umdNamedDefine: true
}
}
})
]
},

@archmoj archmoj added community community contribution type: maintenance labels Jan 6, 2023
@flying-sheep
Copy link
Author

Sorry, I have no webpack experience. Feel free to make changes to this PR!

@archmoj
Copy link
Contributor

archmoj commented Feb 1, 2023

Addressed in #6463.
Thank you!

@archmoj archmoj closed this Feb 1, 2023
@flying-sheep flying-sheep deleted the security-fixes branch February 1, 2023 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants