@cosyte/dates 0.1.2 → 0.1.3

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 (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +19 -4
  3. package/package.json +15 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 8c85aa7: The README follows the house layout, with sections for support and security, and the installation page names Node 26, which CI now tests.
8
+
3
9
  ## 0.1.2
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -10,8 +10,8 @@
10
10
  > Work with the dates the @cosyte/* parsers give you, without losing what the wire actually said.
11
11
 
12
12
  [![npm version](https://img.shields.io/npm/v/@cosyte/dates.svg)](https://www.npmjs.com/package/@cosyte/dates)
13
- [![CI](https://github.com/cosyte/dates/actions/workflows/ci.yml/badge.svg)](https://github.com/cosyte/dates/actions/workflows/ci.yml)
14
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/cosyte/dates/blob/main/LICENSE)
13
+ [![CI](https://img.shields.io/github/actions/workflow/status/cosyte/dates/ci.yml?branch=main&label=CI)](https://github.com/cosyte/dates/actions/workflows/ci.yml)
14
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/cosyte/dates/blob/main/LICENSE)
15
15
  [![Node](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg)](https://nodejs.org)
16
16
 
17
17
  Date and time utilities for the @cosyte/* healthcare parsers: precision-preserving conversion and validation that never guesses a timezone.
@@ -59,7 +59,7 @@ Not covered on the 0.1 line, and named so the boundary is not a surprise:
59
59
  pnpm add @cosyte/dates
60
60
  ```
61
61
 
62
- Node.js 22 or later, tested on 22 and 24. ESM only: this package ships no
62
+ Node.js 22 or later, tested on 22, 24, and 26. ESM only: this package ships no
63
63
  CommonJS build, so `require()` will not load it.
64
64
 
65
65
  It carries exactly one runtime dependency, [`temporal-polyfill`][polyfill],
@@ -188,6 +188,19 @@ than one nanosecond, an offset on a value that states no time of day, and any
188
188
  zone abbreviation such as `CST` (they are ambiguous across regions, so an IANA
189
189
  identifier or a numeric offset is required).
190
190
 
191
+ ## Support
192
+
193
+ Questions and bug reports go in [GitHub issues](https://github.com/cosyte/dates/issues). Use
194
+ synthetic values only: a date of birth or an admission time from a real patient is PHI, so reduce a
195
+ report to made-up parts that reproduce it. For help with an integration, see our
196
+ [integration services](https://cosyte.com/integration-services).
197
+
198
+ ## Security
199
+
200
+ Report a vulnerability privately, never in a public issue, and with no real patient data in it. Our
201
+ [security policy](https://github.com/cosyte/dates/security/policy) says how. A conversion that
202
+ silently moves a value, rather than refusing, is worth reporting that way.
203
+
191
204
  ## Contributing
192
205
 
193
206
  Issues and pull requests are welcome at
@@ -198,4 +211,6 @@ needs one that pins the exact output rather than a shape.
198
211
 
199
212
  ## License
200
213
 
201
- MIT, copyright Cosyte LLC. See [LICENSE](https://github.com/cosyte/dates/blob/main/LICENSE).
214
+ MIT, copyright Cosyte LLC. See [LICENSE](https://github.com/cosyte/dates/blob/main/LICENSE). The
215
+ standards this package names belong to their owners; see
216
+ [TRADEMARKS.md](https://github.com/cosyte/dates/blob/main/TRADEMARKS.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/dates",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Date and time utilities for the @cosyte/* healthcare parsers: precision-preserving conversion and validation that never guesses a timezone.",
5
5
  "license": "MIT",
6
6
  "author": "Cosyte",
@@ -54,12 +54,12 @@
54
54
  "devDependencies": {
55
55
  "@arethetypeswrong/cli": "0.18.4",
56
56
  "@changesets/cli": "2.31.0",
57
- "@cosyte/eslint-config": "^0.1.1",
58
- "@cosyte/prettier-config": "^0.1.1",
59
- "@cosyte/script-utils": "^0.1.2",
60
- "@cosyte/tsconfig": "^0.1.1",
61
- "@cosyte/tsup-config": "^0.1.1",
62
- "@cosyte/vitest-config": "^0.1.1",
57
+ "@cosyte/eslint-config": "^0.1.2",
58
+ "@cosyte/prettier-config": "^0.1.2",
59
+ "@cosyte/script-utils": "^0.1.4",
60
+ "@cosyte/tsconfig": "^0.1.2",
61
+ "@cosyte/tsup-config": "^0.1.2",
62
+ "@cosyte/vitest-config": "^0.1.2",
63
63
  "@types/node": "22.20.1",
64
64
  "@vitest/coverage-v8": "4.1.11",
65
65
  "eslint": "10.9.1",
@@ -75,6 +75,11 @@
75
75
  "build": "tsup",
76
76
  "changeset": "changeset",
77
77
  "typecheck": "tsc --noEmit",
78
+ "phi-scan": "cosyte-phi-scan",
79
+ "check:readme": "cosyte-readme",
80
+ "check:claude-card": "cosyte-claude-card",
81
+ "check:agent-notes": "cosyte-agent-notes",
82
+ "check:catalog": "cosyte-catalog",
78
83
  "lint": "eslint . --max-warnings=0",
79
84
  "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,md}\" \"docs-content/**/*.{md,json}\" \"*.{ts,json,md,yml}\"",
80
85
  "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,md}\" \"docs-content/**/*.{md,json}\" \"*.{ts,json,md,yml}\"",
@@ -83,10 +88,10 @@
83
88
  "test:tz": "TZ=UTC vitest run && TZ=Pacific/Kiritimati vitest run",
84
89
  "examples": "tsx scripts/run-examples.ts",
85
90
  "clean": "rm -rf dist coverage .tmp dist-artifacts",
86
- "attw": "node scripts/attw.mjs --profile esm-only",
91
+ "attw": "cosyte-attw",
87
92
  "pack:docs": "bash scripts/build-docs-artifacts.sh",
88
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
89
- "check:no-internal-refs": "node scripts/check-no-internal-refs.mjs",
93
+ "check:no-emdash": "cosyte-no-emdash",
94
+ "check:no-internal-refs": "cosyte-internal-refs",
90
95
  "version": "changeset version && prettier --write package.json CHANGELOG.md",
91
96
  "release": "changeset publish"
92
97
  }