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

@annotorious/core

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@annotorious/core - npm Package Compare versions

Comparing version 3.0.0-rc.21 to 3.0.0-rc.22

dist/model/AnnotationState.d.ts

5

dist/model/Annotator.d.ts

@@ -7,3 +7,3 @@ import type { Annotation } from './Annotation';

import { type FormatAdapter } from './FormatAdapter';
import type { DrawingStyle } from './DrawingStyle';
import type { DrawingStyleExpression } from './DrawingStyle';
import type { Filter } from './Filter';

@@ -33,4 +33,5 @@ /**

setSelected(arg?: string | string[]): void;
setStyle(arg: DrawingStyle | ((annotation: I) => DrawingStyle) | undefined): void;
setStyle(style: DrawingStyleExpression<I> | undefined): void;
setUser(user: User): void;
setVisible(visible: boolean): void;
undo(): void;

@@ -37,0 +38,0 @@ updateAnnotation(annotation: E): E;

3

dist/model/DrawingStyle.d.ts

@@ -0,1 +1,3 @@

import type { Annotation } from "./Annotation";
import type { AnnotationState } from "./AnnotationState";
type RGB = `rgb(${number}, ${number}, ${number})`;

@@ -12,3 +14,4 @@ type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`;

}
export type DrawingStyleExpression<T extends Annotation> = DrawingStyle | ((annotation: T, state?: AnnotationState) => DrawingStyle);
export {};
//# sourceMappingURL=DrawingStyle.d.ts.map
export * from './Annotation';
export * from './AnnotationState';
export * from './Annotator';

@@ -3,0 +4,0 @@ export * from './DrawingStyle';

{
"name": "@annotorious/core",
"version": "3.0.0-rc.21",
"version": "3.0.0-rc.22",
"description": "Annotorious core types and functions",

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

"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tsconfig/svelte": "^5.0.2",
"@tsconfig/svelte": "^5.0.4",
"@types/deep-equal": "^1.0.4",

@@ -35,4 +35,4 @@ "@types/uuid": "^9.0.8",

"svelte-preprocess": "^5.1.3",
"typescript": "^5.3.3",
"vite": "^5.2.2",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vite-plugin-dts": "^3.7.3",

@@ -47,2 +47,2 @@ "vitest": "^1.4.0"

}
}
}

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