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

@allmaps/transform

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allmaps/transform - npm Package Compare versions

Comparing version 1.0.0-beta.12 to 1.0.0-beta.13

dist/geojson.d.ts

2

dist/gdaltransform.d.ts

@@ -1,2 +0,2 @@

declare type XYPoint = {
type XYPoint = {
x: number;

@@ -3,0 +3,0 @@ y: number;

export * from './transformer.js';
export * from './polygon.js';
export * from './geojson.js';
export * from './shared/types.js';
export type { GCPTransformInfo } from './gdaltransform.js';
export * from './transformer.js';
export * from './polygon.js';
export * from './geojson.js';
export * from './shared/types.js';

@@ -1,18 +0,28 @@

export declare type Position = [number, number];
export declare type BBox = [number, number, number, number];
export declare type GeoJSONPoint = {
export type Position = [number, number];
export type BBox = [number, number, number, number];
export type GeoJSONGeometry = GeoJSONPoint | GeoJSONLineString | GeoJSONPolygon;
export type GeoJSONPoint = {
type: 'Point';
coordinates: Position;
};
export declare type GeoJSONPolygon = {
export type GeoJSONLineString = {
type: 'LineString';
coordinates: Position[];
};
export type GeoJSONPolygon = {
type: 'Polygon';
coordinates: Position[][];
};
export declare type ImageWorldGCP = {
export type ImageWorldPosition = {
image: Position;
world: Position;
};
export declare type Segment = {
from: ImageWorldGCP;
to: ImageWorldGCP;
export type Segment = {
from: ImageWorldPosition;
to: ImageWorldPosition;
};
export type TransformOptions = {
maxOffsetRatio: number;
maxDepth: number;
};
export type OptionalTransformOptions = Partial<TransformOptions>;

@@ -1,5 +0,5 @@

import type { Position, ImageWorldGCP } from './shared/types.js';
import type { Position, ImageWorldPosition } from './shared/types.js';
import type { GCPTransformInfo } from './gdaltransform.js';
export declare function toWorld(transformArgs: GCPTransformInfo, point: Position): Position;
export declare function toImage(transformArgs: GCPTransformInfo, point: Position): Position;
export declare function createTransformer(gcps: ImageWorldGCP[]): GCPTransformInfo;
export declare function createTransformer(gcps: ImageWorldPosition[]): GCPTransformInfo;
{
"name": "@allmaps/transform",
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"author": {

@@ -50,3 +50,4 @@ "name": "Bert Spaan",

"eslint": "^8.35.0",
"mocha": "^8.4.0"
"mocha": "^8.4.0",
"typescript": "^4.9.5"
},

@@ -56,3 +57,3 @@ "engines": {

},
"gitHead": "2eed7668df872110e6242ef053e1452ce19a41fb"
"gitHead": "3a5ecfeb32fa9e326e8ed87efc868ad055c67850"
}
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