@fedify/fedify 1.2.2 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/CHANGES.md +68 -0
  2. package/esm/runtime/docloader.js +6 -5
  3. package/esm/runtime/key.js +1 -1
  4. package/esm/sig/http.js +1 -1
  5. package/esm/sig/ld.js +16 -2
  6. package/esm/vocab/lookup.js +1 -1
  7. package/package.json +1 -1
  8. package/types/deps/jsr.io/@std/async/{1.0.7 → 1.0.8}/delay.d.ts.map +1 -1
  9. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/concat.d.ts.map +1 -1
  10. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/copy.d.ts.map +1 -1
  11. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/ends_with.d.ts.map +1 -1
  12. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/equals.d.ts.map +1 -1
  13. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/includes_needle.d.ts.map +1 -1
  14. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/index_of_needle.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/last_index_of_needle.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/mod.d.ts.map +1 -1
  17. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/repeat.d.ts.map +1 -1
  18. package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/starts_with.d.ts.map +1 -1
  19. package/types/sig/ld.d.ts.map +1 -1
  20. /package/esm/deps/jsr.io/@std/async/{1.0.7 → 1.0.8}/delay.js +0 -0
  21. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/concat.js +0 -0
  22. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/copy.js +0 -0
  23. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/ends_with.js +0 -0
  24. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/equals.js +0 -0
  25. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/includes_needle.js +0 -0
  26. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/index_of_needle.js +0 -0
  27. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/last_index_of_needle.js +0 -0
  28. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/mod.js +0 -0
  29. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/repeat.js +0 -0
  30. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/starts_with.js +0 -0
  31. /package/types/deps/jsr.io/@std/async/{1.0.7 → 1.0.8}/delay.d.ts +0 -0
  32. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/concat.d.ts +0 -0
  33. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/copy.d.ts +0 -0
  34. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/ends_with.d.ts +0 -0
  35. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/equals.d.ts +0 -0
  36. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/includes_needle.d.ts +0 -0
  37. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/index_of_needle.d.ts +0 -0
  38. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/last_index_of_needle.d.ts +0 -0
  39. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/mod.d.ts +0 -0
  40. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/repeat.d.ts +0 -0
  41. /package/types/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.3}/starts_with.d.ts +0 -0
package/CHANGES.md CHANGED
@@ -3,6 +3,31 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.2.4
7
+ -------------
8
+
9
+ Released on November 12, 2024.
10
+
11
+ - Fixed a bug where default document loaders had thrown a `TypeError`
12
+ with a message <q>Body is unusable: Body has already been read</q> or
13
+ <q>Body already consumed</q> when the content type of the response was
14
+ an HTML document and there's no link to a JSON-LD document.
15
+
16
+ - Fixed a bug where `verifySignature()` and `verifyJsonLd()` functions
17
+ sometimes had thrown a `jsonld.ValidationError` error. Now such errors
18
+ are caught and logged as warnings, and the signature to verify is considered
19
+ as invalid.
20
+
21
+
22
+ Version 1.2.3
23
+ -------------
24
+
25
+ Released on November 6, 2024.
26
+
27
+ - The `fedify node` subcommand now can recognize multiple values of
28
+ the `rel` attribute in the `<link>` HTML elements.
29
+
30
+
6
31
  Version 1.2.2
7
32
  -------------
8
33
 
@@ -83,6 +108,22 @@ Released on October 31, 2024.
83
108
  [#118]: https://github.com/dahlia/fedify/issues/118
84
109
 
85
110
 
111
+ Version 1.1.4
112
+ -------------
113
+
114
+ Released on November 12, 2024.
115
+
116
+ - Fixed a bug where default document loaders had thrown a `TypeError`
117
+ with a message <q>Body is unusable: Body has already been read</q> or
118
+ <q>Body already consumed</q> when the content type of the response was
119
+ an HTML document and there's no link to a JSON-LD document.
120
+
121
+ - Fixed a bug where `verifySignature()` and `verifyJsonLd()` functions
122
+ sometimes had thrown a `jsonld.ValidationError` error. Now such errors
123
+ are caught and logged as warnings, and the signature to verify is considered
124
+ as invalid.
125
+
126
+
86
127
  Version 1.1.3
87
128
  -------------
88
129
 
@@ -213,6 +254,22 @@ Released on October 20, 2024.
213
254
  [#150]: https://github.com/dahlia/fedify/issues/150
214
255
 
215
256
 
257
+ Version 1.0.8
258
+ -------------
259
+
260
+ Released on November 12, 2024.
261
+
262
+ - Fixed a bug where default document loaders had thrown a `TypeError`
263
+ with a message <q>Body is unusable: Body has already been read</q> or
264
+ <q>Body already consumed</q> when the content type of the response was
265
+ an HTML document and there's no link to a JSON-LD document.
266
+
267
+ - Fixed a bug where `verifySignature()` and `verifyJsonLd()` functions
268
+ sometimes had thrown a `jsonld.ValidationError` error. Now such errors
269
+ are caught and logged as warnings, and the signature to verify is considered
270
+ as invalid.
271
+
272
+
216
273
  Version 1.0.7
217
274
  -------------
218
275
 
@@ -462,6 +519,17 @@ Released on September 26, 2024.
462
519
  [#137]: https://github.com/dahlia/fedify/issues/137
463
520
 
464
521
 
522
+ Version 0.15.6
523
+ --------------
524
+
525
+ Released on November 12, 2024.
526
+
527
+ - Fixed a bug where default document loaders had thrown a `TypeError`
528
+ with a message <q>Body is unusable: Body has already been read</q> or
529
+ <q>Body already consumed</q> when the content type of the response was
530
+ an HTML document and there's no link to a JSON-LD document.
531
+
532
+
465
533
  Version 0.15.5
466
534
  --------------
467
535
 
@@ -86,6 +86,7 @@ async function getRemoteDocument(url, response, fetch) {
86
86
  }
87
87
  }
88
88
  }
89
+ let document;
89
90
  if (!jsonLd &&
90
91
  (contentType === "text/html" || contentType?.startsWith("text/html;") ||
91
92
  contentType === "application/xhtml+xml" ||
@@ -113,17 +114,17 @@ async function getRemoteDocument(url, response, fetch) {
113
114
  return await fetch(new URL(attribs.href, docUrl).href);
114
115
  }
115
116
  }
117
+ document = JSON.parse(html);
118
+ }
119
+ else {
120
+ document = await response.json();
116
121
  }
117
122
  logger.debug("Fetched document: {status} {url} {headers}", {
118
123
  status: response.status,
119
124
  url: documentUrl,
120
125
  headers: Object.fromEntries(response.headers.entries()),
121
126
  });
122
- return {
123
- contextUrl,
124
- document: await response.json(),
125
- documentUrl,
126
- };
127
+ return { contextUrl, document, documentUrl };
127
128
  }
