@cosyte/astm 0.0.5 → 0.0.6

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**
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, 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.6";
2203
2203
 
2204
2204
  exports.ALL_ASTM_WARNING_CODES = ALL_ASTM_WARNING_CODES;
2205
2205
  exports.AMBIGUOUS_CODES = AMBIGUOUS_CODES;