Skip to content

Commit 9c48fa4

Browse files
committed
v2.0.1
1 parent 62ccbfe commit 9c48fa4

File tree

3 files changed

+35
-98
lines changed

3 files changed

+35
-98
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [2.0.1] - 2019-04-10
44

55
### Fixed
66

7-
- LatLon object returned by Utm.toLatLon() was missing a .toUtm() method
7+
- Add missing n-vector spherical alongTrackDistanceTo() method
8+
- Add missing .toUtm() method to LatLon object returned by Utm.toLatLon()
9+
- Fix n-vector spherical isWithinExtent() for point in different hemisphere
10+
- Fix vector3d angleTo() for case where plane normal n is in the plane
11+
- Rationalise/harmonise exception messages
12+
13+
### Added
14+
15+
- README ‘docs’ badge with link to documentation
816

917
## [2.0.0] - 2019-02-14
1018

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Geodesy functions
22
=================
33

4-
[![Build Status](https://travis-ci.org/chrisveness/geodesy.svg?branch=v2.0.0)](https://travis-ci.org/chrisveness/geodesy)
5-
[![Coverage Status](https://coveralls.io/repos/github/chrisveness/geodesy/badge.svg?branch=2.0.0)](https://coveralls.io/github/chrisveness/geodesy?branch=2.0.0)
4+
[![Build Status](https://travis-ci.org/chrisveness/geodesy.svg?branch=master)](https://travis-ci.org/chrisveness/geodesy)
5+
[![Coverage Status](https://coveralls.io/repos/github/chrisveness/geodesy/badge.svg?branch=master)](https://coveralls.io/github/chrisveness/geodesy?branch=master)
66
[![Documentation](https://img.shields.io/badge/docs-www.movable--type.co.uk%2Fscripts%2Fgeodesy--library.html-lightgrey.svg)](https://www.movable-type.co.uk/scripts/geodesy-library.html)
77

88
These libraries started life (a long time ago) as simple ‘latitude/longitude’ code fragments
@@ -94,7 +94,7 @@ example,
9494
```html
9595
<!doctype html><title>geodesy example</title><meta charset="utf-8">
9696
<script type="module">
97-
import LatLon from 'https://cdn.jsdelivr.net/gh/chrisveness/geodesy@2.0.0/latlon-spherical.min.js';
97+
import LatLon from 'https://cdn.jsdelivr.net/gh/chrisveness/geodesy@2.0.1/latlon-spherical.min.js';
9898
9999
const p1 = new LatLon(50.06632, -5.71475);
100100
const p2 = new LatLon(58.64402, -3.07009);

package.json

Lines changed: 22 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,9 @@
66
"type": "git",
77
"url": "https://github.com/chrisveness/geodesy"
88
},
9-
"keywords": [
10-
"geodesy",
11-
"latitude",
12-
"longitude",
13-
"distance",
14-
"bearing",
15-
"destination",
16-
"haversine",
17-
"vincenty",
18-
"rhumb",
19-
"ellipsoid",
20-
"datum",
21-
"reference frame",
22-
"TRF",
23-
"wgs84",
24-
"utm",
25-
"mgrs"
26-
],
9+
"keywords": [ "geodesy", "latitude", "longitude", "distance", "bearing", "destination", "haversine", "vincenty", "rhumb", "ellipsoid", "datum", "reference frame", "TRF", "wgs84", "utm", "mgrs" ],
2710
"author": "Chris Veness",
28-
"version": "2.0.0",
11+
"version": "2.0.1",
2912
"license": "MIT",
3013
"engines": {
3114
"node": ">=8.0.0"
@@ -40,11 +23,11 @@
4023
"devDependencies": {
4124
"babel-eslint": "^10.0.1",
4225
"chai": "^4.2.0",
43-
"coveralls": "^3.0.2",
44-
"eslint": "^5.13.0",
45-
"esm": "^3.2.5",
26+
"coveralls": "^3.0.3",
27+
"eslint": "^5.16.0",
28+
"esm": "^3.2.22",
4629
"jsdoc": "^3.5.5",
47-
"mocha": "^6.0.0",
30+
"mocha": "^6.1.2",
4831
"nyc": "^13.3.0"
4932
},
5033
"eslintConfig": {
@@ -61,85 +44,31 @@
6144
"should": true
6245
},
6346
"rules": {
64-
"array-bracket-spacing": [
65-
"error",
66-
"always"
67-
],
68-
"comma-dangle": [
69-
"error",
70-
"always-multiline"
71-
],
72-
"comma-spacing": [
73-
"error"
74-
],
75-
"curly": [
76-
"error",
77-
"multi-line"
78-
],
79-
"indent": [
80-
"error",
81-
4,
82-
{
83-
"SwitchCase": 1
84-
}
85-
],
86-
"key-spacing": [
87-
"error",
88-
{
89-
"align": "value"
90-
}
91-
],
92-
"keyword-spacing": [
93-
"error"
94-
],
47+
"array-bracket-spacing": [ "error", "always" ],
48+
"comma-dangle": [ "error", "always-multiline" ],
49+
"comma-spacing": [ "error" ],
50+
"curly": [ "error", "multi-line" ],
51+
"indent": [ "error", 4, { "SwitchCase": 1 } ],
52+
"key-spacing": [ "error", { "align": "value" } ],
53+
"keyword-spacing": [ "error" ],
9554
"no-case-declarations": "warn",
96-
"no-console": [
97-
"warn",
98-
{
99-
"allow": [
100-
"error",
101-
"info"
102-
]
103-
}
104-
],
55+
"no-console": [ "warn", { "allow": [ "error", "info" ] } ],
10556
"no-irregular-whitespace": "warn",
10657
"no-redeclare": "warn",
10758
"no-shadow": "warn",
10859
"no-unused-vars": "warn",
10960
"no-var": "error",
110-
"object-curly-spacing": [
111-
"error",
112-
"always"
113-
],
61+
"object-curly-spacing": [ "error", "always" ],
11462
"prefer-const": "error",
115-
"quotes": [
116-
"error",
117-
"single",
118-
"avoid-escape"
119-
],
120-
"semi": [
121-
"error",
122-
"always"
123-
],
124-
"space-before-blocks": [
125-
"error",
126-
"always"
127-
],
128-
"space-in-parens": [
129-
"error"
130-
],
131-
"strict": [
132-
"error",
133-
"global"
134-
]
63+
"quotes": [ "error", "single", "avoid-escape" ],
64+
"semi": [ "error", "always" ],
65+
"space-before-blocks": [ "error", "always" ],
66+
"space-in-parens": [ "error" ],
67+
"strict": [ "error", "global" ]
13568
}
13669
},
13770
"jsdoc": {
138-
"plugins": [
139-
"plugins/markdown"
140-
],
141-
"markdown": {
142-
"idInHeadings": true
143-
}
71+
"plugins": [ "plugins/markdown" ],
72+
"markdown": { "idInHeadings": true }
14473
}
14574
}

0 commit comments

Comments
 (0)