@fedify/vocab-tools 2.0.29-dev.2121 → 2.0.29-dev.2139

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.
@@ -2224,7 +2224,16 @@ proofs?: (DataIntegrityProof | URL)[];}
2224
2224
  \\"attachment\\"];
2225
2225
  const obj = Array.isArray(prop) ? prop[i] : prop;
2226
2226
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
2227
- v = await this.#attachment_fromJsonLd(obj, options);
2227
+ try {
2228
+ v = await this.#attachment_fromJsonLd(obj, options);
2229
+ } catch (error) {
2230
+ if (!options.suppressError) throw error;
2231
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
2232
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
2233
+ { property: \\"https://www.w3.org/ns/activitystreams#attachment\\", index: i, error },
2234
+ );
2235
+ continue;
2236
+ }
2228
2237
  }
2229
2238
  }
2230
2239
 
@@ -2478,7 +2487,16 @@ proofs?: (DataIntegrityProof | URL)[];}
2478
2487
  \\"attributedTo\\"];
2479
2488
  const doc = Array.isArray(prop) ? prop[0] : prop;
2480
2489
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
2481
- v = await this.#attribution_fromJsonLd(doc, options);
2490
+ try {
2491
+ v = await this.#attribution_fromJsonLd(doc, options);
2492
+ } catch (error) {
2493
+ if (!options.suppressError) throw error;
2494
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
2495
+ \\"Failed to parse embedded value of {property}: {error}\\",
2496
+ { property: \\"https://www.w3.org/ns/activitystreams#attributedTo\\", error },
2497
+ );
2498
+ return null;
2499
+ }
2482
2500
  }
2483
2501
  }
2484
2502
 
@@ -2574,7 +2592,16 @@ proofs?: (DataIntegrityProof | URL)[];}
2574
2592
  \\"attributedTo\\"];
2575
2593
  const obj = Array.isArray(prop) ? prop[i] : prop;
2576
2594
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
2577
- v = await this.#attribution_fromJsonLd(obj, options);
2595
+ try {
2596
+ v = await this.#attribution_fromJsonLd(obj, options);
2597
+ } catch (error) {
2598
+ if (!options.suppressError) throw error;
2599
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
2600
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
2601
+ { property: \\"https://www.w3.org/ns/activitystreams#attributedTo\\", index: i, error },
2602
+ );
2603
+ continue;
2604
+ }
2578
2605
  }
2579
2606
  }
2580
2607
 
@@ -2791,7 +2818,16 @@ proofs?: (DataIntegrityProof | URL)[];}
2791
2818
  \\"audience\\"];
2792
2819
  const doc = Array.isArray(prop) ? prop[0] : prop;
2793
2820
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
2794
- v = await this.#audience_fromJsonLd(doc, options);
2821
+ try {
2822
+ v = await this.#audience_fromJsonLd(doc, options);
2823
+ } catch (error) {
2824
+ if (!options.suppressError) throw error;
2825
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
2826
+ \\"Failed to parse embedded value of {property}: {error}\\",
2827
+ { property: \\"https://www.w3.org/ns/activitystreams#audience\\", error },
2828
+ );
2829
+ return null;
2830
+ }
2795
2831
  }
2796
2832
  }
2797
2833
 
@@ -2886,7 +2922,16 @@ proofs?: (DataIntegrityProof | URL)[];}
2886
2922
  \\"audience\\"];
2887
2923
  const obj = Array.isArray(prop) ? prop[i] : prop;
2888
2924
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
2889
- v = await this.#audience_fromJsonLd(obj, options);
2925
+ try {
2926
+ v = await this.#audience_fromJsonLd(obj, options);
2927
+ } catch (error) {
2928
+ if (!options.suppressError) throw error;
2929
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
2930
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
2931
+ { property: \\"https://www.w3.org/ns/activitystreams#audience\\", index: i, error },
2932
+ );
2933
+ continue;
2934
+ }
2890
2935
  }
2891
2936
  }
2892
2937
 
@@ -3147,7 +3192,16 @@ get contents(): ((string | LanguageString))[] {
3147
3192
  \\"context\\"];
3148
3193
  const obj = Array.isArray(prop) ? prop[i] : prop;
3149
3194
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
3150
- v = await this.#context_fromJsonLd(obj, options);
3195
+ try {
3196
+ v = await this.#context_fromJsonLd(obj, options);
3197
+ } catch (error) {
3198
+ if (!options.suppressError) throw error;
3199
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
3200
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
3201
+ { property: \\"https://www.w3.org/ns/activitystreams#context\\", index: i, error },
3202
+ );
3203
+ continue;
3204
+ }
3151
3205
  }
3152
3206
  }
3153
3207
 
@@ -3415,7 +3469,16 @@ get names(): ((string | LanguageString))[] {
3415
3469
  \\"generator\\"];
3416
3470
  const obj = Array.isArray(prop) ? prop[i] : prop;
3417
3471
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
3418
- v = await this.#generator_fromJsonLd(obj, options);
3472
+ try {
3473
+ v = await this.#generator_fromJsonLd(obj, options);
3474
+ } catch (error) {
3475
+ if (!options.suppressError) throw error;
3476
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
3477
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
3478
+ { property: \\"https://www.w3.org/ns/activitystreams#generator\\", index: i, error },
3479
+ );
3480
+ continue;
3481
+ }
3419
3482
  }
3420
3483
  }
3421
3484
 
@@ -3633,7 +3696,16 @@ get names(): ((string | LanguageString))[] {
3633
3696
  \\"icon\\"];
3634
3697
  const doc = Array.isArray(prop) ? prop[0] : prop;
3635
3698
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
3636
- v = await this.#icon_fromJsonLd(doc, options);
3699
+ try {
3700
+ v = await this.#icon_fromJsonLd(doc, options);
3701
+ } catch (error) {
3702
+ if (!options.suppressError) throw error;
3703
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
3704
+ \\"Failed to parse embedded value of {property}: {error}\\",
3705
+ { property: \\"https://www.w3.org/ns/activitystreams#icon\\", error },
3706
+ );
3707
+ return null;
3708
+ }
3637
3709
  }
3638
3710
  }
3639
3711
 
@@ -3729,7 +3801,16 @@ get names(): ((string | LanguageString))[] {
3729
3801
  \\"icon\\"];
3730
3802
  const obj = Array.isArray(prop) ? prop[i] : prop;
3731
3803
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
3732
- v = await this.#icon_fromJsonLd(obj, options);
3804
+ try {
3805
+ v = await this.#icon_fromJsonLd(obj, options);
3806
+ } catch (error) {
3807
+ if (!options.suppressError) throw error;
3808
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
3809
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
3810
+ { property: \\"https://www.w3.org/ns/activitystreams#icon\\", index: i, error },
3811
+ );
3812
+ continue;
3813
+ }
3733
3814
  }
3734
3815
  }
3735
3816
 
@@ -3947,7 +4028,16 @@ get names(): ((string | LanguageString))[] {
3947
4028
  \\"image\\"];
3948
4029
  const doc = Array.isArray(prop) ? prop[0] : prop;
3949
4030
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
3950
- v = await this.#image_fromJsonLd(doc, options);
4031
+ try {
4032
+ v = await this.#image_fromJsonLd(doc, options);
4033
+ } catch (error) {
4034
+ if (!options.suppressError) throw error;
4035
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4036
+ \\"Failed to parse embedded value of {property}: {error}\\",
4037
+ { property: \\"https://www.w3.org/ns/activitystreams#image\\", error },
4038
+ );
4039
+ return null;
4040
+ }
3951
4041
  }
3952
4042
  }
3953
4043
 
@@ -4043,7 +4133,16 @@ get names(): ((string | LanguageString))[] {
4043
4133
  \\"image\\"];
4044
4134
  const obj = Array.isArray(prop) ? prop[i] : prop;
4045
4135
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
4046
- v = await this.#image_fromJsonLd(obj, options);
4136
+ try {
4137
+ v = await this.#image_fromJsonLd(obj, options);
4138
+ } catch (error) {
4139
+ if (!options.suppressError) throw error;
4140
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4141
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
4142
+ { property: \\"https://www.w3.org/ns/activitystreams#image\\", index: i, error },
4143
+ );
4144
+ continue;
4145
+ }
4047
4146
  }
4048
4147
  }
4049
4148
 
@@ -4269,7 +4368,16 @@ get names(): ((string | LanguageString))[] {
4269
4368
  \\"inReplyTo\\"];
4270
4369
  const doc = Array.isArray(prop) ? prop[0] : prop;
4271
4370
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
4272
- v = await this.#replyTarget_fromJsonLd(doc, options);
4371
+ try {
4372
+ v = await this.#replyTarget_fromJsonLd(doc, options);
4373
+ } catch (error) {
4374
+ if (!options.suppressError) throw error;
4375
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4376
+ \\"Failed to parse embedded value of {property}: {error}\\",
4377
+ { property: \\"https://www.w3.org/ns/activitystreams#inReplyTo\\", error },
4378
+ );
4379
+ return null;
4380
+ }
4273
4381
  }
4274
4382
  }
4275
4383
 
@@ -4364,7 +4472,16 @@ get names(): ((string | LanguageString))[] {
4364
4472
  \\"inReplyTo\\"];
4365
4473
  const obj = Array.isArray(prop) ? prop[i] : prop;
4366
4474
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
4367
- v = await this.#replyTarget_fromJsonLd(obj, options);
4475
+ try {
4476
+ v = await this.#replyTarget_fromJsonLd(obj, options);
4477
+ } catch (error) {
4478
+ if (!options.suppressError) throw error;
4479
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4480
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
4481
+ { property: \\"https://www.w3.org/ns/activitystreams#inReplyTo\\", index: i, error },
4482
+ );
4483
+ continue;
4484
+ }
4368
4485
  }
4369
4486
  }
4370
4487
 
@@ -4590,7 +4707,16 @@ get names(): ((string | LanguageString))[] {
4590
4707
  \\"location\\"];
4591
4708
  const doc = Array.isArray(prop) ? prop[0] : prop;
4592
4709
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
4593
- v = await this.#location_fromJsonLd(doc, options);
4710
+ try {
4711
+ v = await this.#location_fromJsonLd(doc, options);
4712
+ } catch (error) {
4713
+ if (!options.suppressError) throw error;
4714
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4715
+ \\"Failed to parse embedded value of {property}: {error}\\",
4716
+ { property: \\"https://www.w3.org/ns/activitystreams#location\\", error },
4717
+ );
4718
+ return null;
4719
+ }
4594
4720
  }
4595
4721
  }
4596
4722
 
@@ -4685,7 +4811,16 @@ get names(): ((string | LanguageString))[] {
4685
4811
  \\"location\\"];
4686
4812
  const obj = Array.isArray(prop) ? prop[i] : prop;
4687
4813
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
4688
- v = await this.#location_fromJsonLd(obj, options);
4814
+ try {
4815
+ v = await this.#location_fromJsonLd(obj, options);
4816
+ } catch (error) {
4817
+ if (!options.suppressError) throw error;
4818
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
4819
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
4820
+ { property: \\"https://www.w3.org/ns/activitystreams#location\\", index: i, error },
4821
+ );
4822
+ continue;
4823
+ }
4689
4824
  }
4690
4825
  }
4691
4826
 
@@ -4910,7 +5045,16 @@ get names(): ((string | LanguageString))[] {
4910
5045
  \\"preview\\"];
4911
5046
  const doc = Array.isArray(prop) ? prop[0] : prop;
4912
5047
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
4913
- v = await this.#preview_fromJsonLd(doc, options);
5048
+ try {
5049
+ v = await this.#preview_fromJsonLd(doc, options);
5050
+ } catch (error) {
5051
+ if (!options.suppressError) throw error;
5052
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
5053
+ \\"Failed to parse embedded value of {property}: {error}\\",
5054
+ { property: \\"https://www.w3.org/ns/activitystreams#preview\\", error },
5055
+ );
5056
+ return null;
5057
+ }
4914
5058
  }
4915
5059
  }
4916
5060
 
@@ -5004,7 +5148,16 @@ get names(): ((string | LanguageString))[] {
5004
5148
  \\"preview\\"];
5005
5149
  const obj = Array.isArray(prop) ? prop[i] : prop;
5006
5150
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
5007
- v = await this.#preview_fromJsonLd(obj, options);
5151
+ try {
5152
+ v = await this.#preview_fromJsonLd(obj, options);
5153
+ } catch (error) {
5154
+ if (!options.suppressError) throw error;
5155
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
5156
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
5157
+ { property: \\"https://www.w3.org/ns/activitystreams#preview\\", index: i, error },
5158
+ );
5159
+ continue;
5160
+ }
5008
5161
  }
5009
5162
  }
5010
5163
 
@@ -5234,7 +5387,16 @@ get names(): ((string | LanguageString))[] {
5234
5387
  \\"replies\\"];
5235
5388
  const doc = Array.isArray(prop) ? prop[0] : prop;
5236
5389
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
5237
- v = await this.#replies_fromJsonLd(doc, options);
5390
+ try {
5391
+ v = await this.#replies_fromJsonLd(doc, options);
5392
+ } catch (error) {
5393
+ if (!options.suppressError) throw error;
5394
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
5395
+ \\"Failed to parse embedded value of {property}: {error}\\",
5396
+ { property: \\"https://www.w3.org/ns/activitystreams#replies\\", error },
5397
+ );
5398
+ return null;
5399
+ }
5238
5400
  }
5239
5401
  }
5240
5402
 
@@ -5456,7 +5618,16 @@ get names(): ((string | LanguageString))[] {
5456
5618
  \\"shares\\"];
5457
5619
  const doc = Array.isArray(prop) ? prop[0] : prop;
