From 7a55d07664c63b0a2cdd2706f13cbbc52d73a6fa Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Tue, 2 Apr 2019 10:26:54 +0800 Subject: [PATCH 1/3] fix(package): update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7dc407177f..a978237bf9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "1.1.7", + "version": "1.1.8", "description": "Large-scale WebGL-powered Geospatial Data Visualization", "main": "build/l7.js", "browser": "build/l7.js", From 640e1737c32b33d6ab43549f13fd30bcabbb1bf3 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Wed, 10 Apr 2019 17:05:05 +0800 Subject: [PATCH 2/3] update version 1.1.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a978237bf9..871f3baab4 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/l7", - "version": "1.1.8", + "version": "1.1.9", "description": "Large-scale WebGL-powered Geospatial Data Visualization", "main": "build/l7.js", "browser": "build/l7.js", From 5f4413214d1af1f406c472b184f10b15ef154c99 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Wed, 10 Apr 2019 17:21:19 +0800 Subject: [PATCH 3/3] update module versions --- README.md | 2 +- package.json | 8 ++++---- src/interaction/hash.js | 2 +- src/util.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4558143f25..ffd1a6a230 100755 --- a/README.md +++ b/README.md @@ -16,6 +16,6 @@ $ npm run dev $ npm run demos ``` 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 diff --git a/package.json b/package.json index 871f3baab4..529672e824 100755 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ "author": "https://github.com/orgs/antvis/people", "license": "MIT", "devDependencies": { - "@babel/cli": "~7.0.0", - "@babel/core": "~7.0.0", - "@babel/preset-env": "~7.1.0", + "@babel/cli": "^7.4.3", + "@babel/core": "~7.4.3", + "@babel/preset-env": "~7.4.3", "babel-eslint": "~8.0.3", "babel-loader": "~8.0.0", "babel-plugin-transform-remove-strict-mode": "~0.0.2", @@ -96,7 +96,7 @@ }, "dependencies": { "@antv/g": "^3.1.3", - "@antv/util": "~1.2.5", + "@antv/util": "~2.0.1", "@mapbox/tiny-sdf": "^1.1.0", "@turf/bbox": "^6.0.1", "@turf/clean-coords": "^6.0.1", diff --git a/src/interaction/hash.js b/src/interaction/hash.js index b06188a6f7..04b1bcb86d 100644 --- a/src/interaction/hash.js +++ b/src/interaction/hash.js @@ -1,5 +1,5 @@ import Interaction from './base'; -import throttle from '@antv/util/src/throttle.js'; +import { throttle } from '@antv/util'; export default class Hash extends Interaction { constructor(cfg) { super({ diff --git a/src/util.js b/src/util.js index d2c4583466..d2bc01336d 100644 --- a/src/util.js +++ b/src/util.js @@ -1,4 +1,4 @@ -import Utils from '@antv/util'; +import * as Utils from '@antv/util'; const Util = Utils.mix({}, Utils, { assign: Utils.mix, // simple mix