Comparing version 0.2.0 to 0.3.0
@@ -1,7 +0,15 @@ | ||
* _2016-06-24_: Updated docs. (HEAD -> master, origin/master) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/01e573a6fe67b38d29e8d5d2f4d5a63b340c6990">view commit</a> | ||
* _2016-08-13_: Added retire.js (HEAD -> master) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/2f0812bbe3a96439532a016aed74375d40ed272f">view commit</a> | ||
* _2016-08-12_: Fix #2: Doc updated (origin/master) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/54e9b9b92401cab0b778d66dc42a4f6dcd1bf5f0">view commit</a> | ||
* _2016-08-12_: Fix #2. Removed bin links. They are not used. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/2e644c8ed737df524c7827b84b988b0220c8bf13">view commit</a> | ||
* _2016-08-05_: Added download info. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/dcb74295c63fc8b7b25c9b40f2c6d8351efb4066">view commit</a> | ||
* _2016-06-27_: Added eslint config. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/e9c4fd18dbbefd93d606449ad833355cf043e2ac">view commit</a> | ||
* _2016-06-26_: Added github badge. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/1fa12f2895bf33c16e3abb4f129404078a49604c">view commit</a> | ||
* _2016-06-26_: Added npm version badge. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/51e2d1b1a1ce6a1491a04ac7c993b16c6a3e03c7">view commit</a> | ||
* _2016-06-24_: Updated version and changelog. (tag: 0.2.0) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/734b7f65b291a86159aef2a95c19e38686b5bddc">view commit</a> | ||
* _2016-06-24_: Updated docs. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/01e573a6fe67b38d29e8d5d2f4d5a63b340c6990">view commit</a> | ||
* _2016-06-24_: Added polygon overlaps support. It's now possible to check if 2 polygons overlaps, 2 lines intersects or if a point is inside a polygon. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/12625448cfae75f3f73be1bc0096f56d379d7277">view commit</a> | ||
* _2016-06-20_: Updated changelog. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/e63e1bf8ee45d3fd83abe40f82cf22710587e11a">view commit</a> | ||
* _2016-06-20_: Updated changelog. (tag: 0.1.3) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/e63e1bf8ee45d3fd83abe40f82cf22710587e11a">view commit</a> | ||
* _2016-06-20_: Bumped version. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/269735c0649876c4adf602afb4e8cf6cf6d303dc">view commit</a> | ||
* _2016-06-20_: Fixed Issue #1. Speed bug. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/d9f92e5bb92a4530e4a716c74cbfa4426f9c8545">view commit</a> | ||
* _2016-06-19_: Updated changelog. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/be8ef562098db51852cb98daca154c1fc2dd3fec">view commit</a> | ||
* _2016-06-19_: Updated changelog. (tag: 0.1.2) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/be8ef562098db51852cb98daca154c1fc2dd3fec">view commit</a> | ||
* _2016-06-19_: Updated version. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/cfa79d01b02c84a29fc3dad8db462e98a164f5d3">view commit</a> | ||
@@ -13,7 +21,7 @@ * _2016-06-19_: Doing more testing. Also testing exception cases. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/fc1cf8f4314777e9aef445f5be1c7a49f63b68d2">view commit</a> | ||
* _2016-06-19_: Added function to check if a point is inside a polygon. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/885004070cb0a4102712c1bd0cad79f1db59090a">view commit</a> | ||
* _2016-06-19_: Updated changelog. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/9e7df9916cc170989d65a47a8e0cda5dad8c6b77">view commit</a> | ||
* _2016-06-19_: Updated changelog. (tag: 0.1.1) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/9e7df9916cc170989d65a47a8e0cda5dad8c6b77">view commit</a> | ||
* _2016-06-19_: Updated the main docs. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/a171ffc59f861201b5fb9378e5b0daea43396d37">view commit</a> | ||
* _2016-06-19_: Added changelog. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/f1129dce007cdaf9cff99dcc8050186d6d58fa6c">view commit</a> | ||
* _2016-06-19_: Added changelog. (tag: 0.1.0) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/f1129dce007cdaf9cff99dcc8050186d6d58fa6c">view commit</a> | ||
* _2016-06-19_: Bumped version. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/3db04ea427e9afdd8e64822a69275d712aaf6559">view commit</a> | ||
* _2016-06-19_: Ok, first alpha version is ready to be tested. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/4ad0a0b9dd1416842d4d81b46db10a266e05e1d5">view commit</a> | ||
* _2016-06-19_: Ok, first alpha version is ready to be tested. (tag: 0.0.1) [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/4ad0a0b9dd1416842d4d81b46db10a266e05e1d5">view commit</a> | ||
* _2016-06-18_: Adding placeholders. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/68f8917a32afea209189526e09900604556067b8">view commit</a> | ||
@@ -20,0 +28,0 @@ * _2016-06-18_: Changed ref. [Øistein Sørensen] <a href="http://github.com/5orenso/geo-lib/commit/190ec5108fa762c865c05973eee8d1c0fa952903">view commit</a> |
@@ -48,2 +48,15 @@ /* | ||
retire: { | ||
js: ['app/*.js', 'lib/*.js'], /** Which js-files to scan. **/ | ||
node: ['node'], /** Which node directories to scan (containing package.json). **/ | ||
options: { | ||
verbose: true, | ||
packageOnly: true, | ||
jsRepository: 'https://raw.github.com/RetireJS/retire.js/master/repository/jsrepository.json', | ||
nodeRepository: 'https://raw.github.com/RetireJS/retire.js/master/repository/npmrepository.json', | ||
ignore: 'tutorials', | ||
ignorefile: '.retireignore' /** list of files to ignore **/ | ||
} | ||
}, | ||
watch: { | ||
@@ -121,6 +134,7 @@ all: { | ||
grunt.loadNpmTasks("grunt-jsdoc"); | ||
grunt.loadNpmTasks('grunt-retire'); | ||
// Default task. | ||
grunt.registerTask( "lint", [ "jshint", "jscs" ] ); | ||
grunt.registerTask('default', ['lint', 'buster:unit']); | ||
grunt.registerTask('default', ['lint', 'buster:unit', 'retire']); | ||
grunt.registerTask('test', 'buster:unit'); | ||
@@ -127,0 +141,0 @@ grunt.registerTask('check', ['watch']); |
{ | ||
"name": "geo-lib", | ||
"description": "A Node.js module with useful geo functions. Made with performance in mind.", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/5orenso/geo-lib", | ||
@@ -24,5 +24,2 @@ "repository": { | ||
}, | ||
"bin": { | ||
"geo-lib": "./bin/geo-lib" | ||
}, | ||
"devDependencies": { | ||
@@ -44,3 +41,10 @@ "buster": "^0.7.18", | ||
"keywords": [], | ||
"dependencies": {} | ||
"dependencies": {}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
} | ||
} | ||
} |
@@ -5,5 +5,10 @@ # Geo-lib module for fast calculations of distance, speed and heading | ||
[![Coverage Status](https://coveralls.io/repos/github/5orenso/geo-lib/badge.svg?branch=master)](https://coveralls.io/github/5orenso/geo-lib?branch=master) | ||
[![GitHub version](https://badge.fury.io/gh/5orenso%2Fgeo-lib.svg)](https://badge.fury.io/gh/5orenso%2Fgeo-lib) | ||
[![npm version](https://badge.fury.io/js/geo-lib.svg)](https://badge.fury.io/js/geo-lib) | ||
The start of my new geo-lib module. This Node.js module is built with performance and speed as priority one. | ||
[![NPM Stats](https://nodei.co/npm/geo-lib.png?downloads=true&downloadRank=true)](https://npmjs.org/packages/geo-lib/) | ||
The start of my new geo-lib module. This Node.js module is built with performance and speed as priority one. | ||
Why did I start this module? | ||
@@ -13,2 +18,3 @@ I need a module that is able to do millions of calculations every minute. This module is going to be developed | ||
If you don't follow instructions you will end up in [Null Island](http://www.wsj.com/articles/if-you-cant-follow-directions-youll-end-up-on-null-island-1468422251) | ||
@@ -72,3 +78,3 @@ ### Howto get started using this module | ||
let geoLib = require('geo-lib'); | ||
let result = geoLib.pointInsidePolygon([ | ||
let result = geoLib.pointInsidePolygon([70.374164, 31.117401], [ | ||
[70.403203, 31.055603], | ||
@@ -87,3 +93,3 @@ [70.364476, 31.089935], | ||
[70.403663, 31.056976] | ||
], [70.374164, 31.117401]); | ||
]); | ||
// result = true | ||
@@ -128,3 +134,3 @@ ``` | ||
Start developing. Remember to start watching your files: | ||
```bash | ||
```bash | ||
$ grunt watch | ||
@@ -150,2 +156,17 @@ ``` | ||
### Howto update NPM module | ||
1. Bump version inside `package.json` | ||
2. Push all changes to Github. | ||
3. Push all changes to npmjs.com: `$ bash ./npm-release.sh`. | ||
### Howto check for vulnerabilities in modules | ||
```bash | ||
# Install Node Security Platform CLI | ||
$ npm install nsp --global | ||
# From inside your project directory | ||
$ nsp check | ||
``` | ||
### Howto upgrade modules | ||
@@ -158,3 +179,2 @@ ```bash | ||
### HOWTO upgrade dev environment | ||
@@ -174,6 +194,5 @@ ```bash | ||
$ npm install grunt-jsdoc --save-dev | ||
$ npm install grunt-retire --save-dev | ||
``` | ||
## More about the author | ||
@@ -180,0 +199,0 @@ |
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
89864
1625
195