5458
5620
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
5459
- v = await this.#shares_fromJsonLd(doc, options);
5621
+ try {
5622
+ v = await this.#shares_fromJsonLd(doc, options);
5623
+ } catch (error) {
5624
+ if (!options.suppressError) throw error;
5625
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
5626
+ \\"Failed to parse embedded value of {property}: {error}\\",
5627
+ { property: \\"https://www.w3.org/ns/activitystreams#shares\\", error },
5628
+ );
5629
+ return null;
5630
+ }
5460
5631
  }
5461
5632
  }
5462
5633
 
@@ -5678,7 +5849,16 @@ get names(): ((string | LanguageString))[] {
5678
5849
  \\"likes\\"];
5679
5850
  const doc = Array.isArray(prop) ? prop[0] : prop;
5680
5851
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
5681
- v = await this.#likes_fromJsonLd(doc, options);
5852
+ try {
5853
+ v = await this.#likes_fromJsonLd(doc, options);
5854
+ } catch (error) {
5855
+ if (!options.suppressError) throw error;
5856
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
5857
+ \\"Failed to parse embedded value of {property}: {error}\\",
5858
+ { property: \\"https://www.w3.org/ns/activitystreams#likes\\", error },
5859
+ );
5860
+ return null;
5861
+ }
5682
5862
  }
5683
5863
  }
5684
5864
 
@@ -5894,7 +6074,16 @@ get names(): ((string | LanguageString))[] {
5894
6074
  \\"emojiReactions\\"];
5895
6075
  const doc = Array.isArray(prop) ? prop[0] : prop;
5896
6076
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
5897
- v = await this.#emojiReactions_fromJsonLd(doc, options);
6077
+ try {
6078
+ v = await this.#emojiReactions_fromJsonLd(doc, options);
6079
+ } catch (error) {
6080
+ if (!options.suppressError) throw error;
6081
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
6082
+ \\"Failed to parse embedded value of {property}: {error}\\",
6083
+ { property: \\"http://fedibird.com/ns#emojiReactions\\", error },
6084
+ );
6085
+ return null;
6086
+ }
5898
6087
  }
5899
6088
  }
5900
6089
 
@@ -6162,7 +6351,16 @@ get summaries(): ((string | LanguageString))[] {
6162
6351
  \\"tag\\"];
6163
6352
  const obj = Array.isArray(prop) ? prop[i] : prop;
6164
6353
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
6165
- v = await this.#tag_fromJsonLd(obj, options);
6354
+ try {
6355
+ v = await this.#tag_fromJsonLd(obj, options);
6356
+ } catch (error) {
6357
+ if (!options.suppressError) throw error;
6358
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
6359
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
6360
+ { property: \\"https://www.w3.org/ns/activitystreams#tag\\", index: i, error },
6361
+ );
6362
+ continue;
6363
+ }
6166
6364
  }
6167
6365
  }
6168
6366
 
@@ -6413,7 +6611,16 @@ get urls(): ((URL | Link))[] {
6413
6611
  \\"to\\"];
6414
6612
  const doc = Array.isArray(prop) ? prop[0] : prop;
6415
6613
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
6416
- v = await this.#to_fromJsonLd(doc, options);
6614
+ try {
6615
+ v = await this.#to_fromJsonLd(doc, options);
6616
+ } catch (error) {
6617
+ if (!options.suppressError) throw error;
6618
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
6619
+ \\"Failed to parse embedded value of {property}: {error}\\",
6620
+ { property: \\"https://www.w3.org/ns/activitystreams#to\\", error },
6621
+ );
6622
+ return null;
6623
+ }
6417
6624
  }
6418
6625
  }
6419
6626
 
@@ -6508,7 +6715,16 @@ get urls(): ((URL | Link))[] {
6508
6715
  \\"to\\"];
6509
6716
  const obj = Array.isArray(prop) ? prop[i] : prop;
6510
6717
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
6511
- v = await this.#to_fromJsonLd(obj, options);
6718
+ try {
6719
+ v = await this.#to_fromJsonLd(obj, options);
6720
+ } catch (error) {
6721
+ if (!options.suppressError) throw error;
6722
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
6723
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
6724
+ { property: \\"https://www.w3.org/ns/activitystreams#to\\", index: i, error },
6725
+ );
6726
+ continue;
6727
+ }
6512
6728
  }
6513
6729
  }
6514
6730
 
@@ -6725,7 +6941,16 @@ get urls(): ((URL | Link))[] {
6725
6941
  \\"bto\\"];
6726
6942
  const doc = Array.isArray(prop) ? prop[0] : prop;
6727
6943
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
6728
- v = await this.#bto_fromJsonLd(doc, options);
6944
+ try {
6945
+ v = await this.#bto_fromJsonLd(doc, options);
6946
+ } catch (error) {
6947
+ if (!options.suppressError) throw error;
6948
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
6949
+ \\"Failed to parse embedded value of {property}: {error}\\",
6950
+ { property: \\"https://www.w3.org/ns/activitystreams#bto\\", error },
6951
+ );
6952
+ return null;
6953
+ }
6729
6954
  }
6730
6955
  }
6731
6956
 
@@ -6820,7 +7045,16 @@ get urls(): ((URL | Link))[] {
6820
7045
  \\"bto\\"];
6821
7046
  const obj = Array.isArray(prop) ? prop[i] : prop;
6822
7047
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
6823
- v = await this.#bto_fromJsonLd(obj, options);
7048
+ try {
7049
+ v = await this.#bto_fromJsonLd(obj, options);
7050
+ } catch (error) {
7051
+ if (!options.suppressError) throw error;
7052
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
7053
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
7054
+ { property: \\"https://www.w3.org/ns/activitystreams#bto\\", index: i, error },
7055
+ );
7056
+ continue;
7057
+ }
6824
7058
  }
6825
7059
  }
6826
7060
 
@@ -7037,7 +7271,16 @@ get urls(): ((URL | Link))[] {
7037
7271
  \\"cc\\"];
7038
7272
  const doc = Array.isArray(prop) ? prop[0] : prop;
7039
7273
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
7040
- v = await this.#cc_fromJsonLd(doc, options);
7274
+ try {
7275
+ v = await this.#cc_fromJsonLd(doc, options);
7276
+ } catch (error) {
7277
+ if (!options.suppressError) throw error;
7278
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
7279
+ \\"Failed to parse embedded value of {property}: {error}\\",
7280
+ { property: \\"https://www.w3.org/ns/activitystreams#cc\\", error },
7281
+ );
7282
+ return null;
7283
+ }
7041
7284
  }
7042
7285
  }
7043
7286
 
@@ -7132,7 +7375,16 @@ get urls(): ((URL | Link))[] {
7132
7375
  \\"cc\\"];
7133
7376
  const obj = Array.isArray(prop) ? prop[i] : prop;
7134
7377
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
7135
- v = await this.#cc_fromJsonLd(obj, options);
7378
+ try {
7379
+ v = await this.#cc_fromJsonLd(obj, options);
7380
+ } catch (error) {
7381
+ if (!options.suppressError) throw error;
7382
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
7383
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
7384
+ { property: \\"https://www.w3.org/ns/activitystreams#cc\\", index: i, error },
7385
+ );
7386
+ continue;
7387
+ }
7136
7388
  }
7137
7389
  }
7138
7390
 
@@ -7349,7 +7601,16 @@ get urls(): ((URL | Link))[] {
7349
7601
  \\"bcc\\"];
7350
7602
  const doc = Array.isArray(prop) ? prop[0] : prop;
7351
7603
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
7352
- v = await this.#bcc_fromJsonLd(doc, options);
7604
+ try {
7605
+ v = await this.#bcc_fromJsonLd(doc, options);
7606
+ } catch (error) {
7607
+ if (!options.suppressError) throw error;
7608
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
7609
+ \\"Failed to parse embedded value of {property}: {error}\\",
7610
+ { property: \\"https://www.w3.org/ns/activitystreams#bcc\\", error },
7611
+ );
7612
+ return null;
7613
+ }
7353
7614
  }
7354
7615
  }
7355
7616
 
@@ -7444,7 +7705,16 @@ get urls(): ((URL | Link))[] {
7444
7705
  \\"bcc\\"];
7445
7706
  const obj = Array.isArray(prop) ? prop[i] : prop;
7446
7707
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
7447
- v = await this.#bcc_fromJsonLd(obj, options);
7708
+ try {
7709
+ v = await this.#bcc_fromJsonLd(obj, options);
7710
+ } catch (error) {
7711
+ if (!options.suppressError) throw error;
7712
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
7713
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
7714
+ { property: \\"https://www.w3.org/ns/activitystreams#bcc\\", index: i, error },
7715
+ );
7716
+ continue;
7717
+ }
7448
7718
  }
7449
7719
  }
7450
7720
 
@@ -7724,7 +7994,16 @@ get urls(): ((URL | Link))[] {
7724
7994
  \\"proof\\"];
7725
7995
  const doc = Array.isArray(prop) ? prop[0] : prop;
7726
7996
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
7727
- v = await this.#proof_fromJsonLd(doc, options);
7997
+ try {
7998
+ v = await this.#proof_fromJsonLd(doc, options);
7999
+ } catch (error) {
8000
+ if (!options.suppressError) throw error;
8001
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
8002
+ \\"Failed to parse embedded value of {property}: {error}\\",
8003
+ { property: \\"https://w3id.org/security#proof\\", error },
8004
+ );
8005
+ return null;
8006
+ }
7728
8007
  }
7729
8008
  }
7730
8009
 
@@ -7818,7 +8097,16 @@ get urls(): ((URL | Link))[] {
7818
8097
  \\"proof\\"];
7819
8098
  const obj = Array.isArray(prop) ? prop[i] : prop;
7820
8099
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
7821
- v = await this.#proof_fromJsonLd(obj, options);
8100
+ try {
8101
+ v = await this.#proof_fromJsonLd(obj, options);
8102
+ } catch (error) {
8103
+ if (!options.suppressError) throw error;
8104
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
8105
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
8106
+ { property: \\"https://w3id.org/security#proof\\", index: i, error },
8107
+ );
8108
+ continue;
8109
+ }
7822
8110
  }
7823
8111
  }
7824
8112
 
@@ -13169,7 +13457,16 @@ instruments?: (Object | URL)[];}
13169
13457
  \\"actor\\"];
13170
13458
  const doc = Array.isArray(prop) ? prop[0] : prop;
13171
13459
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
13172
- v = await this.#actor_fromJsonLd(doc, options);
13460
+ try {
13461
+ v = await this.#actor_fromJsonLd(doc, options);
13462
+ } catch (error) {
13463
+ if (!options.suppressError) throw error;
13464
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
13465
+ \\"Failed to parse embedded value of {property}: {error}\\",
13466
+ { property: \\"https://www.w3.org/ns/activitystreams#actor\\", error },
13467
+ );
13468
+ return null;
13469
+ }
13173
13470
  }
13174
13471
  }
13175
13472
 
@@ -13265,7 +13562,16 @@ instruments?: (Object | URL)[];}
13265
13562
  \\"actor\\"];
13266
13563
  const obj = Array.isArray(prop) ? prop[i] : prop;
13267
13564
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
13268
- v = await this.#actor_fromJsonLd(obj, options);
13565
+ try {
13566
+ v = await this.#actor_fromJsonLd(obj, options);
13567
+ } catch (error) {
13568
+ if (!options.suppressError) throw error;
13569
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
13570
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
13571
+ { property: \\"https://www.w3.org/ns/activitystreams#actor\\", index: i, error },
13572
+ );
13573
+ continue;
13574
+ }
13269
13575
  }
13270
13576
  }
13271
13577
 
@@ -13483,7 +13789,16 @@ instruments?: (Object | URL)[];}
13483
13789
  \\"object\\"];
13484
13790
  const doc = Array.isArray(prop) ? prop[0] : prop;
13485
13791
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
13486
- v = await this.#object_fromJsonLd(doc, options);
13792
+ try {
13793
+ v = await this.#object_fromJsonLd(doc, options);
13794
+ } catch (error) {
13795
+ if (!options.suppressError) throw error;
13796
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
13797
+ \\"Failed to parse embedded value of {property}: {error}\\",
13798
+ { property: \\"https://www.w3.org/ns/activitystreams#object\\", error },
13799
+ );
13800
+ return null;
13801
+ }
13487
13802
  }
13488
13803
  }
13489
13804
 
@@ -13579,7 +13894,16 @@ instruments?: (Object | URL)[];}
13579
13894
  \\"object\\"];
13580
13895
  const obj = Array.isArray(prop) ? prop[i] : prop;
13581
13896
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
13582
- v = await this.#object_fromJsonLd(obj, options);
13897
+ try {
13898
+ v = await this.#object_fromJsonLd(obj, options);
13899
+ } catch (error) {
13900
+ if (!options.suppressError) throw error;
13901
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
13902
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
13903
+ { property: \\"https://www.w3.org/ns/activitystreams#object\\", index: i, error },
13904
+ );
13905
+ continue;
13906
+ }
13583
13907
  }
13584
13908
  }
13585
13909
 
@@ -13800,7 +14124,16 @@ instruments?: (Object | URL)[];}
13800
14124
  \\"target\\"];
13801
14125
  const doc = Array.isArray(prop) ? prop[0] : prop;
13802
14126
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
13803
- v = await this.#target_fromJsonLd(doc, options);
14127
+ try {
14128
+ v = await this.#target_fromJsonLd(doc, options);
14129
+ } catch (error) {
14130
+ if (!options.suppressError) throw error;
14131
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14132
+ \\"Failed to parse embedded value of {property}: {error}\\",
14133
+ { property: \\"https://www.w3.org/ns/activitystreams#target\\", error },
14134
+ );
14135
+ return null;
14136
+ }
13804
14137
  }
