Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

geotiff

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geotiff - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

18

dist-module/geotiffimage.js

@@ -863,7 +863,15 @@ /** @module geotiffimage */

if (modelTransformation) {
if (modelTransformation[1] === 0 && modelTransformation[4] === 0) {
return [
modelTransformation[0],
-modelTransformation[5],
modelTransformation[10],
];
}
return [
modelTransformation[0],
-modelTransformation[5],
modelTransformation[10],
];
Math.sqrt((modelTransformation[0] * modelTransformation[0])
+ (modelTransformation[4] * modelTransformation[4])),
-Math.sqrt((modelTransformation[1] * modelTransformation[1])
+ (modelTransformation[5] * modelTransformation[5])),
modelTransformation[10]];
}

@@ -895,3 +903,3 @@

* exception is thrown.
* @param {boolean} [tilegrid=false] If true return extent for a tilegrid
* @param {boolean} [tilegrid=false] If true return extent for a tilegrid
* without adjustment for ModelTransformation.

@@ -898,0 +906,0 @@ * @returns {Array<number>} The bounding box

@@ -782,6 +782,15 @@ "use strict";

if (modelTransformation) {
if (modelTransformation[1] === 0 && modelTransformation[4] === 0) {
return [
modelTransformation[0],
-modelTransformation[5],
modelTransformation[10],
];
}
return [
modelTransformation[0],
-modelTransformation[5],
modelTransformation[10],
Math.sqrt((modelTransformation[0] * modelTransformation[0])
+ (modelTransformation[4] * modelTransformation[4])),
-Math.sqrt((modelTransformation[1] * modelTransformation[1])
+ (modelTransformation[5] * modelTransformation[5])),
modelTransformation[10]
];

@@ -788,0 +797,0 @@ }

{
"name": "geotiff",
"version": "2.1.2",
"version": "2.1.3",
"description": "GeoTIFF image decoding in JavaScript",

@@ -5,0 +5,0 @@ "repository": "https://github.com/geotiffjs/geotiff.js",

Sorry, the diff of this file is too big to display

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