@neurowire/ingest 0.1.0 → 0.2.0
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/index.js +3 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -53,6 +53,9 @@ var parser = new XMLParser({
|
|
|
53
53
|
trimValues: true,
|
|
54
54
|
parseTagValue: false,
|
|
55
55
|
parseAttributeValue: false,
|
|
56
|
+
// Decode named and numeric HTML entities in text, e.g. ’ -> ’ and … -> …
|
|
57
|
+
// (fast-xml-parser only handles the five core XML entities without this).
|
|
58
|
+
htmlEntities: true,
|
|
56
59
|
// Feeds that embed full HTML can reference far more than the default 1000
|
|
57
60
|
// entities. Raise the count limit, but keep the total expanded length bounded
|
|
58
61
|
// so entity-expansion bombs (billion laughs) are still rejected.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neurowire/ingest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Fetch, detect, and parse RSS/Atom/RDF/JSON feeds and HTML pages into the Neurowire model.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"url": "https://github.com/starside-io/neurowire/issues"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
42
|
+
"node": ">=24"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"cheerio": "^1.0.0",
|
|
49
49
|
"fast-xml-parser": "^4.5.1",
|
|
50
50
|
"zod": "^3.24.1",
|
|
51
|
-
"@neurowire/core": "0.
|
|
51
|
+
"@neurowire/core": "0.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^22.10.5",
|