@quario/csv 0.7.0 → 0.7.1
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 +32 -26
- package/README.md +13 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,65 +1,71 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @quario/csv
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 0.7.1
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
### Patch Changes
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
- **Every published README says where the documentation is.** Each package now
|
|
8
|
+
carries a Documentation section pointing at the reference, at the report schema
|
|
9
|
+
that normatively specifies what a report may declare, and at the package's own
|
|
10
|
+
API. The paragraphs that used to end on an unstated contract — the event
|
|
11
|
+
stream's field semantics, the style vocabulary, page columns, the Content
|
|
12
|
+
Security Policy a fragment with images needs, the formula mangling, and each
|
|
13
|
+
target's own contract — link the page that states it. Every link is an absolute
|
|
14
|
+
URL, so it resolves from the npm package page as readily as from an installed
|
|
15
|
+
copy.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- quario@0.8.0
|
|
9
18
|
|
|
10
|
-
##
|
|
19
|
+
## 0.7.0
|
|
11
20
|
|
|
12
|
-
###
|
|
21
|
+
### Minor Changes
|
|
13
22
|
|
|
14
23
|
- **Styled runs flatten to their joined text.** A cell value written as a list of
|
|
15
24
|
styled runs writes the runs' text as one field. This target withdraws every
|
|
16
25
|
style, and a run's is no different.
|
|
17
26
|
|
|
18
|
-
##
|
|
27
|
+
## 0.6.0
|
|
19
28
|
|
|
20
|
-
###
|
|
29
|
+
### Minor Changes
|
|
21
30
|
|
|
22
|
-
-
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- quario@0.6.0
|
|
23
33
|
|
|
24
|
-
##
|
|
34
|
+
## 0.5.0
|
|
25
35
|
|
|
26
|
-
###
|
|
36
|
+
### Minor Changes
|
|
27
37
|
|
|
28
38
|
- **Spans keep the record rectangular.** A cell covering several columns writes
|
|
29
39
|
its value in the first field it covers and leaves the rest empty, so every
|
|
30
40
|
record is the same width. This target reads no geometry, so there is nothing
|
|
31
41
|
here for a merge to mean.
|
|
32
42
|
|
|
33
|
-
##
|
|
43
|
+
## 0.4.0
|
|
34
44
|
|
|
35
|
-
###
|
|
45
|
+
### Minor Changes
|
|
36
46
|
|
|
37
|
-
-
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- quario@0.4.0
|
|
38
49
|
|
|
39
|
-
##
|
|
50
|
+
## 0.3.0
|
|
40
51
|
|
|
41
|
-
###
|
|
52
|
+
### Minor Changes
|
|
42
53
|
|
|
43
54
|
- **A table total emits N records.** Each `total-row` is one record, as
|
|
44
55
|
each data row is.
|
|
45
|
-
|
|
46
56
|
- **`format` is unread.** Bare interpolations stay `1000` / ISO dates, as
|
|
47
57
|
every other style is unread here.
|
|
48
|
-
|
|
49
58
|
- **`page.margin` and report-header `height` are unread.** This target has
|
|
50
59
|
no page to inset or pin on.
|
|
51
60
|
|
|
52
|
-
##
|
|
61
|
+
## 0.2.0
|
|
53
62
|
|
|
54
|
-
###
|
|
63
|
+
### Minor Changes
|
|
55
64
|
|
|
56
65
|
- **A split is one record, its slots the fields.** Slots are values beside
|
|
57
66
|
each other, which is what a record is. Slot widths go unread, as every width
|
|
58
67
|
is here. Images stay unread too, but a slot holding one still writes an
|
|
59
68
|
empty field, so the fields either side keep their positions.
|
|
60
|
-
|
|
61
|
-
### Changed
|
|
62
|
-
|
|
63
69
|
- **Display-text `Date`s join as ISO 8601 UTC.** A `Date` inside a mixed
|
|
64
70
|
cell (literal text plus interpolation) joined through `String(date)`, so
|
|
65
71
|
the field carried the host's timezone and locale. It now joins through the
|
|
@@ -67,9 +73,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
67
73
|
typed single-`Date` field has always used, so every `Date` in a CSV now
|
|
68
74
|
reads the same way.
|
|
69
75
|
|
|
70
|
-
##
|
|
76
|
+
## 0.1.0
|
|
71
77
|
|
|
72
|
-
###
|
|
78
|
+
### Minor Changes
|
|
73
79
|
|
|
74
80
|
- **CSV records in render order.** A bare interpolation stays typed text (a
|
|
75
81
|
number's decimal, a Date as ISO 8601 UTC); everything else is display text,
|
package/README.md
CHANGED
|
@@ -100,7 +100,8 @@ quoting.
|
|
|
100
100
|
**Display-text fields that would open as spreadsheet formulas are mangled.** A leading `=`,
|
|
101
101
|
`+`, `-`, `@`, TAB, or CR gets an apostrophe. A consumer that parses the file back does not
|
|
102
102
|
round-trip those fields. The XLSX target does the opposite: it writes an inert string and
|
|
103
|
-
does not mangle.
|
|
103
|
+
does not mangle. See
|
|
104
|
+
[The CSV target](https://getquario.com/docs/diving-deeper/csv-target/#design-decisions).
|
|
104
105
|
|
|
105
106
|
A hidden cell keeps its column slot as an empty field.
|
|
106
107
|
|
|
@@ -127,6 +128,17 @@ presence is normative. That a parser who stops before EOF will see it is best-ef
|
|
|
127
128
|
|
|
128
129
|
Same schema and data produce an identical string.
|
|
129
130
|
|
|
131
|
+
The full contract is [The CSV target](https://getquario.com/docs/diving-deeper/csv-target/),
|
|
132
|
+
with each declaration's fate in the
|
|
133
|
+
[support matrix](https://getquario.com/docs/reference/support-matrix/).
|
|
134
|
+
|
|
135
|
+
## Documentation
|
|
136
|
+
|
|
137
|
+
[The quario documentation](https://getquario.com/docs/) is the reference.
|
|
138
|
+
The [report schema](https://getquario.com/docs/reference/report-schema/) is the normative
|
|
139
|
+
specification of what a report may declare, and
|
|
140
|
+
[`@quario/csv`](https://getquario.com/docs/reference/csv/) is this package's own API.
|
|
141
|
+
|
|
130
142
|
## License
|
|
131
143
|
|
|
132
144
|
Commercial software with readable source. Free, unlimited, watermarked evaluation; per-developer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quario/csv",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "The CSV render target for quario — in the makings, not yet released",
|
|
5
5
|
"homepage": "https://getquario.com",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@arethetypeswrong/cli": "^0.18.3",
|
|
40
40
|
"@size-limit/preset-small-lib": "^13.0.3",
|
|
41
|
-
"quario": "^0.
|
|
41
|
+
"quario": "^0.8.0",
|
|
42
42
|
"size-limit": "^13.0.3",
|
|
43
43
|
"typescript": "^7.0.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"quario": "^0.
|
|
46
|
+
"quario": "^0.8.0"
|
|
47
47
|
},
|
|
48
48
|
"size-limit": [
|
|
49
49
|
{
|