webring 1.2.1 → 1.2.3

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/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.3](https://github.com/shepherdjerred/webring/compare/v1.2.2...v1.2.3) (2024-10-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update npm ([26ff336](https://github.com/shepherdjerred/webring/commit/26ff336928c60270340b2cb763d84e43465001ff))
14
+
15
+ ## [1.2.2](https://github.com/shepherdjerred/webring/compare/v1.2.1...v1.2.2) (2024-09-13)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update npm ([b0e54f4](https://github.com/shepherdjerred/webring/commit/b0e54f4f0d9428c14cbbfa69b4654b9a09d70368))
21
+
8
22
  ## [1.2.1](https://github.com/shepherdjerred/webring/compare/v1.2.0...v1.2.1) (2024-08-12)
9
23
 
10
24
 
package/dist/fetch.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare function fetchAll(config: Configuration): Promise<{
6
6
  source: {
7
7
  url: string;
8
8
  title: string;
9
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
9
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
10
10
  };
11
11
  preview?: string | undefined;
12
12
  }[]>;
package/dist/types.d.ts CHANGED
@@ -11,11 +11,11 @@ declare const SourceSchema: z.ZodObject<{
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  url: string;
13
13
  title: string;
14
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
14
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
15
15
  }, {
16
16
  url: string;
17
17
  title: string;
18
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
18
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
19
19
  }>;
20
20
  export type CacheConfiguration = z.infer<typeof CacheConfigurationSchema>;
21
21
  /** Configuration for the cache */
@@ -45,11 +45,11 @@ declare const ConfigurationSchema: z.ZodObject<{
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  url: string;
47
47
  title: string;
48
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
48
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
49
49
  }, {
50
50
  url: string;
51
51
  title: string;
52
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
52
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
53
53
  }>, "many">;
54
54
  /** Return the n latest updates from the source list. */
55
55
  number: z.ZodDefault<z.ZodNumber>;
@@ -75,7 +75,7 @@ declare const ConfigurationSchema: z.ZodObject<{
75
75
  sources: {
76
76
  url: string;
77
77
  title: string;
78
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
78
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
79
79
  }[];
80
80
  truncate: number;
81
81
  cache?: {
@@ -87,7 +87,7 @@ declare const ConfigurationSchema: z.ZodObject<{
87
87
  sources: {
88
88
  url: string;
89
89
  title: string;
90
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
90
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
91
91
  }[];
92
92
  number?: number | undefined;
93
93
  truncate?: number | undefined;
@@ -111,11 +111,11 @@ export declare const CachedConfigurationSchema: z.ZodObject<z.objectUtil.extendS
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  url: string;
113
113
  title: string;
114
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
114
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
115
115
  }, {
116
116
  url: string;
117
117
  title: string;
118
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
118
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
119
119
  }>, "many">;
120
120
  /** Return the n latest updates from the source list. */
121
121
  number: z.ZodDefault<z.ZodNumber>;
@@ -155,7 +155,7 @@ export declare const CachedConfigurationSchema: z.ZodObject<z.objectUtil.extendS
155
155
  sources: {
156
156
  url: string;
157
157
  title: string;
158
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
158
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
159
159
  }[];
160
160
  truncate: number;
161
161
  cache: {
@@ -167,7 +167,7 @@ export declare const CachedConfigurationSchema: z.ZodObject<z.objectUtil.extendS
167
167
  sources: {
168
168
  url: string;
169
169
  title: string;
170
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
170
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
171
171
  }[];
172
172
  cache: {
173
173
  cache_duration_minutes?: number | undefined;
@@ -197,11 +197,11 @@ declare const ResultEntrySchema: z.ZodObject<{
197
197
  }, "strip", z.ZodTypeAny, {
198
198
  url: string;
199
199
  title: string;
200
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
200
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
201
201
  }, {
202
202
  url: string;
203
203
  title: string;
204
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
204
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
205
205
  }>;
206
206
  /** A preview of the entry. This may contain sanitized HTML. */
207
207
  preview: z.ZodOptional<z.ZodString>;
@@ -212,7 +212,7 @@ declare const ResultEntrySchema: z.ZodObject<{
212
212
  source: {
213
213
  url: string;
214
214
  title: string;
215
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
215
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
216
216
  };
217
217
  preview?: string | undefined;
218
218
  }, {
@@ -222,7 +222,7 @@ declare const ResultEntrySchema: z.ZodObject<{
222
222
  source: {
223
223
  url: string;
224
224
  title: string;
225
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
225
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
226
226
  };
227
227
  preview?: string | undefined;
228
228
  }>;
@@ -246,11 +246,11 @@ export declare const ResultSchema: z.ZodArray<z.ZodObject<{
246
246
  }, "strip", z.ZodTypeAny, {
247
247
  url: string;
248
248
  title: string;
249
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
249
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
250
250
  }, {
251
251
  url: string;
252
252
  title: string;
253
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
253
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
254
254
  }>;
255
255
  /** A preview of the entry. This may contain sanitized HTML. */
256
256
  preview: z.ZodOptional<z.ZodString>;
@@ -261,7 +261,7 @@ export declare const ResultSchema: z.ZodArray<z.ZodObject<{
261
261
  source: {
262
262
  url: string;
263
263
  title: string;
264
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
264
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
265
265
  };
266
266
  preview?: string | undefined;
267
267
  }, {
@@ -271,7 +271,7 @@ export declare const ResultSchema: z.ZodArray<z.ZodObject<{
271
271
  source: {
272
272
  url: string;
273
273
  title: string;
274
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
274
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
275
275
  };
276
276
  preview?: string | undefined;
277
277
  }>, "many">;
@@ -299,11 +299,11 @@ export declare const CacheEntrySchema: z.ZodObject<{
299
299
  }, "strip", z.ZodTypeAny, {
300
300
  url: string;
301
301
  title: string;
302
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
302
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
303
303
  }, {
304
304
  url: string;
305
305
  title: string;
306
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
306
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
307
307
  }>;
308
308
  /** A preview of the entry. This may contain sanitized HTML. */
309
309
  preview: z.ZodOptional<z.ZodString>;
@@ -314,7 +314,7 @@ export declare const CacheEntrySchema: z.ZodObject<{
314
314
  source: {
315
315
  url: string;
316
316
  title: string;
317
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
317
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
318
318
  };
319
319
  preview?: string | undefined;
320
320
  }, {
@@ -324,7 +324,7 @@ export declare const CacheEntrySchema: z.ZodObject<{
324
324
  source: {
325
325
  url: string;
326
326
  title: string;
327
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
327
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
328
328
  };
329
329
  preview?: string | undefined;
330
330
  }>;
@@ -337,7 +337,7 @@ export declare const CacheEntrySchema: z.ZodObject<{
337
337
  source: {
338
338
  url: string;
339
339
  title: string;
340
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
340
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
341
341
  };
342
342
  preview?: string | undefined;
343
343
  };
@@ -350,7 +350,7 @@ export declare const CacheEntrySchema: z.ZodObject<{
350
350
  source: {
351
351
  url: string;
352
352
  title: string;
353
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
353
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
354
354
  };
355
355
  preview?: string | undefined;
356
356
  };
@@ -379,11 +379,11 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
379
379
  }, "strip", z.ZodTypeAny, {
380
380
  url: string;
381
381
  title: string;
382
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
382
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
383
383
  }, {
384
384
  url: string;
385
385
  title: string;
386
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
386
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
387
387
  }>;
388
388
  /** A preview of the entry. This may contain sanitized HTML. */
389
389
  preview: z.ZodOptional<z.ZodString>;
@@ -394,7 +394,7 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
394
394
  source: {
395
395
  url: string;
396
396
  title: string;
397
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
397
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
398
398
  };
399
399
  preview?: string | undefined;
400
400
  }, {
@@ -404,7 +404,7 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
404
404
  source: {
405
405
  url: string;
406
406
  title: string;
407
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
407
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
408
408
  };
409
409
  preview?: string | undefined;
410
410
  }>;
@@ -417,7 +417,7 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
417
417
  source: {
418
418
  url: string;
419
419
  title: string;
420
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
420
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
421
421
  };
422
422
  preview?: string | undefined;
423
423
  };
@@ -430,7 +430,7 @@ export declare const CacheSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
430
430
  source: {
431
431
  url: string;
432
432
  title: string;
433
- filter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
433
+ filter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
434
434
  };
435
435
  preview?: string | undefined;
436
436
  };
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "url": "https://github.com/shepherdjerred/webring/issues"
17
17
  },
18
18
  "type": "module",
19
- "version": "1.2.1",
19
+ "version": "1.2.3",
20
20
  "scripts": {
21
21
  "prepare": "husky",
22
22
  "lint": "eslint src --cache",
@@ -28,10 +28,10 @@
28
28
  "main": "dist/index.js",
29
29
  "types": "dist/index.d.ts",
30
30
  "dependencies": {
31
- "remeda": "^2.11.0",
31
+ "remeda": "^2.14.0",
32
32
  "rss-parser": "^3.13.0",
33
- "sanitize-html": "^2.13.0",
34
- "truncate-html": "^1.1.1",
33
+ "sanitize-html": "^2.13.1",
34
+ "truncate-html": "^1.1.2",
35
35
  "zod": "^3.23.8"
36
36
  },
37
37
  "overrides": {
@@ -40,26 +40,26 @@
40
40
  }
41
41
  },
42
42
  "devDependencies": {
43
- "@commitlint/cli": "^19.4.0",
44
- "@commitlint/config-conventional": "^19.2.2",
45
- "@eslint/js": "^9.9.0",
43
+ "@commitlint/cli": "^19.5.0",
44
+ "@commitlint/config-conventional": "^19.5.0",
45
+ "@eslint/js": "^9.12.0",
46
46
  "@tsconfig/node20": "^20.1.4",
47
47
  "@tsconfig/strictest": "^2.0.5",
48
48
  "@types/eslint__js": "^8.42.3",
49
- "@types/express": "^4.17.21",
50
- "@types/node": "^22.2.0",
51
- "@types/sanitize-html": "^2.11.0",
52
- "eslint": "^9.9.0",
53
- "express": "^4.19.2",
54
- "globals": "^15.9.0",
55
- "husky": "^9.1.4",
56
- "lint-staged": "^15.2.8",
49
+ "@types/express": "^5.0.0",
50
+ "@types/node": "^22.7.4",
51
+ "@types/sanitize-html": "^2.13.0",
52
+ "eslint": "^9.12.0",
53
+ "express": "^4.21.0",
54
+ "globals": "^15.10.0",
55
+ "husky": "^9.1.6",
56
+ "lint-staged": "^15.2.10",
57
57
  "prettier": "^3.3.3",
58
- "typedoc": "^0.26.5",
59
- "typedoc-plugin-zod": "^1.2.0",
60
- "typescript": "^5.5.4",
61
- "typescript-eslint": "^8.1.0",
62
- "vitest": "^2.0.5"
58
+ "typedoc": "^0.26.8",
59
+ "typedoc-plugin-zod": "^1.2.1",
60
+ "typescript": "^5.6.2",
61
+ "typescript-eslint": "^8.8.0",
62
+ "vitest": "^2.1.2"
63
63
  },
64
64
  "lint-staged": {
65
65
  "*.{ts,tsx}": "eslint --cache --fix",