@fedify/vocab-tools 2.0.36-dev.2530 → 2.0.36-dev.2551
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/deno.json +1 -1
- package/dist/mod.cjs +1 -1
- package/dist/mod.js +1 -1
- package/package.json +1 -1
- package/src/type.ts +2 -0
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -8,7 +8,7 @@ let yaml = require("yaml");
|
|
|
8
8
|
let es_toolkit = require("es-toolkit");
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab-tools";
|
|
11
|
-
var version = "2.0.36-dev.
|
|
11
|
+
var version = "2.0.36-dev.2551+8b012df4";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/type.ts
|
|
14
14
|
const HEURISTICS_CONTEXTS = [
|
package/dist/mod.js
CHANGED
|
@@ -7,7 +7,7 @@ import { parse } from "yaml";
|
|
|
7
7
|
import { pascalCase } from "es-toolkit";
|
|
8
8
|
//#region deno.json
|
|
9
9
|
var name = "@fedify/vocab-tools";
|
|
10
|
-
var version = "2.0.36-dev.
|
|
10
|
+
var version = "2.0.36-dev.2551+8b012df4";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/type.ts
|
|
13
13
|
const HEURISTICS_CONTEXTS = [
|
package/package.json
CHANGED
package/src/type.ts
CHANGED
|
@@ -204,6 +204,8 @@ const scalarTypes: Record<string, ScalarType> = {
|
|
|
204
204
|
return `${v}.toString()`;
|
|
205
205
|
},
|
|
206
206
|
dataCheck(v) {
|
|
207
|
+
// Keep in lockstep with hasMalformedExpandedQuestionClosedLiteral() in
|
|
208
|
+
// packages/fedify/src/federation/temporal.ts.
|
|
207
209
|
return `typeof ${v} === "object" && "@type" in ${v}
|
|
208
210
|
&& "@value" in ${v} && typeof ${v}["@value"] === "string"
|
|
209
211
|
&& ${v}["@type"] === "http://www.w3.org/2001/XMLSchema#dateTime"
|