13805
14138
  }
13806
14139
 
@@ -13899,7 +14232,16 @@ instruments?: (Object | URL)[];}
13899
14232
  \\"target\\"];
13900
14233
  const obj = Array.isArray(prop) ? prop[i] : prop;
13901
14234
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
13902
- v = await this.#target_fromJsonLd(obj, options);
14235
+ try {
14236
+ v = await this.#target_fromJsonLd(obj, options);
14237
+ } catch (error) {
14238
+ if (!options.suppressError) throw error;
14239
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14240
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
14241
+ { property: \\"https://www.w3.org/ns/activitystreams#target\\", index: i, error },
14242
+ );
14243
+ continue;
14244
+ }
13903
14245
  }
13904
14246
  }
13905
14247
 
@@ -14117,7 +14459,16 @@ instruments?: (Object | URL)[];}
14117
14459
  \\"result\\"];
14118
14460
  const doc = Array.isArray(prop) ? prop[0] : prop;
14119
14461
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
14120
- v = await this.#result_fromJsonLd(doc, options);
14462
+ try {
14463
+ v = await this.#result_fromJsonLd(doc, options);
14464
+ } catch (error) {
14465
+ if (!options.suppressError) throw error;
14466
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14467
+ \\"Failed to parse embedded value of {property}: {error}\\",
14468
+ { property: \\"https://www.w3.org/ns/activitystreams#result\\", error },
14469
+ );
14470
+ return null;
14471
+ }
14121
14472
  }
14122
14473
  }
14123
14474
 
@@ -14213,7 +14564,16 @@ instruments?: (Object | URL)[];}
14213
14564
  \\"result\\"];
14214
14565
  const obj = Array.isArray(prop) ? prop[i] : prop;
14215
14566
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
14216
- v = await this.#result_fromJsonLd(obj, options);
14567
+ try {
14568
+ v = await this.#result_fromJsonLd(obj, options);
14569
+ } catch (error) {
14570
+ if (!options.suppressError) throw error;
14571
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14572
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
14573
+ { property: \\"https://www.w3.org/ns/activitystreams#result\\", index: i, error },
14574
+ );
14575
+ continue;
14576
+ }
14217
14577
  }
14218
14578
  }
14219
14579
 
@@ -14432,7 +14792,16 @@ instruments?: (Object | URL)[];}
14432
14792
  \\"origin\\"];
14433
14793
  const doc = Array.isArray(prop) ? prop[0] : prop;
14434
14794
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
14435
- v = await this.#origin_fromJsonLd(doc, options);
14795
+ try {
14796
+ v = await this.#origin_fromJsonLd(doc, options);
14797
+ } catch (error) {
14798
+ if (!options.suppressError) throw error;
14799
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14800
+ \\"Failed to parse embedded value of {property}: {error}\\",
14801
+ { property: \\"https://www.w3.org/ns/activitystreams#origin\\", error },
14802
+ );
14803
+ return null;
14804
+ }
14436
14805
  }
14437
14806
  }
14438
14807
 
@@ -14529,7 +14898,16 @@ instruments?: (Object | URL)[];}
14529
14898
  \\"origin\\"];
14530
14899
  const obj = Array.isArray(prop) ? prop[i] : prop;
14531
14900
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
14532
- v = await this.#origin_fromJsonLd(obj, options);
14901
+ try {
14902
+ v = await this.#origin_fromJsonLd(obj, options);
14903
+ } catch (error) {
14904
+ if (!options.suppressError) throw error;
14905
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
14906
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
14907
+ { property: \\"https://www.w3.org/ns/activitystreams#origin\\", index: i, error },
14908
+ );
14909
+ continue;
14910
+ }
14533
14911
  }
14534
14912
  }
14535
14913
 
@@ -14746,7 +15124,16 @@ instruments?: (Object | URL)[];}
14746
15124
  \\"instrument\\"];
14747
15125
  const doc = Array.isArray(prop) ? prop[0] : prop;
14748
15126
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
14749
- v = await this.#instrument_fromJsonLd(doc, options);
15127
+ try {
15128
+ v = await this.#instrument_fromJsonLd(doc, options);
15129
+ } catch (error) {
15130
+ if (!options.suppressError) throw error;
15131
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
15132
+ \\"Failed to parse embedded value of {property}: {error}\\",
15133
+ { property: \\"https://www.w3.org/ns/activitystreams#instrument\\", error },
15134
+ );
15135
+ return null;
15136
+ }
14750
15137
  }
14751
15138
  }
14752
15139
 
@@ -14841,7 +15228,16 @@ instruments?: (Object | URL)[];}
14841
15228
  \\"instrument\\"];
14842
15229
  const obj = Array.isArray(prop) ? prop[i] : prop;
14843
15230
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
14844
- v = await this.#instrument_fromJsonLd(obj, options);
15231
+ try {
15232
+ v = await this.#instrument_fromJsonLd(obj, options);
15233
+ } catch (error) {
15234
+ if (!options.suppressError) throw error;
15235
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
15236
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
15237
+ { property: \\"https://www.w3.org/ns/activitystreams#instrument\\", index: i, error },
15238
+ );
15239
+ continue;
15240
+ }
14845
15241
  }
14846
15242
  }
14847
15243
 
@@ -19044,7 +19440,16 @@ owner?: Application | Group | Organization | Person | Service | URL | null;publi
19044
19440
  \\"owner\\"];
19045
19441
  const doc = Array.isArray(prop) ? prop[0] : prop;
19046
19442
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
19047
- v = await this.#owner_fromJsonLd(doc, options);
19443
+ try {
19444
+ v = await this.#owner_fromJsonLd(doc, options);
19445
+ } catch (error) {
19446
+ if (!options.suppressError) throw error;
19447
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
19448
+ \\"Failed to parse embedded value of {property}: {error}\\",
19449
+ { property: \\"https://w3id.org/security#owner\\", error },
19450
+ );
19451
+ return null;
19452
+ }
19048
19453
  }
19049
19454
  }
19050
19455
 
@@ -19950,7 +20355,16 @@ controller?: Application | Group | Organization | Person | Service | URL | null;
19950
20355
  \\"controller\\"];
19951
20356
  const doc = Array.isArray(prop) ? prop[0] : prop;
19952
20357
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
19953
- v = await this.#controller_fromJsonLd(doc, options);
20358
+ try {
20359
+ v = await this.#controller_fromJsonLd(doc, options);
20360
+ } catch (error) {
20361
+ if (!options.suppressError) throw error;
20362
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
20363
+ \\"Failed to parse embedded value of {property}: {error}\\",
20364
+ { property: \\"https://w3id.org/security#controller\\", error },
20365
+ );
20366
+ return null;
20367
+ }
19954
20368
  }
19955
20369
  }
19956
20370
 
@@ -22677,7 +23091,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
22677
23091
  \\"publicKey\\"];
22678
23092
  const doc = Array.isArray(prop) ? prop[0] : prop;
22679
23093
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
22680
- v = await this.#publicKey_fromJsonLd(doc, options);
23094
+ try {
23095
+ v = await this.#publicKey_fromJsonLd(doc, options);
23096
+ } catch (error) {
23097
+ if (!options.suppressError) throw error;
23098
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
23099
+ \\"Failed to parse embedded value of {property}: {error}\\",
23100
+ { property: \\"https://w3id.org/security#publicKey\\", error },
23101
+ );
23102
+ return null;
23103
+ }
22681
23104
  }
22682
23105
  }
22683
23106
 
@@ -22770,7 +23193,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
22770
23193
  \\"publicKey\\"];
22771
23194
  const obj = Array.isArray(prop) ? prop[i] : prop;
22772
23195
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
22773
- v = await this.#publicKey_fromJsonLd(obj, options);
23196
+ try {
23197
+ v = await this.#publicKey_fromJsonLd(obj, options);
23198
+ } catch (error) {
23199
+ if (!options.suppressError) throw error;
23200
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
23201
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
23202
+ { property: \\"https://w3id.org/security#publicKey\\", index: i, error },
23203
+ );
23204
+ continue;
23205
+ }
22774
23206
  }
22775
23207
  }
22776
23208
 
@@ -22989,7 +23421,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
22989
23421
  \\"assertionMethod\\"];
22990
23422
  const doc = Array.isArray(prop) ? prop[0] : prop;
22991
23423
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
22992
- v = await this.#assertionMethod_fromJsonLd(doc, options);
23424
+ try {
23425
+ v = await this.#assertionMethod_fromJsonLd(doc, options);
23426
+ } catch (error) {
23427
+ if (!options.suppressError) throw error;
23428
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
23429
+ \\"Failed to parse embedded value of {property}: {error}\\",
23430
+ { property: \\"https://w3id.org/security#assertionMethod\\", error },
23431
+ );
23432
+ return null;
23433
+ }
22993
23434
  }
22994
23435
  }
22995
23436
 
@@ -23086,7 +23527,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
23086
23527
  \\"assertionMethod\\"];
23087
23528
  const obj = Array.isArray(prop) ? prop[i] : prop;
23088
23529
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
23089
- v = await this.#assertionMethod_fromJsonLd(obj, options);
23530
+ try {
23531
+ v = await this.#assertionMethod_fromJsonLd(obj, options);
23532
+ } catch (error) {
23533
+ if (!options.suppressError) throw error;
23534
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
23535
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
23536
+ { property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
23537
+ );
23538
+ continue;
23539
+ }
23090
23540
  }
23091
23541
  }
23092
23542
 
@@ -23342,7 +23792,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
23342
23792
  \\"inbox\\"];
23343
23793
  const doc = Array.isArray(prop) ? prop[0] : prop;
23344
23794
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
23345
- v = await this.#inbox_fromJsonLd(doc, options);
23795
+ try {
23796
+ v = await this.#inbox_fromJsonLd(doc, options);
23797
+ } catch (error) {
23798
+ if (!options.suppressError) throw error;
23799
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
23800
+ \\"Failed to parse embedded value of {property}: {error}\\",
23801
+ { property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
23802
+ );
23803
+ return null;
23804
+ }
23346
23805
  }
23347
23806
  }
23348
23807
 
@@ -23575,7 +24034,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
23575
24034
  \\"outbox\\"];
23576
24035
  const doc = Array.isArray(prop) ? prop[0] : prop;
23577
24036
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
23578
- v = await this.#outbox_fromJsonLd(doc, options);
24037
+ try {
24038
+ v = await this.#outbox_fromJsonLd(doc, options);
24039
+ } catch (error) {
24040
+ if (!options.suppressError) throw error;
24041
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
24042
+ \\"Failed to parse embedded value of {property}: {error}\\",
24043
+ { property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
24044
+ );
24045
+ return null;
24046
+ }
23579
24047
  }
23580
24048
  }
23581
24049
 
@@ -23794,7 +24262,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
23794
24262
  \\"following\\"];
23795
24263
  const doc = Array.isArray(prop) ? prop[0] : prop;
23796
24264
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
23797
- v = await this.#following_fromJsonLd(doc, options);
24265
+ try {
24266
+ v = await this.#following_fromJsonLd(doc, options);
24267
+ } catch (error) {
24268
+ if (!options.suppressError) throw error;
24269
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
24270
+ \\"Failed to parse embedded value of {property}: {error}\\",
24271
+ { property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
24272
+ );
24273
+ return null;
24274
+ }
23798
24275
  }
23799
24276
  }
23800
24277
 
@@ -24016,7 +24493,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
24016
24493
  \\"followers\\"];
24017
24494
  const doc = Array.isArray(prop) ? prop[0] : prop;
24018
24495
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
24019
- v = await this.#followers_fromJsonLd(doc, options);
24496
+ try {
24497
+ v = await this.#followers_fromJsonLd(doc, options);
24498
+ } catch (error) {
24499
+ if (!options.suppressError) throw error;
24500
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
24501
+ \\"Failed to parse embedded value of {property}: {error}\\",
24502
+ { property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
24503
+ );
24504
+ return null;
24505
+ }
24020
24506
  }
24021
24507
  }
24022
24508
 
@@ -24236,7 +24722,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
24236
24722
  \\"liked\\"];
24237
24723
  const doc = Array.isArray(prop) ? prop[0] : prop;
24238
24724
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
24239
- v = await this.#liked_fromJsonLd(doc, options);
24725
+ try {
24726
+ v = await this.#liked_fromJsonLd(doc, options);
24727
+ } catch (error) {
24728
+ if (!options.suppressError) throw error;
24729
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
24730
+ \\"Failed to parse embedded value of {property}: {error}\\",
24731
+ { property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
24732
+ );
24733
+ return null;
24734
+ }
24240
24735
  }
24241
24736
  }
24242
24737
 
@@ -24454,7 +24949,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
24454
24949
  \\"featured\\"];
24455
24950
  const doc = Array.isArray(prop) ? prop[0] : prop;
24456
24951
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
24457
- v = await this.#featured_fromJsonLd(doc, options);
24952
+ try {
24953
+ v = await this.#featured_fromJsonLd(doc, options);
24954
+ } catch (error) {
24955
+ if (!options.suppressError) throw error;
24956
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
24957
+ \\"Failed to parse embedded value of {property}: {error}\\",
24958
+ { property: \\"http://joinmastodon.org/ns#featured\\", error },
24959
+ );
24960
+ return null;
24961
+ }
24458
24962
  }
24459
24963
  }
24460
24964
 
@@ -24672,7 +25176,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
24672
25176
  \\"featuredTags\\"];
24673
25177
  const doc = Array.isArray(prop) ? prop[0] : prop;
