@plurnk/plurnk-mimetypes-application-xml 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -12,7 +12,7 @@ npm i @plurnk/plurnk-mimetypes-application-xml
12
12
 
13
13
  Provides three channels per {§mimetype-channel-architecture}:
14
14
 
15
- - **symbols** (`extractRaw` / `preview`) — root element as a `module`; immediate children as `field` symbols named by `id` attribute, `name` attribute, or tag name (in that order of preference). Surfaces enough shape for the model to recognize "this is RSS / this is SOAP / this is a Maven pom" without dumping every leaf.
15
+ - **symbols** (`extractRaw`) — root element as a `module`; immediate children as `field` symbols named by `id` attribute, `name` attribute, or tag name (in that order of preference). Surfaces enough shape for the model to recognize "this is RSS / this is SOAP / this is a Maven pom" without dumping every leaf.
16
16
  - **deep-json** (`deepJson`) — full DOM tree as nested objects. Each element: `{ type: tagName, attrs: {...}, children: [...] }` per the framework's `attrs` convention. Text-only elements collapse to a `text` field; mixed content keeps text nodes as `{ type: "#text", text }` siblings.
17
17
  - **deep-xml** (framework-projected) — the deep-json projected back to XML via `projectJsonToXml`. xpath queries like `//book[@id='b1']/title` work naturally.
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-mimetypes-application-xml",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "application/xml and text/xml mimetype handler for plurnk-service. DOM-tree extraction via @xmldom/xmldom; xpath via the xpath package; framework structural projections.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -58,10 +58,10 @@
58
58
  "dependencies": {
59
59
  "@lezer/xml": "^1.0.6",
60
60
  "@xmldom/xmldom": "^0.9.10",
61
- "xpath": "^0.0.34"
61
+ "xpath": "^0.0.35"
62
62
  },
63
63
  "peerDependencies": {
64
- "@plurnk/plurnk-mimetypes": "^2.0.0"
64
+ "@plurnk/plurnk-mimetypes": "^3.0.0"
65
65
  },
66
66
  "homepage": "https://github.com/plurnk/plurnk-service/tree/main/plurnk-mimetypes-application-xml#readme",
67
67
  "bugs": {
@@ -72,5 +72,5 @@
72
72
  "url": "git+https://github.com/plurnk/plurnk-service.git",
73
73
  "directory": "plurnk-mimetypes-application-xml"
74
74
  },
75
- "gitHead": "3b2cae63115333d1b2e820abcf44b0fe4959d9ea"
75
+ "gitHead": "f96502a26d62a6f87b22950a9e2006348ac8a6bc"
76
76
  }