🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@annotorious/annotorious

Package Overview
Dependencies
Maintainers
0
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@annotorious/annotorious - npm Package Compare versions

Comparing version

to
3.0.17

3

dist/AnnotoriousOpts.d.ts

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

import { Annotation, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core';
import { Annotation, ChangeSet, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core';
import { ImageAnnotation } from './model';

@@ -8,2 +8,3 @@ export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> {

drawingMode?: DrawingMode;
initialHistory?: ChangeSet<I>[];
modalSelect?: boolean;

@@ -10,0 +11,0 @@ userSelectAction?: UserSelectActionExpression<E>;

@@ -9,3 +9,3 @@ export * from './annotation';

export * from './keyboardCommands';
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, ChangeSet, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
export { chainStyles, computeStyle, createBody, defaultColorProvider, UserSelectAction } from '@annotorious/core';
{
"name": "@annotorious/annotorious",
"version": "3.0.16",
"version": "3.0.17",
"description": "Add image annotation functionality to any web page with a few lines of JavaScript",

@@ -52,3 +52,3 @@ "author": "Rainer Simon",

"dependencies": {
"@annotorious/core": "3.0.16",
"@annotorious/core": "3.0.17",
"rbush": "^4.0.1",

@@ -55,0 +55,0 @@ "uuid": "^11.0.3"

@@ -67,3 +67,3 @@ import type { SvelteComponent } from 'svelte';

const undoStack = createUndoStack(store);
const undoStack = createUndoStack(store, opts.initialHistory);

@@ -70,0 +70,0 @@ const lifecycle = createLifecycleObserver<I, E>(

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

import type { Annotation, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core';
import type { Annotation, ChangeSet, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core';
import type { ImageAnnotation } from './model';

@@ -16,2 +16,4 @@

initialHistory?: ChangeSet<I>[];
// Modal selection mode WILL NOT CHANGE OR DE-SELECT THE CURRENT SELECTION if another

@@ -18,0 +20,0 @@ // annotation or empty space is clicked. Warning: this means that the user is no longer

@@ -19,2 +19,3 @@ export * from './annotation';

AppearanceProvider,
ChangeSet,
Color,

@@ -21,0 +22,0 @@ DrawingStyle,

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 too big to display

Sorry, the diff of this file is not supported yet