Skip to content

Commit

Permalink
Merge pull request #1463 from BraveHead/v3.5.x_update
Browse files Browse the repository at this point in the history
V3.5.x 更新g2最新版本到3.5.19
  • Loading branch information
Leannechn authored Oct 19, 2021
2 parents f2fa51b + 28dfe43 commit 12a21b6
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@antv/g2": "3.5.15",
"@antv/g2": "3.5.19",
"@babel/runtime": "^7.7.6",
"invariant": "^2.2.2",
"lodash.debounce": "^4.0.8",
Expand Down
4 changes: 3 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ declare namespace bizcharts{
}
export const G2: G2;

type setTheme = ((option: 'default' | 'dark') => void) | ((option: string) => void) | ((option: object) => void)

/**
* setTheme
*/
export const setTheme:G2.Global.setTheme;
export const setTheme: setTheme;

/**
* Util
Expand Down
95 changes: 76 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
dependencies:
"@antv/util" "~1.3.1"

"@antv/component@~0.3.1":
version "0.3.1"
resolved "http://registry.npm.taobao.org/@antv/component/download/@antv/component-0.3.1.tgz#25eb53e3ed3a0f413896be2f83e7e704bfb6b097"
"@antv/component@~0.3.3":
version "0.3.10"
resolved "https://registry.npmmirror.com/@antv/component/download/@antv/component-0.3.10.tgz#945299f037238eef3811b01d134ea98215bc858b"
integrity sha1-lFKZ8Dcjju84EbAdE06pghW8hYs=
dependencies:
"@antv/attr" "~0.1.2"
"@antv/g" "~3.3.5"
Expand Down Expand Up @@ -55,21 +56,23 @@
version "2.1.0"
resolved "http://registry.npm.taobao.org/@antv/g2-plugin-slider/download/@antv/g2-plugin-slider-2.1.0.tgz#7f2f5879d33dcfb14dd2b955092ca198ad9152b9"

"@antv/g2@3.5.1":
version "3.5.1"
resolved "http://registry.npm.taobao.org/@antv/g2/download/@antv/g2-3.5.1.tgz#9b4e33c8322dde281c6581e05615c1710c1fc528"
"@antv/g2@3.5.19":
version "3.5.19"
resolved "https://registry.npmmirror.com/@antv/g2/download/@antv/g2-3.5.19.tgz?cache=0&sync_timestamp=1633762944649&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40antv%2Fg2%2Fdownload%2F%40antv%2Fg2-3.5.19.tgz#f0dd215761e3860501041ef172573059637830b6"
integrity sha1-8N0hV2HjhgUBBB7xclcwWWN4MLY=
dependencies:
"@antv/adjust" "~0.1.0"
"@antv/attr" "~0.1.2"
"@antv/component" "~0.3.1"
"@antv/component" "~0.3.3"
"@antv/coord" "~0.1.0"
"@antv/g" "~3.3.6"
"@antv/scale" "~0.1.0"
"@antv/g" "~3.4.10"
"@antv/scale" "~0.1.1"
"@antv/util" "~1.3.1"
core-js "2"
venn.js "~0.2.20"
wolfy87-eventemitter "~5.1.0"

"@antv/g@~3.3.5", "@antv/g@~3.3.6":
"@antv/g@~3.3.5":
version "3.3.6"
resolved "http://registry.npm.taobao.org/@antv/g/download/@antv/g-3.3.6.tgz#11fed9ddc9ed4e5a2aa244b7c8abb982a003f201"
dependencies:
Expand All @@ -80,6 +83,18 @@
d3-timer "~1.0.6"
wolfy87-eventemitter "~5.1.0"

"@antv/g@~3.4.10":
version "3.4.10"
resolved "https://registry.npmmirror.com/@antv/g/download/@antv/g-3.4.10.tgz#e7b616aa21b17ac51850d033332a5af8de8fe015"
integrity sha1-57YWqiGxesUYUNAzMypa+N6P4BU=
dependencies:
"@antv/gl-matrix" "~2.7.1"
"@antv/util" "~1.3.1"
d3-ease "~1.0.3"
d3-interpolate "~1.1.5"
d3-timer "~1.0.6"
detect-browser "^5.1.0"

"@antv/gl-matrix@^2.7.1", "@antv/gl-matrix@~2.7.1":
version "2.7.1"
resolved "http://registry.npm.taobao.org/@antv/gl-matrix/download/@antv/gl-matrix-2.7.1.tgz#acb8e37f7ab3df01345aba4372d7942be42eba14"
Expand All @@ -90,9 +105,10 @@
dependencies:
"@antv/util" "^1.2.4"

"@antv/scale@~0.1.0":
version "0.1.2"
resolved "http://registry.npm.taobao.org/@antv/scale/download/@antv/scale-0.1.2.tgz#bd9cb33033d8944b52c3e0e4accfd60541c3c147"
"@antv/scale@~0.1.1":
version "0.1.5"
resolved "https://registry.npmmirror.com/@antv/scale/download/@antv/scale-0.1.5.tgz?cache=0&sync_timestamp=1633663103596&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40antv%2Fscale%2Fdownload%2F%40antv%2Fscale-0.1.5.tgz#243266e8b9047cf64b2fdfc40f9834cf0846496e"
integrity sha1-JDJm6LkEfPZLL9/ED5g0zwhGSW4=
dependencies:
"@antv/util" "~1.3.1"
fecha "~2.3.3"
Expand Down Expand Up @@ -163,6 +179,13 @@
version "7.4.2"
resolved "http://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.4.2.tgz#b4521a400cb5a871eab3890787b4bc1326d38d91"

"@babel/runtime@^7.7.6":
version "7.15.4"
resolved "https://registry.nlark.com/@babel/runtime/download/@babel/runtime-7.15.4.tgz?cache=0&sync_timestamp=1630618914695&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a"
integrity sha1-/RfRa/34eObdAtGXU6OfqKjZyEo=
dependencies:
regenerator-runtime "^0.13.4"

"@babel/template@^7.1.0":
version "7.4.0"
resolved "http://registry.npm.taobao.org/@babel/template/download/@babel/template-7.4.0.tgz#12474e9c077bae585c5d835a95c0b0b790c25c8b"
Expand Down Expand Up @@ -1982,6 +2005,11 @@ copy-descriptor@^0.1.0:
version "0.1.1"
resolved "http://registry.npm.taobao.org/copy-descriptor/download/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"

core-js@2:
version "2.6.12"
resolved "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz?cache=0&sync_timestamp=1634062560319&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcore-js%2Fdownload%2Fcore-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
integrity sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=

core-js@2.5.3:
version "2.5.3"
resolved "http://registry.npm.taobao.org/core-js/download/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
Expand Down Expand Up @@ -2392,6 +2420,11 @@ destroy@~1.0.4:
version "1.0.4"
resolved "http://registry.npm.taobao.org/destroy/download/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"

detect-browser@^5.1.0:
version "5.2.1"
resolved "https://registry.nlark.com/detect-browser/download/detect-browser-5.2.1.tgz#b884f8d84e8f33bb874ffed10b4beea26133fcd1"
integrity sha1-uIT42E6PM7uHT/7RC0vuomEz/NE=

detect-indent@^4.0.0:
version "4.0.0"
resolved "http://registry.npm.taobao.org/detect-indent/download/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
Expand Down Expand Up @@ -3247,7 +3280,7 @@ faye-websocket@~0.11.0:
dependencies:
websocket-driver ">=0.5.1"

fbjs@^0.8.16, fbjs@^0.8.9:
fbjs@^0.8.9:
version "0.8.17"
resolved "http://registry.npm.taobao.org/fbjs/download/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
dependencies:
Expand Down Expand Up @@ -4744,6 +4777,11 @@ lodash.create@3.1.1:
lodash._basecreate "^3.0.0"
lodash._isiterateecall "^3.0.0"

lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.nlark.com/lodash.debounce/download/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=

lodash.endswith@^4.0.1:
version "4.2.1"
resolved "http://registry.npm.taobao.org/lodash.endswith/download/lodash.endswith-4.2.1.tgz#fed59ac1738ed3e236edd7064ec456448b37bc09"
Expand Down Expand Up @@ -5948,14 +5986,15 @@ react-test-renderer@^16.0.0-0, react-test-renderer@^16.5.2:
react-is "^16.8.5"
scheduler "^0.13.5"

react@16.0.0:
version "16.0.0"
resolved "http://registry.npm.taobao.org/react/download/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d"
react@16.8.0:
version "16.8.0"
resolved "https://registry.npmmirror.com/react/download/react-16.8.0.tgz?cache=0&sync_timestamp=1634056047333&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Freact%2Fdownload%2Freact-16.8.0.tgz#8533f0e4af818f448a276eae71681d09e8dd970a"
integrity sha1-hTPw5K+Bj0SKJ26ucWgdCejdlwo=
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"
prop-types "^15.6.2"
scheduler "^0.13.0"

read-pkg-up@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -6057,6 +6096,11 @@ regenerator-runtime@^0.11.0:
version "0.11.1"
resolved "http://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"

regenerator-runtime@^0.13.4:
version "0.13.9"
resolved "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
integrity sha1-iSV0Kpj/2QgUmI11Zq0wyjsmO1I=

regenerator-transform@^0.10.0:
version "0.10.1"
resolved "http://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.10.1.tgz#1e4996837231da8b7f3cf4114d71b5691a0680dd"
Expand Down Expand Up @@ -6197,6 +6241,11 @@ requires-port@^1.0.0:
version "1.0.0"
resolved "http://registry.npm.taobao.org/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"

resize-observer-polyfill@^1.5.1:
version "1.5.1"
resolved "https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
integrity sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=

resolve-from@^1.0.0:
version "1.0.1"
resolved "http://registry.npm.taobao.org/resolve-from/download/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226"
Expand Down Expand Up @@ -6327,6 +6376,14 @@ sax@^1.2.4:
version "1.2.4"
resolved "http://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"

scheduler@^0.13.0:
version "0.13.6"
resolved "https://registry.npmmirror.com/scheduler/download/scheduler-0.13.6.tgz?cache=0&sync_timestamp=1634056107688&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fscheduler%2Fdownload%2Fscheduler-0.13.6.tgz#466a4ec332467b31a91b9bf74e5347072e4cd889"
integrity sha1-RmpOwzJGezGpG5v3TlNHBy5M2Ik=
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"

scheduler@^0.13.5:
version "0.13.5"
resolved "http://registry.npm.taobao.org/scheduler/download/scheduler-0.13.5.tgz#b7226625167041298af3b98088a9dbbf6d7733a8"
Expand Down

0 comments on commit 12a21b6

Please sign in to comment.