@annotorious/react 3.0.22 → 3.1.1
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/dist/annotorious-react.es12.js +7 -7
- package/dist/annotorious-react.es12.js.map +1 -1
- package/dist/annotorious-react.es13.js +154 -160
- package/dist/annotorious-react.es13.js.map +1 -1
- package/dist/annotorious-react.es17.js +10 -7
- package/dist/annotorious-react.es17.js.map +1 -1
- package/package.json +15 -15
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import m from "./annotorious-react.es25.js";
|
|
2
|
+
import n from "./annotorious-react.es26.js";
|
|
3
3
|
import { unsafeStringify as t } from "./annotorious-react.es24.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
function U(r, a, u) {
|
|
5
|
+
var e;
|
|
6
|
+
if (m.randomUUID && !r)
|
|
7
|
+
return m.randomUUID();
|
|
7
8
|
r = r || {};
|
|
8
|
-
const f = r.random
|
|
9
|
+
const f = r.random ?? ((e = r.rng) == null ? void 0 : e.call(r)) ?? n();
|
|
10
|
+
if (f.length < 16)
|
|
11
|
+
throw new Error("Random bytes length must be >= 16");
|
|
9
12
|
return f[6] = f[6] & 15 | 64, f[8] = f[8] & 63 | 128, t(f);
|
|
10
13
|
}
|
|
11
14
|
export {
|
|
12
|
-
|
|
15
|
+
U as default
|
|
13
16
|
};
|
|
14
17
|
//# sourceMappingURL=annotorious-react.es17.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotorious-react.es17.js","sources":["../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random
|
|
1
|
+
{"version":3,"file":"annotorious-react.es17.js","sources":["../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random ?? options.rng?.() ?? rng();\n if (rnds.length < 16) {\n throw new Error('Random bytes length must be >= 16');\n }\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n if (buf) {\n offset = offset || 0;\n if (offset < 0 || offset + 16 > buf.length) {\n throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);\n }\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;\n"],"names":["v4","options","buf","offset","native","rnds","_a","rng","unsafeStringify"],"mappings":";;;AAGA,SAASA,EAAGC,GAASC,GAAKC,GAAQ;;AAC9B,MAAIC,EAAO,cAAsB,CAACH;AAC9B,WAAOG,EAAO,WAAY;AAE9B,EAAAH,IAAUA,KAAW,CAAE;AACvB,QAAMI,IAAOJ,EAAQ,YAAUK,IAAAL,EAAQ,QAAR,gBAAAK,EAAA,KAAAL,OAAmBM,EAAK;AACvD,MAAIF,EAAK,SAAS;AACd,UAAM,IAAI,MAAM,mCAAmC;AAEvD,SAAAA,EAAK,CAAC,IAAKA,EAAK,CAAC,IAAI,KAAQ,IAC7BA,EAAK,CAAC,IAAKA,EAAK,CAAC,IAAI,KAAQ,KAWtBG,EAAgBH,CAAI;AAC/B;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Annotorious React bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"./annotorious-react.css": "./dist/annotorious-react.css"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/react": "
|
|
30
|
-
"@types/react-dom": "
|
|
31
|
-
"@vitejs/plugin-react": "4.3.4",
|
|
32
|
-
"typescript": "5.7.
|
|
33
|
-
"vite": "5.4.
|
|
34
|
-
"vite-plugin-dts": "4.
|
|
35
|
-
"vite-tsconfig-paths": "5.1.
|
|
29
|
+
"@types/react": "^19.0.8",
|
|
30
|
+
"@types/react-dom": "^19.0.3",
|
|
31
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
32
|
+
"typescript": "5.7.3",
|
|
33
|
+
"vite": "^5.4.14",
|
|
34
|
+
"vite-plugin-dts": "^4.5.0",
|
|
35
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"openseadragon": "^3.0.0 || ^4.0.0 || ^5.0.0",
|
|
39
|
-
"react": "16.8.0 || >=17.x || >=18.x",
|
|
40
|
-
"react-dom": "16.8.0 || >=17.x || >=18.x"
|
|
39
|
+
"react": "16.8.0 || >=17.x || >=18.x || >=19.x",
|
|
40
|
+
"react-dom": "16.8.0 || >=17.x || >=18.x || >=19.x"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"openseadragon": {
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@annotorious/annotorious": "3.
|
|
49
|
-
"@annotorious/core": "3.
|
|
50
|
-
"@annotorious/openseadragon": "3.
|
|
51
|
-
"@floating-ui/react": "0.
|
|
52
|
-
"zustand": "5.0.
|
|
48
|
+
"@annotorious/annotorious": "3.1.1",
|
|
49
|
+
"@annotorious/core": "3.1.1",
|
|
50
|
+
"@annotorious/openseadragon": "3.1.1",
|
|
51
|
+
"@floating-ui/react": "^0.27.3",
|
|
52
|
+
"zustand": "^5.0.3"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false
|
|
55
55
|
}
|