@fedify/vocab-runtime 2.1.0-dev.543 → 2.1.0-dev.565
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 +27 -1
- package/dist/mod.js +27 -1
- package/dist/tests/docloader.test.cjs +27 -1
- package/dist/tests/docloader.test.js +27 -1
- package/dist/tests/{request-Divb6wDy.js → request-3ywvRFy1.js} +1 -1
- package/dist/tests/{request-BJJB7u81.cjs → request-Dhnqve0g.cjs} +1 -1
- package/dist/tests/request.test.cjs +1 -1
- package/dist/tests/request.test.js +1 -1
- package/package.json +1 -1
- package/src/contexts.ts +38 -0
- package/tsdown.config.ts +1 -1
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -4307,6 +4307,32 @@ const preloadedContexts = {
|
|
|
4307
4307
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
4308
4308
|
"@type": "@id"
|
|
4309
4309
|
}
|
|
4310
|
+
} },
|
|
4311
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
4312
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4313
|
+
"Emoji": "toot:Emoji",
|
|
4314
|
+
"featured": {
|
|
4315
|
+
"@id": "toot:featured",
|
|
4316
|
+
"@type": "@id"
|
|
4317
|
+
},
|
|
4318
|
+
"featuredTags": {
|
|
4319
|
+
"@id": "toot:featuredTags",
|
|
4320
|
+
"@type": "@id"
|
|
4321
|
+
},
|
|
4322
|
+
"focalPoint": {
|
|
4323
|
+
"@container": "@list",
|
|
4324
|
+
"@id": "toot:focalPoint"
|
|
4325
|
+
},
|
|
4326
|
+
"blurhash": "toot:blurhash",
|
|
4327
|
+
"discoverable": "toot:discoverable",
|
|
4328
|
+
"indexable": "toot:indexable",
|
|
4329
|
+
"memorial": "toot:memorial",
|
|
4330
|
+
"votersCount": "toot:votersCount",
|
|
4331
|
+
"suspended": "toot:suspended",
|
|
4332
|
+
"attributionDomains": {
|
|
4333
|
+
"@id": "toot:attributionDomains",
|
|
4334
|
+
"@type": "@id"
|
|
4335
|
+
}
|
|
4310
4336
|
} }
|
|
4311
4337
|
};
|
|
4312
4338
|
var contexts_default = preloadedContexts;
|
|
@@ -4314,7 +4340,7 @@ var contexts_default = preloadedContexts;
|
|
|
4314
4340
|
//#endregion
|
|
4315
4341
|
//#region deno.json
|
|
4316
4342
|
var name = "@fedify/vocab-runtime";
|
|
4317
|
-
var version = "2.1.0-dev.
|
|
4343
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
4318
4344
|
var license = "MIT";
|
|
4319
4345
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
4320
4346
|
var description = "Runtime library for @fedify/vocab";
|
package/dist/mod.js
CHANGED
|
@@ -4284,6 +4284,32 @@ const preloadedContexts = {
|
|
|
4284
4284
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
4285
4285
|
"@type": "@id"
|
|
4286
4286
|
}
|
|
4287
|
+
} },
|
|
4288
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
4289
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4290
|
+
"Emoji": "toot:Emoji",
|
|
4291
|
+
"featured": {
|
|
4292
|
+
"@id": "toot:featured",
|
|
4293
|
+
"@type": "@id"
|
|
4294
|
+
},
|
|
4295
|
+
"featuredTags": {
|
|
4296
|
+
"@id": "toot:featuredTags",
|
|
4297
|
+
"@type": "@id"
|
|
4298
|
+
},
|
|
4299
|
+
"focalPoint": {
|
|
4300
|
+
"@container": "@list",
|
|
4301
|
+
"@id": "toot:focalPoint"
|
|
4302
|
+
},
|
|
4303
|
+
"blurhash": "toot:blurhash",
|
|
4304
|
+
"discoverable": "toot:discoverable",
|
|
4305
|
+
"indexable": "toot:indexable",
|
|
4306
|
+
"memorial": "toot:memorial",
|
|
4307
|
+
"votersCount": "toot:votersCount",
|
|
4308
|
+
"suspended": "toot:suspended",
|
|
4309
|
+
"attributionDomains": {
|
|
4310
|
+
"@id": "toot:attributionDomains",
|
|
4311
|
+
"@type": "@id"
|
|
4312
|
+
}
|
|
4287
4313
|
} }
|
|
4288
4314
|
};
|
|
4289
4315
|
var contexts_default = preloadedContexts;
|
|
@@ -4291,7 +4317,7 @@ var contexts_default = preloadedContexts;
|
|
|
4291
4317
|
//#endregion
|
|
4292
4318
|
//#region deno.json
|
|
4293
4319
|
var name = "@fedify/vocab-runtime";
|
|
4294
|
-
var version = "2.1.0-dev.
|
|
4320
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
4295
4321
|
var license = "MIT";
|
|
4296
4322
|
var exports = { ".": "./src/mod.ts" };
|
|
4297
4323
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
|
-
const require_request = require('./request-
|
|
2
|
+
const require_request = require('./request-Dhnqve0g.cjs');
|
|
3
3
|
const require_link = require('./link-CdFPEo9O.cjs');
|
|
4
4
|
const require_url = require('./url-C5Vs9nYh.cjs');
|
|
5
5
|
const node_assert = require_chunk.__toESM(require("node:assert"));
|
|
@@ -5513,6 +5513,32 @@ const preloadedContexts = {
|
|
|
5513
5513
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
5514
5514
|
"@type": "@id"
|
|
5515
5515
|
}
|
|
5516
|
+
} },
|
|
5517
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
5518
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
5519
|
+
"Emoji": "toot:Emoji",
|
|
5520
|
+
"featured": {
|
|
5521
|
+
"@id": "toot:featured",
|
|
5522
|
+
"@type": "@id"
|
|
5523
|
+
},
|
|
5524
|
+
"featuredTags": {
|
|
5525
|
+
"@id": "toot:featuredTags",
|
|
5526
|
+
"@type": "@id"
|
|
5527
|
+
},
|
|
5528
|
+
"focalPoint": {
|
|
5529
|
+
"@container": "@list",
|
|
5530
|
+
"@id": "toot:focalPoint"
|
|
5531
|
+
},
|
|
5532
|
+
"blurhash": "toot:blurhash",
|
|
5533
|
+
"discoverable": "toot:discoverable",
|
|
5534
|
+
"indexable": "toot:indexable",
|
|
5535
|
+
"memorial": "toot:memorial",
|
|
5536
|
+
"votersCount": "toot:votersCount",
|
|
5537
|
+
"suspended": "toot:suspended",
|
|
5538
|
+
"attributionDomains": {
|
|
5539
|
+
"@id": "toot:attributionDomains",
|
|
5540
|
+
"@type": "@id"
|
|
5541
|
+
}
|
|
5516
5542
|
} }
|
|
5517
5543
|
};
|
|
5518
5544
|
var contexts_default = preloadedContexts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-
|
|
1
|
+
import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-3ywvRFy1.js";
|
|
2
2
|
import { HttpHeaderLink } from "./link-Ck2yj4dH.js";
|
|
3
3
|
import { UrlError, validatePublicUrl } from "./url-fW_DHbih.js";
|
|
4
4
|
import "node:module";
|
|
@@ -5539,6 +5539,32 @@ const preloadedContexts = {
|
|
|
5539
5539
|
"@id": "https://w3id.org/fep/5711#likedOf",
|
|
5540
5540
|
"@type": "@id"
|
|
5541
5541
|
}
|
|
5542
|
+
} },
|
|
5543
|
+
"http://joinmastodon.org/ns": { "@context": {
|
|
5544
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
5545
|
+
"Emoji": "toot:Emoji",
|
|
5546
|
+
"featured": {
|
|
5547
|
+
"@id": "toot:featured",
|
|
5548
|
+
"@type": "@id"
|
|
5549
|
+
},
|
|
5550
|
+
"featuredTags": {
|
|
5551
|
+
"@id": "toot:featuredTags",
|
|
5552
|
+
"@type": "@id"
|
|
5553
|
+
},
|
|
5554
|
+
"focalPoint": {
|
|
5555
|
+
"@container": "@list",
|
|
5556
|
+
"@id": "toot:focalPoint"
|
|
5557
|
+
},
|
|
5558
|
+
"blurhash": "toot:blurhash",
|
|
5559
|
+
"discoverable": "toot:discoverable",
|
|
5560
|
+
"indexable": "toot:indexable",
|
|
5561
|
+
"memorial": "toot:memorial",
|
|
5562
|
+
"votersCount": "toot:votersCount",
|
|
5563
|
+
"suspended": "toot:suspended",
|
|
5564
|
+
"attributionDomains": {
|
|
5565
|
+
"@id": "toot:attributionDomains",
|
|
5566
|
+
"@type": "@id"
|
|
5567
|
+
}
|
|
5542
5568
|
} }
|
|
5543
5569
|
};
|
|
5544
5570
|
var contexts_default = preloadedContexts;
|
|
@@ -2,7 +2,7 @@ import process from "node:process";
|
|
|
2
2
|
|
|
3
3
|
//#region deno.json
|
|
4
4
|
var name = "@fedify/vocab-runtime";
|
|
5
|
-
var version = "2.1.0-dev.
|
|
5
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
6
6
|
var license = "MIT";
|
|
7
7
|
var exports = { ".": "./src/mod.ts" };
|
|
8
8
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -3,7 +3,7 @@ const node_process = require_chunk.__toESM(require("node:process"));
|
|
|
3
3
|
|
|
4
4
|
//#region deno.json
|
|
5
5
|
var name = "@fedify/vocab-runtime";
|
|
6
|
-
var version = "2.1.0-dev.
|
|
6
|
+
var version = "2.1.0-dev.565+b4d238a9";
|
|
7
7
|
var license = "MIT";
|
|
8
8
|
var exports$1 = { ".": "./src/mod.ts" };
|
|
9
9
|
var description = "Runtime library for @fedify/vocab";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
|
-
const require_request = require('./request-
|
|
2
|
+
const require_request = require('./request-Dhnqve0g.cjs');
|
|
3
3
|
const node_assert = require_chunk.__toESM(require("node:assert"));
|
|
4
4
|
const node_test = require_chunk.__toESM(require("node:test"));
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
package/package.json
CHANGED
package/src/contexts.ts
CHANGED
|
@@ -4367,6 +4367,44 @@ const preloadedContexts: Record<string, unknown> = {
|
|
|
4367
4367
|
},
|
|
4368
4368
|
},
|
|
4369
4369
|
},
|
|
4370
|
+
|
|
4371
|
+
// Mastodon's "toot:" namespace. The URL http://joinmastodon.org/ns has
|
|
4372
|
+
// *never* served a real JSON-LD context document—Mastodon has always inlined
|
|
4373
|
+
// these term definitions directly in every outgoing @context array. However,
|
|
4374
|
+
// some ActivityPub implementations (e.g., Bonfire) put the bare URL in their
|
|
4375
|
+
// @context, which causes JSON-LD processors to try to dereference it and fail
|
|
4376
|
+
// with a 404. We ship a built-in copy here so that Fedify can parse such
|
|
4377
|
+
// documents without a network round-trip to a URL that will never resolve.
|
|
4378
|
+
// See: https://github.com/mastodon/joinmastodon/issues/148
|
|
4379
|
+
// https://github.com/fedify-dev/fedify/issues/630
|
|
4380
|
+
"http://joinmastodon.org/ns": {
|
|
4381
|
+
"@context": {
|
|
4382
|
+
"toot": "http://joinmastodon.org/ns#",
|
|
4383
|
+
"Emoji": "toot:Emoji",
|
|
4384
|
+
"featured": {
|
|
4385
|
+
"@id": "toot:featured",
|
|
4386
|
+
"@type": "@id",
|
|
4387
|
+
},
|
|
4388
|
+
"featuredTags": {
|
|
4389
|
+
"@id": "toot:featuredTags",
|
|
4390
|
+
"@type": "@id",
|
|
4391
|
+
},
|
|
4392
|
+
"focalPoint": {
|
|
4393
|
+
"@container": "@list",
|
|
4394
|
+
"@id": "toot:focalPoint",
|
|
4395
|
+
},
|
|
4396
|
+
"blurhash": "toot:blurhash",
|
|
4397
|
+
"discoverable": "toot:discoverable",
|
|
4398
|
+
"indexable": "toot:indexable",
|
|
4399
|
+
"memorial": "toot:memorial",
|
|
4400
|
+
"votersCount": "toot:votersCount",
|
|
4401
|
+
"suspended": "toot:suspended",
|
|
4402
|
+
"attributionDomains": {
|
|
4403
|
+
"@id": "toot:attributionDomains",
|
|
4404
|
+
"@type": "@id",
|
|
4405
|
+
},
|
|
4406
|
+
},
|
|
4407
|
+
},
|
|
4370
4408
|
};
|
|
4371
4409
|
|
|
4372
4410
|
export default preloadedContexts;
|