128
129
  /**
129
130
  * A JSON-LD document loader that utilizes the browser's `fetch` API.
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { createPublicKey } from "node:crypto";
3
- import { concat } from "../deps/jsr.io/@std/bytes/1.0.2/concat.js";
3
+ import { concat } from "../deps/jsr.io/@std/bytes/1.0.3/concat.js";
4
4
  import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.5/base64.js";
5
5
  import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/1.0.5/base64url.js";
6
6
  import { decodeHex } from "../deps/jsr.io/@std/encoding/1.0.5/hex.js";
package/esm/sig/http.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
- import { equals } from "../deps/jsr.io/@std/bytes/1.0.2/mod.js";
3
+ import { equals } from "../deps/jsr.io/@std/bytes/1.0.3/mod.js";
4
4
  import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.5/base64.js";
5
5
  import { CryptographicKey } from "../vocab/vocab.js";
6
6
  import { fetchKey, validateCryptoKey } from "./key.js";
package/esm/sig/ld.js CHANGED
@@ -139,10 +139,24 @@ export async function verifySignature(jsonLd, options = {}) {
139
139
  delete sigOpts.type;
140
140
  delete sigOpts.id;
141
141
  delete sigOpts.signatureValue;
142
- const sigOptsHash = await hashJsonLd(sigOpts, options.contextLoader);
142
+ let sigOptsHash;
143
+ try {
144
+ sigOptsHash = await hashJsonLd(sigOpts, options.contextLoader);
145
+ }
146
+ catch (error) {
147
+ logger.warn("Failed to verify; failed to hash the signature options: {signatureOptions}\n{error}", { signatureOptions: sigOpts, error });
148
+ return null;
149
+ }
143
150
  const document = { ...jsonLd };
144
151
  delete document.signature;
145
- const docHash = await hashJsonLd(document, options.contextLoader);
152
+ let docHash;
153
+ try {
154
+ docHash = await hashJsonLd(document, options.contextLoader);
155
+ }
156
+ catch (error) {
157
+ logger.warn("Failed to verify; failed to hash the document: {document}\n{error}", { document, error });
158
+ return null;
159
+ }
146
160
  const encoder = new TextEncoder();
147
161
  const message = sigOptsHash + docHash;
148
162
  const messageBytes = encoder.encode(message);
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
- import { delay } from "../deps/jsr.io/@std/async/1.0.7/delay.js";
3
+ import { delay } from "../deps/jsr.io/@std/async/1.0.8/delay.js";
4
4
  import { fetchDocumentLoader, } from "../runtime/docloader.js";
5
5
  import { lookupWebFinger } from "../webfinger/lookup.js";
6
6
  import { Object } from "./vocab.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.7/delay.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B3E"}
1
+ {"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/async/1.0.8/delay.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,YAAY;IAC3B,sCAAsC;IACtC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/concat.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAaxD"}
1
+ {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/concat.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAaxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/copy.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,MAAM,CAQzE"}
1
+ {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/copy.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,MAAM,CAQzE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ends_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/ends_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAWxE"}
1
+ {"version":3,"file":"ends_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/ends_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAWxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/equals.ts"],"names":[],"mappings":"AA6DA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAQ5D"}
1
+ {"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/equals.ts"],"names":[],"mappings":"AA6DA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAQ5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"includes_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/includes_needle.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,OAAO,CAET"}
1
+ {"version":3,"file":"includes_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/includes_needle.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,OAAO,CAET"}
@@ -1 +1 @@
1
- {"version":3,"file":"index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,MAAM,CAqBR"}
1
+ {"version":3,"file":"index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,MAAM,CAqBR"}
@@ -1 +1 @@
1
- {"version":3,"file":"last_index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/last_index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,MAA0B,GAChC,MAAM,CAuBR"}
1
+ {"version":3,"file":"last_index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/last_index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,MAA0B,GAChC,MAAM,CAuBR"}
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/repeat.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAapE"}
1
+ {"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/repeat.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAapE"}
@@ -1 +1 @@
1
- {"version":3,"file":"starts_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.2/starts_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAS1E"}
1
+ {"version":3,"file":"starts_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.3/starts_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAS1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"ld.d.ts","sourceRoot":"","sources":["../../src/sig/ld.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAM5C,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAY,gBAAgB,EAAU,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAY,KAAK,QAAQ,EAAqB,MAAM,UAAU,CAAC;AAItE;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,8BAA8B,CAAC;IAC5C,IAAI,EAAE,kBAAkB,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,SAAS,GACnB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,CAO1B;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAE/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;CACpC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,OAAO,CAAC,SAAS,EAC7B,KAA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