@annotorious/annotorious 3.0.0-rc.27 → 3.0.0-rc.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annotorious/annotorious",
3
- "version": "3.0.0-rc.27",
3
+ "version": "3.0.0-rc.29",
4
4
  "description": "Add image annotation functionality to any web page with a few lines of JavaScript",
5
5
  "author": "Rainer Simon",
6
6
  "license": "BSD-3-Clause",
@@ -36,20 +36,20 @@
36
36
  "./src": "./src/index.ts"
37
37
  },
38
38
  "devDependencies": {
39
- "@sveltejs/vite-plugin-svelte": "^3.1.0",
39
+ "@sveltejs/vite-plugin-svelte": "^3.1.1",
40
40
  "@tsconfig/svelte": "^5.0.4",
41
41
  "@types/rbush": "^3.0.3",
42
42
  "jsdom": "^24.1.0",
43
- "svelte": "^4.2.17",
44
- "svelte-preprocess": "^5.1.4",
43
+ "svelte": "^4.2.18",
44
+ "svelte-preprocess": "^6.0.1",
45
45
  "typescript": "^5.4.5",
46
- "vite": "^5.2.11",
46
+ "vite": "^5.3.1",
47
47
  "vite-plugin-dts": "^3.9.1",
48
48
  "vitest": "^1.6.0"
49
49
  },
50
50
  "dependencies": {
51
- "@annotorious/core": "3.0.0-rc.27",
51
+ "@annotorious/core": "3.0.0-rc.29",
52
52
  "rbush": "^3.0.1",
53
- "uuid": "^9.0.1"
53
+ "uuid": "^10.0.0"
54
54
  }
55
55
  }
@@ -1,7 +1,7 @@
1
1
  import type { SvelteComponent } from 'svelte';
2
2
  import { PointerSelectAction } from '@annotorious/core';
3
3
  import type { Annotator, DrawingStyleExpression, Filter, User } from '@annotorious/core';
4
- import { createAnonymousGuest, createBaseAnnotator, createLifecyleObserver, createUndoStack } from '@annotorious/core';
4
+ import { createAnonymousGuest, createBaseAnnotator, createLifecycleObserver, createUndoStack } from '@annotorious/core';
5
5
  import { registerEditor } from './annotation/editors';
6
6
  import { getTool, registerTool, listDrawingTools, type DrawingTool } from './annotation/tools';
7
7
  import { SVGAnnotationLayer } from './annotation';
@@ -57,7 +57,7 @@ export const createImageAnnotator = <E extends unknown = ImageAnnotation>(
57
57
 
58
58
  const undoStack = createUndoStack(store);
59
59
 
60
- const lifecycle = createLifecyleObserver<ImageAnnotation, E>(
60
+ const lifecycle = createLifecycleObserver<ImageAnnotation, E>(
61
61
  state, undoStack, opts.adapter, opts.autoSave
62
62
  );
63
63
 
@@ -176,4 +176,4 @@ export const createImageAnnotator = <E extends unknown = ImageAnnotation>(
176
176
  state
177
177
  }
178
178
 
179
- }
179
+ }