head-metadata 0.0.10 → 0.0.12

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.
@@ -1,7 +1,7 @@
1
1
  export declare const linkExtractor: {
2
2
  type: "collection";
3
3
  parent: "link";
4
- callback: (node: import("../types").TXmlNode) => {
4
+ callback: (node: import("..").TXmlNode) => {
5
5
  key: string;
6
6
  value: string;
7
7
  } | null;
@@ -1,7 +1,7 @@
1
1
  export declare const metaExtractor: {
2
2
  type: "collection";
3
3
  parent: "meta";
4
- callback: (node: import("../types").TXmlNode) => {
4
+ callback: (node: import("..").TXmlNode) => {
5
5
  key: string;
6
6
  value: string;
7
7
  } | null;
@@ -1,5 +1,5 @@
1
1
  export declare const titleExtractor: {
2
2
  type: "single";
3
3
  key: "title";
4
- callback: (node: import("../types").TXmlNode) => string | null;
4
+ callback: (node: import("..").TXmlNode) => string | null;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "head-metadata",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "description": "Typesafe and straightforward utility for extracting structured metadata (like `<meta>`, `<title>`, and `<link>`) from the `<head>` of an HTML document",
6
6
  "keywords": [],
@@ -23,11 +23,11 @@
23
23
  "README.md"
24
24
  ],
25
25
  "dependencies": {
26
- "xml-tokenizer": "0.0.43"
26
+ "xml-tokenizer": "0.0.45"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/node": "^24.10.0",
30
- "rollup-presets": "0.0.25"
29
+ "@types/node": "^25.5.2",
30
+ "rollup-presets": "0.0.27"
31
31
  },
32
32
  "size-limit": [
33
33
  {