@fedify/vocab-runtime 2.3.5 → 2.3.7
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 +113 -1
- package/dist/mod.d.cts +1 -0
- package/dist/mod.d.ts +1 -0
- package/dist/mod.js +113 -1
- package/dist/tests/decimal.test.cjs +1 -1
- package/dist/tests/decimal.test.mjs +1 -1
- package/dist/tests/{docloader-bcolBlfC.mjs → docloader-DI-3ZVtd.mjs} +496 -379
- package/dist/tests/{docloader-tdU-3Xzs.cjs → docloader-hPeotBri.cjs} +501 -378
- package/dist/tests/docloader.test.cjs +11 -2
- package/dist/tests/docloader.test.mjs +11 -2
- package/dist/tests/{request-ObdjC6Ss.mjs → request-BMbeYb8u.mjs} +1 -1
- package/dist/tests/{request-CjvsZ9kT.cjs → request-Cj1FlU8G.cjs} +1 -1
- package/dist/tests/request.test.cjs +1 -1
- package/dist/tests/request.test.mjs +1 -1
- package/package.json +1 -1
- package/src/contexts/cid-v1.json +114 -0
- package/src/contexts.ts +9 -0
- package/src/docloader.test.ts +16 -0
- package/src/docloader.ts +1 -0
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -4288,6 +4288,117 @@ const preloadedContexts = {
|
|
|
4288
4288
|
"@type": "@id"
|
|
4289
4289
|
}
|
|
4290
4290
|
} },
|
|
4291
|
+
"https://www.w3.org/ns/cid/v1": { "@context": {
|
|
4292
|
+
"@protected": true,
|
|
4293
|
+
"id": "@id",
|
|
4294
|
+
"type": "@type",
|
|
4295
|
+
"alsoKnownAs": {
|
|
4296
|
+
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
|
|
4297
|
+
"@type": "@id"
|
|
4298
|
+
},
|
|
4299
|
+
"assertionMethod": {
|
|
4300
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
4301
|
+
"@type": "@id",
|
|
4302
|
+
"@container": "@set"
|
|
4303
|
+
},
|
|
4304
|
+
"authentication": {
|
|
4305
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
4306
|
+
"@type": "@id",
|
|
4307
|
+
"@container": "@set"
|
|
4308
|
+
},
|
|
4309
|
+
"capabilityDelegation": {
|
|
4310
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
4311
|
+
"@type": "@id",
|
|
4312
|
+
"@container": "@set"
|
|
4313
|
+
},
|
|
4314
|
+
"capabilityInvocation": {
|
|
4315
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
4316
|
+
"@type": "@id",
|
|
4317
|
+
"@container": "@set"
|
|
4318
|
+
},
|
|
4319
|
+
"controller": {
|
|
4320
|
+
"@id": "https://w3id.org/security#controller",
|
|
4321
|
+
"@type": "@id"
|
|
4322
|
+
},
|
|
4323
|
+
"keyAgreement": {
|
|
4324
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
4325
|
+
"@type": "@id",
|
|
4326
|
+
"@container": "@set"
|
|
4327
|
+
},
|
|
4328
|
+
"service": {
|
|
4329
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
4330
|
+
"@type": "@id",
|
|
4331
|
+
"@context": {
|
|
4332
|
+
"@protected": true,
|
|
4333
|
+
"id": "@id",
|
|
4334
|
+
"type": "@type",
|
|
4335
|
+
"serviceEndpoint": {
|
|
4336
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
4337
|
+
"@type": "@id"
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
},
|
|
4341
|
+
"verificationMethod": {
|
|
4342
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
4343
|
+
"@type": "@id"
|
|
4344
|
+
},
|
|
4345
|
+
"Multikey": {
|
|
4346
|
+
"@id": "https://w3id.org/security#Multikey",
|
|
4347
|
+
"@context": {
|
|
4348
|
+
"@protected": true,
|
|
4349
|
+
"id": "@id",
|
|
4350
|
+
"type": "@type",
|
|
4351
|
+
"controller": {
|
|
4352
|
+
"@id": "https://w3id.org/security#controller",
|
|
4353
|
+
"@type": "@id"
|
|
4354
|
+
},
|
|
4355
|
+
"revoked": {
|
|
4356
|
+
"@id": "https://w3id.org/security#revoked",
|
|
4357
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4358
|
+
},
|
|
4359
|
+
"expires": {
|
|
4360
|
+
"@id": "https://w3id.org/security#expiration",
|
|
4361
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4362
|
+
},
|
|
4363
|
+
"publicKeyMultibase": {
|
|
4364
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
4365
|
+
"@type": "https://w3id.org/security#multibase"
|
|
4366
|
+
},
|
|
4367
|
+
"secretKeyMultibase": {
|
|
4368
|
+
"@id": "https://w3id.org/security#secretKeyMultibase",
|
|
4369
|
+
"@type": "https://w3id.org/security#multibase"
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
},
|
|
4373
|
+
"JsonWebKey": {
|
|
4374
|
+
"@id": "https://w3id.org/security#JsonWebKey",
|
|
4375
|
+
"@context": {
|
|
4376
|
+
"@protected": true,
|
|
4377
|
+
"id": "@id",
|
|
4378
|
+
"type": "@type",
|
|
4379
|
+
"controller": {
|
|
4380
|
+
"@id": "https://w3id.org/security#controller",
|
|
4381
|
+
"@type": "@id"
|
|
4382
|
+
},
|
|
4383
|
+
"revoked": {
|
|
4384
|
+
"@id": "https://w3id.org/security#revoked",
|
|
4385
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4386
|
+
},
|
|
4387
|
+
"expires": {
|
|
4388
|
+
"@id": "https://w3id.org/security#expiration",
|
|
4389
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4390
|
+
},
|
|
4391
|
+
"publicKeyJwk": {
|
|
4392
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
4393
|
+
"@type": "@json"
|
|
4394
|
+
},
|
|
4395
|
+
"secretKeyJwk": {
|
|
4396
|
+
"@id": "https://w3id.org/security#secretKeyJwk",
|
|
4397
|
+
"@type": "@json"
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
4401
|
+
} },
|
|
4291
4402
|
"https://w3id.org/fep/ef61": { "@context": {
|
|
4292
4403
|
"gateways": {
|
|
4293
4404
|
"@id": "https://w3id.org/fep/ef61/gateways",
|
|
@@ -4365,7 +4476,7 @@ const preloadedContexts = {
|
|
|
4365
4476
|
//#endregion
|
|
4366
4477
|
//#region deno.json
|
|
4367
4478
|
var name = "@fedify/vocab-runtime";
|
|
4368
|
-
var version = "2.3.
|
|
4479
|
+
var version = "2.3.7";
|
|
4369
4480
|
//#endregion
|
|
4370
4481
|
//#region src/link.ts
|
|
4371
4482
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
@@ -4932,6 +5043,7 @@ async function getRemoteDocument(url, response, fetch) {
|
|
|
4932
5043
|
* - <https://w3id.org/security/v1>
|
|
4933
5044
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
4934
5045
|
* - <https://www.w3.org/ns/did/v1>
|
|
5046
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
4935
5047
|
* - <https://w3id.org/security/multikey/v1>
|
|
4936
5048
|
* - <https://w3id.org/fep/ef61>
|
|
4937
5049
|
* - <https://purl.archive.org/socialweb/webfinger>
|
package/dist/mod.d.cts
CHANGED
|
@@ -189,6 +189,7 @@ interface GetDocumentLoaderOptions extends DocumentLoaderFactoryOptions {
|
|
|
189
189
|
* - <https://w3id.org/security/v1>
|
|
190
190
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
191
191
|
* - <https://www.w3.org/ns/did/v1>
|
|
192
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
192
193
|
* - <https://w3id.org/security/multikey/v1>
|
|
193
194
|
* - <https://w3id.org/fep/ef61>
|
|
194
195
|
* - <https://purl.archive.org/socialweb/webfinger>
|
package/dist/mod.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ interface GetDocumentLoaderOptions extends DocumentLoaderFactoryOptions {
|
|
|
188
188
|
* - <https://w3id.org/security/v1>
|
|
189
189
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
190
190
|
* - <https://www.w3.org/ns/did/v1>
|
|
191
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
191
192
|
* - <https://w3id.org/security/multikey/v1>
|
|
192
193
|
* - <https://w3id.org/fep/ef61>
|
|
193
194
|
* - <https://purl.archive.org/socialweb/webfinger>
|
package/dist/mod.js
CHANGED
|
@@ -4284,6 +4284,117 @@ const preloadedContexts = {
|
|
|
4284
4284
|
"@type": "@id"
|
|
4285
4285
|
}
|
|
4286
4286
|
} },
|
|
4287
|
+
"https://www.w3.org/ns/cid/v1": { "@context": {
|
|
4288
|
+
"@protected": true,
|
|
4289
|
+
"id": "@id",
|
|
4290
|
+
"type": "@type",
|
|
4291
|
+
"alsoKnownAs": {
|
|
4292
|
+
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
|
|
4293
|
+
"@type": "@id"
|
|
4294
|
+
},
|
|
4295
|
+
"assertionMethod": {
|
|
4296
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
|
4297
|
+
"@type": "@id",
|
|
4298
|
+
"@container": "@set"
|
|
4299
|
+
},
|
|
4300
|
+
"authentication": {
|
|
4301
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
|
4302
|
+
"@type": "@id",
|
|
4303
|
+
"@container": "@set"
|
|
4304
|
+
},
|
|
4305
|
+
"capabilityDelegation": {
|
|
4306
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
4307
|
+
"@type": "@id",
|
|
4308
|
+
"@container": "@set"
|
|
4309
|
+
},
|
|
4310
|
+
"capabilityInvocation": {
|
|
4311
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
4312
|
+
"@type": "@id",
|
|
4313
|
+
"@container": "@set"
|
|
4314
|
+
},
|
|
4315
|
+
"controller": {
|
|
4316
|
+
"@id": "https://w3id.org/security#controller",
|
|
4317
|
+
"@type": "@id"
|
|
4318
|
+
},
|
|
4319
|
+
"keyAgreement": {
|
|
4320
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
4321
|
+
"@type": "@id",
|
|
4322
|
+
"@container": "@set"
|
|
4323
|
+
},
|
|
4324
|
+
"service": {
|
|
4325
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
4326
|
+
"@type": "@id",
|
|
4327
|
+
"@context": {
|
|
4328
|
+
"@protected": true,
|
|
4329
|
+
"id": "@id",
|
|
4330
|
+
"type": "@type",
|
|
4331
|
+
"serviceEndpoint": {
|
|
4332
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
4333
|
+
"@type": "@id"
|
|
4334
|
+
}
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
"verificationMethod": {
|
|
4338
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
|
4339
|
+
"@type": "@id"
|
|
4340
|
+
},
|
|
4341
|
+
"Multikey": {
|
|
4342
|
+
"@id": "https://w3id.org/security#Multikey",
|
|
4343
|
+
"@context": {
|
|
4344
|
+
"@protected": true,
|
|
4345
|
+
"id": "@id",
|
|
4346
|
+
"type": "@type",
|
|
4347
|
+
"controller": {
|
|
4348
|
+
"@id": "https://w3id.org/security#controller",
|
|
4349
|
+
"@type": "@id"
|
|
4350
|
+
},
|
|
4351
|
+
"revoked": {
|
|
4352
|
+
"@id": "https://w3id.org/security#revoked",
|
|
4353
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4354
|
+
},
|
|
4355
|
+
"expires": {
|
|
4356
|
+
"@id": "https://w3id.org/security#expiration",
|
|
4357
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4358
|
+
},
|
|
4359
|
+
"publicKeyMultibase": {
|
|
4360
|
+
"@id": "https://w3id.org/security#publicKeyMultibase",
|
|
4361
|
+
"@type": "https://w3id.org/security#multibase"
|
|
4362
|
+
},
|
|
4363
|
+
"secretKeyMultibase": {
|
|
4364
|
+
"@id": "https://w3id.org/security#secretKeyMultibase",
|
|
4365
|
+
"@type": "https://w3id.org/security#multibase"
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
},
|
|
4369
|
+
"JsonWebKey": {
|
|
4370
|
+
"@id": "https://w3id.org/security#JsonWebKey",
|
|
4371
|
+
"@context": {
|
|
4372
|
+
"@protected": true,
|
|
4373
|
+
"id": "@id",
|
|
4374
|
+
"type": "@type",
|
|
4375
|
+
"controller": {
|
|
4376
|
+
"@id": "https://w3id.org/security#controller",
|
|
4377
|
+
"@type": "@id"
|
|
4378
|
+
},
|
|
4379
|
+
"revoked": {
|
|
4380
|
+
"@id": "https://w3id.org/security#revoked",
|
|
4381
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4382
|
+
},
|
|
4383
|
+
"expires": {
|
|
4384
|
+
"@id": "https://w3id.org/security#expiration",
|
|
4385
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
4386
|
+
},
|
|
4387
|
+
"publicKeyJwk": {
|
|
4388
|
+
"@id": "https://w3id.org/security#publicKeyJwk",
|
|
4389
|
+
"@type": "@json"
|
|
4390
|
+
},
|
|
4391
|
+
"secretKeyJwk": {
|
|
4392
|
+
"@id": "https://w3id.org/security#secretKeyJwk",
|
|
4393
|
+
"@type": "@json"
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
} },
|
|
4287
4398
|
"https://w3id.org/fep/ef61": { "@context": {
|
|
4288
4399
|
"gateways": {
|
|
4289
4400
|
"@id": "https://w3id.org/fep/ef61/gateways",
|
|
@@ -4361,7 +4472,7 @@ const preloadedContexts = {
|
|
|
4361
4472
|
//#endregion
|
|
4362
4473
|
//#region deno.json
|
|
4363
4474
|
var name = "@fedify/vocab-runtime";
|
|
4364
|
-
var version = "2.3.
|
|
4475
|
+
var version = "2.3.7";
|
|
4365
4476
|
//#endregion
|
|
4366
4477
|
//#region src/link.ts
|
|
4367
4478
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
@@ -4928,6 +5039,7 @@ async function getRemoteDocument(url, response, fetch) {
|
|
|
4928
5039
|
* - <https://w3id.org/security/v1>
|
|
4929
5040
|
* - <https://w3id.org/security/data-integrity/v1>
|
|
4930
5041
|
* - <https://www.w3.org/ns/did/v1>
|
|
5042
|
+
* - <https://www.w3.org/ns/cid/v1>
|
|
4931
5043
|
* - <https://w3id.org/security/multikey/v1>
|
|
4932
5044
|
* - <https://w3id.org/fep/ef61>
|
|
4933
5045
|
* - <https://purl.archive.org/socialweb/webfinger>
|