mapshaper 0.5.108 → 0.5.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v0.5.109
2
+ * Support setting linejoin and linecap for individual SVG features.
3
+
1
4
  v0.5.108
2
5
  * Bug fixes
3
6
  * Added file_exists() to -if/-elif expressions
package/mapshaper.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (function () {
2
2
 
3
- var VERSION = "0.5.108";
3
+ var VERSION = "0.5.109";
4
4
 
5
5
 
6
6
  var utils = /*#__PURE__*/Object.freeze({
@@ -13934,7 +13934,7 @@
13934
13934
 
13935
13935
  var propertiesBySymbolType = {
13936
13936
  polygon: utils.arrayToIndex(commonProperties.concat('fill', 'fill-pattern')),
13937
- polyline: utils.arrayToIndex(commonProperties),
13937
+ polyline: utils.arrayToIndex(commonProperties.concat('stroke-linecap', 'stroke-linejoin')),
13938
13938
  point: utils.arrayToIndex(commonProperties.concat('fill', 'r')),
13939
13939
  label: utils.arrayToIndex(commonProperties.concat(
13940
13940
  'fill,r,font-family,font-size,text-anchor,font-weight,font-style,letter-spacing,dominant-baseline'.split(',')))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.5.108",
3
+ "version": "0.5.109",
4
4
  "description": "A tool for editing vector datasets for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
package/www/mapshaper.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (function () {
2
2
 
3
- var VERSION = "0.5.108";
3
+ var VERSION = "0.5.109";
4
4
 
5
5
 
6
6
  var utils = /*#__PURE__*/Object.freeze({
@@ -13934,7 +13934,7 @@
13934
13934
 
13935
13935
  var propertiesBySymbolType = {
13936
13936
  polygon: utils.arrayToIndex(commonProperties.concat('fill', 'fill-pattern')),
13937
- polyline: utils.arrayToIndex(commonProperties),
13937
+ polyline: utils.arrayToIndex(commonProperties.concat('stroke-linecap', 'stroke-linejoin')),
13938
13938
  point: utils.arrayToIndex(commonProperties.concat('fill', 'r')),
13939
13939
  label: utils.arrayToIndex(commonProperties.concat(
13940
13940
  'fill,r,font-family,font-size,text-anchor,font-weight,font-style,letter-spacing,dominant-baseline'.split(',')))