@thi.ng/csv 2.3.115 → 2.3.117
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/CHANGELOG.md +3 -95
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -38,97 +40,3 @@ and/or version bumps of transitive dependencies.
|
|
|
38
40
|
#### 🚀 Features
|
|
39
41
|
|
|
40
42
|
- add oneOff() cell transform for enum like values ([7c297db](https://github.com/thi-ng/umbrella/commit/7c297db))
|
|
41
|
-
|
|
42
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@2.2.0) (2021-12-02)
|
|
43
|
-
|
|
44
|
-
#### 🚀 Features
|
|
45
|
-
|
|
46
|
-
- add currency formatters ([52b7340](https://github.com/thi-ng/umbrella/commit/52b7340))
|
|
47
|
-
- add more cell transforms, add docs ([23646bf](https://github.com/thi-ng/umbrella/commit/23646bf))
|
|
48
|
-
- add epoch(), date(), url() transforms
|
|
49
|
-
- add formatPercent()
|
|
50
|
-
- update readme
|
|
51
|
-
|
|
52
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@2.1.0) (2021-11-17)
|
|
53
|
-
|
|
54
|
-
#### 🚀 Features
|
|
55
|
-
|
|
56
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
57
|
-
Improving the overall build ergonomics
|
|
58
|
-
- introduced a tools workspaces
|
|
59
|
-
- imported it in all needed packages/examples
|
|
60
|
-
- inclusive project root
|
|
61
|
-
|
|
62
|
-
#### ♻️ Refactoring
|
|
63
|
-
|
|
64
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
65
|
-
this commit reverts (partly) changes made in:
|
|
66
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
67
|
-
overall purpose is better testament ergonomics:
|
|
68
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
69
|
-
having a binary to handle this for us.
|
|
70
|
-
|
|
71
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@2.0.1) (2021-10-13)
|
|
72
|
-
|
|
73
|
-
#### ♻️ Refactoring
|
|
74
|
-
|
|
75
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
76
|
-
- add .js suffix for all relative imports
|
|
77
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
78
|
-
|
|
79
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@2.0.0) (2021-10-12)
|
|
80
|
-
|
|
81
|
-
#### 🛑 Breaking changes
|
|
82
|
-
|
|
83
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
84
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
85
|
-
- only ESM modules will be published from now on
|
|
86
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
87
|
-
- i.e. launch NodeJS via:
|
|
88
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
89
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
90
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
91
|
-
Also:
|
|
92
|
-
- normalize/restructure/reorg all package.json files
|
|
93
|
-
- cleanup all build scripts, remove obsolete
|
|
94
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
95
|
-
|
|
96
|
-
#### 🚀 Features
|
|
97
|
-
|
|
98
|
-
- add formatCSV(), types, tests ([a2ca1b6](https://github.com/thi-ng/umbrella/commit/a2ca1b6))
|
|
99
|
-
|
|
100
|
-
#### ♻️ Refactoring
|
|
101
|
-
|
|
102
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
103
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
104
|
-
- update imports ([6b102d0](https://github.com/thi-ng/umbrella/commit/6b102d0))
|
|
105
|
-
- update imports (transducers) ([4bdecc9](https://github.com/thi-ng/umbrella/commit/4bdecc9))
|
|
106
|
-
|
|
107
|
-
### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@0.1.2) (2020-12-07)
|
|
108
|
-
|
|
109
|
-
#### ♻️ Refactoring
|
|
110
|
-
|
|
111
|
-
- update type-only imports ([32cfc25](https://github.com/thi-ng/umbrella/commit/32cfc25))
|
|
112
|
-
|
|
113
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csv@0.1.0) (2020-11-24)
|
|
114
|
-
|
|
115
|
-
#### 🚀 Features
|
|
116
|
-
|
|
117
|
-
- import as new package ([2b07100](https://github.com/thi-ng/umbrella/commit/2b07100))
|
|
118
|
-
- add coercions, restructure ([93d79ec](https://github.com/thi-ng/umbrella/commit/93d79ec))
|
|
119
|
-
- add/update CSVOpts, cell transforms, docs ([282e85c](https://github.com/thi-ng/umbrella/commit/282e85c))
|
|
120
|
-
- allow arrays for `cols` option
|
|
121
|
-
- update initIndex(), add column autonaming fallback
|
|
122
|
-
- refactor parseCSV()
|
|
123
|
-
- rename CoercionFn => CellTransform
|
|
124
|
-
- add upper/lower() transforms
|
|
125
|
-
- add/update tests
|
|
126
|
-
|
|
127
|
-
#### 🩹 Bug fixes
|
|
128
|
-
|
|
129
|
-
- add quoting/newline support in header fields ([28cac18](https://github.com/thi-ng/umbrella/commit/28cac18))
|
|
130
|
-
- add tests
|
|
131
|
-
|
|
132
|
-
#### ♻️ Refactoring
|
|
133
|
-
|
|
134
|
-
- update parseLine() ([4ae49e6](https://github.com/thi-ng/umbrella/commit/4ae49e6))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/csv",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.117",
|
|
4
4
|
"description": "Customizable, transducer-based CSV parser/object mapper and transformer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,16 +40,15 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/checks": "^3.6.
|
|
45
|
-
"@thi.ng/strings": "^3.9.
|
|
46
|
-
"@thi.ng/transducers": "^9.2.
|
|
43
|
+
"@thi.ng/api": "^8.11.18",
|
|
44
|
+
"@thi.ng/checks": "^3.6.21",
|
|
45
|
+
"@thi.ng/strings": "^3.9.3",
|
|
46
|
+
"@thi.ng/transducers": "^9.2.16"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
50
49
|
"esbuild": "^0.24.2",
|
|
51
50
|
"typedoc": "^0.27.6",
|
|
52
|
-
"typescript": "^5.7.
|
|
51
|
+
"typescript": "^5.7.3"
|
|
53
52
|
},
|
|
54
53
|
"keywords": [
|
|
55
54
|
"csv",
|
|
@@ -89,5 +88,5 @@
|
|
|
89
88
|
"thi.ng": {
|
|
90
89
|
"year": 2014
|
|
91
90
|
},
|
|
92
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
93
92
|
}
|