feedsmith 3.0.0-rc.1 → 3.0.0-rc.2
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/dist/common/parse.d.cts +0 -1
- package/dist/common/parse.d.ts +0 -1
- package/dist/common/types.d.cts +6 -6
- package/dist/common/types.d.ts +6 -6
- package/dist/common/utils.cjs +0 -21
- package/dist/common/utils.js +1 -21
- package/dist/feeds/atom/common/types.d.cts +0 -1
- package/dist/feeds/atom/common/types.d.ts +0 -1
- package/dist/feeds/atom/generate/index.d.cts +0 -1
- package/dist/feeds/atom/generate/index.d.ts +0 -1
- package/dist/feeds/atom/parse/config.cjs +1 -5
- package/dist/feeds/atom/parse/config.js +2 -6
- package/dist/feeds/atom/parse/index.d.cts +0 -1
- package/dist/feeds/atom/parse/index.d.ts +0 -1
- package/dist/feeds/json/common/types.d.cts +0 -1
- package/dist/feeds/json/common/types.d.ts +0 -1
- package/dist/feeds/json/generate/index.d.cts +0 -1
- package/dist/feeds/json/generate/index.d.ts +0 -1
- package/dist/feeds/json/parse/index.d.cts +0 -1
- package/dist/feeds/json/parse/index.d.ts +0 -1
- package/dist/feeds/rdf/common/types.d.cts +0 -1
- package/dist/feeds/rdf/common/types.d.ts +0 -1
- package/dist/feeds/rdf/parse/config.cjs +1 -6
- package/dist/feeds/rdf/parse/config.js +2 -7
- package/dist/feeds/rdf/parse/index.d.cts +0 -1
- package/dist/feeds/rdf/parse/index.d.ts +0 -1
- package/dist/feeds/rss/common/types.d.cts +0 -1
- package/dist/feeds/rss/common/types.d.ts +0 -1
- package/dist/feeds/rss/generate/index.d.cts +0 -1
- package/dist/feeds/rss/generate/index.d.ts +0 -1
- package/dist/feeds/rss/parse/config.cjs +1 -6
- package/dist/feeds/rss/parse/config.js +2 -7
- package/dist/feeds/rss/parse/index.d.cts +0 -1
- package/dist/feeds/rss/parse/index.d.ts +0 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/namespaces/atom/common/types.d.cts +0 -1
- package/dist/namespaces/atom/common/types.d.ts +0 -1
- package/dist/namespaces/georss/common/types.d.cts +0 -1
- package/dist/namespaces/georss/common/types.d.ts +0 -1
- package/dist/namespaces/googleplay/common/types.d.cts +0 -1
- package/dist/namespaces/googleplay/common/types.d.ts +0 -1
- package/dist/namespaces/itunes/common/types.d.cts +14 -8
- package/dist/namespaces/itunes/common/types.d.ts +14 -8
- package/dist/namespaces/media/common/types.d.cts +0 -1
- package/dist/namespaces/media/common/types.d.ts +0 -1
- package/dist/namespaces/opensearch/common/types.d.cts +0 -1
- package/dist/namespaces/opensearch/common/types.d.ts +0 -1
- package/dist/namespaces/podcast/common/types.d.cts +0 -1
- package/dist/namespaces/podcast/common/types.d.ts +0 -1
- package/dist/namespaces/prism/common/types.d.cts +16 -8
- package/dist/namespaces/prism/common/types.d.ts +16 -8
- package/dist/namespaces/psc/common/types.d.cts +0 -1
- package/dist/namespaces/psc/common/types.d.ts +0 -1
- package/dist/namespaces/rawvoice/common/types.d.cts +0 -1
- package/dist/namespaces/rawvoice/common/types.d.ts +0 -1
- package/dist/namespaces/source/common/types.d.cts +0 -1
- package/dist/namespaces/source/common/types.d.ts +0 -1
- package/dist/namespaces/spotify/common/types.d.cts +0 -1
- package/dist/namespaces/spotify/common/types.d.ts +0 -1
- package/dist/namespaces/thr/common/types.d.cts +0 -1
- package/dist/namespaces/thr/common/types.d.ts +0 -1
- package/dist/node_modules/trousse/dist/is.cjs +4 -1
- package/dist/node_modules/trousse/dist/is.js +4 -1
- package/dist/opml/common/types.d.cts +0 -1
- package/dist/opml/common/types.d.ts +0 -1
- package/dist/opml/generate/index.d.cts +0 -1
- package/dist/opml/generate/index.d.ts +0 -1
- package/dist/opml/parse/index.d.cts +0 -1
- package/dist/opml/parse/index.d.ts +0 -1
- package/package.json +6 -6
package/dist/common/parse.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ import { AtomFeed } from "../feeds/atom/common/types.cjs";
|
|
|
3
3
|
import { JsonFeed } from "../feeds/json/common/types.cjs";
|
|
4
4
|
import { RdfFeed } from "../feeds/rdf/common/types.cjs";
|
|
5
5
|
import { RssFeed } from "../feeds/rss/common/types.cjs";
|
|
6
|
-
|
|
7
6
|
//#region src/common/parse.d.ts
|
|
8
7
|
type AnyFeed<TDate = string> = {
|
|
9
8
|
format: 'rss';
|
package/dist/common/parse.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { AtomFeed } from "../feeds/atom/common/types.js";
|
|
|
3
3
|
import { JsonFeed } from "../feeds/json/common/types.js";
|
|
4
4
|
import { RdfFeed } from "../feeds/rdf/common/types.js";
|
|
5
5
|
import { RssFeed } from "../feeds/rss/common/types.js";
|
|
6
|
-
|
|
7
6
|
//#region src/common/parse.d.ts
|
|
8
7
|
type AnyFeed<TDate = string> = {
|
|
9
8
|
format: 'rss';
|
package/dist/common/types.d.cts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
//#region src/common/types.d.ts
|
|
2
|
-
type Simplify<T> = { [K in keyof T]: T[K] };
|
|
2
|
+
type Simplify<T> = { [K in keyof T]: T[K]; };
|
|
3
3
|
type Unwrap<T> = T extends {
|
|
4
4
|
__requirable: infer U;
|
|
5
5
|
} ? U : T;
|
|
6
6
|
type HasMarker<T> = [Extract<T, {
|
|
7
7
|
__requirable: unknown;
|
|
8
8
|
}>] extends [never] ? false : true;
|
|
9
|
-
type Optional<T> = { [K in keyof T]-?: object extends Pick<T, K> ? K : never }[keyof T];
|
|
10
|
-
type Marked<T> = { [K in keyof T]-?: HasMarker<T[K]> extends true ? K : never }[keyof T];
|
|
11
|
-
type Strict<T, S extends boolean> = Simplify<S extends true ? { [K in Exclude<keyof T, Optional<T>>]-?: Unwrap<T[K]
|
|
9
|
+
type Optional<T> = { [K in keyof T]-?: object extends Pick<T, K> ? K : never; }[keyof T];
|
|
10
|
+
type Marked<T> = { [K in keyof T]-?: HasMarker<T[K]> extends true ? K : never; }[keyof T];
|
|
11
|
+
type Strict<T, S extends boolean> = Simplify<S extends true ? { [K in Exclude<keyof T, Optional<T>>]-?: Unwrap<T[K]>; } & { [K in Optional<T>]?: Unwrap<T[K]>; } : { [K in Exclude<keyof T, Optional<T> | Marked<T>>]-?: Unwrap<T[K]>; } & { [K in Optional<T> | Marked<T>]?: Unwrap<T[K]>; }>;
|
|
12
12
|
type IsPlainObject<T> = T extends Array<unknown> ? false : T extends ((...args: Array<unknown>) => unknown) ? false : T extends Date ? false : T extends object ? T extends null ? false : true : false;
|
|
13
|
-
type DeepOmit<T, K extends string> = T extends Array<infer U> ? Array<DeepOmit<U, K>> : IsPlainObject<T> extends true ? Pick<{ [P in keyof T]: DeepOmit<T[P], K
|
|
13
|
+
type DeepOmit<T, K extends string> = T extends Array<infer U> ? Array<DeepOmit<U, K>> : IsPlainObject<T> extends true ? Pick<{ [P in keyof T]: DeepOmit<T[P], K>; }, Exclude<keyof T, K>> : T;
|
|
14
14
|
type Requirable<T> = T | {
|
|
15
15
|
__requirable: T;
|
|
16
16
|
};
|
|
17
17
|
type DateLike = Date | string;
|
|
18
|
-
type ExtraFields<F extends ReadonlyArray<string>, V = unknown> = { [K in F[number]]?: V };
|
|
18
|
+
type ExtraFields<F extends ReadonlyArray<string>, V = unknown> = { [K in F[number]]?: V; };
|
|
19
19
|
type ParseMainOptions<TDate> = {
|
|
20
20
|
maxItems?: number;
|
|
21
21
|
parseDateFn?: (raw: string) => TDate;
|
package/dist/common/types.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
//#region src/common/types.d.ts
|
|
2
|
-
type Simplify<T> = { [K in keyof T]: T[K] };
|
|
2
|
+
type Simplify<T> = { [K in keyof T]: T[K]; };
|
|
3
3
|
type Unwrap<T> = T extends {
|
|
4
4
|
__requirable: infer U;
|
|
5
5
|
} ? U : T;
|
|
6
6
|
type HasMarker<T> = [Extract<T, {
|
|
7
7
|
__requirable: unknown;
|
|
8
8
|
}>] extends [never] ? false : true;
|
|
9
|
-
type Optional<T> = { [K in keyof T]-?: object extends Pick<T, K> ? K : never }[keyof T];
|
|
10
|
-
type Marked<T> = { [K in keyof T]-?: HasMarker<T[K]> extends true ? K : never }[keyof T];
|
|
11
|
-
type Strict<T, S extends boolean> = Simplify<S extends true ? { [K in Exclude<keyof T, Optional<T>>]-?: Unwrap<T[K]
|
|
9
|
+
type Optional<T> = { [K in keyof T]-?: object extends Pick<T, K> ? K : never; }[keyof T];
|
|
10
|
+
type Marked<T> = { [K in keyof T]-?: HasMarker<T[K]> extends true ? K : never; }[keyof T];
|
|
11
|
+
type Strict<T, S extends boolean> = Simplify<S extends true ? { [K in Exclude<keyof T, Optional<T>>]-?: Unwrap<T[K]>; } & { [K in Optional<T>]?: Unwrap<T[K]>; } : { [K in Exclude<keyof T, Optional<T> | Marked<T>>]-?: Unwrap<T[K]>; } & { [K in Optional<T> | Marked<T>]?: Unwrap<T[K]>; }>;
|
|
12
12
|
type IsPlainObject<T> = T extends Array<unknown> ? false : T extends ((...args: Array<unknown>) => unknown) ? false : T extends Date ? false : T extends object ? T extends null ? false : true : false;
|
|
13
|
-
type DeepOmit<T, K extends string> = T extends Array<infer U> ? Array<DeepOmit<U, K>> : IsPlainObject<T> extends true ? Pick<{ [P in keyof T]: DeepOmit<T[P], K
|
|
13
|
+
type DeepOmit<T, K extends string> = T extends Array<infer U> ? Array<DeepOmit<U, K>> : IsPlainObject<T> extends true ? Pick<{ [P in keyof T]: DeepOmit<T[P], K>; }, Exclude<keyof T, K>> : T;
|
|
14
14
|
type Requirable<T> = T | {
|
|
15
15
|
__requirable: T;
|
|
16
16
|
};
|
|
17
17
|
type DateLike = Date | string;
|
|
18
|
-
type ExtraFields<F extends ReadonlyArray<string>, V = unknown> = { [K in F[number]]?: V };
|
|
18
|
+
type ExtraFields<F extends ReadonlyArray<string>, V = unknown> = { [K in F[number]]?: V; };
|
|
19
19
|
type ParseMainOptions<TDate> = {
|
|
20
20
|
maxItems?: number;
|
|
21
21
|
parseDateFn?: (raw: string) => TDate;
|
package/dist/common/utils.cjs
CHANGED
|
@@ -401,30 +401,9 @@ const parseJsonObject = (value) => {
|
|
|
401
401
|
return JSON.parse(value);
|
|
402
402
|
} catch {}
|
|
403
403
|
};
|
|
404
|
-
const namespaceContainers = [
|
|
405
|
-
"media:group",
|
|
406
|
-
"media:content",
|
|
407
|
-
"media:group.media:content",
|
|
408
|
-
"media:embed",
|
|
409
|
-
"podcast:liveitem",
|
|
410
|
-
"itunes:owner"
|
|
411
|
-
];
|
|
412
|
-
const expandStopNodes = (stopNodes, feedContainerPaths) => {
|
|
413
|
-
const set = /* @__PURE__ */ new Set();
|
|
414
|
-
for (const node of stopNodes) {
|
|
415
|
-
const suffix = node.slice(2);
|
|
416
|
-
const prefix = suffix.split(":")[0];
|
|
417
|
-
for (const feedPath of feedContainerPaths) {
|
|
418
|
-
set.add(`${feedPath}.${suffix}`);
|
|
419
|
-
for (const nsContainer of namespaceContainers) if (nsContainer.split(":")[0] === prefix) set.add(`${feedPath}.${nsContainer}.${suffix}`);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
return [...set];
|
|
423
|
-
};
|
|
424
404
|
//#endregion
|
|
425
405
|
exports.createNamespaceNormalizator = createNamespaceNormalizator;
|
|
426
406
|
exports.detectNamespaces = detectNamespaces;
|
|
427
|
-
exports.expandStopNodes = expandStopNodes;
|
|
428
407
|
exports.generateBoolean = generateBoolean;
|
|
429
408
|
exports.generateCdataString = generateCdataString;
|
|
430
409
|
exports.generateCsvOf = generateCsvOf;
|
package/dist/common/utils.js
CHANGED
|
@@ -401,25 +401,5 @@ const parseJsonObject = (value) => {
|
|
|
401
401
|
return JSON.parse(value);
|
|
402
402
|
} catch {}
|
|
403
403
|
};
|
|
404
|
-
const namespaceContainers = [
|
|
405
|
-
"media:group",
|
|
406
|
-
"media:content",
|
|
407
|
-
"media:group.media:content",
|
|
408
|
-
"media:embed",
|
|
409
|
-
"podcast:liveitem",
|
|
410
|
-
"itunes:owner"
|
|
411
|
-
];
|
|
412
|
-
const expandStopNodes = (stopNodes, feedContainerPaths) => {
|
|
413
|
-
const set = /* @__PURE__ */ new Set();
|
|
414
|
-
for (const node of stopNodes) {
|
|
415
|
-
const suffix = node.slice(2);
|
|
416
|
-
const prefix = suffix.split(":")[0];
|
|
417
|
-
for (const feedPath of feedContainerPaths) {
|
|
418
|
-
set.add(`${feedPath}.${suffix}`);
|
|
419
|
-
for (const nsContainer of namespaceContainers) if (nsContainer.split(":")[0] === prefix) set.add(`${feedPath}.${nsContainer}.${suffix}`);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
return [...set];
|
|
423
|
-
};
|
|
424
404
|
//#endregion
|
|
425
|
-
export { createNamespaceNormalizator, detectNamespaces,
|
|
405
|
+
export { createNamespaceNormalizator, detectNamespaces, generateBoolean, generateCdataString, generateCsvOf, generateNamespaceAttrs, generateNumber, generatePlainString, generateRdfResource, generateRfc3339Date, generateRfc822Date, generateTextOrCdataString, generateXml, generateXmlStylesheet, generateYesNoBoolean, hasEntities, isNonEmptyStringOrNumber, limitArray, parseArray, parseArrayOf, parseBoolean, parseCsvOf, parseDate, parseJsonObject, parseJsonString, parseNumber, parseSingular, parseSingularOf, parseString, parseYesNoBoolean, retrieveRdfResourceOrText, retrieveText, trimArray, trimObject };
|
|
@@ -21,7 +21,6 @@ import { TrackbackNs } from "../../../namespaces/trackback/common/types.cjs";
|
|
|
21
21
|
import { WfwNs } from "../../../namespaces/wfw/common/types.cjs";
|
|
22
22
|
import { XmlNs } from "../../../namespaces/xml/common/types.cjs";
|
|
23
23
|
import { YtNs } from "../../../namespaces/yt/common/types.cjs";
|
|
24
|
-
|
|
25
24
|
//#region src/feeds/atom/common/types.d.ts
|
|
26
25
|
declare namespace AtomFeed {
|
|
27
26
|
type Text = {
|
|
@@ -21,7 +21,6 @@ import { TrackbackNs } from "../../../namespaces/trackback/common/types.js";
|
|
|
21
21
|
import { WfwNs } from "../../../namespaces/wfw/common/types.js";
|
|
22
22
|
import { XmlNs } from "../../../namespaces/xml/common/types.js";
|
|
23
23
|
import { YtNs } from "../../../namespaces/yt/common/types.js";
|
|
24
|
-
|
|
25
24
|
//#region src/feeds/atom/common/types.d.ts
|
|
26
25
|
declare namespace AtomFeed {
|
|
27
26
|
type Text = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXml } from "../../../common/types.cjs";
|
|
2
2
|
import { AtomFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/atom/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainXml<AtomFeed.Feed<DateLike>, AtomFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXml } from "../../../common/types.js";
|
|
2
2
|
import { AtomFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/atom/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainXml<AtomFeed.Feed<DateLike>, AtomFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -3,11 +3,7 @@ const require_utils = require("../../../common/utils.cjs");
|
|
|
3
3
|
let fast_xml_parser = require("fast-xml-parser");
|
|
4
4
|
//#region src/feeds/atom/parse/config.ts
|
|
5
5
|
const stopNodes = [
|
|
6
|
-
...
|
|
7
|
-
"feed",
|
|
8
|
-
"feed.entry",
|
|
9
|
-
"feed.entry.source"
|
|
10
|
-
]),
|
|
6
|
+
...require_config.namespaceStopNodes,
|
|
11
7
|
"feed.author.name",
|
|
12
8
|
"feed.author.uri",
|
|
13
9
|
"feed.author.url",
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { namespacePrefixes, namespaceStopNodes, namespaceUris, parserConfig } from "../../../common/config.js";
|
|
2
|
-
import { createNamespaceNormalizator
|
|
2
|
+
import { createNamespaceNormalizator } from "../../../common/utils.js";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
//#region src/feeds/atom/parse/config.ts
|
|
5
5
|
const stopNodes = [
|
|
6
|
-
...
|
|
7
|
-
"feed",
|
|
8
|
-
"feed.entry",
|
|
9
|
-
"feed.entry.source"
|
|
10
|
-
]),
|
|
6
|
+
...namespaceStopNodes,
|
|
11
7
|
"feed.author.name",
|
|
12
8
|
"feed.author.uri",
|
|
13
9
|
"feed.author.url",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.cjs";
|
|
2
2
|
import { AtomFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/atom/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => AtomFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.js";
|
|
2
2
|
import { AtomFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/atom/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => AtomFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainJson } from "../../../common/types.cjs";
|
|
2
2
|
import { JsonFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/json/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainJson<JsonFeed.Feed<DateLike>, JsonFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainJson } from "../../../common/types.js";
|
|
2
2
|
import { JsonFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/json/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainJson<JsonFeed.Feed<DateLike>, JsonFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.cjs";
|
|
2
2
|
import { JsonFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/json/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => JsonFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.js";
|
|
2
2
|
import { JsonFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/json/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => JsonFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -11,7 +11,6 @@ import { XmlNs } from "../../../namespaces/xml/common/types.cjs";
|
|
|
11
11
|
import { AtomNs } from "../../../namespaces/atom/common/types.cjs";
|
|
12
12
|
import { ContentNs } from "../../../namespaces/content/common/types.cjs";
|
|
13
13
|
import { RdfNs } from "../../../namespaces/rdf/common/types.cjs";
|
|
14
|
-
|
|
15
14
|
//#region src/feeds/rdf/common/types.d.ts
|
|
16
15
|
declare namespace RdfFeed {
|
|
17
16
|
type Image<TStrict extends boolean = false> = Strict<{
|
|
@@ -11,7 +11,6 @@ import { XmlNs } from "../../../namespaces/xml/common/types.js";
|
|
|
11
11
|
import { AtomNs } from "../../../namespaces/atom/common/types.js";
|
|
12
12
|
import { ContentNs } from "../../../namespaces/content/common/types.js";
|
|
13
13
|
import { RdfNs } from "../../../namespaces/rdf/common/types.js";
|
|
14
|
-
|
|
15
14
|
//#region src/feeds/rdf/common/types.d.ts
|
|
16
15
|
declare namespace RdfFeed {
|
|
17
16
|
type Image<TStrict extends boolean = false> = Strict<{
|
|
@@ -3,12 +3,7 @@ const require_utils = require("../../../common/utils.cjs");
|
|
|
3
3
|
let fast_xml_parser = require("fast-xml-parser");
|
|
4
4
|
//#region src/feeds/rdf/parse/config.ts
|
|
5
5
|
const stopNodes = [
|
|
6
|
-
...
|
|
7
|
-
"rdf:rdf.channel",
|
|
8
|
-
"rdf:rdf.item",
|
|
9
|
-
"rdf:rdf.image",
|
|
10
|
-
"rdf:rdf.textinput"
|
|
11
|
-
]),
|
|
6
|
+
...require_config.namespaceStopNodes,
|
|
12
7
|
"rdf:rdf.channel.title",
|
|
13
8
|
"rdf:rdf.channel.link",
|
|
14
9
|
"rdf:rdf.channel.description",
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { namespacePrefixes, namespaceStopNodes, namespaceUris, parserConfig } from "../../../common/config.js";
|
|
2
|
-
import { createNamespaceNormalizator
|
|
2
|
+
import { createNamespaceNormalizator } from "../../../common/utils.js";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
//#region src/feeds/rdf/parse/config.ts
|
|
5
5
|
const stopNodes = [
|
|
6
|
-
...
|
|
7
|
-
"rdf:rdf.channel",
|
|
8
|
-
"rdf:rdf.item",
|
|
9
|
-
"rdf:rdf.image",
|
|
10
|
-
"rdf:rdf.textinput"
|
|
11
|
-
]),
|
|
6
|
+
...namespaceStopNodes,
|
|
12
7
|
"rdf:rdf.channel.title",
|
|
13
8
|
"rdf:rdf.channel.link",
|
|
14
9
|
"rdf:rdf.channel.description",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.cjs";
|
|
2
2
|
import { RdfFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rdf/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => RdfFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.js";
|
|
2
2
|
import { RdfFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rdf/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => RdfFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -28,7 +28,6 @@ import { PrismNs } from "../../../namespaces/prism/common/types.cjs";
|
|
|
28
28
|
import { RawVoiceNs } from "../../../namespaces/rawvoice/common/types.cjs";
|
|
29
29
|
import { SourceNs } from "../../../namespaces/source/common/types.cjs";
|
|
30
30
|
import { SpotifyNs } from "../../../namespaces/spotify/common/types.cjs";
|
|
31
|
-
|
|
32
31
|
//#region src/feeds/rss/common/types.d.ts
|
|
33
32
|
declare namespace RssFeed {
|
|
34
33
|
type Person = {
|
|
@@ -28,7 +28,6 @@ import { PrismNs } from "../../../namespaces/prism/common/types.js";
|
|
|
28
28
|
import { RawVoiceNs } from "../../../namespaces/rawvoice/common/types.js";
|
|
29
29
|
import { SourceNs } from "../../../namespaces/source/common/types.js";
|
|
30
30
|
import { SpotifyNs } from "../../../namespaces/spotify/common/types.js";
|
|
31
|
-
|
|
32
31
|
//#region src/feeds/rss/common/types.d.ts
|
|
33
32
|
declare namespace RssFeed {
|
|
34
33
|
type Person = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXml } from "../../../common/types.cjs";
|
|
2
2
|
import { RssFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rss/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainXml<RssFeed.Feed<DateLike>, RssFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXml } from "../../../common/types.js";
|
|
2
2
|
import { RssFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rss/generate/index.d.ts
|
|
5
4
|
declare const generate: GenerateMainXml<RssFeed.Feed<DateLike>, RssFeed.Feed<Date, true>>;
|
|
6
5
|
//#endregion
|
|
@@ -25,12 +25,7 @@ const sharedStopNodes = [
|
|
|
25
25
|
"item.source"
|
|
26
26
|
];
|
|
27
27
|
const stopNodes = [
|
|
28
|
-
...
|
|
29
|
-
"rss.channel",
|
|
30
|
-
"rss.channel.item",
|
|
31
|
-
"rss",
|
|
32
|
-
"rss.item"
|
|
33
|
-
]),
|
|
28
|
+
...require_config.namespaceStopNodes,
|
|
34
29
|
"rss.channel.title",
|
|
35
30
|
"rss.channel.link",
|
|
36
31
|
"rss.channel.description",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { namespacePrefixes, namespaceStopNodes, namespaceUris, parserConfig } from "../../../common/config.js";
|
|
2
|
-
import { createNamespaceNormalizator
|
|
2
|
+
import { createNamespaceNormalizator } from "../../../common/utils.js";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
//#region src/feeds/rss/parse/config.ts
|
|
5
5
|
const sharedStopNodes = [
|
|
@@ -25,12 +25,7 @@ const sharedStopNodes = [
|
|
|
25
25
|
"item.source"
|
|
26
26
|
];
|
|
27
27
|
const stopNodes = [
|
|
28
|
-
...
|
|
29
|
-
"rss.channel",
|
|
30
|
-
"rss.channel.item",
|
|
31
|
-
"rss",
|
|
32
|
-
"rss.item"
|
|
33
|
-
]),
|
|
28
|
+
...namespaceStopNodes,
|
|
34
29
|
"rss.channel.title",
|
|
35
30
|
"rss.channel.link",
|
|
36
31
|
"rss.channel.description",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.cjs";
|
|
2
2
|
import { RssFeed } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rss/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => RssFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ParseMainOptions } from "../../../common/types.js";
|
|
2
2
|
import { RssFeed } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/feeds/rss/parse/index.d.ts
|
|
5
4
|
declare const parse: <TDate = string>(value: unknown, options?: ParseMainOptions<TDate>) => RssFeed.Feed<TDate>;
|
|
6
5
|
//#endregion
|
package/dist/index.d.cts
CHANGED
|
@@ -52,7 +52,6 @@ import { parse as parse$5 } from "./feeds/rss/parse/index.cjs";
|
|
|
52
52
|
import { Opml } from "./opml/common/types.cjs";
|
|
53
53
|
import { generate as generate$2 } from "./opml/generate/index.cjs";
|
|
54
54
|
import { parse as parse$3 } from "./opml/parse/index.cjs";
|
|
55
|
-
|
|
56
55
|
//#region src/index.d.ts
|
|
57
56
|
/** @deprecated Use `RssFeed` instead. Will be removed in the next major version. */
|
|
58
57
|
declare namespace Rss {
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,6 @@ import { parse as parse$5 } from "./feeds/rss/parse/index.js";
|
|
|
52
52
|
import { Opml } from "./opml/common/types.js";
|
|
53
53
|
import { generate as generate$2 } from "./opml/generate/index.js";
|
|
54
54
|
import { parse as parse$3 } from "./opml/parse/index.js";
|
|
55
|
-
|
|
56
55
|
//#region src/index.d.ts
|
|
57
56
|
/** @deprecated Use `RssFeed` instead. Will be removed in the next major version. */
|
|
58
57
|
declare namespace Rss {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DeepOmit } from "../../../common/types.cjs";
|
|
2
2
|
import { AtomFeed } from "../../../feeds/atom/common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/namespaces/atom/common/types.d.ts
|
|
5
4
|
type NsKeys = 'admin' | 'app' | 'arxiv' | 'cc' | 'creativeCommons' | 'dc' | 'dcterms' | 'geo' | 'georss' | 'googleplay' | 'itunes' | 'media' | 'opensearch' | 'pingback' | 'psc' | 'slash' | 'sy' | 'thr' | 'trackback' | 'wfw' | 'yt';
|
|
6
5
|
declare namespace AtomNs {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DeepOmit } from "../../../common/types.js";
|
|
2
2
|
import { AtomFeed } from "../../../feeds/atom/common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/namespaces/atom/common/types.d.ts
|
|
5
4
|
type NsKeys = 'admin' | 'app' | 'arxiv' | 'cc' | 'creativeCommons' | 'dc' | 'dcterms' | 'geo' | 'georss' | 'googleplay' | 'itunes' | 'media' | 'opensearch' | 'pingback' | 'psc' | 'slash' | 'sy' | 'thr' | 'trackback' | 'wfw' | 'yt';
|
|
6
5
|
declare namespace AtomNs {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Requirable, Strict } from "../../../common/types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/itunes/common/types.d.ts
|
|
4
3
|
declare namespace ItunesNs {
|
|
5
4
|
type BaseCategory<TStrict extends boolean = false> = Strict<{
|
|
@@ -21,9 +20,12 @@ declare namespace ItunesNs {
|
|
|
21
20
|
episode?: number;
|
|
22
21
|
season?: number;
|
|
23
22
|
episodeType?: string;
|
|
24
|
-
block?: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
block?: boolean;
|
|
24
|
+
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
|
|
25
|
+
summary?: string;
|
|
26
|
+
/** @deprecated No longer used by Apple Podcasts. */
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/** @deprecated No longer used for search in Apple Podcasts. */
|
|
27
29
|
keywords?: Array<string>;
|
|
28
30
|
};
|
|
29
31
|
type Feed<TStrict extends boolean = false> = {
|
|
@@ -36,10 +38,14 @@ declare namespace ItunesNs {
|
|
|
36
38
|
newFeedUrl?: string;
|
|
37
39
|
block?: boolean;
|
|
38
40
|
complete?: boolean;
|
|
39
|
-
applePodcastsVerify?: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
applePodcastsVerify?: string;
|
|
42
|
+
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
|
|
43
|
+
summary?: string;
|
|
44
|
+
/** @deprecated No longer used by Apple Podcasts. */
|
|
45
|
+
subtitle?: string;
|
|
46
|
+
/** @deprecated No longer used for search in Apple Podcasts. */
|
|
47
|
+
keywords?: Array<string>;
|
|
48
|
+
/** @deprecated No longer supported by Apple Podcasts. */
|
|
43
49
|
owner?: Owner;
|
|
44
50
|
};
|
|
45
51
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Requirable, Strict } from "../../../common/types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/itunes/common/types.d.ts
|
|
4
3
|
declare namespace ItunesNs {
|
|
5
4
|
type BaseCategory<TStrict extends boolean = false> = Strict<{
|
|
@@ -21,9 +20,12 @@ declare namespace ItunesNs {
|
|
|
21
20
|
episode?: number;
|
|
22
21
|
season?: number;
|
|
23
22
|
episodeType?: string;
|
|
24
|
-
block?: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
block?: boolean;
|
|
24
|
+
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
|
|
25
|
+
summary?: string;
|
|
26
|
+
/** @deprecated No longer used by Apple Podcasts. */
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/** @deprecated No longer used for search in Apple Podcasts. */
|
|
27
29
|
keywords?: Array<string>;
|
|
28
30
|
};
|
|
29
31
|
type Feed<TStrict extends boolean = false> = {
|
|
@@ -36,10 +38,14 @@ declare namespace ItunesNs {
|
|
|
36
38
|
newFeedUrl?: string;
|
|
37
39
|
block?: boolean;
|
|
38
40
|
complete?: boolean;
|
|
39
|
-
applePodcastsVerify?: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
applePodcastsVerify?: string;
|
|
42
|
+
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
|
|
43
|
+
summary?: string;
|
|
44
|
+
/** @deprecated No longer used by Apple Podcasts. */
|
|
45
|
+
subtitle?: string;
|
|
46
|
+
/** @deprecated No longer used for search in Apple Podcasts. */
|
|
47
|
+
keywords?: Array<string>;
|
|
48
|
+
/** @deprecated No longer supported by Apple Podcasts. */
|
|
43
49
|
owner?: Owner;
|
|
44
50
|
};
|
|
45
51
|
}
|
|
@@ -73,10 +73,14 @@ declare namespace PrismNs {
|
|
|
73
73
|
locations?: Array<string>;
|
|
74
74
|
objects?: Array<string>;
|
|
75
75
|
profession?: string;
|
|
76
|
-
sport?: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
sport?: string;
|
|
77
|
+
/** @deprecated Since PRISM 3.0. Use pur:embargoDate instead. */
|
|
78
|
+
embargoDate?: TDate;
|
|
79
|
+
/** @deprecated Since PRISM 3.0. Use pur:copyrightDate instead. */
|
|
80
|
+
copyright?: string;
|
|
81
|
+
/** @deprecated Since PRISM 3.0. Use pur:expirationDate instead. */
|
|
82
|
+
expirationDate?: TDate;
|
|
83
|
+
/** @deprecated Since PRISM 3.0. Use pur:rightsAgent instead. */
|
|
80
84
|
rightsAgent?: string;
|
|
81
85
|
};
|
|
82
86
|
type Item<TDate> = {
|
|
@@ -135,10 +139,14 @@ declare namespace PrismNs {
|
|
|
135
139
|
ratings?: Array<string>;
|
|
136
140
|
timePeriod?: string;
|
|
137
141
|
versionIdentifier?: string;
|
|
138
|
-
tickers?: Array<string>;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
tickers?: Array<string>;
|
|
143
|
+
/** @deprecated Since PRISM 3.0. Use pur:embargoDate instead. */
|
|
144
|
+
embargoDate?: TDate;
|
|
145
|
+
/** @deprecated Since PRISM 3.0. Use pur:copyrightDate instead. */
|
|
146
|
+
copyright?: string;
|
|
147
|
+
/** @deprecated Since PRISM 3.0. Use pur:expirationDate instead. */
|
|
148
|
+
expirationDate?: TDate;
|
|
149
|
+
/** @deprecated Since PRISM 3.0. Use pur:rightsAgent instead. */
|
|
142
150
|
rightsAgent?: string;
|
|
143
151
|
};
|
|
144
152
|
}
|
|
@@ -73,10 +73,14 @@ declare namespace PrismNs {
|
|
|
73
73
|
locations?: Array<string>;
|
|
74
74
|
objects?: Array<string>;
|
|
75
75
|
profession?: string;
|
|
76
|
-
sport?: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
sport?: string;
|
|
77
|
+
/** @deprecated Since PRISM 3.0. Use pur:embargoDate instead. */
|
|
78
|
+
embargoDate?: TDate;
|
|
79
|
+
/** @deprecated Since PRISM 3.0. Use pur:copyrightDate instead. */
|
|
80
|
+
copyright?: string;
|
|
81
|
+
/** @deprecated Since PRISM 3.0. Use pur:expirationDate instead. */
|
|
82
|
+
expirationDate?: TDate;
|
|
83
|
+
/** @deprecated Since PRISM 3.0. Use pur:rightsAgent instead. */
|
|
80
84
|
rightsAgent?: string;
|
|
81
85
|
};
|
|
82
86
|
type Item<TDate> = {
|
|
@@ -135,10 +139,14 @@ declare namespace PrismNs {
|
|
|
135
139
|
ratings?: Array<string>;
|
|
136
140
|
timePeriod?: string;
|
|
137
141
|
versionIdentifier?: string;
|
|
138
|
-
tickers?: Array<string>;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
tickers?: Array<string>;
|
|
143
|
+
/** @deprecated Since PRISM 3.0. Use pur:embargoDate instead. */
|
|
144
|
+
embargoDate?: TDate;
|
|
145
|
+
/** @deprecated Since PRISM 3.0. Use pur:copyrightDate instead. */
|
|
146
|
+
copyright?: string;
|
|
147
|
+
/** @deprecated Since PRISM 3.0. Use pur:expirationDate instead. */
|
|
148
|
+
expirationDate?: TDate;
|
|
149
|
+
/** @deprecated Since PRISM 3.0. Use pur:rightsAgent instead. */
|
|
142
150
|
rightsAgent?: string;
|
|
143
151
|
};
|
|
144
152
|
}
|
|
@@ -19,7 +19,10 @@ const isPlainObject = (value) => {
|
|
|
19
19
|
};
|
|
20
20
|
const whitespaceOnlyRegex = /^\p{White_Space}*$/u;
|
|
21
21
|
const isNonEmptyString = (value) => {
|
|
22
|
-
|
|
22
|
+
if (!isString(value) || value === "") return false;
|
|
23
|
+
const code = value.charCodeAt(0);
|
|
24
|
+
if (code > 32 && code < 127) return true;
|
|
25
|
+
return !whitespaceOnlyRegex.test(value);
|
|
23
26
|
};
|
|
24
27
|
//#endregion
|
|
25
28
|
exports.isBoolean = isBoolean;
|
|
@@ -19,7 +19,10 @@ const isPlainObject = (value) => {
|
|
|
19
19
|
};
|
|
20
20
|
const whitespaceOnlyRegex = /^\p{White_Space}*$/u;
|
|
21
21
|
const isNonEmptyString = (value) => {
|
|
22
|
-
|
|
22
|
+
if (!isString(value) || value === "") return false;
|
|
23
|
+
const code = value.charCodeAt(0);
|
|
24
|
+
if (code > 32 && code < 127) return true;
|
|
25
|
+
return !whitespaceOnlyRegex.test(value);
|
|
23
26
|
};
|
|
24
27
|
//#endregion
|
|
25
28
|
export { isBoolean, isNonEmptyString, isNumber, isObject, isPlainObject, isPresent, isString };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtraFields, ParseMainOptions as ParseMainOptions$1, Requirable, Strict } from "../../common/types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/opml/common/types.d.ts
|
|
4
3
|
type ParseMainOptions<TDate, TExtra extends ReadonlyArray<string> = ReadonlyArray<string>> = ParseMainOptions$1<TDate> & {
|
|
5
4
|
extraOutlineAttributes?: TExtra;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtraFields, ParseMainOptions as ParseMainOptions$1, Requirable, Strict } from "../../common/types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/opml/common/types.d.ts
|
|
4
3
|
type ParseMainOptions<TDate, TExtra extends ReadonlyArray<string> = ReadonlyArray<string>> = ParseMainOptions$1<TDate> & {
|
|
5
4
|
extraOutlineAttributes?: TExtra;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXmlOptions } from "../../common/types.cjs";
|
|
2
2
|
import { GenerateMainOptions, Opml } from "../common/types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/opml/generate/index.d.ts
|
|
5
4
|
declare const generate: <TExtra extends ReadonlyArray<string> = [], S extends boolean = false>(value: S extends true ? Opml.Document<Date, TExtra, true> : Opml.Document<DateLike, TExtra>, options?: GenerateMainXmlOptions<GenerateMainOptions<TExtra>, S>) => string;
|
|
6
5
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateLike, GenerateMainXmlOptions } from "../../common/types.js";
|
|
2
2
|
import { GenerateMainOptions, Opml } from "../common/types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/opml/generate/index.d.ts
|
|
5
4
|
declare const generate: <TExtra extends ReadonlyArray<string> = [], S extends boolean = false>(value: S extends true ? Opml.Document<Date, TExtra, true> : Opml.Document<DateLike, TExtra>, options?: GenerateMainXmlOptions<GenerateMainOptions<TExtra>, S>) => string;
|
|
6
5
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Opml, ParseMainOptions } from "../common/types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/opml/parse/index.d.ts
|
|
4
3
|
declare const parse: <TDate = string, const TExtra extends ReadonlyArray<string> = ReadonlyArray<string>>(value: string, options?: ParseMainOptions<TDate, TExtra>) => Opml.Document<TDate, TExtra>;
|
|
5
4
|
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Opml, ParseMainOptions } from "../common/types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/opml/parse/index.d.ts
|
|
4
3
|
declare const parse: <TDate = string, const TExtra extends ReadonlyArray<string> = ReadonlyArray<string>>(value: string, options?: ParseMainOptions<TDate, TExtra>) => Opml.Document<TDate, TExtra>;
|
|
5
4
|
//#endregion
|
package/package.json
CHANGED
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"entities": "^7.0.1",
|
|
58
|
-
"fast-xml-parser": "~5.
|
|
58
|
+
"fast-xml-parser": "~5.10.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/bun": "^1.3.14",
|
|
62
|
-
"kvalita": "^1.
|
|
63
|
-
"trousse": "^1.
|
|
64
|
-
"tsdown": "^0.22.
|
|
65
|
-
"vitepress": "^2.0.0-alpha.
|
|
62
|
+
"kvalita": "^1.16.0",
|
|
63
|
+
"trousse": "^1.1.1",
|
|
64
|
+
"tsdown": "^0.22.7",
|
|
65
|
+
"vitepress": "^2.0.0-alpha.18"
|
|
66
66
|
},
|
|
67
|
-
"version": "3.0.0-rc.
|
|
67
|
+
"version": "3.0.0-rc.2"
|
|
68
68
|
}
|