New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

leaflet-geometryutil

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-geometryutil - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

12

package.json
{
"name": "leaflet-geometryutil",
"version": "0.9.2",
"version": "0.9.3",
"description": "Leaflet utility functions on geometries",

@@ -16,4 +16,4 @@ "keywords": [

"scripts": {
"test-leaflet-0.7.7": "npm install leaflet@0.7.7 --no-save && node_modules/.bin/mocha-phantomjs spec/index.html",
"test-leaflet-1.0.0": "npm install leaflet@^1.0.0 --no-save && node_modules/.bin/mocha-phantomjs spec/index.html",
"test-leaflet-0.7.7": "npm install leaflet@0.7.7 --no-save && node_modules/.bin/mocha-chrome spec/index.html",
"test-leaflet-1.0.0": "npm install leaflet@^1.0.0 --no-save && node_modules/.bin/mocha-chrome spec/index.html",
"test": "npm run test-leaflet-0.7.7 && npm run test-leaflet-1.0.0",

@@ -27,7 +27,7 @@ "generate-docs": "rm -rf docs; node_modules/.bin/jsdoc -c jsdoc.config -d ./docs/"

"chai": "3.5.0",
"jsdoc": "3.4.0",
"jsdoc": "^3.6.3",
"minami": "^1.1.1",
"mocha": "5.2.0",
"mocha-phantomjs": "4.1.0"
"mocha": "^7.0.1",
"mocha-chrome": "^2.2.0"
}
}

@@ -33,6 +33,6 @@ Leaflet.GeometryUtil

* Install [nodejs](http://nodejs.org) and [phantomjs](http://phantomjs.org)
* Install [nodejs](http://nodejs.org)
```
sudo apt-get install nodejs phantomjs
sudo apt-get install nodejs

@@ -51,4 +51,10 @@ npm install

### master ###
### 0.9.3 ###
* Increase locateOnLine() tolerance
### 0.9.2 ###
* Fixes a crash if a multilinestring has an element with only one vertex (fixes #84, thanks @runette)
### 0.9.1 ###

@@ -55,0 +61,0 @@

@@ -543,3 +543,3 @@ // Packaging/modules magic dance.

portion = lengths[i];
if (L.GeometryUtil.belongsSegment(point, l1, l2, 0.0001)) {
if (L.GeometryUtil.belongsSegment(point, l1, l2, 0.001)) {
portion += l1.distanceTo(point);

@@ -546,0 +546,0 @@ found = true;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc