Update Leaflet to 1.3.4

This commit is contained in:
Yohan Boniface 2018-09-05 21:35:16 +02:00
parent 2d9fd3ed46
commit 08ff6e53a3
3 changed files with 10 additions and 10 deletions

8
package-lock.json generated
View file

@ -1341,9 +1341,9 @@
} }
}, },
"leaflet": { "leaflet": {
"version": "1.3.1", "version": "1.3.4",
"resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.3.1.tgz", "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.3.4.tgz",
"integrity": "sha512-adQOIzh+bfdridLM1xIgJ9VnJbAUY3wqs/ueF+ITla+PLQ1z47USdBKUf+iD9FuUA8RtlT6j6hZBfZoA6mW+XQ==" "integrity": "sha512-FYL1LGFdj6v+2Ifpw+AcFIuIOqjNggfoLUwuwQv6+3sS21Za7Wvapq+LhbSE4NDXrEj6eYnW3y7LsaBICpyXtw=="
}, },
"leaflet-contextmenu": { "leaflet-contextmenu": {
"version": "1.4.0", "version": "1.4.0",
@ -1467,7 +1467,7 @@
}, },
"minimist": { "minimist": {
"version": "0.0.10", "version": "0.0.10",
"resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=" "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
}, },
"mkdirp": { "mkdirp": {

View file

@ -39,7 +39,7 @@
"dependencies": { "dependencies": {
"csv2geojson": "5.1.1", "csv2geojson": "5.1.1",
"georsstogeojson": "^0.1.0", "georsstogeojson": "^0.1.0",
"leaflet": "1.3.1", "leaflet": "1.3.4",
"leaflet-contextmenu": "^1.4.0", "leaflet-contextmenu": "^1.4.0",
"leaflet-editable": "^1.1.0", "leaflet-editable": "^1.1.0",
"leaflet-editinosm": "0.2.3", "leaflet-editinosm": "0.2.3",

View file

@ -1,4 +1,4 @@
describe('L.Utorage.Polygon', function () { describe('L.U.Polygon', function () {
var p2ll, map; var p2ll, map;
before(function () { before(function () {
@ -189,10 +189,10 @@ describe('L.Utorage.Polygon', function () {
layer.edit(); layer.edit();
assert.notOk(layer.isMulti()); assert.notOk(layer.isMulti());
happen.click(qs('.umap-draw-polygon-multi')); happen.click(qs('.umap-draw-polygon-multi'));
happen.at('mousedown', 300, 300); happen.at('mousemove', 300, 300);
happen.at('mouseup', 300, 300); happen.at('click', 300, 300);
happen.at('mousedown', 350, 300); happen.at('mousemove', 350, 300);
happen.at('mouseup', 350, 300); happen.at('click', 350, 300);
happen.at('click', 350, 300); happen.at('click', 350, 300);
assert.ok(layer.isMulti()); assert.ok(layer.isMulti());
assert.equal(this.datalayer._index.length, 1); assert.equal(this.datalayer._index.length, 1);