geo-coordinates-parser 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -71,7 +71,9 @@ Formats used for testing can be be accessed with:
71
71
  convert.formats
72
72
  ```
73
73
 
74
- **Please add coordinate formats that throw an error in the Github Issues.**
74
+ **<span style="color:red">Please add coordinate formats that throw an error in the Github Issues.</span>**
75
+
76
+ **<span style="color:red">Note that formats like 24.56S 26.48E are treated as degrees and minutes! And 24.0, 26.0 is treated as an error. If you don't want this behaviour you need to catch these cases with your own code before you use convert.</span>**
75
77
 
76
78
  ### Want to use it in the browser?
77
79
  A ready bundled script is available in the source code, in the bundle directory, named geocoordsparser.js. [Download](https://stackoverflow.com/a/13593430/3210158), include it in a script tag in your html, and you'll have a function called `convert()` available in your environment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geo-coordinates-parser",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A Javascript function for reading a variety of coordinate formats and converting to decimal numbers. Builds on other efforts by returning the verbatim coordinates and the decimal coordinates all in one object.",
5
5
  "main": "merge.js",
6
6
  "scripts": {