diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c0f4093..fc8620d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +v0.5.81 +* Bug fixes + v0.5.80 * Added arrows, stars and polygons to undocumented -symbols command. diff --git a/package-lock.json b/package-lock.json index 776606a5..58b650dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mapshaper", - "version": "0.5.80", + "version": "0.5.81", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3ba17edf..b9a58a24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mapshaper", - "version": "0.5.80", + "version": "0.5.81", "description": "A tool for editing vector datasets for mapping and GIS.", "keywords": [ "shapefile", diff --git a/src/cli/mapshaper-option-parsing-utils.js b/src/cli/mapshaper-option-parsing-utils.js index 5c4c542c..80f22237 100644 --- a/src/cli/mapshaper-option-parsing-utils.js +++ b/src/cli/mapshaper-option-parsing-utils.js @@ -49,9 +49,9 @@ export function cleanArgv(argv) { // Updated: don't trim space from tokens like [delimeter= ] argv = argv.map(function(s) { if (!/= $/.test(s)) { - s = s.trimEnd(); + s = utils.rtrim(s); } - s = s.trimStart(); + s = utils.ltrim(s); return s; }); argv = argv.filter(function(s) {return s !== '';}); // remove empty tokens diff --git a/src/gui/gui-symbol-dragging2.js b/src/gui/gui-symbol-dragging2.js index 4d4f6715..b69efd02 100644 --- a/src/gui/gui-symbol-dragging2.js +++ b/src/gui/gui-symbol-dragging2.js @@ -252,7 +252,6 @@ export function SymbolDragging2(gui, ext, hit) { return parent.querySelector(sel); } - function getTextTarget3(e) { if (e.id > -1 === false || !e.container) return null; return getSymbolNodeById(e.id, e.container);