tr-period-calc 1.0.0 → 1.0.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 +9 -0
- package/README.md +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this package are recorded here. The format follows
|
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). The source lives
|
|
6
6
|
at [github.com/rinne/node-tr-period-calc](https://github.com/rinne/node-tr-period-calc).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-11-22
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- The example CLI uses optist 3 (devDependency `^3.0.2`, was `^2.0.1`).
|
|
13
|
+
- The unused copy of `periodCalculator.js` at the top of the repository
|
|
14
|
+
is gone; the reference implementation the tests compare against is
|
|
15
|
+
`test/reference/periodCalculator.mjs`. Neither was in the npm package.
|
|
16
|
+
|
|
8
17
|
## [1.0.0] - 2026-11-17
|
|
9
18
|
|
|
10
19
|
### Added
|
package/README.md
CHANGED
|
@@ -413,7 +413,8 @@ fields a URI carries as strings.
|
|
|
413
413
|
## Relation to `periodCalculator.js`
|
|
414
414
|
|
|
415
415
|
This package supersedes `periodCalculator.js`, an earlier set of
|
|
416
|
-
standalone functions kept in the source repository for reference
|
|
416
|
+
standalone functions kept in the source repository for reference as
|
|
417
|
+
`test/reference/periodCalculator.mjs`.
|
|
417
418
|
Period indexes and starts are identical for every spec both accept, and
|
|
418
419
|
the test suite runs the legacy code side by side to keep it so. The
|
|
419
420
|
differences are deliberate:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-period-calc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Canonical sequential period indexing: fixed-length unix-time periods and calendar periods (day, week, month, year) in IANA time zones, with a self-contained URI form",
|
|
5
5
|
"main": "period-calc.js",
|
|
6
6
|
"files": [
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/rinne/node-tr-period-calc#readme",
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"optist": "^
|
|
44
|
+
"optist": "^3.0.2"
|
|
45
45
|
}
|
|
46
46
|
}
|