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

@turf/within

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/within - npm Package Compare versions

Comparing version 3.0.16 to 3.1.1

6

bench.js
var within = require('./');
var Benchmark = require('benchmark');
var fs = require('fs');
var point = require('turf-helpers').point;
var polygon = require('turf-helpers').polygon;
var featurecollection = require('turf-helpers').featureCollection;
var point = require('@turf/helpers').point;
var polygon = require('@turf/helpers').polygon;
var featurecollection = require('@turf/helpers').featureCollection;

@@ -8,0 +8,0 @@ var poly1 = polygon([[[0,0],[10,0],[10,10],[0,10]]]);

@@ -1,3 +0,3 @@

var inside = require('turf-inside');
var featureCollection = require('turf-helpers').featureCollection;
var inside = require('@turf/inside');
var featureCollection = require('@turf/helpers').featureCollection;

@@ -4,0 +4,0 @@ /**

{
"name": "@turf/within",
"version": "3.0.16",
"version": "3.1.1",
"description": "turf within module",

@@ -32,5 +32,5 @@ "main": "index.js",

"dependencies": {
"@turf/inside": "^3.0.16",
"@turf/inside": "^3.1.1",
"@turf/helpers": "^3.0.16"
}
}
var test = require('tape');
var within = require('./');
var point = require('turf-helpers').point;
var polygon = require('turf-helpers').polygon;
var featureCollection = require('turf-helpers').featureCollection;
var point = require('@turf/helpers').point;
var polygon = require('@turf/helpers').polygon;
var featureCollection = require('@turf/helpers').featureCollection;

@@ -7,0 +7,0 @@ test('within', function(t){

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