24674
25178
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
24675
- v = await this.#featuredTags_fromJsonLd(doc, options);
25179
+ try {
25180
+ v = await this.#featuredTags_fromJsonLd(doc, options);
25181
+ } catch (error) {
25182
+ if (!options.suppressError) throw error;
25183
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
25184
+ \\"Failed to parse embedded value of {property}: {error}\\",
25185
+ { property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
25186
+ );
25187
+ return null;
25188
+ }
24676
25189
  }
24677
25190
  }
24678
25191
 
@@ -24888,7 +25401,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
24888
25401
  \\"streams\\"];
24889
25402
  const obj = Array.isArray(prop) ? prop[i] : prop;
24890
25403
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
24891
- v = await this.#stream_fromJsonLd(obj, options);
25404
+ try {
25405
+ v = await this.#stream_fromJsonLd(obj, options);
25406
+ } catch (error) {
25407
+ if (!options.suppressError) throw error;
25408
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
25409
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
25410
+ { property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
25411
+ );
25412
+ continue;
25413
+ }
24892
25414
  }
24893
25415
  }
24894
25416
 
@@ -25214,7 +25736,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
25214
25736
  \\"movedTo\\"];
25215
25737
  const doc = Array.isArray(prop) ? prop[0] : prop;
25216
25738
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
25217
- v = await this.#successor_fromJsonLd(doc, options);
25739
+ try {
25740
+ v = await this.#successor_fromJsonLd(doc, options);
25741
+ } catch (error) {
25742
+ if (!options.suppressError) throw error;
25743
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
25744
+ \\"Failed to parse embedded value of {property}: {error}\\",
25745
+ { property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
25746
+ );
25747
+ return null;
25748
+ }
25218
25749
  }
25219
25750
  }
25220
25751
 
@@ -25468,7 +25999,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
25468
25999
  \\"alsoKnownAs\\"];
25469
26000
  const doc = Array.isArray(prop) ? prop[0] : prop;
25470
26001
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
25471
- v = await this.#alias_fromJsonLd(doc, options);
26002
+ try {
26003
+ v = await this.#alias_fromJsonLd(doc, options);
26004
+ } catch (error) {
26005
+ if (!options.suppressError) throw error;
26006
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
26007
+ \\"Failed to parse embedded value of {property}: {error}\\",
26008
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
26009
+ );
26010
+ return null;
26011
+ }
25472
26012
  }
25473
26013
  }
25474
26014
 
@@ -25565,7 +26105,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
25565
26105
  \\"alsoKnownAs\\"];
25566
26106
  const obj = Array.isArray(prop) ? prop[i] : prop;
25567
26107
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
25568
- v = await this.#alias_fromJsonLd(obj, options);
26108
+ try {
26109
+ v = await this.#alias_fromJsonLd(obj, options);
26110
+ } catch (error) {
26111
+ if (!options.suppressError) throw error;
26112
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
26113
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
26114
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
26115
+ );
26116
+ continue;
26117
+ }
25569
26118
  }
25570
26119
  }
25571
26120
 
@@ -25784,7 +26333,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
25784
26333
  \\"service\\"];
25785
26334
  const doc = Array.isArray(prop) ? prop[0] : prop;
25786
26335
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
25787
- v = await this.#service_fromJsonLd(doc, options);
26336
+ try {
26337
+ v = await this.#service_fromJsonLd(doc, options);
26338
+ } catch (error) {
26339
+ if (!options.suppressError) throw error;
26340
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
26341
+ \\"Failed to parse embedded value of {property}: {error}\\",
26342
+ { property: \\"https://www.w3.org/ns/did#service\\", error },
26343
+ );
26344
+ return null;
26345
+ }
25788
26346
  }
25789
26347
  }
25790
26348
 
@@ -25881,7 +26439,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
25881
26439
  \\"service\\"];
25882
26440
  const obj = Array.isArray(prop) ? prop[i] : prop;
25883
26441
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
25884
- v = await this.#service_fromJsonLd(obj, options);
26442
+ try {
26443
+ v = await this.#service_fromJsonLd(obj, options);
26444
+ } catch (error) {
26445
+ if (!options.suppressError) throw error;
26446
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
26447
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
26448
+ { property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
26449
+ );
26450
+ continue;
26451
+ }
25885
26452
  }
25886
26453
  }
25887
26454
 
@@ -31767,7 +32334,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
31767
32334
  \\"current\\"];
31768
32335
  const doc = Array.isArray(prop) ? prop[0] : prop;
31769
32336
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
31770
- v = await this.#current_fromJsonLd(doc, options);
32337
+ try {
32338
+ v = await this.#current_fromJsonLd(doc, options);
32339
+ } catch (error) {
32340
+ if (!options.suppressError) throw error;
32341
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
32342
+ \\"Failed to parse embedded value of {property}: {error}\\",
32343
+ { property: \\"https://www.w3.org/ns/activitystreams#current\\", error },
32344
+ );
32345
+ return null;
32346
+ }
31771
32347
  }
31772
32348
  }
31773
32349
 
@@ -31983,7 +32559,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
31983
32559
  \\"first\\"];
31984
32560
  const doc = Array.isArray(prop) ? prop[0] : prop;
31985
32561
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
31986
- v = await this.#first_fromJsonLd(doc, options);
32562
+ try {
32563
+ v = await this.#first_fromJsonLd(doc, options);
32564
+ } catch (error) {
32565
+ if (!options.suppressError) throw error;
32566
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
32567
+ \\"Failed to parse embedded value of {property}: {error}\\",
32568
+ { property: \\"https://www.w3.org/ns/activitystreams#first\\", error },
32569
+ );
32570
+ return null;
32571
+ }
31987
32572
  }
31988
32573
  }
31989
32574
 
@@ -32199,7 +32784,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
32199
32784
  \\"last\\"];
32200
32785
  const doc = Array.isArray(prop) ? prop[0] : prop;
32201
32786
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
32202
- v = await this.#last_fromJsonLd(doc, options);
32787
+ try {
32788
+ v = await this.#last_fromJsonLd(doc, options);
32789
+ } catch (error) {
32790
+ if (!options.suppressError) throw error;
32791
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
32792
+ \\"Failed to parse embedded value of {property}: {error}\\",
32793
+ { property: \\"https://www.w3.org/ns/activitystreams#last\\", error },
32794
+ );
32795
+ return null;
32796
+ }
32203
32797
  }
32204
32798
  }
32205
32799
 
@@ -32425,7 +33019,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
32425
33019
  \\"items\\"];
32426
33020
  const obj = Array.isArray(prop) ? prop[i] : prop;
32427
33021
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
32428
- v = await this.#item_fromJsonLd(obj, options);
33022
+ try {
33023
+ v = await this.#item_fromJsonLd(obj, options);
33024
+ } catch (error) {
33025
+ if (!options.suppressError) throw error;
33026
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
33027
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
33028
+ { property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
33029
+ );
33030
+ continue;
33031
+ }
32429
33032
  }
32430
33033
  }
32431
33034
 
@@ -32641,7 +33244,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
32641
33244
  \\"likesOf\\"];
32642
33245
  const doc = Array.isArray(prop) ? prop[0] : prop;
32643
33246
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
32644
- v = await this.#likesOf_fromJsonLd(doc, options);
33247
+ try {
33248
+ v = await this.#likesOf_fromJsonLd(doc, options);
33249
+ } catch (error) {
33250
+ if (!options.suppressError) throw error;
33251
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
33252
+ \\"Failed to parse embedded value of {property}: {error}\\",
33253
+ { property: \\"https://w3id.org/fep/5711#likesOf\\", error },
33254
+ );
33255
+ return null;
33256
+ }
32645
33257
  }
32646
33258
  }
32647
33259
 
@@ -32856,7 +33468,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
32856
33468
  \\"sharesOf\\"];
32857
33469
  const doc = Array.isArray(prop) ? prop[0] : prop;
32858
33470
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
32859
- v = await this.#sharesOf_fromJsonLd(doc, options);
33471
+ try {
33472
+ v = await this.#sharesOf_fromJsonLd(doc, options);
33473
+ } catch (error) {
33474
+ if (!options.suppressError) throw error;
33475
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
33476
+ \\"Failed to parse embedded value of {property}: {error}\\",
33477
+ { property: \\"https://w3id.org/fep/5711#sharesOf\\", error },
33478
+ );
33479
+ return null;
33480
+ }
32860
33481
  }
32861
33482
  }
32862
33483
 
@@ -33071,7 +33692,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
33071
33692
  \\"repliesOf\\"];
33072
33693
  const doc = Array.isArray(prop) ? prop[0] : prop;
33073
33694
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
33074
- v = await this.#repliesOf_fromJsonLd(doc, options);
33695
+ try {
33696
+ v = await this.#repliesOf_fromJsonLd(doc, options);
33697
+ } catch (error) {
33698
+ if (!options.suppressError) throw error;
33699
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
33700
+ \\"Failed to parse embedded value of {property}: {error}\\",
33701
+ { property: \\"https://w3id.org/fep/5711#repliesOf\\", error },
33702
+ );
33703
+ return null;
33704
+ }
33075
33705
  }
33076
33706
  }
33077
33707
 
@@ -33286,7 +33916,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
33286
33916
  \\"inboxOf\\"];
33287
33917
  const doc = Array.isArray(prop) ? prop[0] : prop;
33288
33918
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
33289
- v = await this.#inboxOf_fromJsonLd(doc, options);
33919
+ try {
33920
+ v = await this.#inboxOf_fromJsonLd(doc, options);
33921
+ } catch (error) {
33922
+ if (!options.suppressError) throw error;
33923
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
33924
+ \\"Failed to parse embedded value of {property}: {error}\\",
33925
+ { property: \\"https://w3id.org/fep/5711#inboxOf\\", error },
33926
+ );
33927
+ return null;
33928
+ }
33290
33929
  }
33291
33930
  }
33292
33931
 
@@ -33501,7 +34140,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
33501
34140
  \\"outboxOf\\"];
33502
34141
  const doc = Array.isArray(prop) ? prop[0] : prop;
33503
34142
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
33504
- v = await this.#outboxOf_fromJsonLd(doc, options);
34143
+ try {
34144
+ v = await this.#outboxOf_fromJsonLd(doc, options);
34145
+ } catch (error) {
34146
+ if (!options.suppressError) throw error;
34147
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
34148
+ \\"Failed to parse embedded value of {property}: {error}\\",
34149
+ { property: \\"https://w3id.org/fep/5711#outboxOf\\", error },
34150
+ );
34151
+ return null;
34152
+ }
33505
34153
  }
33506
34154
  }
33507
34155
 
@@ -33716,7 +34364,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
33716
34364
  \\"followersOf\\"];
33717
34365
  const doc = Array.isArray(prop) ? prop[0] : prop;
33718
34366
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
33719
- v = await this.#followersOf_fromJsonLd(doc, options);
34367
+ try {
34368
+ v = await this.#followersOf_fromJsonLd(doc, options);
34369
+ } catch (error) {
34370
+ if (!options.suppressError) throw error;
34371
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
34372
+ \\"Failed to parse embedded value of {property}: {error}\\",
34373
+ { property: \\"https://w3id.org/fep/5711#followersOf\\", error },
34374
+ );
34375
+ return null;
34376
+ }
33720
34377
  }
33721
34378
  }
33722
34379
 
@@ -33931,7 +34588,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
33931
34588
  \\"followingOf\\"];
33932
34589
  const doc = Array.isArray(prop) ? prop[0] : prop;
33933
34590
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
33934
- v = await this.#followingOf_fromJsonLd(doc, options);
34591
+ try {
34592
+ v = await this.#followingOf_fromJsonLd(doc, options);
34593
+ } catch (error) {
34594
+ if (!options.suppressError) throw error;
34595
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
34596
+ \\"Failed to parse embedded value of {property}: {error}\\",
34597
+ { property: \\"https://w3id.org/fep/5711#followingOf\\", error },
34598
+ );
34599
+ return null;
34600
+ }
33935
34601
  }
33936
34602
  }
33937
34603
 
@@ -34146,7 +34812,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
34146
34812
  \\"likedOf\\"];
34147
34813
  const doc = Array.isArray(prop) ? prop[0] : prop;
34148
34814
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
34149
- v = await this.#likedOf_fromJsonLd(doc, options);
34815
+ try {
34816
+ v = await this.#likedOf_fromJsonLd(doc, options);
34817
+ } catch (error) {
34818
+ if (!options.suppressError) throw error;
34819
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
34820
+ \\"Failed to parse embedded value of {property}: {error}\\",
34821
+ { property: \\"https://w3id.org/fep/5711#likedOf\\", error },
34822
+ );
34823
+ return null;
34824
+ }
34150
34825
  }
34151
34826
  }
34152
34827
 
@@ -36031,7 +36706,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
36031
36706
  \\"partOf\\"];
36032
36707
  const doc = Array.isArray(prop) ? prop[0] : prop;
36033
36708
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
36034
- v = await this.#partOf_fromJsonLd(doc, options);
36709
+ try {
36710
+ v = await this.#partOf_fromJsonLd(doc, options);
36711
+ } catch (error) {
36712
+ if (!options.suppressError) throw error;
36713
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
36714
+ \\"Failed to parse embedded value of {property}: {error}\\",
36715
+ { property: \\"https://www.w3.org/ns/activitystreams#partOf\\", error },
36716
+ );
36717
+ return null;
36718
+ }
36035
36719
  }
36036
36720
  }
36037
36721
 
@@ -36245,7 +36929,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
36245
36929
  \\"next\\"];
36246
36930
  const doc = Array.isArray(prop) ? prop[0] : prop;
