@interstellar-tools/temporal 0.60.0 → 0.60.2

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/README.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @interstellar-tools/temporal
2
2
 
3
+ Time and epoch utilities for space applications, from attoseconds to gigayears,
4
+ with unit normalisation and conversion that the rest of the stack builds on.
5
+
6
+ ## Documentation
7
+
8
+ The full documentation lives at
9
+ **[phun-ky.net/interstellar-tools](https://phun-ky.net/interstellar-tools/)**:
10
+
11
+ - [Getting started](https://phun-ky.net/interstellar-tools/guide/introduction/):
12
+ installation, unit conventions and recommended practices
13
+ - [API reference for `@interstellar-tools/temporal`](https://phun-ky.net/interstellar-tools/api/@interstellar-tools/temporal/):
14
+ every export, with formulas, parameters and examples
15
+
3
16
  ## Installation
4
17
 
5
18
  - [Node.js](https://nodejs.org/) version 22.9.0 or higher
@@ -21,7 +21,6 @@ import { TemporalInterface, TemporalUnitType } from '@interstellar-tools/types';
21
21
  * // seconds in a Julian year:
22
22
  * SECONDS_PER.yr; // 31_557_600
23
23
  * ```
24
- * @hidden
25
24
  */
26
25
  export declare const SECONDS_PER: Record<TemporalUnitType, number>;
27
26
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"convert-temporal-unit.d.ts","sourceRoot":"","sources":["../src/convert-temporal-unit.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIhF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAsBxD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,mBAAmB,GAC9B,MAAM,iBAAiB,EACvB,YAAY,gBAAgB,KAC3B,iBASF,CAAC"}
1
+ {"version":3,"file":"convert-temporal-unit.d.ts","sourceRoot":"","sources":["../src/convert-temporal-unit.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIhF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAsBxD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,mBAAmB,GAC9B,MAAM,iBAAiB,EACvB,YAAY,gBAAgB,KAC3B,iBASF,CAAC"}
@@ -22,7 +22,6 @@ import { normalizeTemporalUnit } from './normalize-temporal-unit.js';
22
22
  * // seconds in a Julian year:
23
23
  * SECONDS_PER.yr; // 31_557_600
24
24
  * ```
25
- * @hidden
26
25
  */
27
26
  export const SECONDS_PER = {
28
27
  // SI base & submultiples
@@ -1 +1 @@
1
- {"version":3,"file":"convert-temporal-unit.js","sourceRoot":"","sources":["../src/convert-temporal-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAqC;IAC3D,yBAAyB;IACzB,CAAC,EAAE,CAAC;IACJ,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IACT,EAAE,EAAE,KAAK;IAET,0BAA0B;IAC1B,GAAG,EAAE,EAAE;IACP,CAAC,EAAE,EAAE,GAAG,EAAE;IACV,CAAC,EAAE,eAAe;IAElB,kCAAkC;IAClC,EAAE,EAAE,mBAAmB;IACvB,GAAG,EAAE,mBAAmB,G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C,EAAE,EAAE,mBAAmB;IACvB,GAAG,EAAE,mBAAmB,GAAG,GAAG;IAC9B,GAAG,EAAE,mBAAmB,GAAG,GAAG;IAC9B,GAAG,EAAE,mBAAmB,GAAG,GAAG;CAC/B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAuB,EACvB,UAA4B,EACT,EAAE;IACrB,MAAM,oBAAoB,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAC/D,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC7B,2BAA2B;IAC3B,MAAM,SAAS,GAAG,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5C,4BAA4B;IAC5B,MAAM,cAAc,GAAG,SAAS,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAErE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;AAC/D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interstellar-tools/temporal",
3
- "version": "0.60.0",
3
+ "version": "0.60.2",
4
4
  "description": "Time and epoch utilities for space applications (e.g., building blocks toward Julian dates, conversions, and ephemeris-friendly time handling).",
5
5
  "keywords": [
6
6
  "temporal",
@@ -79,7 +79,7 @@
79
79
  "geo",
80
80
  "earth-sun"
81
81
  ],
82
- "homepage": "https://phun-ky.net/projects/interstellar-tools",
82
+ "homepage": "https://phun-ky.net/interstellar-tools/",
83
83
  "bugs": {
84
84
  "url": "https://github.com/phun-ky/interstellar-tools/issues"
85
85
  },
@@ -112,14 +112,13 @@
112
112
  "test:ci": "glob-bin -c \"node --import tsx --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"**/__tests__/**/*.spec.ts\""
113
113
  },
114
114
  "dependencies": {
115
- "@interstellar-tools/constants": "^0.60.0",
116
- "@interstellar-tools/types": "^0.60.0"
115
+ "@interstellar-tools/constants": "^0.61.0",
116
+ "@interstellar-tools/types": "^0.61.0"
117
117
  },
118
118
  "devDependencies": {
119
- "@types/node": "^24.19.1",
120
- "eslint": "^9.27.0",
121
- "eslint-config-phun-ky": "^1.0.3",
122
- "prettier": "^3.8.3",
119
+ "@types/node": "^24.19.2",
120
+ "fast-check": "4.10.2",
121
+ "prettier": "^3.9.10",
123
122
  "typescript": "^6.0.3"
124
123
  },
125
124
  "engines": {