Skip to content

Commit

Permalink
chore(package): move from vis to vis-graph3d and from uuid to vis-uuid
Browse files Browse the repository at this point in the history
fixes Auquan#2
  • Loading branch information
mojoaxel committed Jul 27, 2019
1 parent 979ae49 commit 0cbde1f
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 14 deletions.
46 changes: 37 additions & 9 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5127,10 +5127,10 @@ [email protected], [email protected], mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@
dependencies:
minimist "0.0.8"

moment@^2.18.1:
version "2.22.2"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66"
integrity sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=
moment@^2.20.1, moment@^2.24.0:
version "2.24.0"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==

[email protected]:
version "2.0.0"
Expand Down Expand Up @@ -7458,6 +7458,11 @@ timers-browserify@^2.0.4:
dependencies:
setimmediate "^1.0.4"

timsort@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=

tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
Expand Down Expand Up @@ -7793,16 +7798,39 @@ [email protected]:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vis@^4.21.0:
version "4.21.0"
resolved "https://registry.yarnpkg.com/vis/-/vis-4.21.0.tgz#dd71638bff7f6495d00bc9f40c253526133ded6b"
integrity sha1-3XFji/9/ZJXQC8n0DCU1JhM97Ws=
vis-data@^6.0.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/vis-data/-/vis-data-6.1.1.tgz#f036eabd5089cf02753e2e5797fa58dfecbba244"
integrity sha512-KnO7+4CF9B4IvoI/Kbgo1C18bm++NRzrwZqoWVWaM0huRp4KVCwJdYfA7GqPepABrJNILy71w+RFrO84CgaBhw==
dependencies:
vis-util "^1.1.0"

vis-graph3d@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/vis-graph3d/-/vis-graph3d-5.0.0.tgz#f515e31e1c6e61d7e4e809f3e4f022833a05287d"
integrity sha512-qPs3mkdTylYH2baPlwEHBP0h0smvDZVk0cjZS+T7re5+FJ2gBGTJCBEcdgt0gESZO8SJfL3a2SY1gpmqO6Bzqg==
dependencies:
emitter-component "^1.1.1"
hammerjs "^2.0.8"
keycharm "^0.2.0"
moment "^2.18.1"
moment "^2.20.1"
propagating-hammerjs "^1.4.6"
timsort "^0.3.0"
vis-data "^6.0.0"
vis-util "^1.1.1"

vis-util@^1.1.0, vis-util@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/vis-util/-/vis-util-1.1.1.tgz#dff5a9e5f0c2921e3edfd66dccc48091e710cd04"
integrity sha512-2uAJ+XbeQs4mXoeM59KkOJCGc4loM737yYdohm1EMOOPkMJLWP9G/aBUmi4Y2F9alE1Og1D938xeWm91x7RLcw==
dependencies:
moment "^2.24.0"
vis-uuid "^1.0.2"

vis-uuid@^1.0.2, vis-uuid@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vis-uuid/-/vis-uuid-1.1.2.tgz#495c79a62c3078a5d4d9857219793ddf49aa40e9"
integrity sha512-9qXkdN31AvPj2kWG5VACyJa2XY9sj1SgOKF2XoCdYiIvRLZpP3VkzldZwz/P9WV7nQsStiM80SM49boiT25keg==

[email protected]:
version "0.0.4"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
],
"dependencies": {
"lodash": "^4.17.11",
"uuid": "^3.3.2",
"vis": "^4.21.0"
"vis-graph3d": "^5.0.0",
"vis-uuid": "1.1.3"
}
}
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import vis from 'vis'
import uuid from 'uuid'
import vis from 'vis-graph3d'
import { uuid4 } from 'vis-uuid'
import isEqual from 'lodash'

