@fedify/vocab-runtime 2.0.0-dev.237 → 2.0.0-dev.279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.0.0-dev.237+7f2bb1de",
3
+ "version": "2.0.0-dev.279+ce1bdc22",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts"
@@ -25,7 +25,8 @@
25
25
  ],
26
26
  "publish": {
27
27
  "exclude": [
28
- "**/*.test.ts"
28
+ "**/*.test.ts",
29
+ "tsdown.config.ts"
29
30
  ]
30
31
  },
31
32
  "tasks": {
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_request = require('./request-54ukoRv6.cjs');
2
+ const require_request = require('./request-CLGWB0EJ.cjs');
3
3
  const require_link = require('./link-CdFPEo9O.cjs');
4
4
  const require_url = require('./url-C5Vs9nYh.cjs');
5
5
  const node_assert = require_chunk.__toESM(require("node:assert"));
@@ -5494,7 +5494,7 @@ async function getRemoteDocument(url, response, fetch$1) {
5494
5494
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
5495
5495
  *
5496
5496
  * The created loader preloads the below frequently used contexts by default
5497
- * (unless `options.ignorePreloadedContexts` is set to `true`):
5497
+ * (unless `options.skipPreloadedContexts` is set to `true`):
5498
5498
  *
5499
5499
  * - <https://www.w3.org/ns/activitystreams>
5500
5500
  * - <https://w3id.org/security/v1>
@@ -1,4 +1,4 @@
1
- import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-BeB9SmoG.js";
1
+ import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-2zfH8WuZ.js";
2
2
  import { HttpHeaderLink } from "./link-Ck2yj4dH.js";
3
3
  import { UrlError, validatePublicUrl } from "./url-fW_DHbih.js";
4
4
  import "node:module";
@@ -5520,7 +5520,7 @@ async function getRemoteDocument(url, response, fetch$1) {
5520
5520
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
5521
5521
  *
5522
5522
  * The created loader preloads the below frequently used contexts by default
5523
- * (unless `options.ignorePreloadedContexts` is set to `true`):
5523
+ * (unless `options.skipPreloadedContexts` is set to `true`):
5524
5524
  *
5525
5525
  * - <https://www.w3.org/ns/activitystreams>
5526
5526
  * - <https://w3id.org/security/v1>
@@ -16,8 +16,8 @@ var LanguageString = class extends String {
16
16
  /**
17
17
  * Constructs a new `LanguageString`.
18
18
  * @param value A string value written in the given language.
19
- * @param locale The language of the string. If a string is given, it will
20
- * be parsed as a `Intl.Locale` object.
19
+ * @param language The language of the string. If a string is given, it will
20
+ * be parsed as a `Intl.Locale` object.
21
21
  */
22
22
  constructor(value, language) {
23
23
  super(value);
@@ -15,8 +15,8 @@ var LanguageString = class extends String {
15
15
  /**
16
16
  * Constructs a new `LanguageString`.
17
17
  * @param value A string value written in the given language.
18
- * @param locale The language of the string. If a string is given, it will
19
- * be parsed as a `Intl.Locale` object.
18
+ * @param language The language of the string. If a string is given, it will
19
+ * be parsed as a `Intl.Locale` object.
20
20
  */
21
21
  constructor(value, language) {
22
22
  super(value);
package/dist/mod.cjs CHANGED
@@ -4182,7 +4182,7 @@ var contexts_default = preloadedContexts;
4182
4182
  //#endregion
4183
4183
  //#region deno.json
4184
4184
  var name = "@fedify/vocab-runtime";
4185
- var version = "2.0.0-dev.237+7f2bb1de";
4185
+ var version = "2.0.0-dev.279+ce1bdc22";
4186
4186
  var license = "MIT";
4187
4187
  var exports$1 = { ".": "./src/mod.ts" };
4188
4188
  var description = "Runtime library for @fedify/vocab";
@@ -4200,7 +4200,7 @@ var imports = {
4200
4200
  "pkijs": "npm:pkijs@^3.2.5"
4201
4201
  };
4202
4202
  var exclude = ["dist", "node_modules"];
4203
- var publish = { "exclude": ["**/*.test.ts"] };
4203
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
4204
4204
  var tasks = {
4205
4205
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
4206
4206
  "test": "deno test"
@@ -4634,7 +4634,7 @@ async function getRemoteDocument(url, response, fetch$1) {
4634
4634
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
4635
4635
  *
4636
4636
  * The created loader preloads the below frequently used contexts by default
4637
- * (unless `options.ignorePreloadedContexts` is set to `true`):
4637
+ * (unless `options.skipPreloadedContexts` is set to `true`):
4638
4638
  *
4639
4639
  * - <https://www.w3.org/ns/activitystreams>
4640
4640
  * - <https://w3id.org/security/v1>
@@ -5192,8 +5192,8 @@ var LanguageString = class extends String {
5192
5192
  /**
5193
5193
  * Constructs a new `LanguageString`.
5194
5194
  * @param value A string value written in the given language.
5195
- * @param locale The language of the string. If a string is given, it will
5196
- * be parsed as a `Intl.Locale` object.
5195
+ * @param language The language of the string. If a string is given, it will
5196
+ * be parsed as a `Intl.Locale` object.
5197
5197
  */
5198
5198
  constructor(value, language) {
5199
5199
  super(value);
package/dist/mod.d.cts CHANGED
@@ -170,7 +170,7 @@ interface GetDocumentLoaderOptions extends DocumentLoaderFactoryOptions {
170
170
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
171
171
  *
172
172
  * The created loader preloads the below frequently used contexts by default
173
- * (unless `options.ignorePreloadedContexts` is set to `true`):
173
+ * (unless `options.skipPreloadedContexts` is set to `true`):
174
174
  *
175
175
  * - <https://www.w3.org/ns/activitystreams>
176
176
  * - <https://w3id.org/security/v1>
@@ -256,8 +256,8 @@ declare class LanguageString extends String {
256
256
  /**
257
257
  * Constructs a new `LanguageString`.
258
258
  * @param value A string value written in the given language.
259
- * @param locale The language of the string. If a string is given, it will
260
- * be parsed as a `Intl.Locale` object.
259
+ * @param language The language of the string. If a string is given, it will
260
+ * be parsed as a `Intl.Locale` object.
261
261
  */
262
262
  constructor(value: string, language: Intl.Locale | string);
263
263
  }
package/dist/mod.d.ts CHANGED
@@ -170,7 +170,7 @@ interface GetDocumentLoaderOptions extends DocumentLoaderFactoryOptions {
170
170
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
171
171
  *
172
172
  * The created loader preloads the below frequently used contexts by default
173
- * (unless `options.ignorePreloadedContexts` is set to `true`):
173
+ * (unless `options.skipPreloadedContexts` is set to `true`):
174
174
  *
175
175
  * - <https://www.w3.org/ns/activitystreams>
176
176
  * - <https://w3id.org/security/v1>
@@ -256,8 +256,8 @@ declare class LanguageString extends String {
256
256
  /**
257
257
  * Constructs a new `LanguageString`.
258
258
  * @param value A string value written in the given language.
259
- * @param locale The language of the string. If a string is given, it will
260
- * be parsed as a `Intl.Locale` object.
259
+ * @param language The language of the string. If a string is given, it will
260
+ * be parsed as a `Intl.Locale` object.
261
261
  */
262
262
  constructor(value: string, language: Intl.Locale | string);
263
263
  }
package/dist/mod.js CHANGED
@@ -4159,7 +4159,7 @@ var contexts_default = preloadedContexts;
4159
4159
  //#endregion
4160
4160
  //#region deno.json
4161
4161
  var name = "@fedify/vocab-runtime";
4162
- var version = "2.0.0-dev.237+7f2bb1de";
4162
+ var version = "2.0.0-dev.279+ce1bdc22";
4163
4163
  var license = "MIT";
4164
4164
  var exports = { ".": "./src/mod.ts" };
4165
4165
  var description = "Runtime library for @fedify/vocab";
@@ -4177,7 +4177,7 @@ var imports = {
4177
4177
  "pkijs": "npm:pkijs@^3.2.5"
4178
4178
  };
4179
4179
  var exclude = ["dist", "node_modules"];
4180
- var publish = { "exclude": ["**/*.test.ts"] };
4180
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
4181
4181
  var tasks = {
4182
4182
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
4183
4183
  "test": "deno test"
@@ -4611,7 +4611,7 @@ async function getRemoteDocument(url, response, fetch$1) {
4611
4611
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
4612
4612
  *
4613
4613
  * The created loader preloads the below frequently used contexts by default
4614
- * (unless `options.ignorePreloadedContexts` is set to `true`):
4614
+ * (unless `options.skipPreloadedContexts` is set to `true`):
4615
4615
  *
4616
4616
  * - <https://www.w3.org/ns/activitystreams>
4617
4617
  * - <https://w3id.org/security/v1>
@@ -5169,8 +5169,8 @@ var LanguageString = class extends String {
5169
5169
  /**
5170
5170
  * Constructs a new `LanguageString`.
5171
5171
  * @param value A string value written in the given language.
5172
- * @param locale The language of the string. If a string is given, it will
5173
- * be parsed as a `Intl.Locale` object.
5172
+ * @param language The language of the string. If a string is given, it will
5173
+ * be parsed as a `Intl.Locale` object.
5174
5174
  */
5175
5175
  constructor(value, language) {
5176
5176
  super(value);
@@ -2,7 +2,7 @@ import process from "node:process";
2
2
 
3
3
  //#region deno.json
4
4
  var name = "@fedify/vocab-runtime";
5
- var version = "2.0.0-dev.237+7f2bb1de";
5
+ var version = "2.0.0-dev.279+ce1bdc22";
6
6
  var license = "MIT";
7
7
  var exports = { ".": "./src/mod.ts" };
8
8
  var description = "Runtime library for @fedify/vocab";
@@ -20,7 +20,7 @@ var imports = {
20
20
  "pkijs": "npm:pkijs@^3.2.5"
21
21
  };
22
22
  var exclude = ["dist", "node_modules"];
23
- var publish = { "exclude": ["**/*.test.ts"] };
23
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
24
24
  var tasks = {
25
25
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
26
26
  "test": "deno test"
@@ -3,7 +3,7 @@ const node_process = require_chunk.__toESM(require("node:process"));
3
3
 
4
4
  //#region deno.json
5
5
  var name = "@fedify/vocab-runtime";
6
- var version = "2.0.0-dev.237+7f2bb1de";
6
+ var version = "2.0.0-dev.279+ce1bdc22";
7
7
  var license = "MIT";
8
8
  var exports$1 = { ".": "./src/mod.ts" };
9
9
  var description = "Runtime library for @fedify/vocab";
@@ -21,7 +21,7 @@ var imports = {
21
21
  "pkijs": "npm:pkijs@^3.2.5"
22
22
  };
23
23
  var exclude = ["dist", "node_modules"];
24
- var publish = { "exclude": ["**/*.test.ts"] };
24
+ var publish = { "exclude": ["**/*.test.ts", "tsdown.config.ts"] };
25
25
  var tasks = {
26
26
  "check": "deno fmt --check && deno lint && deno check src/*.ts",
27
27
  "test": "deno test"
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_request = require('./request-54ukoRv6.cjs');
2
+ const require_request = require('./request-CLGWB0EJ.cjs');
3
3
  const node_assert = require_chunk.__toESM(require("node:assert"));
4
4
  const node_test = require_chunk.__toESM(require("node:test"));
5
5
  const node_process = require_chunk.__toESM(require("node:process"));
@@ -1,4 +1,4 @@
1
- import { deno_default, getUserAgent } from "./request-BeB9SmoG.js";
1
+ import { deno_default, getUserAgent } from "./request-2zfH8WuZ.js";
2
2
  import { deepStrictEqual } from "node:assert";
3
3
  import { test } from "node:test";
4
4
  import process from "node:process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.0.0-dev.237+7f2bb1de",
3
+ "version": "2.0.0-dev.279+ce1bdc22",
4
4
  "homepage": "https://fedify.dev/",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,8 +64,10 @@
64
64
  "pkijs": "^3.3.3"
65
65
  },
66
66
  "scripts": {
67
- "build": "tsdown",
68
- "prepublish": "tsdown",
69
- "test": "tsdown && cd dist/ && node --test"
67
+ "build:self": "tsdown",
68
+ "build": "pnpm --filter @fedify/vocab-runtime... run build:self",
69
+ "prepublish": "pnpm build",
70
+ "pretest": "pnpm build",
71
+ "test": "cd dist/ && node --test"
70
72
  }
71
73
  }
package/src/docloader.ts CHANGED
@@ -269,7 +269,7 @@ export interface GetDocumentLoaderOptions extends DocumentLoaderFactoryOptions {
269
269
  * Creates a JSON-LD document loader that utilizes the browser's `fetch` API.
270
270
  *
271
271
  * The created loader preloads the below frequently used contexts by default
272
- * (unless `options.ignorePreloadedContexts` is set to `true`):
272
+ * (unless `options.skipPreloadedContexts` is set to `true`):
273
273
  *
274
274
  * - <https://www.w3.org/ns/activitystreams>
275
275
  * - <https://w3id.org/security/v1>
package/src/langstr.ts CHANGED
@@ -11,8 +11,8 @@ export class LanguageString extends String {
11
11
  /**
12
12
  * Constructs a new `LanguageString`.
13
13
  * @param value A string value written in the given language.
14
- * @param locale The language of the string. If a string is given, it will
15
- * be parsed as a `Intl.Locale` object.
14
+ * @param language The language of the string. If a string is given, it will
15
+ * be parsed as a `Intl.Locale` object.
16
16
  */
17
17
  constructor(value: string, language: Intl.Locale | string) {
18
18
  super(value);