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

CircosJS abandoned resource vulnerability #536

Merged
merged 4 commits into from
Jan 6, 2021
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.5.1] - 2020-12-27
### Fixed
* [#536](https://github.com/plotly/dash-bio/pull/536) Fixed abandoned resource vulnerability with CircosJS fork.

## [0.5.0] - 2020-10-05
### Added
* [#496](https://github.com/plotly/dash-bio/pull/496) Added Dash-NGL-Moleculeviewer component.
Expand Down
2 changes: 1 addition & 1 deletion dash_bio/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dash_bio/component_factory/_clustergram.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ def figure(self, computed_traces=None):
)

# hide labels, if necessary
for l in self._hidden_labels:
fig["layout"][l].update(ticks="", showticklabels=False)
for label in self._hidden_labels:
fig["layout"][label].update(ticks="", showticklabels=False)

# recalculate the heatmap, if necessary
if heatmap is None:
Expand Down
94 changes: 93 additions & 1 deletion dash_bio/package-info.json
Original file line number Diff line number Diff line change
@@ -1 +1,93 @@
{"version": "0.5.0", "name": "dash_bio", "author": "The Plotly Team <dashbio@plotly.com>"}
{
"name": "dash-bio",
"version": "0.5.0",
"description": "Dash components for bioinformatics",
"repository": {
"type": "git",
"url": "git@github.com:plotly/dash-bio.git"
},
"bugs": {
"url": "https://github.com/plotly/dash-bio/issues"
},
"homepage": "https://github.com/plotly/dash-bio",
"main": "build/index.js",
"scripts": {
"format:test": "prettier --config .prettierrc --list-different \"{src/**/, src/lib/components/}*.js\"",
"format": "prettier --config .prettierrc --write \"{src/**/, src/lib/components/}*.js\"",
"lint:test": "eslint src",
"lint": "eslint src --fix",
"test": "npm run lint:test && npm run format:test && npm run test-unit",
"test-unit": "jest",
"build:js-dev": "webpack --mode development",
"build:js": "npm run lint && npm run format && webpack --mode production",
"build:py": "node ./extract-meta src/lib/components > dash_bio/metadata.json && python get_version_info.py && python -c \"import dash; dash.development.component_loader.generate_classes('dash_bio', 'dash_bio/metadata.json')\"",
"build:r": "dash-generate-components ./src/lib/components dash_bio -p package-info.json --r-prefix='dashbio' --r-imports='dash' --r-depends='manhattanly'",
"build": "npm run build:js && npm run build:py",
"build:all": "npm run build && npm run build:r",
"postbuild": "es-check es5 dash_bio/*.js",
"build:dev": "npm run build:js-dev && npm run build:py"
},
"author": "The Plotly Team <dashbio@plotly.com>",
"maintainer": "Ryan Patrick Kyle <ryan@plotly.com>",
"license": "MIT",
"dependencies": {
"circos": "git+https://github.com/plotly/circosJS.git#matthewchan15-zoom-pan-svg",
"fast-memoize": "^2.5.1",
"fornac": "git://github.com/plotly/fornac.git#6b1b84740d35bf37ca7d251e665039a87b4c2ea9",
"ideogram": "git+https://github.com/eweitz/ideogram.git#7d9b2ab91b91ef35db93bdeb529d4760de63292f",
"molecule-2d-for-react": "git://github.com/plotly/molecule-2d-for-react.git",
"molecule-3d-for-react": "git://github.com/plotly/molecule-3d-for-react.git",
"ngl": "^0.10.4",
"plotly.js": "^1.52.2",
"ramda": "^0.26.0",
"react": "16.13.0",
"react-alignment-viewer": "^0.5.5",
"react-dom": "16.13.0",
"react-oncoprint": "^1.2.3",
"react-plotly.js": "^2.4.0",
"react-sequence-viewer": "git://github.com/plotly/react-sequence-viewer.git",
"speck": "git://github.com/plotly/speck.git"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@plotly/webpack-dash-dynamic-import": "^1.1.5",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.6",
"copyfiles": "^2.2.0",
"css-loader": "^3.4.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"es-check": "^5.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"jest": "^24.5.0",
"jest-canvas-mock": "^2.2.0",
"jest-raw-loader": "^1.0.1",
"prettier": "^1.19.1",
"react-docgen": "^3.0.0",
"react-test-renderer": "^16.12.0",
"style-loader": "^0.23.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-serve": "^3.2.0"
},
"peerDependencies": {
"react": ">=0.14",
"react-dom": ">=0.14"
},
"files": [
"dash_bio/bundle.js",
"dash_bio/async~*.js"
],
"engines": {
"node": ">=8.11.0",
"npm": ">=6.1.0"
}
}
2 changes: 1 addition & 1 deletion inst/deps/bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"maintainer": "Ryan Patrick Kyle <ryan@plotly.com>",
"license": "MIT",
"dependencies": {
"circos": "git+https://github.com/matthewchan15/circosJS.git#matthewchan15-zoom-pan-svg",
"circos": "git+https://github.com/plotly/circosJS.git#matthewchan15-zoom-pan-svg",
"fast-memoize": "^2.5.1",
"fornac": "git://github.com/plotly/fornac.git#6b1b84740d35bf37ca7d251e665039a87b4c2ea9",
"ideogram": "git+https://github.com/eweitz/ideogram.git#7d9b2ab91b91ef35db93bdeb529d4760de63292f",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ pandas>=0.24.2
plotly>=4.1.0
PubChemPy==1.0.4
requests==2.21.0
scikit-learn==0.20.2
scikit-learn==0.23.2
scipy>=1.1.0