Skip to content

Commit

Permalink
Update dependencies (#132)
Browse files Browse the repository at this point in the history
* npm run build with dash 1.20

* Bump ssri from 6.0.1 to 6.0.2 (#131)

Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](npm/ssri@v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ini from 1.3.5 to 1.3.8 (#115)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dot-prop from 4.2.0 to 4.2.1 (#124)

Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](sindresorhus/dot-prop@v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* npm audit fix

* Update changelog

* Fix prop types to stop warnings

Many warnings are caused by incorrect
proptypes introduced in #117

* npm run build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Xing Han Lu and dependabot[bot] authored May 6, 2021
1 parent 325579c commit 9dc2efc
Show file tree
Hide file tree
Showing 9 changed files with 499 additions and 245 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Docgen upgraded to 5.3.0 (#117)
* Improved prop typing (#117)

### Fixed
* Various security fixes

## [0.2.0] - 20120-07-09

### Added
Expand Down
607 changes: 420 additions & 187 deletions dash_cytoscape/Cytoscape.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_cytoscape/dash_cytoscape.dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_cytoscape/dash_cytoscape.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_cytoscape/dash_cytoscape_extra.dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_cytoscape/dash_cytoscape_extra.min.js

Large diffs are not rendered by default.

56 changes: 48 additions & 8 deletions dash_cytoscape/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
"name": "exact",
"value": {
"edgesData": {
"name": "object",
"name": "array",
"description": "node specific item",
"required": false
},
Expand Down Expand Up @@ -565,27 +565,67 @@
"required": false
},
"ancestorsData": {
"name": "object",
"name": "union",
"value": [
{
"name": "object"
},
{
"name": "array"
}
],
"description": "Item for compound nodes",
"required": false
},
"childrenData": {
"name": "object",
"name": "union",
"value": [
{
"name": "object"
},
{
"name": "array"
}
],
"description": "Item for compound nodes",
"required": false
},
"descendantsData": {
"name": "object",
"name": "union",
"value": [
{
"name": "object"
},
{
"name": "array"
}
],
"description": "Item for compound nodes",
"required": false
},
"parentData": {
"name": "object",
"name": "union",
"value": [
{
"name": "object"
},
{
"name": "array"
}
],
"description": "Item for compound nodes",
"required": false
},
"siblingsData": {
"name": "object",
"name": "union",
"value": [
{
"name": "object"
},
{
"name": "array"
}
],
"description": "Item for compound nodes",
"required": false
},
Expand Down Expand Up @@ -752,7 +792,7 @@
},
"generateImage": {
"type": {
"name": "exact",
"name": "shape",
"value": {
"type": {
"name": "enum",
Expand All @@ -775,7 +815,7 @@
}
],
"description": "File type to output",
"required": true
"required": false
},
"options": {
"name": "object",
Expand Down
54 changes: 16 additions & 38 deletions package-lock.json

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

16 changes: 8 additions & 8 deletions src/lib/components/Cytoscape.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ Cytoscape.propTypes = {
*/
tapNode: PropTypes.exact({
/** node specific item */
edgesData: PropTypes.object,
edgesData: PropTypes.array,
/** node specific item */
renderedPosition: PropTypes.object,
/** node specific item */
Expand All @@ -771,15 +771,15 @@ Cytoscape.propTypes = {
/** General item (for all elements) */
style: PropTypes.object,
/** Item for compound nodes */
ancestorsData: PropTypes.object,
ancestorsData: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Item for compound nodes */
childrenData: PropTypes.object,
childrenData: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Item for compound nodes */
descendantsData: PropTypes.object,
descendantsData: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Item for compound nodes */
parentData: PropTypes.object,
parentData: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Item for compound nodes */
siblingsData: PropTypes.object,
siblingsData: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
/** Item for compound nodes */
isParent: PropTypes.bool,
/** Item for compound nodes */
Expand Down Expand Up @@ -872,9 +872,9 @@ Cytoscape.propTypes = {
* the image, it may be prudent to invoke `'download'` for `action` instead of
* `'store'` to improve performance by preventing transfer of data to the server.
*/
generateImage: PropTypes.exact({
generateImage: PropTypes.shape({
/** File type to output */
type: PropTypes.oneOf(['svg', 'png', 'jpg', 'jpeg']).isRequired,
type: PropTypes.oneOf(['svg', 'png', 'jpg', 'jpeg']),
/** Dictionary of options to cy.png() / cy.jpg() or cy.svg() for image generation.
* See https://js.cytoscape.org/#core/export for details. For `'output'`, only 'base64'
* and 'base64uri' are supported. Default: `{'output': 'base64uri'}`.*/
Expand Down

0 comments on commit 9dc2efc

Please sign in to comment.