36247
36931
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
36248
- v = await this.#next_fromJsonLd(doc, options);
36932
+ try {
36933
+ v = await this.#next_fromJsonLd(doc, options);
36934
+ } catch (error) {
36935
+ if (!options.suppressError) throw error;
36936
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
36937
+ \\"Failed to parse embedded value of {property}: {error}\\",
36938
+ { property: \\"https://www.w3.org/ns/activitystreams#next\\", error },
36939
+ );
36940
+ return null;
36941
+ }
36249
36942
  }
36250
36943
  }
36251
36944
 
@@ -36460,7 +37153,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
36460
37153
  \\"prev\\"];
36461
37154
  const doc = Array.isArray(prop) ? prop[0] : prop;
36462
37155
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
36463
- v = await this.#prev_fromJsonLd(doc, options);
37156
+ try {
37157
+ v = await this.#prev_fromJsonLd(doc, options);
37158
+ } catch (error) {
37159
+ if (!options.suppressError) throw error;
37160
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
37161
+ \\"Failed to parse embedded value of {property}: {error}\\",
37162
+ { property: \\"https://www.w3.org/ns/activitystreams#prev\\", error },
37163
+ );
37164
+ return null;
37165
+ }
36464
37166
  }
36465
37167
  }
36466
37168
 
@@ -41456,7 +42158,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
41456
42158
  \\"publicKey\\"];
41457
42159
  const doc = Array.isArray(prop) ? prop[0] : prop;
41458
42160
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
41459
- v = await this.#publicKey_fromJsonLd(doc, options);
42161
+ try {
42162
+ v = await this.#publicKey_fromJsonLd(doc, options);
42163
+ } catch (error) {
42164
+ if (!options.suppressError) throw error;
42165
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
42166
+ \\"Failed to parse embedded value of {property}: {error}\\",
42167
+ { property: \\"https://w3id.org/security#publicKey\\", error },
42168
+ );
42169
+ return null;
42170
+ }
41460
42171
  }
41461
42172
  }
41462
42173
 
@@ -41549,7 +42260,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
41549
42260
  \\"publicKey\\"];
41550
42261
  const obj = Array.isArray(prop) ? prop[i] : prop;
41551
42262
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
41552
- v = await this.#publicKey_fromJsonLd(obj, options);
42263
+ try {
42264
+ v = await this.#publicKey_fromJsonLd(obj, options);
42265
+ } catch (error) {
42266
+ if (!options.suppressError) throw error;
42267
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
42268
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
42269
+ { property: \\"https://w3id.org/security#publicKey\\", index: i, error },
42270
+ );
42271
+ continue;
42272
+ }
41553
42273
  }
41554
42274
  }
41555
42275
 
@@ -41768,7 +42488,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
41768
42488
  \\"assertionMethod\\"];
41769
42489
  const doc = Array.isArray(prop) ? prop[0] : prop;
41770
42490
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
41771
- v = await this.#assertionMethod_fromJsonLd(doc, options);
42491
+ try {
42492
+ v = await this.#assertionMethod_fromJsonLd(doc, options);
42493
+ } catch (error) {
42494
+ if (!options.suppressError) throw error;
42495
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
42496
+ \\"Failed to parse embedded value of {property}: {error}\\",
42497
+ { property: \\"https://w3id.org/security#assertionMethod\\", error },
42498
+ );
42499
+ return null;
42500
+ }
41772
42501
  }
41773
42502
  }
41774
42503
 
@@ -41865,7 +42594,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
41865
42594
  \\"assertionMethod\\"];
41866
42595
  const obj = Array.isArray(prop) ? prop[i] : prop;
41867
42596
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
41868
- v = await this.#assertionMethod_fromJsonLd(obj, options);
42597
+ try {
42598
+ v = await this.#assertionMethod_fromJsonLd(obj, options);
42599
+ } catch (error) {
42600
+ if (!options.suppressError) throw error;
42601
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
42602
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
42603
+ { property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
42604
+ );
42605
+ continue;
42606
+ }
41869
42607
  }
41870
42608
  }
41871
42609
 
@@ -42121,7 +42859,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
42121
42859
  \\"inbox\\"];
42122
42860
  const doc = Array.isArray(prop) ? prop[0] : prop;
42123
42861
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
42124
- v = await this.#inbox_fromJsonLd(doc, options);
42862
+ try {
42863
+ v = await this.#inbox_fromJsonLd(doc, options);
42864
+ } catch (error) {
42865
+ if (!options.suppressError) throw error;
42866
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
42867
+ \\"Failed to parse embedded value of {property}: {error}\\",
42868
+ { property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
42869
+ );
42870
+ return null;
42871
+ }
42125
42872
  }
42126
42873
  }
42127
42874
 
@@ -42354,7 +43101,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
42354
43101
  \\"outbox\\"];
42355
43102
  const doc = Array.isArray(prop) ? prop[0] : prop;
42356
43103
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
42357
- v = await this.#outbox_fromJsonLd(doc, options);
43104
+ try {
43105
+ v = await this.#outbox_fromJsonLd(doc, options);
43106
+ } catch (error) {
43107
+ if (!options.suppressError) throw error;
43108
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
43109
+ \\"Failed to parse embedded value of {property}: {error}\\",
43110
+ { property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
43111
+ );
43112
+ return null;
43113
+ }
42358
43114
  }
42359
43115
  }
42360
43116
 
@@ -42573,7 +43329,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
42573
43329
  \\"following\\"];
42574
43330
  const doc = Array.isArray(prop) ? prop[0] : prop;
42575
43331
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
42576
- v = await this.#following_fromJsonLd(doc, options);
43332
+ try {
43333
+ v = await this.#following_fromJsonLd(doc, options);
43334
+ } catch (error) {
43335
+ if (!options.suppressError) throw error;
43336
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
43337
+ \\"Failed to parse embedded value of {property}: {error}\\",
43338
+ { property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
43339
+ );
43340
+ return null;
43341
+ }
42577
43342
  }
42578
43343
  }
42579
43344
 
@@ -42795,7 +43560,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
42795
43560
  \\"followers\\"];
42796
43561
  const doc = Array.isArray(prop) ? prop[0] : prop;
42797
43562
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
42798
- v = await this.#followers_fromJsonLd(doc, options);
43563
+ try {
43564
+ v = await this.#followers_fromJsonLd(doc, options);
43565
+ } catch (error) {
43566
+ if (!options.suppressError) throw error;
43567
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
43568
+ \\"Failed to parse embedded value of {property}: {error}\\",
43569
+ { property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
43570
+ );
43571
+ return null;
43572
+ }
42799
43573
  }
42800
43574
  }
42801
43575
 
@@ -43015,7 +43789,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
43015
43789
  \\"liked\\"];
43016
43790
  const doc = Array.isArray(prop) ? prop[0] : prop;
43017
43791
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
43018
- v = await this.#liked_fromJsonLd(doc, options);
43792
+ try {
43793
+ v = await this.#liked_fromJsonLd(doc, options);
43794
+ } catch (error) {
43795
+ if (!options.suppressError) throw error;
43796
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
43797
+ \\"Failed to parse embedded value of {property}: {error}\\",
43798
+ { property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
43799
+ );
43800
+ return null;
43801
+ }
43019
43802
  }
43020
43803
  }
43021
43804
 
@@ -43233,7 +44016,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
43233
44016
  \\"featured\\"];
43234
44017
  const doc = Array.isArray(prop) ? prop[0] : prop;
43235
44018
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
43236
- v = await this.#featured_fromJsonLd(doc, options);
44019
+ try {
44020
+ v = await this.#featured_fromJsonLd(doc, options);
44021
+ } catch (error) {
44022
+ if (!options.suppressError) throw error;
44023
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
44024
+ \\"Failed to parse embedded value of {property}: {error}\\",
44025
+ { property: \\"http://joinmastodon.org/ns#featured\\", error },
44026
+ );
44027
+ return null;
44028
+ }
43237
44029
  }
43238
44030
  }
43239
44031
 
@@ -43451,7 +44243,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
43451
44243
  \\"featuredTags\\"];
43452
44244
  const doc = Array.isArray(prop) ? prop[0] : prop;
43453
44245
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
43454
- v = await this.#featuredTags_fromJsonLd(doc, options);
44246
+ try {
44247
+ v = await this.#featuredTags_fromJsonLd(doc, options);
44248
+ } catch (error) {
44249
+ if (!options.suppressError) throw error;
44250
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
44251
+ \\"Failed to parse embedded value of {property}: {error}\\",
44252
+ { property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
44253
+ );
44254
+ return null;
44255
+ }
43455
44256
  }
43456
44257
  }
43457
44258
 
@@ -43667,7 +44468,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
43667
44468
  \\"streams\\"];
43668
44469
  const obj = Array.isArray(prop) ? prop[i] : prop;
43669
44470
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
43670
- v = await this.#stream_fromJsonLd(obj, options);
44471
+ try {
44472
+ v = await this.#stream_fromJsonLd(obj, options);
44473
+ } catch (error) {
44474
+ if (!options.suppressError) throw error;
44475
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
44476
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
44477
+ { property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
44478
+ );
44479
+ continue;
44480
+ }
43671
44481
  }
43672
44482
  }
43673
44483
 
@@ -43993,7 +44803,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
43993
44803
  \\"movedTo\\"];
43994
44804
  const doc = Array.isArray(prop) ? prop[0] : prop;
43995
44805
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
43996
- v = await this.#successor_fromJsonLd(doc, options);
44806
+ try {
44807
+ v = await this.#successor_fromJsonLd(doc, options);
44808
+ } catch (error) {
44809
+ if (!options.suppressError) throw error;
44810
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
44811
+ \\"Failed to parse embedded value of {property}: {error}\\",
44812
+ { property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
44813
+ );
44814
+ return null;
44815
+ }
43997
44816
  }
43998
44817
  }
43999
44818
 
@@ -44247,7 +45066,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
44247
45066
  \\"alsoKnownAs\\"];
44248
45067
  const doc = Array.isArray(prop) ? prop[0] : prop;
44249
45068
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
44250
- v = await this.#alias_fromJsonLd(doc, options);
45069
+ try {
45070
+ v = await this.#alias_fromJsonLd(doc, options);
45071
+ } catch (error) {
45072
+ if (!options.suppressError) throw error;
45073
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
45074
+ \\"Failed to parse embedded value of {property}: {error}\\",
45075
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
45076
+ );
45077
+ return null;
45078
+ }
44251
45079
  }
44252
45080
  }
44253
45081
 
@@ -44344,7 +45172,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
44344
45172
  \\"alsoKnownAs\\"];
44345
45173
  const obj = Array.isArray(prop) ? prop[i] : prop;
44346
45174
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
44347
- v = await this.#alias_fromJsonLd(obj, options);
45175
+ try {
45176
+ v = await this.#alias_fromJsonLd(obj, options);
45177
+ } catch (error) {
45178
+ if (!options.suppressError) throw error;
45179
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
45180
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
45181
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
45182
+ );
45183
+ continue;
45184
+ }
44348
45185
  }
44349
45186
  }
44350
45187
 
@@ -44563,7 +45400,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
44563
45400
  \\"service\\"];
44564
45401
  const doc = Array.isArray(prop) ? prop[0] : prop;
44565
45402
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
44566
- v = await this.#service_fromJsonLd(doc, options);
45403
+ try {
45404
+ v = await this.#service_fromJsonLd(doc, options);
45405
+ } catch (error) {
45406
+ if (!options.suppressError) throw error;
45407
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
45408
+ \\"Failed to parse embedded value of {property}: {error}\\",
45409
+ { property: \\"https://www.w3.org/ns/did#service\\", error },
45410
+ );
45411
+ return null;
45412
+ }
44567
45413
  }
44568
45414
  }
44569
45415
 
@@ -44660,7 +45506,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
44660
45506
  \\"service\\"];
44661
45507
  const obj = Array.isArray(prop) ? prop[i] : prop;
44662
45508
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
44663
- v = await this.#service_fromJsonLd(obj, options);
45509
+ try {
45510
+ v = await this.#service_fromJsonLd(obj, options);
45511
+ } catch (error) {
45512
+ if (!options.suppressError) throw error;
45513
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
45514
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
45515
+ { property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
45516
+ );
45517
+ continue;
45518
+ }
44664
45519
  }
44665
45520
  }
44666
45521
 
@@ -47832,7 +48687,16 @@ get names(): ((string | LanguageString))[] {
47832
48687
  \\"preview\\"];
47833
48688
  const obj = Array.isArray(prop) ? prop[i] : prop;
47834
48689
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
47835
- v = await this.#preview_fromJsonLd(obj, options);
48690
+ try {
48691
+ v = await this.#preview_fromJsonLd(obj, options);
48692
+ } catch (error) {
48693
+ if (!options.suppressError) throw error;
48694
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
48695
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
48696
+ { property: \\"https://www.w3.org/ns/activitystreams#preview\\", index: i, error },
48697
+ );
48698
+ continue;
48699
+ }
47836
48700
  }
47837
48701
  }
47838
48702
 
@@ -52966,7 +53830,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
52966
53830
  \\"orderedItems\\"];
52967
53831
  const obj = Array.isArray(prop) ? prop[i] : prop;
52968
53832
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
52969
- v = await this.#item_fromJsonLd(obj, options);
53833
+ try {
53834
+ v = await this.#item_fromJsonLd(obj, options);
53835
+ } catch (error) {
53836
+ if (!options.suppressError) throw error;
53837
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
53838
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
53839
+ { property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
53840
+ );
53841
+ continue;
53842
+ }
52970
53843
  }
52971
53844
  }
52972
53845
 
