@cosyte/astm 0.0.5 → 0.0.7

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 CHANGED
@@ -113,6 +113,20 @@ phase 8` passes while `Phase 8` reds). An arm keyed on a following digit was wri
113
113
  script cannot read, so it gates dist's source, not dist. Fourteen `P\d+` lines and the falsehoods
114
114
  below were found by hand, not by a rule.
115
115
 
116
+ - **The Cosyte mark now opens the README, and follows the reader's color scheme**
117
+ (`ASSETS-P8`). A `<picture>` block above the H1 offers a dark-ground tile behind a
118
+ `prefers-color-scheme: dark` media query, with the light-ground tile as the inner `<img>`.
119
+ GitHub documents support for that switch; whether npm's README renderer honours it is the open
120
+ question this is meant to answer, and the founder will grade it by eye on the published page.
121
+
122
+ **The failure mode is safe.** If a renderer strips `<source>`, the inner `<img>` renders, so the
123
+ worst case is the light-ground tile on a dark page, never a missing or broken image.
124
+
125
+ This placement is **interim**. The per-package mark supersedes it once the direction is settled,
126
+ and the org tile is used here only because a matched light/dark pair already exists and the
127
+ per-package artwork has no light-ground variant yet, which would make the comparison
128
+ unreadable.
129
+
116
130
  ### Changed
117
131
 
118
132
  - **The em dash (U+2014) is gone from every tracked file, and a CI gate keeps it out**
@@ -191,6 +205,24 @@ phase 8` passes while `Phase 8` reds). An arm keyed on a following digit was wri
191
205
  `messages(msg).flatMap((m) => m.results)`: written out, so it is a choice rather than a
192
206
  default.
193
207
 
208
+ - **The alt text on the README's Cosyte mark now says how its two overlapping rounded squares
209
+ differ.** It read "a plus mark set in two overlapping rounded squares, beside the Cosyte
210
+ wordmark", which describes two shapes and nothing about what tells them apart. It now reads
211
+ "a plus mark set in two overlapping rounded squares, one solid and one outlined, beside the
212
+ Cosyte wordmark", which is what both tiles actually show: the rear square is filled and the
213
+ front one is drawn as an outline. A reader who cannot see the image was previously told there
214
+ were two shapes with no way to picture either.
215
+
216
+ This package was the first to carry the `<picture>` block, so it kept the wording that shipped
217
+ with it while the phrasing settled afterwards on the twelve surfaces that followed. The block is
218
+ now byte-for-byte the one the other twelve carry, copied rather than retyped, so the thirteen
219
+ agree by construction and not by proofreading. Nothing else about the block changed: the same two
220
+ tiles, the same media query, the same safe fallback to the light-ground tile.
221
+
222
+ **The front shape is very slightly taller than wide**, so "rounded squares" is a small
223
+ imprecision, and it is kept deliberately: it reads correctly aloud, and one wording across every
224
+ package is worth more than the millimetre.
225
+
194
226
  ### Fixed
195
227
 
196
228
  - **Emit no longer writes a stream it cannot read back** (`ASTM-EMIT-RESIDUALS`; both gaps shipped
package/README.md CHANGED
@@ -1,3 +1,8 @@
1
+ <picture>
2
+ <source media="(prefers-color-scheme: dark)" srcset="https://cosyte.com/tile/cosyte-lockup-tile-on-dark-1200x300.png">
3
+ <img alt="Cosyte: a plus mark set in two overlapping rounded squares, one solid and one outlined, beside the Cosyte wordmark" src="https://cosyte.com/tile/cosyte-lockup-tile-on-light-1200x300.png">
4
+ </picture>
5
+
1
6
  # @cosyte/astm
2
7
 
3
8
  > ASTM parser, serializer, and builder for Node.js and TypeScript: **lenient on parse,
package/dist/index.cjs CHANGED
@@ -2199,7 +2199,7 @@ function concatBytes3(chunks) {
2199
2199
  }
2200
2200
 
2201
2201
  // src/index.ts
2202
- var VERSION = "0.0.5";
2202
+ var VERSION = "0.0.7";
2203
2203
 
2204
2204
  exports.ALL_ASTM_WARNING_CODES = ALL_ASTM_WARNING_CODES;
2205
2205
  exports.AMBIGUOUS_CODES = AMBIGUOUS_CODES;