@recogito/text-annotator 4.0.2-beta → 4.1.0

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.
@@ -1,5 +1,5 @@
1
- import type { TextAnnotation, TextAnnotationTarget, TextSelector } from '../../model';
2
- export declare const isRevived: (selector: TextSelector[]) => boolean;
1
+ import type { TextAnnotation, TextAnnotationTarget, TextSelector, TextSelectorLike } from '../../model';
2
+ export declare const isRevived: (selector: TextSelectorLike[]) => boolean;
3
3
  /**
4
4
  * Creates a new selector object with the revived DOM range from the given text annotation position
5
5
  * Only the annotatable elements are processed and counted towards the range
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recogito/text-annotator",
3
- "version": "v4.0.2-beta",
3
+ "version": "4.1.0",
4
4
  "description": "A JavaScript text annotation library",
5
5
  "author": "Rainer Simon",
6
6
  "license": "BSD-3-Clause",
@@ -26,13 +26,13 @@
26
26
  "./text-annotator.css": "./dist/text-annotator.css"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/jsdom": "^28.0.1",
29
+ "@types/jsdom": "^28.0.3",
30
30
  "@types/rbush": "^4.0.0",
31
- "jsdom": "^29.1.0",
31
+ "jsdom": "^29.1.1",
32
32
  "typescript": "^5.9.3",
33
- "vite": "^7.3.2",
33
+ "vite": "^7.3.3",
34
34
  "vite-plugin-externalize-deps": "^0.10.0",
35
- "vitest": "^4.1.5"
35
+ "vitest": "^4.1.7"
36
36
  },
37
37
  "dependencies": {
38
38
  "@annotorious/core": "^3.8.2",