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

@allmaps/types

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allmaps/types - npm Package Compare versions

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

dist/fetch.d.ts

2

dist/geojson.d.ts

@@ -35,3 +35,3 @@ import type { Point } from './geometry';

type: 'FeatureCollection';
features: unknown[];
features: GeojsonFeature[];
};
export type Point = [number, number];
export type Line = [Point, Point];
/**
* Triangle. Winding order of points is free.
* Triangle
* As `[[x0, y0], [x1, y1], [x2, y2]]`
*
* Winding order of points is free.
*
* @export

@@ -11,2 +14,11 @@ * @typedef {Trianle}

/**
* Unique Index Triangle
* As `[index0, index1, index2]` with each index pointing to a unique point
*
* Winding order of points is free.
*
* @typedef {Object} UniquePointsIndexTriangle
*/
export type UniquePointsIndexTriangle = [number, number, number];
/**
* Rectangle (or possibly quadrilateral). Winding order of points is free.

@@ -19,2 +31,13 @@ *

export type LineString = Point[];
/**
* Ring as `[[number, number], ...]`
*
* Must contain at least 3 points
* May not contain duplicate points
* Must be unclosed: last element is not a repetition of the first
* May not be self-intersecting
* So far no requirement on self-intersection although that may be useful in future
* So far no requirement on winding order. This is only applied when exporting to GeoJSON
* @typedef {Object} Ring
*/
export type Ring = Point[];

@@ -21,0 +44,0 @@ export type Polygon = Point[][];

export * from './color.js';
export * from './fetch.js';
export * from './fit.js';
export * from './geojson.js';
export * from './geometry.js';
export * from './geojson.js';
export * from './iiif.js';
export * from './svg.js';
export * from './tile.js';
export * from './color.js';
export * from './fetch.js';
export * from './fit.js';
export * from './geojson.js';
export * from './geometry.js';
export * from './geojson.js';
export * from './iiif.js';
export * from './svg.js';
export * from './tile.js';
{
"name": "@allmaps/types",
"version": "1.0.0-beta.12",
"version": "1.0.0-beta.13",
"contributors": [

@@ -55,5 +55,7 @@ {

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.35.0",
"@types/eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"mocha": "^8.4.0",

@@ -63,3 +65,3 @@ "prettier": "^2.8.0",

},
"gitHead": "60322ac9345b16940b25ae912e0a3aeb69c6af9e"
"gitHead": "2cd1595a894c77557a492e61371508d615d9f6b8"
}
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