@plurnk/plurnk-mimetypes-text-csv 0.4.0 → 0.4.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 +6 -5
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm i @plurnk/plurnk-mimetypes-text-csv
11
11
  ## what it does
12
12
 
13
13
  - `validate(content)` walks all records with the bundled RFC 4180 tokenizer; throws on unbalanced quotes or non-uniform column count.
14
- - `extract(content)` emits one `field` symbol per header column (the first record), at line 1.
14
+ - `extractRaw(content)` emits one `field` symbol per header column (the first record), at line 1.
15
15
 
16
16
  CSV's structural signal is the header row's column names — that's what surfaces in `symbols`. The actual data body is best previewed via the framework's raw-content fallback.
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-mimetypes-text-csv",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "text/csv mimetype handler for plurnk-service. Homebrew RFC 4180 tokenizer; no parser dependency.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,11 +41,12 @@
41
41
  "build": "npm run build:dist",
42
42
  "prepare": "npm run build"
43
43
  },
44
- "dependencies": {
45
- "@plurnk/plurnk-mimetypes": "0.10.0"
46
- },
47
44
  "devDependencies": {
48
45
  "@types/node": "^25.8.0",
49
- "typescript": "^6.0.3"
46
+ "typescript": "^6.0.3",
47
+ "@plurnk/plurnk-mimetypes": "^0.15.0"
48
+ },
49
+ "peerDependencies": {
50
+ "@plurnk/plurnk-mimetypes": "^0.15.0"
50
51
  }
51
52
  }