@@ -53717,7 +54590,16 @@ proofs?: (DataIntegrityProof | URL)[];totalItems?: number | null;current?: Colle
53717
54590
  \\"orderedItems\\"];
53718
54591
  const obj = Array.isArray(prop) ? prop[i] : prop;
53719
54592
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
53720
- v = await this.#item_fromJsonLd(obj, options);
54593
+ try {
54594
+ v = await this.#item_fromJsonLd(obj, options);
54595
+ } catch (error) {
54596
+ if (!options.suppressError) throw error;
54597
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
54598
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
54599
+ { property: \\"https://www.w3.org/ns/activitystreams#items\\", index: i, error },
54600
+ );
54601
+ continue;
54602
+ }
53721
54603
  }
53722
54604
  }
53723
54605
 
@@ -55409,7 +56291,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
55409
56291
  \\"publicKey\\"];
55410
56292
  const doc = Array.isArray(prop) ? prop[0] : prop;
55411
56293
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
55412
- v = await this.#publicKey_fromJsonLd(doc, options);
56294
+ try {
56295
+ v = await this.#publicKey_fromJsonLd(doc, options);
56296
+ } catch (error) {
56297
+ if (!options.suppressError) throw error;
56298
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
56299
+ \\"Failed to parse embedded value of {property}: {error}\\",
56300
+ { property: \\"https://w3id.org/security#publicKey\\", error },
56301
+ );
56302
+ return null;
56303
+ }
55413
56304
  }
55414
56305
  }
55415
56306
 
@@ -55502,7 +56393,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
55502
56393
  \\"publicKey\\"];
55503
56394
  const obj = Array.isArray(prop) ? prop[i] : prop;
55504
56395
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
55505
- v = await this.#publicKey_fromJsonLd(obj, options);
56396
+ try {
56397
+ v = await this.#publicKey_fromJsonLd(obj, options);
56398
+ } catch (error) {
56399
+ if (!options.suppressError) throw error;
56400
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
56401
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
56402
+ { property: \\"https://w3id.org/security#publicKey\\", index: i, error },
56403
+ );
56404
+ continue;
56405
+ }
55506
56406
  }
55507
56407
  }
55508
56408
 
@@ -55721,7 +56621,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
55721
56621
  \\"assertionMethod\\"];
55722
56622
  const doc = Array.isArray(prop) ? prop[0] : prop;
55723
56623
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
55724
- v = await this.#assertionMethod_fromJsonLd(doc, options);
56624
+ try {
56625
+ v = await this.#assertionMethod_fromJsonLd(doc, options);
56626
+ } catch (error) {
56627
+ if (!options.suppressError) throw error;
56628
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
56629
+ \\"Failed to parse embedded value of {property}: {error}\\",
56630
+ { property: \\"https://w3id.org/security#assertionMethod\\", error },
56631
+ );
56632
+ return null;
56633
+ }
55725
56634
  }
55726
56635
  }
55727
56636
 
@@ -55818,7 +56727,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
55818
56727
  \\"assertionMethod\\"];
55819
56728
  const obj = Array.isArray(prop) ? prop[i] : prop;
55820
56729
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
55821
- v = await this.#assertionMethod_fromJsonLd(obj, options);
56730
+ try {
56731
+ v = await this.#assertionMethod_fromJsonLd(obj, options);
56732
+ } catch (error) {
56733
+ if (!options.suppressError) throw error;
56734
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
56735
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
56736
+ { property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
56737
+ );
56738
+ continue;
56739
+ }
55822
56740
  }
55823
56741
  }
55824
56742
 
@@ -56074,7 +56992,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
56074
56992
  \\"inbox\\"];
56075
56993
  const doc = Array.isArray(prop) ? prop[0] : prop;
56076
56994
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
56077
- v = await this.#inbox_fromJsonLd(doc, options);
56995
+ try {
56996
+ v = await this.#inbox_fromJsonLd(doc, options);
56997
+ } catch (error) {
56998
+ if (!options.suppressError) throw error;
56999
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
57000
+ \\"Failed to parse embedded value of {property}: {error}\\",
57001
+ { property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
57002
+ );
57003
+ return null;
57004
+ }
56078
57005
  }
56079
57006
  }
56080
57007
 
@@ -56307,7 +57234,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
56307
57234
  \\"outbox\\"];
56308
57235
  const doc = Array.isArray(prop) ? prop[0] : prop;
56309
57236
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
56310
- v = await this.#outbox_fromJsonLd(doc, options);
57237
+ try {
57238
+ v = await this.#outbox_fromJsonLd(doc, options);
57239
+ } catch (error) {
57240
+ if (!options.suppressError) throw error;
57241
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
57242
+ \\"Failed to parse embedded value of {property}: {error}\\",
57243
+ { property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
57244
+ );
57245
+ return null;
57246
+ }
56311
57247
  }
56312
57248
  }
56313
57249
 
@@ -56526,7 +57462,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
56526
57462
  \\"following\\"];
56527
57463
  const doc = Array.isArray(prop) ? prop[0] : prop;
56528
57464
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
56529
- v = await this.#following_fromJsonLd(doc, options);
57465
+ try {
57466
+ v = await this.#following_fromJsonLd(doc, options);
57467
+ } catch (error) {
57468
+ if (!options.suppressError) throw error;
57469
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
57470
+ \\"Failed to parse embedded value of {property}: {error}\\",
57471
+ { property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
57472
+ );
57473
+ return null;
57474
+ }
56530
57475
  }
56531
57476
  }
56532
57477
 
@@ -56748,7 +57693,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
56748
57693
  \\"followers\\"];
56749
57694
  const doc = Array.isArray(prop) ? prop[0] : prop;
56750
57695
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
56751
- v = await this.#followers_fromJsonLd(doc, options);
57696
+ try {
57697
+ v = await this.#followers_fromJsonLd(doc, options);
57698
+ } catch (error) {
57699
+ if (!options.suppressError) throw error;
57700
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
57701
+ \\"Failed to parse embedded value of {property}: {error}\\",
57702
+ { property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
57703
+ );
57704
+ return null;
57705
+ }
56752
57706
  }
56753
57707
  }
56754
57708
 
@@ -56968,7 +57922,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
56968
57922
  \\"liked\\"];
56969
57923
  const doc = Array.isArray(prop) ? prop[0] : prop;
56970
57924
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
56971
- v = await this.#liked_fromJsonLd(doc, options);
57925
+ try {
57926
+ v = await this.#liked_fromJsonLd(doc, options);
57927
+ } catch (error) {
57928
+ if (!options.suppressError) throw error;
57929
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
57930
+ \\"Failed to parse embedded value of {property}: {error}\\",
57931
+ { property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
57932
+ );
57933
+ return null;
57934
+ }
56972
57935
  }
56973
57936
  }
56974
57937
 
@@ -57186,7 +58149,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
57186
58149
  \\"featured\\"];
57187
58150
  const doc = Array.isArray(prop) ? prop[0] : prop;
57188
58151
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
57189
- v = await this.#featured_fromJsonLd(doc, options);
58152
+ try {
58153
+ v = await this.#featured_fromJsonLd(doc, options);
58154
+ } catch (error) {
58155
+ if (!options.suppressError) throw error;
58156
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
58157
+ \\"Failed to parse embedded value of {property}: {error}\\",
58158
+ { property: \\"http://joinmastodon.org/ns#featured\\", error },
58159
+ );
58160
+ return null;
58161
+ }
57190
58162
  }
57191
58163
  }
57192
58164
 
@@ -57404,7 +58376,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
57404
58376
  \\"featuredTags\\"];
57405
58377
  const doc = Array.isArray(prop) ? prop[0] : prop;
57406
58378
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
57407
- v = await this.#featuredTags_fromJsonLd(doc, options);
58379
+ try {
58380
+ v = await this.#featuredTags_fromJsonLd(doc, options);
58381
+ } catch (error) {
58382
+ if (!options.suppressError) throw error;
58383
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
58384
+ \\"Failed to parse embedded value of {property}: {error}\\",
58385
+ { property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
58386
+ );
58387
+ return null;
58388
+ }
57408
58389
  }
57409
58390
  }
57410
58391
 
@@ -57620,7 +58601,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
57620
58601
  \\"streams\\"];
57621
58602
  const obj = Array.isArray(prop) ? prop[i] : prop;
57622
58603
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
57623
- v = await this.#stream_fromJsonLd(obj, options);
58604
+ try {
58605
+ v = await this.#stream_fromJsonLd(obj, options);
58606
+ } catch (error) {
58607
+ if (!options.suppressError) throw error;
58608
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
58609
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
58610
+ { property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
58611
+ );
58612
+ continue;
58613
+ }
57624
58614
  }
57625
58615
  }
57626
58616
 
@@ -57946,7 +58936,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
57946
58936
  \\"movedTo\\"];
57947
58937
  const doc = Array.isArray(prop) ? prop[0] : prop;
57948
58938
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
57949
- v = await this.#successor_fromJsonLd(doc, options);
58939
+ try {
58940
+ v = await this.#successor_fromJsonLd(doc, options);
58941
+ } catch (error) {
58942
+ if (!options.suppressError) throw error;
58943
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
58944
+ \\"Failed to parse embedded value of {property}: {error}\\",
58945
+ { property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
58946
+ );
58947
+ return null;
58948
+ }
57950
58949
  }
57951
58950
  }
57952
58951
 
@@ -58200,7 +59199,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
58200
59199
  \\"alsoKnownAs\\"];
58201
59200
  const doc = Array.isArray(prop) ? prop[0] : prop;
58202
59201
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
58203
- v = await this.#alias_fromJsonLd(doc, options);
59202
+ try {
59203
+ v = await this.#alias_fromJsonLd(doc, options);
59204
+ } catch (error) {
59205
+ if (!options.suppressError) throw error;
59206
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
59207
+ \\"Failed to parse embedded value of {property}: {error}\\",
59208
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
59209
+ );
59210
+ return null;
59211
+ }
58204
59212
  }
58205
59213
  }
58206
59214
 
@@ -58297,7 +59305,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
58297
59305
  \\"alsoKnownAs\\"];
58298
59306
  const obj = Array.isArray(prop) ? prop[i] : prop;
58299
59307
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
58300
- v = await this.#alias_fromJsonLd(obj, options);
59308
+ try {
59309
+ v = await this.#alias_fromJsonLd(obj, options);
59310
+ } catch (error) {
59311
+ if (!options.suppressError) throw error;
59312
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
59313
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
59314
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
59315
+ );
59316
+ continue;
59317
+ }
58301
59318
  }
58302
59319
  }
58303
59320
 
@@ -58516,7 +59533,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
58516
59533
  \\"service\\"];
58517
59534
  const doc = Array.isArray(prop) ? prop[0] : prop;
58518
59535
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
58519
- v = await this.#service_fromJsonLd(doc, options);
59536
+ try {
59537
+ v = await this.#service_fromJsonLd(doc, options);
59538
+ } catch (error) {
59539
+ if (!options.suppressError) throw error;
59540
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
59541
+ \\"Failed to parse embedded value of {property}: {error}\\",
59542
+ { property: \\"https://www.w3.org/ns/did#service\\", error },
59543
+ );
59544
+ return null;
59545
+ }
58520
59546
  }
58521
59547
  }
58522
59548
 
@@ -58613,7 +59639,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
58613
59639
  \\"service\\"];
58614
59640
  const obj = Array.isArray(prop) ? prop[i] : prop;
58615
59641
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
58616
- v = await this.#service_fromJsonLd(obj, options);
59642
+ try {
59643
+ v = await this.#service_fromJsonLd(obj, options);
59644
+ } catch (error) {
59645
+ if (!options.suppressError) throw error;
59646
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
59647
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
59648
+ { property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
59649
+ );
59650
+ continue;
59651
+ }
58617
59652
  }
58618
59653
  }
58619
59654
 
@@ -62542,7 +63577,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
62542
63577
  \\"publicKey\\"];
62543
63578
  const doc = Array.isArray(prop) ? prop[0] : prop;
62544
63579
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
62545
- v = await this.#publicKey_fromJsonLd(doc, options);
63580
+ try {
63581
+ v = await this.#publicKey_fromJsonLd(doc, options);
63582
+ } catch (error) {
63583
+ if (!options.suppressError) throw error;
63584
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
63585
+ \\"Failed to parse embedded value of {property}: {error}\\",
63586
+ { property: \\"https://w3id.org/security#publicKey\\", error },
63587
+ );
63588
+ return null;
63589
+ }
62546
63590
  }
62547
63591
  }
62548
63592
 
@@ -62635,7 +63679,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
62635
63679
  \\"publicKey\\"];
62636
63680
  const obj = Array.isArray(prop) ? prop[i] : prop;
62637
63681
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
62638
- v = await this.#publicKey_fromJsonLd(obj, options);
63682
+ try {
63683
+ v = await this.#publicKey_fromJsonLd(obj, options);
63684
+ } catch (error) {
63685
+ if (!options.suppressError) throw error;
63686
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
63687
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
63688
+ { property: \\"https://w3id.org/security#publicKey\\", index: i, error },
63689
+ );
63690
+ continue;
63691
+ }
62639
63692
  }
62640
63693
  }
62641
63694
 
@@ -62854,7 +63907,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
62854
63907
  \\"assertionMethod\\"];
62855
63908
  const doc = Array.isArray(prop) ? prop[0] : prop;
62856
63909
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
62857
- v = await this.#assertionMethod_fromJsonLd(doc, options);
63910
+ try {
63911
+ v = await this.#assertionMethod_fromJsonLd(doc, options);
63912
+ } catch (error) {
63913
+ if (!options.suppressError) throw error;
63914
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
63915
+ \\"Failed to parse embedded value of {property}: {error}\\",
63916
+ { property: \\"https://w3id.org/security#assertionMethod\\", error },
63917
+ );
63918
+ return null;
63919
+ }
62858
63920
  }
