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

@nebula.gl/edit-modes

Package Overview
Dependencies
Maintainers
10
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula.gl/edit-modes - npm Package Compare versions

Comparing version 1.1.0-alpha.3 to 1.1.0-alpha.4

16

dist/index.d.ts

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

import { MultiLineString as MultiLineString_2 } from '@turf/helpers';
import type { MultiLineString as MultiLineString_2 } from '@turf/helpers';

@@ -7,3 +7,3 @@ export declare type AnyCoordinates = PointCoordinates | LineStringCoordinates | PolygonCoordinates | MultiPointCoordinates | MultiLineStringCoordinates | MultiPolygonCoordinates;

declare type BasePointerEvent = {
export declare type BasePointerEvent = {
picks: Pick_2[];

@@ -179,3 +179,3 @@ screenCoords: ScreenCoordinates;

declare type EditHandleFeature = FeatureWithProps<Point, {
export declare type EditHandleFeature = FeatureWithProps<Point, {
guideType: 'editHandle';

@@ -188,3 +188,3 @@ editHandleType: EditHandleType;

declare type EditHandleType = 'existing' | 'intermediate' | 'snap-source' | 'snap-target' | 'scale' | 'rotate';
export declare type EditHandleType = 'existing' | 'intermediate' | 'snap-source' | 'snap-target' | 'scale' | 'rotate';

@@ -238,3 +238,3 @@ export declare interface EditMode<TData, TGuides> {

features: Feature[];
properties?: {};
properties?: Record<string, unknown>;
id?: string | number;

@@ -311,3 +311,3 @@ bbox?: BoundingBoxArray;

declare type GuideFeature = EditHandleFeature | TentativeFeature;
export declare type GuideFeature = EditHandleFeature | TentativeFeature;

@@ -317,3 +317,3 @@ export declare type GuideFeatureCollection = {

features: Readonly<GuideFeature>[];
properties?: {};
properties?: Record<string, unknown>;
};

@@ -602,3 +602,3 @@

declare type TentativeFeature = FeatureWithProps<Geometry, {
export declare type TentativeFeature = FeatureWithProps<Geometry, {
guideType: 'tentative';

@@ -605,0 +605,0 @@ shape?: string;

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "1.1.0-alpha.3",
"version": "1.1.0-alpha.4",
"author": "Georgios Karnas <georgios@uber.com>",

@@ -76,3 +76,3 @@ "repository": {

},
"gitHead": "1fde52990b7c6de0109368bda49ef088d0027cea"
"gitHead": "039d7042ee60ef937bfd8955d200ccde49ce4242"
}

@@ -84,3 +84,3 @@ // Geometry types

features: Feature[];
properties?: {};
properties?: Record<string, unknown>;
id?: string | number;

@@ -87,0 +87,0 @@ bbox?: BoundingBoxArray;

@@ -65,2 +65,7 @@ import * as utils from './utils';

Tooltip,
GuideFeature,
TentativeFeature,
BasePointerEvent,
EditHandleFeature,
EditHandleType,
} from './types';

@@ -67,0 +72,0 @@

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

import { Position, Point, Geometry, FeatureWithProps } from './geojson-types';
import type { Position, Point, Geometry, FeatureWithProps } from './geojson-types';

@@ -109,3 +109,3 @@ export type ScreenCoordinates = [number, number];

features: Readonly<GuideFeature>[];
properties?: {};
properties?: Record<string, unknown>;
};

@@ -112,0 +112,0 @@

@@ -5,7 +5,8 @@ import destination from '@turf/destination';

import { flattenEach } from '@turf/meta';
import { point, MultiLineString } from '@turf/helpers';
import { point } from '@turf/helpers';
import type { MultiLineString } from '@turf/helpers';
import { getCoords } from '@turf/invariant';
import WebMercatorViewport from 'viewport-mercator-project';
import { Viewport, Pick, EditHandleFeature, EditHandleType } from './types';
import {
import type { Viewport, Pick, EditHandleFeature, EditHandleType } from './types';
import type {
Geometry,

@@ -12,0 +13,0 @@ Position,

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