@interstellar-tools/constants 0.48.0 → 0.50.0

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.
@@ -1,9 +1,9 @@
1
- export * from './asteroid-belts';
2
- export * from './asteroids';
3
- export * from './comets';
4
- export * from './galaxies';
5
- export * from './moons';
6
- export * from './planets';
7
- export * from './stars';
8
- export * from './systems';
1
+ export * from './asteroid-belts.js';
2
+ export * from './asteroids.js';
3
+ export * from './comets.js';
4
+ export * from './galaxies.js';
5
+ export * from './moons.js';
6
+ export * from './planets.js';
7
+ export * from './stars.js';
8
+ export * from './systems.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bodies/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AAEjC,cAAc,aAAa,CAAC;AAE5B,cAAc,UAAU,CAAC;AAEzB,cAAc,YAAY,CAAC;AAE3B,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bodies/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,aAAa,CAAC;AAE5B,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC"}
@@ -1,9 +1,9 @@
1
- export * from './asteroid-belts';
2
- export * from './asteroids';
3
- export * from './comets';
4
- export * from './galaxies';
5
- export * from './moons';
6
- export * from './planets';
7
- export * from './stars';
8
- export * from './systems';
1
+ export * from './asteroid-belts.js';
2
+ export * from './asteroids.js';
3
+ export * from './comets.js';
4
+ export * from './galaxies.js';
5
+ export * from './moons.js';
6
+ export * from './planets.js';
7
+ export * from './stars.js';
8
+ export * from './systems.js';
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bodies/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AAEjC,cAAc,aAAa,CAAC;AAE5B,cAAc,UAAU,CAAC;AAEzB,cAAc,YAAY,CAAC;AAE3B,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bodies/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,aAAa,CAAC;AAE5B,cAAc,eAAe,CAAC;AAE9B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC;AAE7B,cAAc,YAAY,CAAC;AAE3B,cAAc,cAAc,CAAC"}
package/dist/distance.js CHANGED
@@ -1,4 +1,4 @@
1
- import { JULIAN_YEAR_SECONDS } from './temporal';
1
+ import { JULIAN_YEAR_SECONDS } from './temporal.js';
2
2
  /**
3
3
  * Core **astronomical distance constants** and **conversion ratios**.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"distance.js","sourceRoot":"","sources":["../src/distance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;;;;;;;;;GAaG;AAEH,0BAA0B;AAE1B;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,SAAoB,CAAC,CAAC,aAAa;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,YAAwB,CAAC;AAElD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,sBAAsB,GAAG,mBAAmB,CAAC,CAAC,wBAAwB;AAEnG;;;;;;;;;;GAUG;AACH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CAAC,CAAC,CAAC,qBAAqB;AAE/F,wDAAwD;AAExD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC,CAAC,uBAAuB;AAE3E;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,GAAG,SAAS,CAAC;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,GAAG,IAAK,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,aAAa;AAErE;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,GAAG,SAAS,CAAC"}
package/dist/index.d.ts CHANGED
@@ -3,11 +3,11 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
- export * from './date';
7
- export * from './distance';
8
- export * from './math';
9
- export * from './objects';
10
- export * from './temporal';
11
- export * from './physics';
12
- export * from './bodies';
6
+ export * from './date.js';
7
+ export * from './distance.js';
8
+ export * from './math.js';
9
+ export * from './objects.js';
10
+ export * from './temporal.js';
11
+ export * from './physics.js';
12
+ export * from './bodies/index.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,QAAQ,CAAC;AAEvB,cAAc,YAAY,CAAC;AAE3B,cAAc,QAAQ,CAAC;AAEvB,cAAc,WAAW,CAAC;AAE1B,cAAc,YAAY,CAAC;AAE3B,cAAc,WAAW,CAAC;AAE1B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,WAAW,CAAC;AAE1B,cAAc,eAAe,CAAC;AAE9B,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAE7B,cAAc,eAAe,CAAC;AAE9B,cAAc,cAAc,CAAC;AAE7B,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
- export * from './date';
7
- export * from './distance';
8
- export * from './math';
9
- export * from './objects';
10
- export * from './temporal';
11
- export * from './physics';
12
- export * from './bodies';
6
+ export * from './date.js';
7
+ export * from './distance.js';
8
+ export * from './math.js';
9
+ export * from './objects.js';
10
+ export * from './temporal.js';
11
+ export * from './physics.js';
12
+ export * from './bodies/index.js';
13
13
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,QAAQ,CAAC;AAEvB,cAAc,YAAY,CAAC;AAE3B,cAAc,QAAQ,CAAC;AAEvB,cAAc,WAAW,CAAC;AAE1B,cAAc,YAAY,CAAC;AAE3B,cAAc,WAAW,CAAC;AAE1B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,WAAW,CAAC;AAE1B,cAAc,eAAe,CAAC;AAE9B,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAE7B,cAAc,eAAe,CAAC;AAE9B,cAAc,cAAc,CAAC;AAE7B,cAAc,mBAAmB,CAAC"}
package/dist/math.d.ts CHANGED
@@ -38,7 +38,7 @@
38
38
  *
39
39
  * @example
40
40
  * ```ts
41
- * import { TWO_PI } from "./constants";
41
+ * import { TWO_PI } from '@interstellar-tools/constants';
42
42
  *
43
43
  * // A quarter turn (π/2 radians)
44
44
  * const quarterTurn = 0.25 * TWO_PI; // ≈ 1.5707963267948966
package/dist/math.js CHANGED
@@ -38,7 +38,7 @@
38
38
  *
39
39
  * @example
40
40
  * ```ts
41
- * import { TWO_PI } from "./constants";
41
+ * import { TWO_PI } from '@interstellar-tools/constants';
42
42
  *
43
43
  * // A quarter turn (π/2 radians)
44
44
  * const quarterTurn = 0.25 * TWO_PI; // ≈ 1.5707963267948966
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interstellar-tools/constants",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "Authoritative physical and astronomical constants in SI units for consistent calculations.",
5
5
  "keywords": [
6
6
  "interstellar",
@@ -109,7 +109,7 @@
109
109
  "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\""
110
110
  },
111
111
  "dependencies": {
112
- "@interstellar-tools/types": "^0.5.0"
112
+ "@interstellar-tools/types": "^0.50.0"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@types/node": "^25.9.0",