62859
63921
  }
62860
63922
 
@@ -62951,7 +64013,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
62951
64013
  \\"assertionMethod\\"];
62952
64014
  const obj = Array.isArray(prop) ? prop[i] : prop;
62953
64015
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
62954
- v = await this.#assertionMethod_fromJsonLd(obj, options);
64016
+ try {
64017
+ v = await this.#assertionMethod_fromJsonLd(obj, options);
64018
+ } catch (error) {
64019
+ if (!options.suppressError) throw error;
64020
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
64021
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
64022
+ { property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
64023
+ );
64024
+ continue;
64025
+ }
62955
64026
  }
62956
64027
  }
62957
64028
 
@@ -63207,7 +64278,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
63207
64278
  \\"inbox\\"];
63208
64279
  const doc = Array.isArray(prop) ? prop[0] : prop;
63209
64280
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
63210
- v = await this.#inbox_fromJsonLd(doc, options);
64281
+ try {
64282
+ v = await this.#inbox_fromJsonLd(doc, options);
64283
+ } catch (error) {
64284
+ if (!options.suppressError) throw error;
64285
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
64286
+ \\"Failed to parse embedded value of {property}: {error}\\",
64287
+ { property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
64288
+ );
64289
+ return null;
64290
+ }
63211
64291
  }
63212
64292
  }
63213
64293
 
@@ -63440,7 +64520,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
63440
64520
  \\"outbox\\"];
63441
64521
  const doc = Array.isArray(prop) ? prop[0] : prop;
63442
64522
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
63443
- v = await this.#outbox_fromJsonLd(doc, options);
64523
+ try {
64524
+ v = await this.#outbox_fromJsonLd(doc, options);
64525
+ } catch (error) {
64526
+ if (!options.suppressError) throw error;
64527
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
64528
+ \\"Failed to parse embedded value of {property}: {error}\\",
64529
+ { property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
64530
+ );
64531
+ return null;
64532
+ }
63444
64533
  }
63445
64534
  }
63446
64535
 
@@ -63659,7 +64748,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
63659
64748
  \\"following\\"];
63660
64749
  const doc = Array.isArray(prop) ? prop[0] : prop;
63661
64750
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
63662
- v = await this.#following_fromJsonLd(doc, options);
64751
+ try {
64752
+ v = await this.#following_fromJsonLd(doc, options);
64753
+ } catch (error) {
64754
+ if (!options.suppressError) throw error;
64755
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
64756
+ \\"Failed to parse embedded value of {property}: {error}\\",
64757
+ { property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
64758
+ );
64759
+ return null;
64760
+ }
63663
64761
  }
63664
64762
  }
63665
64763
 
@@ -63881,7 +64979,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
63881
64979
  \\"followers\\"];
63882
64980
  const doc = Array.isArray(prop) ? prop[0] : prop;
63883
64981
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
63884
- v = await this.#followers_fromJsonLd(doc, options);
64982
+ try {
64983
+ v = await this.#followers_fromJsonLd(doc, options);
64984
+ } catch (error) {
64985
+ if (!options.suppressError) throw error;
64986
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
64987
+ \\"Failed to parse embedded value of {property}: {error}\\",
64988
+ { property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
64989
+ );
64990
+ return null;
64991
+ }
63885
64992
  }
63886
64993
  }
63887
64994
 
@@ -64101,7 +65208,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
64101
65208
  \\"liked\\"];
64102
65209
  const doc = Array.isArray(prop) ? prop[0] : prop;
64103
65210
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
64104
- v = await this.#liked_fromJsonLd(doc, options);
65211
+ try {
65212
+ v = await this.#liked_fromJsonLd(doc, options);
65213
+ } catch (error) {
65214
+ if (!options.suppressError) throw error;
65215
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
65216
+ \\"Failed to parse embedded value of {property}: {error}\\",
65217
+ { property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
65218
+ );
65219
+ return null;
65220
+ }
64105
65221
  }
64106
65222
  }
64107
65223
 
@@ -64319,7 +65435,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
64319
65435
  \\"featured\\"];
64320
65436
  const doc = Array.isArray(prop) ? prop[0] : prop;
64321
65437
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
64322
- v = await this.#featured_fromJsonLd(doc, options);
65438
+ try {
65439
+ v = await this.#featured_fromJsonLd(doc, options);
65440
+ } catch (error) {
65441
+ if (!options.suppressError) throw error;
65442
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
65443
+ \\"Failed to parse embedded value of {property}: {error}\\",
65444
+ { property: \\"http://joinmastodon.org/ns#featured\\", error },
65445
+ );
65446
+ return null;
65447
+ }
64323
65448
  }
64324
65449
  }
64325
65450
 
@@ -64537,7 +65662,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
64537
65662
  \\"featuredTags\\"];
64538
65663
  const doc = Array.isArray(prop) ? prop[0] : prop;
64539
65664
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
64540
- v = await this.#featuredTags_fromJsonLd(doc, options);
65665
+ try {
65666
+ v = await this.#featuredTags_fromJsonLd(doc, options);
65667
+ } catch (error) {
65668
+ if (!options.suppressError) throw error;
65669
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
65670
+ \\"Failed to parse embedded value of {property}: {error}\\",
65671
+ { property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
65672
+ );
65673
+ return null;
65674
+ }
64541
65675
  }
64542
65676
  }
64543
65677
 
@@ -64753,7 +65887,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
64753
65887
  \\"streams\\"];
64754
65888
  const obj = Array.isArray(prop) ? prop[i] : prop;
64755
65889
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
64756
- v = await this.#stream_fromJsonLd(obj, options);
65890
+ try {
65891
+ v = await this.#stream_fromJsonLd(obj, options);
65892
+ } catch (error) {
65893
+ if (!options.suppressError) throw error;
65894
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
65895
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
65896
+ { property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
65897
+ );
65898
+ continue;
65899
+ }
64757
65900
  }
64758
65901
  }
64759
65902
 
@@ -65079,7 +66222,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
65079
66222
  \\"movedTo\\"];
65080
66223
  const doc = Array.isArray(prop) ? prop[0] : prop;
65081
66224
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
65082
- v = await this.#successor_fromJsonLd(doc, options);
66225
+ try {
66226
+ v = await this.#successor_fromJsonLd(doc, options);
66227
+ } catch (error) {
66228
+ if (!options.suppressError) throw error;
66229
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
66230
+ \\"Failed to parse embedded value of {property}: {error}\\",
66231
+ { property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
66232
+ );
66233
+ return null;
66234
+ }
65083
66235
  }
65084
66236
  }
65085
66237
 
@@ -65333,7 +66485,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
65333
66485
  \\"alsoKnownAs\\"];
65334
66486
  const doc = Array.isArray(prop) ? prop[0] : prop;
65335
66487
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
65336
- v = await this.#alias_fromJsonLd(doc, options);
66488
+ try {
66489
+ v = await this.#alias_fromJsonLd(doc, options);
66490
+ } catch (error) {
66491
+ if (!options.suppressError) throw error;
66492
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
66493
+ \\"Failed to parse embedded value of {property}: {error}\\",
66494
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
66495
+ );
66496
+ return null;
66497
+ }
65337
66498
  }
65338
66499
  }
65339
66500
 
@@ -65430,7 +66591,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
65430
66591
  \\"alsoKnownAs\\"];
65431
66592
  const obj = Array.isArray(prop) ? prop[i] : prop;
65432
66593
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
65433
- v = await this.#alias_fromJsonLd(obj, options);
66594
+ try {
66595
+ v = await this.#alias_fromJsonLd(obj, options);
66596
+ } catch (error) {
66597
+ if (!options.suppressError) throw error;
66598
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
66599
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
66600
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
66601
+ );
66602
+ continue;
66603
+ }
65434
66604
  }
65435
66605
  }
65436
66606
 
@@ -65649,7 +66819,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
65649
66819
  \\"service\\"];
65650
66820
  const doc = Array.isArray(prop) ? prop[0] : prop;
65651
66821
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
65652
- v = await this.#service_fromJsonLd(doc, options);
66822
+ try {
66823
+ v = await this.#service_fromJsonLd(doc, options);
66824
+ } catch (error) {
66825
+ if (!options.suppressError) throw error;
66826
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
66827
+ \\"Failed to parse embedded value of {property}: {error}\\",
66828
+ { property: \\"https://www.w3.org/ns/did#service\\", error },
66829
+ );
66830
+ return null;
66831
+ }
65653
66832
  }
65654
66833
  }
65655
66834
 
@@ -65746,7 +66925,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
65746
66925
  \\"service\\"];
65747
66926
  const obj = Array.isArray(prop) ? prop[i] : prop;
65748
66927
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
65749
- v = await this.#service_fromJsonLd(obj, options);
66928
+ try {
66929
+ v = await this.#service_fromJsonLd(obj, options);
66930
+ } catch (error) {
66931
+ if (!options.suppressError) throw error;
66932
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
66933
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
66934
+ { property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
66935
+ );
66936
+ continue;
66937
+ }
65750
66938
  }
65751
66939
  }
65752
66940
 
@@ -69522,7 +70710,16 @@ proofs?: (DataIntegrityProof | URL)[];describes?: Object | URL | null;}
69522
70710
  \\"describes\\"];
69523
70711
  const doc = Array.isArray(prop) ? prop[0] : prop;
69524
70712
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
69525
- v = await this.#describes_fromJsonLd(doc, options);
70713
+ try {
70714
+ v = await this.#describes_fromJsonLd(doc, options);
70715
+ } catch (error) {
70716
+ if (!options.suppressError) throw error;
70717
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
70718
+ \\"Failed to parse embedded value of {property}: {error}\\",
70719
+ { property: \\"https://www.w3.org/ns/activitystreams#describes\\", error },
70720
+ );
70721
+ return null;
70722
+ }
69526
70723
  }
69527
70724
  }
69528
70725
 
@@ -70362,7 +71559,16 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
70362
71559
  \\"oneOf\\"];
70363
71560
  const obj = Array.isArray(prop) ? prop[i] : prop;
70364
71561
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
70365
- v = await this.#exclusiveOption_fromJsonLd(obj, options);
71562
+ try {
71563
+ v = await this.#exclusiveOption_fromJsonLd(obj, options);
71564
+ } catch (error) {
71565
+ if (!options.suppressError) throw error;
71566
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
71567
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
71568
+ { property: \\"https://www.w3.org/ns/activitystreams#oneOf\\", index: i, error },
71569
+ );
71570
+ continue;
71571
+ }
70366
71572
  }
70367
71573
  }
70368
71574
 
@@ -70581,7 +71787,16 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
70581
71787
  \\"anyOf\\"];
70582
71788
  const obj = Array.isArray(prop) ? prop[i] : prop;
70583
71789
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
70584
- v = await this.#inclusiveOption_fromJsonLd(obj, options);
71790
+ try {
71791
+ v = await this.#inclusiveOption_fromJsonLd(obj, options);
71792
+ } catch (error) {
71793
+ if (!options.suppressError) throw error;
71794
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
71795
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
71796
+ { property: \\"https://www.w3.org/ns/activitystreams#anyOf\\", index: i, error },
71797
+ );
71798
+ continue;
71799
+ }
70585
71800
  }
70586
71801
  }
70587
71802
 
@@ -72441,7 +73656,16 @@ relationships?: (Object | URL)[];}
72441
73656
  \\"subject\\"];
72442
73657
  const doc = Array.isArray(prop) ? prop[0] : prop;
72443
73658
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
72444
- v = await this.#subject_fromJsonLd(doc, options);
73659
+ try {
73660
+ v = await this.#subject_fromJsonLd(doc, options);
73661
+ } catch (error) {
73662
+ if (!options.suppressError) throw error;
73663
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
73664
+ \\"Failed to parse embedded value of {property}: {error}\\",
73665
+ { property: \\"https://www.w3.org/ns/activitystreams#subject\\", error },
73666
+ );
73667
+ return null;
73668
+ }
72445
73669
  }
72446
73670
  }
72447
73671
 
@@ -72656,7 +73880,16 @@ relationships?: (Object | URL)[];}
72656
73880
  \\"object\\"];
72657
73881
  const doc = Array.isArray(prop) ? prop[0] : prop;
72658
73882
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
72659
- v = await this.#object_fromJsonLd(doc, options);
73883
+ try {
73884
+ v = await this.#object_fromJsonLd(doc, options);
73885
+ } catch (error) {
73886
+ if (!options.suppressError) throw error;
73887
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
73888
+ \\"Failed to parse embedded value of {property}: {error}\\",
73889
+ { property: \\"https://www.w3.org/ns/activitystreams#object\\", error },
73890
+ );
73891
+ return null;
73892
+ }
72660
73893
  }
72661
73894
  }
72662
73895
 
@@ -72750,7 +73983,16 @@ relationships?: (Object | URL)[];}
72750
73983
  \\"object\\"];
72751
73984
  const obj = Array.isArray(prop) ? prop[i] : prop;
72752
73985
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
72753
- v = await this.#object_fromJsonLd(obj, options);
73986
+ try {
73987
+ v = await this.#object_fromJsonLd(obj, options);
73988
+ } catch (error) {
73989
+ if (!options.suppressError) throw error;
73990
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
73991
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
73992
+ { property: \\"https://www.w3.org/ns/activitystreams#object\\", index: i, error },
73993
+ );
73994
+ continue;
73995
+ }
72754
73996
  }
72755
73997
  }
72756
73998
 
@@ -72968,7 +74210,16 @@ relationships?: (Object | URL)[];}
72968
74210
  \\"relationship\\"];
