gpx-builder
Advanced tools
Comparing version 3.6.45 to 3.6.46
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
## v3.6.46 (2021-06-07) | ||
### Fixed | ||
- [067e21b](https://github.com/fabulator/gpx-builder/commit/067e21b0c7839891f4644465254461adcafe72f8) Update lock for security updated | ||
## v3.6.45 (2021-05-31) | ||
@@ -5,0 +9,0 @@ ### Fixed |
@@ -17,6 +17,4 @@ 'use strict'; | ||
constructor() { | ||
_defineProperty__default['default'](this, "data", void 0); | ||
_defineProperty__default['default'](this, "schemaLocation", void 0); | ||
this.data = void 0; | ||
this.schemaLocation = void 0; | ||
this.data = {}; | ||
@@ -117,5 +115,4 @@ this.schemaLocation = ['http://www.topografix.com/GPX/1/1', 'http://www.topografix.com/GPX/1/1/gpx.xsd']; | ||
} | ||
BaseBuilder.MODELS = index; | ||
_defineProperty__default['default'](BaseBuilder, "MODELS", index); | ||
module.exports = BaseBuilder; |
'use strict'; | ||
var _defineProperty = require('@babel/runtime/helpers/defineProperty'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty); | ||
class Bounds { | ||
@@ -14,10 +8,6 @@ /** | ||
constructor(minlat, minlon, maxlat, maxlon) { | ||
_defineProperty__default['default'](this, "minlat", void 0); | ||
_defineProperty__default['default'](this, "minlon", void 0); | ||
_defineProperty__default['default'](this, "maxlat", void 0); | ||
_defineProperty__default['default'](this, "maxlon", void 0); | ||
this.minlat = void 0; | ||
this.minlon = void 0; | ||
this.maxlat = void 0; | ||
this.maxlon = void 0; | ||
this.minlat = minlat; | ||
@@ -24,0 +14,0 @@ this.minlon = minlon; |
@@ -24,8 +24,5 @@ 'use strict'; | ||
}) { | ||
_defineProperty__default['default'](this, "author", void 0); | ||
_defineProperty__default['default'](this, "year", void 0); | ||
_defineProperty__default['default'](this, "license", void 0); | ||
this.author = void 0; | ||
this.year = void 0; | ||
this.license = void 0; | ||
this.author = author; | ||
@@ -32,0 +29,0 @@ this.year = year || null; |
@@ -21,8 +21,5 @@ 'use strict'; | ||
}) { | ||
_defineProperty__default['default'](this, "href", void 0); | ||
_defineProperty__default['default'](this, "text", void 0); | ||
_defineProperty__default['default'](this, "type", void 0); | ||
this.href = void 0; | ||
this.text = void 0; | ||
this.type = void 0; | ||
this.href = href; | ||
@@ -29,0 +26,0 @@ this.text = text || null; |
@@ -29,20 +29,11 @@ 'use strict'; | ||
}) { | ||
_defineProperty__default['default'](this, "name", void 0); | ||
_defineProperty__default['default'](this, "desc", void 0); | ||
_defineProperty__default['default'](this, "author", void 0); | ||
_defineProperty__default['default'](this, "copyright", void 0); | ||
_defineProperty__default['default'](this, "link", void 0); | ||
_defineProperty__default['default'](this, "time", void 0); | ||
_defineProperty__default['default'](this, "keywords", void 0); | ||
_defineProperty__default['default'](this, "bounds", void 0); | ||
_defineProperty__default['default'](this, "extensions", void 0); | ||
this.name = void 0; | ||
this.desc = void 0; | ||
this.author = void 0; | ||
this.copyright = void 0; | ||
this.link = void 0; | ||
this.time = void 0; | ||
this.keywords = void 0; | ||
this.bounds = void 0; | ||
this.extensions = void 0; | ||
this.name = name || null; | ||
@@ -49,0 +40,0 @@ this.desc = desc || null; |
@@ -22,8 +22,5 @@ 'use strict'; | ||
}) { | ||
_defineProperty__default['default'](this, "name", void 0); | ||
_defineProperty__default['default'](this, "email", void 0); | ||
_defineProperty__default['default'](this, "link", void 0); | ||
this.name = void 0; | ||
this.email = void 0; | ||
this.link = void 0; | ||
this.name = name || null; | ||
@@ -30,0 +27,0 @@ this.email = email || null; |
@@ -39,44 +39,23 @@ 'use strict'; | ||
} = {}) { | ||
_defineProperty__default['default'](this, "lat", void 0); | ||
_defineProperty__default['default'](this, "lon", void 0); | ||
_defineProperty__default['default'](this, "ele", void 0); | ||
_defineProperty__default['default'](this, "time", void 0); | ||
_defineProperty__default['default'](this, "magvar", void 0); | ||
_defineProperty__default['default'](this, "geoidheight", void 0); | ||
_defineProperty__default['default'](this, "name", void 0); | ||
_defineProperty__default['default'](this, "cmt", void 0); | ||
_defineProperty__default['default'](this, "desc", void 0); | ||
_defineProperty__default['default'](this, "src", void 0); | ||
_defineProperty__default['default'](this, "link", void 0); | ||
_defineProperty__default['default'](this, "sym", void 0); | ||
_defineProperty__default['default'](this, "type", void 0); | ||
_defineProperty__default['default'](this, "fix", void 0); | ||
_defineProperty__default['default'](this, "sat", void 0); | ||
_defineProperty__default['default'](this, "hdop", void 0); | ||
_defineProperty__default['default'](this, "vdop", void 0); | ||
_defineProperty__default['default'](this, "pdop", void 0); | ||
_defineProperty__default['default'](this, "ageofdgpsdata", void 0); | ||
_defineProperty__default['default'](this, "dgpsid", void 0); | ||
_defineProperty__default['default'](this, "extensions", void 0); | ||
this.lat = void 0; | ||
this.lon = void 0; | ||
this.ele = void 0; | ||
this.time = void 0; | ||
this.magvar = void 0; | ||
this.geoidheight = void 0; | ||
this.name = void 0; | ||
this.cmt = void 0; | ||
this.desc = void 0; | ||
this.src = void 0; | ||
this.link = void 0; | ||
this.sym = void 0; | ||
this.type = void 0; | ||
this.fix = void 0; | ||
this.sat = void 0; | ||
this.hdop = void 0; | ||
this.vdop = void 0; | ||
this.pdop = void 0; | ||
this.ageofdgpsdata = void 0; | ||
this.dgpsid = void 0; | ||
this.extensions = void 0; | ||
this.lat = lat; | ||
@@ -83,0 +62,0 @@ this.lon = lon; |
@@ -18,6 +18,4 @@ 'use strict'; | ||
constructor(trkpt, extensions = null) { | ||
_defineProperty__default['default'](this, "trkpt", void 0); | ||
_defineProperty__default['default'](this, "extensions", void 0); | ||
this.trkpt = void 0; | ||
this.extensions = void 0; | ||
this.trkpt = trkpt; | ||
@@ -24,0 +22,0 @@ this.extensions = extensions || null; |
@@ -28,20 +28,11 @@ 'use strict'; | ||
} = {}) { | ||
_defineProperty__default['default'](this, "name", void 0); | ||
_defineProperty__default['default'](this, "cmt", void 0); | ||
_defineProperty__default['default'](this, "desc", void 0); | ||
_defineProperty__default['default'](this, "src", void 0); | ||
_defineProperty__default['default'](this, "link", void 0); | ||
_defineProperty__default['default'](this, "number", void 0); | ||
_defineProperty__default['default'](this, "type", void 0); | ||
_defineProperty__default['default'](this, "extensions", void 0); | ||
_defineProperty__default['default'](this, "trkseg", void 0); | ||
this.name = void 0; | ||
this.cmt = void 0; | ||
this.desc = void 0; | ||
this.src = void 0; | ||
this.link = void 0; | ||
this.number = void 0; | ||
this.type = void 0; | ||
this.extensions = void 0; | ||
this.trkseg = void 0; | ||
this.name = name || null; | ||
@@ -48,0 +39,0 @@ this.cmt = cmt || null; |
@@ -30,7 +30,6 @@ 'use strict'; | ||
} | ||
_defineProperty__default['default'](GarminBuilder, "MODELS", _objectSpread(_objectSpread({}, BaseBuilder.MODELS), {}, { | ||
GarminBuilder.MODELS = _objectSpread(_objectSpread({}, BaseBuilder.MODELS), {}, { | ||
Point: GarminPoint | ||
})); | ||
}); | ||
module.exports = GarminBuilder; |
@@ -15,7 +15,6 @@ 'use strict'; | ||
class StravaBuilder extends GarminBuilder {} | ||
_defineProperty__default['default'](StravaBuilder, "MODELS", _objectSpread(_objectSpread({}, GarminBuilder.MODELS), {}, { | ||
StravaBuilder.MODELS = _objectSpread(_objectSpread({}, GarminBuilder.MODELS), {}, { | ||
Point: StravaPoint | ||
})); | ||
}); | ||
module.exports = StravaBuilder; |
@@ -15,4 +15,3 @@ 'use strict'; | ||
constructor(settings = {}) { | ||
_defineProperty__default['default'](this, "settings", void 0); | ||
this.settings = void 0; | ||
this.settings = settings; | ||
@@ -19,0 +18,0 @@ } // eslint-disable-next-line complexity |
@@ -11,6 +11,4 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
constructor() { | ||
_defineProperty(this, "data", void 0); | ||
_defineProperty(this, "schemaLocation", void 0); | ||
this.data = void 0; | ||
this.schemaLocation = void 0; | ||
this.data = {}; | ||
@@ -111,5 +109,4 @@ this.schemaLocation = ['http://www.topografix.com/GPX/1/1', 'http://www.topografix.com/GPX/1/1/gpx.xsd']; | ||
} | ||
BaseBuilder.MODELS = index; | ||
_defineProperty(BaseBuilder, "MODELS", index); | ||
export default BaseBuilder; |
@@ -1,3 +0,1 @@ | ||
import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
class Bounds { | ||
@@ -8,10 +6,6 @@ /** | ||
constructor(minlat, minlon, maxlat, maxlon) { | ||
_defineProperty(this, "minlat", void 0); | ||
_defineProperty(this, "minlon", void 0); | ||
_defineProperty(this, "maxlat", void 0); | ||
_defineProperty(this, "maxlon", void 0); | ||
this.minlat = void 0; | ||
this.minlon = void 0; | ||
this.maxlat = void 0; | ||
this.maxlon = void 0; | ||
this.minlat = minlat; | ||
@@ -18,0 +12,0 @@ this.minlon = minlon; |
@@ -18,8 +18,5 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
}) { | ||
_defineProperty(this, "author", void 0); | ||
_defineProperty(this, "year", void 0); | ||
_defineProperty(this, "license", void 0); | ||
this.author = void 0; | ||
this.year = void 0; | ||
this.license = void 0; | ||
this.author = author; | ||
@@ -26,0 +23,0 @@ this.year = year || null; |
@@ -15,8 +15,5 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
}) { | ||
_defineProperty(this, "href", void 0); | ||
_defineProperty(this, "text", void 0); | ||
_defineProperty(this, "type", void 0); | ||
this.href = void 0; | ||
this.text = void 0; | ||
this.type = void 0; | ||
this.href = href; | ||
@@ -23,0 +20,0 @@ this.text = text || null; |
@@ -23,20 +23,11 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
}) { | ||
_defineProperty(this, "name", void 0); | ||
_defineProperty(this, "desc", void 0); | ||
_defineProperty(this, "author", void 0); | ||
_defineProperty(this, "copyright", void 0); | ||
_defineProperty(this, "link", void 0); | ||
_defineProperty(this, "time", void 0); | ||
_defineProperty(this, "keywords", void 0); | ||
_defineProperty(this, "bounds", void 0); | ||
_defineProperty(this, "extensions", void 0); | ||
this.name = void 0; | ||
this.desc = void 0; | ||
this.author = void 0; | ||
this.copyright = void 0; | ||
this.link = void 0; | ||
this.time = void 0; | ||
this.keywords = void 0; | ||
this.bounds = void 0; | ||
this.extensions = void 0; | ||
this.name = name || null; | ||
@@ -43,0 +34,0 @@ this.desc = desc || null; |
@@ -16,8 +16,5 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
}) { | ||
_defineProperty(this, "name", void 0); | ||
_defineProperty(this, "email", void 0); | ||
_defineProperty(this, "link", void 0); | ||
this.name = void 0; | ||
this.email = void 0; | ||
this.link = void 0; | ||
this.name = name || null; | ||
@@ -24,0 +21,0 @@ this.email = email || null; |
@@ -33,44 +33,23 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
} = {}) { | ||
_defineProperty(this, "lat", void 0); | ||
_defineProperty(this, "lon", void 0); | ||
_defineProperty(this, "ele", void 0); | ||
_defineProperty(this, "time", void 0); | ||
_defineProperty(this, "magvar", void 0); | ||
_defineProperty(this, "geoidheight", void 0); | ||
_defineProperty(this, "name", void 0); | ||
_defineProperty(this, "cmt", void 0); | ||
_defineProperty(this, "desc", void 0); | ||
_defineProperty(this, "src", void 0); | ||
_defineProperty(this, "link", void 0); | ||
_defineProperty(this, "sym", void 0); | ||
_defineProperty(this, "type", void 0); | ||
_defineProperty(this, "fix", void 0); | ||
_defineProperty(this, "sat", void 0); | ||
_defineProperty(this, "hdop", void 0); | ||
_defineProperty(this, "vdop", void 0); | ||
_defineProperty(this, "pdop", void 0); | ||
_defineProperty(this, "ageofdgpsdata", void 0); | ||
_defineProperty(this, "dgpsid", void 0); | ||
_defineProperty(this, "extensions", void 0); | ||
this.lat = void 0; | ||
this.lon = void 0; | ||
this.ele = void 0; | ||
this.time = void 0; | ||
this.magvar = void 0; | ||
this.geoidheight = void 0; | ||
this.name = void 0; | ||
this.cmt = void 0; | ||
this.desc = void 0; | ||
this.src = void 0; | ||
this.link = void 0; | ||
this.sym = void 0; | ||
this.type = void 0; | ||
this.fix = void 0; | ||
this.sat = void 0; | ||
this.hdop = void 0; | ||
this.vdop = void 0; | ||
this.pdop = void 0; | ||
this.ageofdgpsdata = void 0; | ||
this.dgpsid = void 0; | ||
this.extensions = void 0; | ||
this.lat = lat; | ||
@@ -77,0 +56,0 @@ this.lon = lon; |
@@ -12,6 +12,4 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
constructor(trkpt, extensions = null) { | ||
_defineProperty(this, "trkpt", void 0); | ||
_defineProperty(this, "extensions", void 0); | ||
this.trkpt = void 0; | ||
this.extensions = void 0; | ||
this.trkpt = trkpt; | ||
@@ -18,0 +16,0 @@ this.extensions = extensions || null; |
@@ -22,20 +22,11 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
} = {}) { | ||
_defineProperty(this, "name", void 0); | ||
_defineProperty(this, "cmt", void 0); | ||
_defineProperty(this, "desc", void 0); | ||
_defineProperty(this, "src", void 0); | ||
_defineProperty(this, "link", void 0); | ||
_defineProperty(this, "number", void 0); | ||
_defineProperty(this, "type", void 0); | ||
_defineProperty(this, "extensions", void 0); | ||
_defineProperty(this, "trkseg", void 0); | ||
this.name = void 0; | ||
this.cmt = void 0; | ||
this.desc = void 0; | ||
this.src = void 0; | ||
this.link = void 0; | ||
this.number = void 0; | ||
this.type = void 0; | ||
this.extensions = void 0; | ||
this.trkseg = void 0; | ||
this.name = name || null; | ||
@@ -42,0 +33,0 @@ this.cmt = cmt || null; |
@@ -24,7 +24,6 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
} | ||
_defineProperty(GarminBuilder, "MODELS", _objectSpread(_objectSpread({}, BaseBuilder.MODELS), {}, { | ||
GarminBuilder.MODELS = _objectSpread(_objectSpread({}, BaseBuilder.MODELS), {}, { | ||
Point: GarminPoint | ||
})); | ||
}); | ||
export default GarminBuilder; |
@@ -9,7 +9,6 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
class StravaBuilder extends GarminBuilder {} | ||
_defineProperty(StravaBuilder, "MODELS", _objectSpread(_objectSpread({}, GarminBuilder.MODELS), {}, { | ||
StravaBuilder.MODELS = _objectSpread(_objectSpread({}, GarminBuilder.MODELS), {}, { | ||
Point: StravaPoint | ||
})); | ||
}); | ||
export default StravaBuilder; |
@@ -9,4 +9,3 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
constructor(settings = {}) { | ||
_defineProperty(this, "settings", void 0); | ||
this.settings = void 0; | ||
this.settings = settings; | ||
@@ -13,0 +12,0 @@ } // eslint-disable-next-line complexity |
{ | ||
"name": "gpx-builder", | ||
"version": "3.6.45", | ||
"version": "3.6.46", | ||
"description": "Builder of GPX files", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128360
2906