@kubohiroya/turbowarp-camera-calibration 0.20.1 → 0.21.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.
- package/README.ja.md +2 -2
- package/README.md +2 -2
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/camera-calibration.js +58 -28
- package/package.json +4 -4
package/README.ja.md
CHANGED
|
@@ -147,7 +147,7 @@ Node.jsやbuild環境を用意する必要はありません。専用buildのOpe
|
|
|
147
147
|
検証済みのversionをexact pinします。
|
|
148
148
|
|
|
149
149
|
```bash
|
|
150
|
-
pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.
|
|
150
|
+
pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.21.0
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
standalone bundle:
|
|
@@ -159,7 +159,7 @@ node_modules/@kubohiroya/turbowarp-camera-calibration/dist/camera-calibration.js
|
|
|
159
159
|
version固定CDN URL:
|
|
160
160
|
|
|
161
161
|
```text
|
|
162
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.
|
|
162
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.21.0/dist/camera-calibration.js
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
## クイックスタート
|
package/README.md
CHANGED
|
@@ -151,7 +151,7 @@ and is about 3.9 MB (about 1.5 MB gzip).
|
|
|
151
151
|
Install an exact version that you have reviewed:
|
|
152
152
|
|
|
153
153
|
```bash
|
|
154
|
-
pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.
|
|
154
|
+
pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.21.0
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
Load the standalone bundle from:
|
|
@@ -163,7 +163,7 @@ node_modules/@kubohiroya/turbowarp-camera-calibration/dist/camera-calibration.js
|
|
|
163
163
|
A version-pinned CDN URL is:
|
|
164
164
|
|
|
165
165
|
```text
|
|
166
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.
|
|
166
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.21.0/dist/camera-calibration.js
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
## Quick start
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -35,7 +35,7 @@ version `4.4.2`, distributed under the Apache License 2.0.
|
|
|
35
35
|
|
|
36
36
|
The contract this extension talks to is imported from
|
|
37
37
|
[`@kubohiroya/turbowarp-camera-source`](https://github.com/kubohiroya/turbowarp-camera-source) at the
|
|
38
|
-
exact npm version `0.
|
|
38
|
+
exact npm version `0.25.0`
|
|
39
39
|
(resolved by the committed `pnpm-lock.yaml`), through its `./runtime` sub-entry: the camera lease, the runtime capability,
|
|
40
40
|
and the intrinsic profile document. That runtime entry contains declarations and a few string
|
|
41
41
|
constants; its built form imports nothing, so using this entry adds no camera controller or
|
|
@@ -54,7 +54,7 @@ package's explicit editor entry and optional Source/Form registration.
|
|
|
54
54
|
|
|
55
55
|
The pure Schema engine and diagnostic helpers used by the explicit `./editor-schema` entry
|
|
56
56
|
and optional Source/Form registration
|
|
57
|
-
come from `@kubohiroya/turbowarp-extension-data-editor/schema`, at exact npm version `0.11.
|
|
57
|
+
come from `@kubohiroya/turbowarp-extension-data-editor/schema`, at exact npm version `0.11.2`
|
|
58
58
|
(resolved by the committed `pnpm-lock.yaml`).
|
|
59
59
|
They do not introduce the RJSF UI into the runtime bundle. Extension Data Editor is distributed
|
|
60
60
|
under the Mozilla Public License 2.0.
|
|
@@ -7215,8 +7215,10 @@ var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7215
7215
|
}
|
|
7216
7216
|
exports.fullFormats = {
|
|
7217
7217
|
date: fmtDef(date, compareDate),
|
|
7218
|
-
time: fmtDef(
|
|
7219
|
-
"date-time": fmtDef(
|
|
7218
|
+
time: fmtDef(getTime(true), compareTime),
|
|
7219
|
+
"date-time": fmtDef(getDateTime(true), compareDateTime),
|
|
7220
|
+
"iso-time": fmtDef(getTime(), compareIsoTime),
|
|
7221
|
+
"iso-date-time": fmtDef(getDateTime(), compareIsoDateTime),
|
|
7220
7222
|
duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
|
|
7221
7223
|
uri,
|
|
7222
7224
|
"uri-reference": /^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,
|
|
@@ -7224,7 +7226,7 @@ var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7224
7226
|
url: /^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,
|
|
7225
7227
|
email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,
|
|
7226
7228
|
hostname: /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,
|
|
7227
|
-
ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[
|
|
7229
|
+
ipv4: /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,
|
|
7228
7230
|
ipv6: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,
|
|
7229
7231
|
regex,
|
|
7230
7232
|
uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,
|
|
@@ -7254,8 +7256,10 @@ var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7254
7256
|
exports.fastFormats = {
|
|
7255
7257
|
...exports.fullFormats,
|
|
7256
7258
|
date: fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, compareDate),
|
|
7257
|
-
time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)
|
|
7258
|
-
"date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\
|
|
7259
|
+
time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, compareTime),
|
|
7260
|
+
"date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, compareDateTime),
|
|
7261
|
+
"iso-time": fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareIsoTime),
|
|
7262
|
+
"iso-date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareIsoDateTime),
|
|
7259
7263
|
uri: /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,
|
|
7260
7264
|
"uri-reference": /^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,
|
|
7261
7265
|
email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i
|
|
@@ -7294,33 +7298,59 @@ var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7294
7298
|
if (d1 < d2) return -1;
|
|
7295
7299
|
return 0;
|
|
7296
7300
|
}
|
|
7297
|
-
var TIME = /^(\d\d):(\d\d):(\d\d
|
|
7298
|
-
function
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7301
|
+
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
7302
|
+
function getTime(strictTimeZone) {
|
|
7303
|
+
return function time(str) {
|
|
7304
|
+
const matches = TIME.exec(str);
|
|
7305
|
+
if (!matches) return false;
|
|
7306
|
+
const hr = +matches[1];
|
|
7307
|
+
const min = +matches[2];
|
|
7308
|
+
const sec = +matches[3];
|
|
7309
|
+
const tz = matches[4];
|
|
7310
|
+
const tzSign = matches[5] === "-" ? -1 : 1;
|
|
7311
|
+
const tzH = +(matches[6] || 0);
|
|
7312
|
+
const tzM = +(matches[7] || 0);
|
|
7313
|
+
if (tzH > 23 || tzM > 59 || strictTimeZone && !tz) return false;
|
|
7314
|
+
if (hr <= 23 && min <= 59 && sec < 60) return true;
|
|
7315
|
+
const utcMin = min - tzM * tzSign;
|
|
7316
|
+
const utcHr = hr - tzH * tzSign - (utcMin < 0 ? 1 : 0);
|
|
7317
|
+
return (utcHr === 23 || utcHr === -1) && (utcMin === 59 || utcMin === -1) && sec < 61;
|
|
7318
|
+
};
|
|
7306
7319
|
}
|
|
7307
|
-
function compareTime(
|
|
7320
|
+
function compareTime(s1, s2) {
|
|
7321
|
+
if (!(s1 && s2)) return void 0;
|
|
7322
|
+
const t1 = (/* @__PURE__ */ new Date("2020-01-01T" + s1)).valueOf();
|
|
7323
|
+
const t2 = (/* @__PURE__ */ new Date("2020-01-01T" + s2)).valueOf();
|
|
7324
|
+
if (!(t1 && t2)) return void 0;
|
|
7325
|
+
return t1 - t2;
|
|
7326
|
+
}
|
|
7327
|
+
function compareIsoTime(t1, t2) {
|
|
7308
7328
|
if (!(t1 && t2)) return void 0;
|
|
7309
7329
|
const a1 = TIME.exec(t1);
|
|
7310
7330
|
const a2 = TIME.exec(t2);
|
|
7311
7331
|
if (!(a1 && a2)) return void 0;
|
|
7312
|
-
t1 = a1[1] + a1[2] + a1[3]
|
|
7313
|
-
t2 = a2[1] + a2[2] + a2[3]
|
|
7332
|
+
t1 = a1[1] + a1[2] + a1[3];
|
|
7333
|
+
t2 = a2[1] + a2[2] + a2[3];
|
|
7314
7334
|
if (t1 > t2) return 1;
|
|
7315
7335
|
if (t1 < t2) return -1;
|
|
7316
7336
|
return 0;
|
|
7317
7337
|
}
|
|
7318
7338
|
var DATE_TIME_SEPARATOR = /t|\s/i;
|
|
7319
|
-
function
|
|
7320
|
-
const
|
|
7321
|
-
return
|
|
7339
|
+
function getDateTime(strictTimeZone) {
|
|
7340
|
+
const time = getTime(strictTimeZone);
|
|
7341
|
+
return function date_time(str) {
|
|
7342
|
+
const dateTime = str.split(DATE_TIME_SEPARATOR);
|
|
7343
|
+
return dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1]);
|
|
7344
|
+
};
|
|
7322
7345
|
}
|
|
7323
7346
|
function compareDateTime(dt1, dt2) {
|
|
7347
|
+
if (!(dt1 && dt2)) return void 0;
|
|
7348
|
+
const d1 = new Date(dt1).valueOf();
|
|
7349
|
+
const d2 = new Date(dt2).valueOf();
|
|
7350
|
+
if (!(d1 && d2)) return void 0;
|
|
7351
|
+
return d1 - d2;
|
|
7352
|
+
}
|
|
7353
|
+
function compareIsoDateTime(dt1, dt2) {
|
|
7324
7354
|
if (!(dt1 && dt2)) return void 0;
|
|
7325
7355
|
const [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);
|
|
7326
7356
|
const [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);
|
|
@@ -7394,8 +7424,8 @@ var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7394
7424
|
schemaType: "string",
|
|
7395
7425
|
$data: true,
|
|
7396
7426
|
error: {
|
|
7397
|
-
message: ({ keyword, schemaCode }) => codegen_1.str`should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
7398
|
-
params: ({ keyword, schemaCode }) => codegen_1._`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
|
|
7427
|
+
message: ({ keyword, schemaCode }) => (0, codegen_1.str)`should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
7428
|
+
params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
|
|
7399
7429
|
},
|
|
7400
7430
|
code(cxt) {
|
|
7401
7431
|
const { gen, data, schemaCode, keyword, it } = cxt;
|
|
@@ -7409,8 +7439,8 @@ var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7409
7439
|
ref: self.formats,
|
|
7410
7440
|
code: opts.code.formats
|
|
7411
7441
|
});
|
|
7412
|
-
const fmt = gen.const("fmt", codegen_1._`${fmts}[${fCxt.schemaCode}]`);
|
|
7413
|
-
cxt.fail$data(codegen_1.or(codegen_1._`typeof ${fmt} != "object"`, codegen_1._`${fmt} instanceof RegExp`, codegen_1._`typeof ${fmt}.compare != "function"`, compareCode(fmt)));
|
|
7442
|
+
const fmt = gen.const("fmt", (0, codegen_1._)`${fmts}[${fCxt.schemaCode}]`);
|
|
7443
|
+
cxt.fail$data((0, codegen_1.or)((0, codegen_1._)`typeof ${fmt} != "object"`, (0, codegen_1._)`${fmt} instanceof RegExp`, (0, codegen_1._)`typeof ${fmt}.compare != "function"`, compareCode(fmt)));
|
|
7414
7444
|
}
|
|
7415
7445
|
function validateFormat() {
|
|
7416
7446
|
const format = fCxt.schema;
|
|
@@ -7420,12 +7450,12 @@ var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7420
7450
|
const fmt = gen.scopeValue("formats", {
|
|
7421
7451
|
key: format,
|
|
7422
7452
|
ref: fmtDef,
|
|
7423
|
-
code: opts.code.formats ? codegen_1._`${opts.code.formats}${codegen_1.getProperty(format)}` : void 0
|
|
7453
|
+
code: opts.code.formats ? (0, codegen_1._)`${opts.code.formats}${(0, codegen_1.getProperty)(format)}` : void 0
|
|
7424
7454
|
});
|
|
7425
7455
|
cxt.fail$data(compareCode(fmt));
|
|
7426
7456
|
}
|
|
7427
7457
|
function compareCode(fmt) {
|
|
7428
|
-
return codegen_1._`${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;
|
|
7458
|
+
return (0, codegen_1._)`${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;
|
|
7429
7459
|
}
|
|
7430
7460
|
},
|
|
7431
7461
|
dependencies: ["format"]
|
|
@@ -7450,7 +7480,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7450
7480
|
}
|
|
7451
7481
|
const [formats, exportName] = opts.mode === "fast" ? [formats_1.fastFormats, fastName] : [formats_1.fullFormats, fullName];
|
|
7452
7482
|
addFormats(ajv, opts.formats || formats_1.formatNames, formats, exportName);
|
|
7453
|
-
if (opts.keywords) limit_1.default(ajv);
|
|
7483
|
+
if (opts.keywords) (0, limit_1.default)(ajv);
|
|
7454
7484
|
return ajv;
|
|
7455
7485
|
};
|
|
7456
7486
|
formatsPlugin.get = (name, mode = "full") => {
|
|
@@ -7461,7 +7491,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
7461
7491
|
function addFormats(ajv, list, fs, exportName) {
|
|
7462
7492
|
var _a;
|
|
7463
7493
|
var _b;
|
|
7464
|
-
(_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 || (_b.formats = codegen_1._`require("ajv-formats/dist/formats").${exportName}`);
|
|
7494
|
+
(_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 || (_b.formats = (0, codegen_1._)`require("ajv-formats/dist/formats").${exportName}`);
|
|
7465
7495
|
for (const f of list) ajv.addFormat(f, fs[f]);
|
|
7466
7496
|
}
|
|
7467
7497
|
module.exports = exports = formatsPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-camera-calibration",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "A TurboWarp extension that calibrates a shared Camera Source camera and publishes its intrinsic calibration profile.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Hiroya Kubo",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@eslint/js": "^9.39.5",
|
|
94
|
-
"@kubohiroya/turbowarp-extension-manifest": "^0.
|
|
94
|
+
"@kubohiroya/turbowarp-extension-manifest": "^0.6.0",
|
|
95
95
|
"@kubohiroya/vite-plugin-turbowarp-extension": "^0.11.0",
|
|
96
96
|
"@types/node": "^24.13.3",
|
|
97
97
|
"ajv": "^8.20.0",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"comlink": "4.4.2",
|
|
108
|
-
"@kubohiroya/turbowarp-extension-data-editor": "^0.11.
|
|
109
|
-
"@kubohiroya/turbowarp-camera-source": "^0.
|
|
108
|
+
"@kubohiroya/turbowarp-extension-data-editor": "^0.11.2",
|
|
109
|
+
"@kubohiroya/turbowarp-camera-source": "^0.25.0"
|
|
110
110
|
},
|
|
111
111
|
"sideEffects": [
|
|
112
112
|
"src/index.ts",
|