72969
74211
  const doc = Array.isArray(prop) ? prop[0] : prop;
72970
74212
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
72971
- v = await this.#relationship_fromJsonLd(doc, options);
74213
+ try {
74214
+ v = await this.#relationship_fromJsonLd(doc, options);
74215
+ } catch (error) {
74216
+ if (!options.suppressError) throw error;
74217
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
74218
+ \\"Failed to parse embedded value of {property}: {error}\\",
74219
+ { property: \\"https://www.w3.org/ns/activitystreams#relationship\\", error },
74220
+ );
74221
+ return null;
74222
+ }
72972
74223
  }
72973
74224
  }
72974
74225
 
@@ -73064,7 +74315,16 @@ relationships?: (Object | URL)[];}
73064
74315
  \\"relationship\\"];
73065
74316
  const obj = Array.isArray(prop) ? prop[i] : prop;
73066
74317
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
73067
- v = await this.#relationship_fromJsonLd(obj, options);
74318
+ try {
74319
+ v = await this.#relationship_fromJsonLd(obj, options);
74320
+ } catch (error) {
74321
+ if (!options.suppressError) throw error;
74322
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
74323
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
74324
+ { property: \\"https://www.w3.org/ns/activitystreams#relationship\\", index: i, error },
74325
+ );
74326
+ continue;
74327
+ }
73068
74328
  }
73069
74329
  }
73070
74330
 
@@ -75188,7 +76448,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
75188
76448
  \\"publicKey\\"];
75189
76449
  const doc = Array.isArray(prop) ? prop[0] : prop;
75190
76450
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
75191
- v = await this.#publicKey_fromJsonLd(doc, options);
76451
+ try {
76452
+ v = await this.#publicKey_fromJsonLd(doc, options);
76453
+ } catch (error) {
76454
+ if (!options.suppressError) throw error;
76455
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
76456
+ \\"Failed to parse embedded value of {property}: {error}\\",
76457
+ { property: \\"https://w3id.org/security#publicKey\\", error },
76458
+ );
76459
+ return null;
76460
+ }
75192
76461
  }
75193
76462
  }
75194
76463
 
@@ -75281,7 +76550,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
75281
76550
  \\"publicKey\\"];
75282
76551
  const obj = Array.isArray(prop) ? prop[i] : prop;
75283
76552
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
75284
- v = await this.#publicKey_fromJsonLd(obj, options);
76553
+ try {
76554
+ v = await this.#publicKey_fromJsonLd(obj, options);
76555
+ } catch (error) {
76556
+ if (!options.suppressError) throw error;
76557
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
76558
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
76559
+ { property: \\"https://w3id.org/security#publicKey\\", index: i, error },
76560
+ );
76561
+ continue;
76562
+ }
75285
76563
  }
75286
76564
  }
75287
76565
 
@@ -75500,7 +76778,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
75500
76778
  \\"assertionMethod\\"];
75501
76779
  const doc = Array.isArray(prop) ? prop[0] : prop;
75502
76780
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
75503
- v = await this.#assertionMethod_fromJsonLd(doc, options);
76781
+ try {
76782
+ v = await this.#assertionMethod_fromJsonLd(doc, options);
76783
+ } catch (error) {
76784
+ if (!options.suppressError) throw error;
76785
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
76786
+ \\"Failed to parse embedded value of {property}: {error}\\",
76787
+ { property: \\"https://w3id.org/security#assertionMethod\\", error },
76788
+ );
76789
+ return null;
76790
+ }
75504
76791
  }
75505
76792
  }
75506
76793
 
@@ -75597,7 +76884,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
75597
76884
  \\"assertionMethod\\"];
75598
76885
  const obj = Array.isArray(prop) ? prop[i] : prop;
75599
76886
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
75600
- v = await this.#assertionMethod_fromJsonLd(obj, options);
76887
+ try {
76888
+ v = await this.#assertionMethod_fromJsonLd(obj, options);
76889
+ } catch (error) {
76890
+ if (!options.suppressError) throw error;
76891
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
76892
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
76893
+ { property: \\"https://w3id.org/security#assertionMethod\\", index: i, error },
76894
+ );
76895
+ continue;
76896
+ }
75601
76897
  }
75602
76898
  }
75603
76899
 
@@ -75853,7 +77149,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
75853
77149
  \\"inbox\\"];
75854
77150
  const doc = Array.isArray(prop) ? prop[0] : prop;
75855
77151
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
75856
- v = await this.#inbox_fromJsonLd(doc, options);
77152
+ try {
77153
+ v = await this.#inbox_fromJsonLd(doc, options);
77154
+ } catch (error) {
77155
+ if (!options.suppressError) throw error;
77156
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
77157
+ \\"Failed to parse embedded value of {property}: {error}\\",
77158
+ { property: \\"http://www.w3.org/ns/ldp#inbox\\", error },
77159
+ );
77160
+ return null;
77161
+ }
75857
77162
  }
75858
77163
  }
75859
77164
 
@@ -76086,7 +77391,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
76086
77391
  \\"outbox\\"];
76087
77392
  const doc = Array.isArray(prop) ? prop[0] : prop;
76088
77393
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
76089
- v = await this.#outbox_fromJsonLd(doc, options);
77394
+ try {
77395
+ v = await this.#outbox_fromJsonLd(doc, options);
77396
+ } catch (error) {
77397
+ if (!options.suppressError) throw error;
77398
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
77399
+ \\"Failed to parse embedded value of {property}: {error}\\",
77400
+ { property: \\"https://www.w3.org/ns/activitystreams#outbox\\", error },
77401
+ );
77402
+ return null;
77403
+ }
76090
77404
  }
76091
77405
  }
76092
77406
 
@@ -76305,7 +77619,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
76305
77619
  \\"following\\"];
76306
77620
  const doc = Array.isArray(prop) ? prop[0] : prop;
76307
77621
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
76308
- v = await this.#following_fromJsonLd(doc, options);
77622
+ try {
77623
+ v = await this.#following_fromJsonLd(doc, options);
77624
+ } catch (error) {
77625
+ if (!options.suppressError) throw error;
77626
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
77627
+ \\"Failed to parse embedded value of {property}: {error}\\",
77628
+ { property: \\"https://www.w3.org/ns/activitystreams#following\\", error },
77629
+ );
77630
+ return null;
77631
+ }
76309
77632
  }
76310
77633
  }
76311
77634
 
@@ -76527,7 +77850,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
76527
77850
  \\"followers\\"];
76528
77851
  const doc = Array.isArray(prop) ? prop[0] : prop;
76529
77852
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
76530
- v = await this.#followers_fromJsonLd(doc, options);
77853
+ try {
77854
+ v = await this.#followers_fromJsonLd(doc, options);
77855
+ } catch (error) {
77856
+ if (!options.suppressError) throw error;
77857
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
77858
+ \\"Failed to parse embedded value of {property}: {error}\\",
77859
+ { property: \\"https://www.w3.org/ns/activitystreams#followers\\", error },
77860
+ );
77861
+ return null;
77862
+ }
76531
77863
  }
76532
77864
  }
76533
77865
 
@@ -76747,7 +78079,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
76747
78079
  \\"liked\\"];
76748
78080
  const doc = Array.isArray(prop) ? prop[0] : prop;
76749
78081
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
76750
- v = await this.#liked_fromJsonLd(doc, options);
78082
+ try {
78083
+ v = await this.#liked_fromJsonLd(doc, options);
78084
+ } catch (error) {
78085
+ if (!options.suppressError) throw error;
78086
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
78087
+ \\"Failed to parse embedded value of {property}: {error}\\",
78088
+ { property: \\"https://www.w3.org/ns/activitystreams#liked\\", error },
78089
+ );
78090
+ return null;
78091
+ }
76751
78092
  }
76752
78093
  }
76753
78094
 
@@ -76965,7 +78306,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
76965
78306
  \\"featured\\"];
76966
78307
  const doc = Array.isArray(prop) ? prop[0] : prop;
76967
78308
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
76968
- v = await this.#featured_fromJsonLd(doc, options);
78309
+ try {
78310
+ v = await this.#featured_fromJsonLd(doc, options);
78311
+ } catch (error) {
78312
+ if (!options.suppressError) throw error;
78313
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
78314
+ \\"Failed to parse embedded value of {property}: {error}\\",
78315
+ { property: \\"http://joinmastodon.org/ns#featured\\", error },
78316
+ );
78317
+ return null;
78318
+ }
76969
78319
  }
76970
78320
  }
76971
78321
 
@@ -77183,7 +78533,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
77183
78533
  \\"featuredTags\\"];
77184
78534
  const doc = Array.isArray(prop) ? prop[0] : prop;
77185
78535
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
77186
- v = await this.#featuredTags_fromJsonLd(doc, options);
78536
+ try {
78537
+ v = await this.#featuredTags_fromJsonLd(doc, options);
78538
+ } catch (error) {
78539
+ if (!options.suppressError) throw error;
78540
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
78541
+ \\"Failed to parse embedded value of {property}: {error}\\",
78542
+ { property: \\"http://joinmastodon.org/ns#featuredTags\\", error },
78543
+ );
78544
+ return null;
78545
+ }
77187
78546
  }
77188
78547
  }
77189
78548
 
@@ -77399,7 +78758,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
77399
78758
  \\"streams\\"];
77400
78759
  const obj = Array.isArray(prop) ? prop[i] : prop;
77401
78760
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
77402
- v = await this.#stream_fromJsonLd(obj, options);
78761
+ try {
78762
+ v = await this.#stream_fromJsonLd(obj, options);
78763
+ } catch (error) {
78764
+ if (!options.suppressError) throw error;
78765
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
78766
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
78767
+ { property: \\"https://www.w3.org/ns/activitystreams#streams\\", index: i, error },
78768
+ );
78769
+ continue;
78770
+ }
77403
78771
  }
77404
78772
  }
77405
78773
 
@@ -77725,7 +79093,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
77725
79093
  \\"movedTo\\"];
77726
79094
  const doc = Array.isArray(prop) ? prop[0] : prop;
77727
79095
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
77728
- v = await this.#successor_fromJsonLd(doc, options);
79096
+ try {
79097
+ v = await this.#successor_fromJsonLd(doc, options);
79098
+ } catch (error) {
79099
+ if (!options.suppressError) throw error;
79100
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
79101
+ \\"Failed to parse embedded value of {property}: {error}\\",
79102
+ { property: \\"https://www.w3.org/ns/activitystreams#movedTo\\", error },
79103
+ );
79104
+ return null;
79105
+ }
77729
79106
  }
77730
79107
  }
77731
79108
 
@@ -77979,7 +79356,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
77979
79356
  \\"alsoKnownAs\\"];
77980
79357
  const doc = Array.isArray(prop) ? prop[0] : prop;
77981
79358
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
77982
- v = await this.#alias_fromJsonLd(doc, options);
79359
+ try {
79360
+ v = await this.#alias_fromJsonLd(doc, options);
79361
+ } catch (error) {
79362
+ if (!options.suppressError) throw error;
79363
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
79364
+ \\"Failed to parse embedded value of {property}: {error}\\",
79365
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", error },
79366
+ );
79367
+ return null;
79368
+ }
77983
79369
  }
77984
79370
  }
77985
79371
 
@@ -78076,7 +79462,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
78076
79462
  \\"alsoKnownAs\\"];
78077
79463
  const obj = Array.isArray(prop) ? prop[i] : prop;
78078
79464
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
78079
- v = await this.#alias_fromJsonLd(obj, options);
79465
+ try {
79466
+ v = await this.#alias_fromJsonLd(obj, options);
79467
+ } catch (error) {
79468
+ if (!options.suppressError) throw error;
79469
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
79470
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
79471
+ { property: \\"https://www.w3.org/ns/activitystreams#alsoKnownAs\\", index: i, error },
79472
+ );
79473
+ continue;
79474
+ }
78080
79475
  }
78081
79476
  }
78082
79477
 
@@ -78295,7 +79690,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
78295
79690
  \\"service\\"];
78296
79691
  const doc = Array.isArray(prop) ? prop[0] : prop;
78297
79692
  if (doc != null && typeof doc === \\"object\\" && \\"@context\\" in doc) {
78298
- v = await this.#service_fromJsonLd(doc, options);
79693
+ try {
79694
+ v = await this.#service_fromJsonLd(doc, options);
79695
+ } catch (error) {
79696
+ if (!options.suppressError) throw error;
79697
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
79698
+ \\"Failed to parse embedded value of {property}: {error}\\",
79699
+ { property: \\"https://www.w3.org/ns/did#service\\", error },
79700
+ );
79701
+ return null;
79702
+ }
78299
79703
  }
78300
79704
  }
78301
79705
 
@@ -78392,7 +79796,16 @@ get preferredUsernames(): ((string | LanguageString))[] {
78392
79796
  \\"service\\"];
78393
79797
  const obj = Array.isArray(prop) ? prop[i] : prop;
78394
79798
  if (obj != null && typeof obj === \\"object\\" && \\"@context\\" in obj) {
78395
- v = await this.#service_fromJsonLd(obj, options);
79799
+ try {
79800
+ v = await this.#service_fromJsonLd(obj, options);
79801
+ } catch (error) {
79802
+ if (!options.suppressError) throw error;
79803
+ getLogger([\\"fedify\\", \\"vocab\\"]).debug(
79804
+ \\"Failed to parse embedded value of {property} at index {index}: {error}\\",
79805
+ { property: \\"https://www.w3.org/ns/did#service\\", index: i, error },
79806
+ );
79807
+ continue;
79808
+ }
78396
79809
  }
78397
79810
  }
78398
79811