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

bbox-fns

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bbox-fns - npm Package Compare versions

Comparing version 0.20.0 to 0.20.1

2

package.json
{
"name": "bbox-fns",
"version": "0.20.0",
"version": "0.20.1",
"description": "Light-weight JavaScript Bounding Box Utility Functions",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -6,6 +6,6 @@ "use_strict";

function reproject(bbox, reproject, { async = false, density, nan_strategy = "throw" } = {}) {
function reproject(bbox, fwd, { async = false, density, nan_strategy = "throw" } = {}) {
const polygon = densePolygon(bbox, { density });
const ring = polygon[0];
const reprojected = ring.map(pt => reproject(pt));
const reprojected = ring.map(pt => fwd(pt));
if (async) {

@@ -12,0 +12,0 @@ return Promise.all(reprojected).then(points => bboxArray(points, { nan_strategy }));

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