update module versions

This commit is contained in:
thinkinggis 2019-04-10 17:21:19 +08:00
parent 6b05a94476
commit b727043edd
4 changed files with 7 additions and 7 deletions

View File

@ -16,6 +16,6 @@ $ npm run dev
$ npm run demos $ npm run demos
``` ```
visit online demo visit online demo
http://site.alipay.net/datavis/L7/demos/index.html https://antv.alipay.com/zh-cn/l7/1.x/demo/index.html
## How to Contribute ## How to Contribute

View File

@ -21,9 +21,9 @@
"author": "https://github.com/orgs/antvis/people", "author": "https://github.com/orgs/antvis/people",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@babel/cli": "~7.0.0", "@babel/cli": "^7.4.3",
"@babel/core": "~7.0.0", "@babel/core": "~7.4.3",
"@babel/preset-env": "~7.1.0", "@babel/preset-env": "~7.4.3",
"babel-eslint": "~8.0.3", "babel-eslint": "~8.0.3",
"babel-loader": "~8.0.0", "babel-loader": "~8.0.0",
"babel-plugin-transform-remove-strict-mode": "~0.0.2", "babel-plugin-transform-remove-strict-mode": "~0.0.2",
@ -96,7 +96,7 @@
}, },
"dependencies": { "dependencies": {
"@antv/g": "^3.1.3", "@antv/g": "^3.1.3",
"@antv/util": "~1.2.5", "@antv/util": "~2.0.1",
"@mapbox/tiny-sdf": "^1.1.0", "@mapbox/tiny-sdf": "^1.1.0",
"@turf/bbox": "^6.0.1", "@turf/bbox": "^6.0.1",
"@turf/clean-coords": "^6.0.1", "@turf/clean-coords": "^6.0.1",

View File

@ -1,5 +1,5 @@
import Interaction from './base'; import Interaction from './base';
import throttle from '@antv/util/src/throttle.js'; import { throttle } from '@antv/util';
export default class Hash extends Interaction { export default class Hash extends Interaction {
constructor(cfg) { constructor(cfg) {
super({ super({

View File

@ -1,4 +1,4 @@
import Utils from '@antv/util'; import * as Utils from '@antv/util';
const Util = Utils.mix({}, Utils, { const Util = Utils.mix({}, Utils, {
assign: Utils.mix, // simple mix assign: Utils.mix, // simple mix