export default class Graph3D extends Component {
Expand All @@ -11,7 +11,7 @@ export default class Graph3D extends Component {

const {identifier} = props
this.state = {
identifier: identifier !== undefined ? identifier : uuid.v4()
identifier: identifier !== undefined ? identifier : uuid4()
}

this.updateGraph = this.updateGraph.bind(this)
Expand Down
76 changes: 76 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3666,6 +3666,11 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"

emitter-component@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/emitter-component/-/emitter-component-1.1.1.tgz#065e2dbed6959bf470679edabeaf7981d1003ab6"
integrity sha1-Bl4tvtaVm/RwZ57avq95gdEAOrY=

emoji-regex@^6.1.0:
version "6.5.1"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.5.1.tgz#9baea929b155565c11ea41c6626eaa65cef992c2"
Expand Down Expand Up @@ -4922,6 +4927,11 @@ h2x-types@^1.1.0:
resolved "https://registry.yarnpkg.com/h2x-types/-/h2x-types-1.1.0.tgz#ec0d5e3674e2207269f32976ac9c82aaff4818e6"
integrity sha512-QdH5qfLcdF209UsCdM0ZNZ9Dwm2PHvMfeLZtivBrjX3Y/df4US2pwsUC4HBfWhye/mx/t6puODeC7Oacb/Ol8g==

hammerjs@^2.0.8:
version "2.0.8"
resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1"
integrity sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=

handle-thing@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4"
Expand Down Expand Up @@ -6279,6 +6289,11 @@ jsx-ast-utils@^2.0.0, jsx-ast-utils@^2.0.1:
dependencies:
array-includes "^3.0.3"

keycharm@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/keycharm/-/keycharm-0.2.0.tgz#fa6ea2e43b90a68028843d27f2075d35a8c3e6f9"
integrity sha1-+m6i5DuQpoAohD0n8gddNajD5vk=

killable@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892"
Expand Down Expand Up @@ -6480,6 +6495,11 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==

lodash@^4.17.11:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==

loglevel@^1.4.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa"
Expand Down Expand Up @@ -6807,6 +6827,11 @@ [email protected], [email protected], mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@
dependencies:
minimist "0.0.8"

moment@^2.20.1, moment@^2.24.0:
version "2.24.0"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
Expand Down Expand Up @@ -7958,6 +7983,13 @@ prop-types@^15.5.10, prop-types@^15.6.2:
loose-envify "^1.3.1"
object-assign "^4.1.1"

propagating-hammerjs@^1.4.6:
version "1.4.7"
resolved "https://registry.yarnpkg.com/propagating-hammerjs/-/propagating-hammerjs-1.4.7.tgz#671ab1791a7f88b9dccce8fd8b14a9655950e7d6"
integrity sha512-oW9Wd+W2Tp5uOz6Fh4mEU7p+FoyU85smLH/mPga83Loh0pHa6AH4ZHGywvwMk3TWP31l7iUsvJyW265p4Ipwrg==
dependencies:
hammerjs "^2.0.8"

proxy-addr@~2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93"
Expand Down Expand Up @@ -9475,6 +9507,11 @@ timers-browserify@^2.0.4:
dependencies:
setimmediate "^1.0.4"

timsort@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=

tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
Expand Down Expand Up @@ -9870,6 +9907,45 @@ [email protected]:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vis-data@^6.0.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/vis-data/-/vis-data-6.1.1.tgz#f036eabd5089cf02753e2e5797fa58dfecbba244"
integrity sha512-KnO7+4CF9B4IvoI/Kbgo1C18bm++NRzrwZqoWVWaM0huRp4KVCwJdYfA7GqPepABrJNILy71w+RFrO84CgaBhw==
dependencies:
vis-util "^1.1.0"

vis-graph3d@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/vis-graph3d/-/vis-graph3d-5.0.0.tgz#f515e31e1c6e61d7e4e809f3e4f022833a05287d"
integrity sha512-qPs3mkdTylYH2baPlwEHBP0h0smvDZVk0cjZS+T7re5+FJ2gBGTJCBEcdgt0gESZO8SJfL3a2SY1gpmqO6Bzqg==
dependencies:
emitter-component "^1.1.1"
hammerjs "^2.0.8"
keycharm "^0.2.0"
moment "^2.20.1"
propagating-hammerjs "^1.4.6"
timsort "^0.3.0"
vis-data "^6.0.0"
vis-util "^1.1.1"

vis-util@^1.1.0, vis-util@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/vis-util/-/vis-util-1.1.1.tgz#dff5a9e5f0c2921e3edfd66dccc48091e710cd04"
integrity sha512-2uAJ+XbeQs4mXoeM59KkOJCGc4loM737yYdohm1EMOOPkMJLWP9G/aBUmi4Y2F9alE1Og1D938xeWm91x7RLcw==
dependencies:
moment "^2.24.0"
vis-uuid "^1.0.2"

[email protected]:
version "1.1.3"
resolved "https://registry.yarnpkg.com/vis-uuid/-/vis-uuid-1.1.3.tgz#2f53ff35e9e026b0ec93bc433ce685c40c2f784c"
integrity sha512-2B6XdY1bkzbUh+TugmnAaFa61KO9R5pzBzIuFIm8a9FrkbxIdSmQXV+FbfkL8QunkQV/bT0JDLQ2puqCS2+0Og==

vis-uuid@^1.0.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vis-uuid/-/vis-uuid-1.1.2.tgz#495c79a62c3078a5d4d9857219793ddf49aa40e9"
integrity sha512-9qXkdN31AvPj2kWG5VACyJa2XY9sj1SgOKF2XoCdYiIvRLZpP3VkzldZwz/P9WV7nQsStiM80SM49boiT25keg==

[email protected]:
version "0.0.4"
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73"
Expand Down

0 comments on commit 0cbde1f

Please sign in to comment.