diff --git a/examples/sensor.ts b/examples/sensor.ts index f44819f..23e39cf 100644 --- a/examples/sensor.ts +++ b/examples/sensor.ts @@ -1,9 +1,19 @@ /* eslint-disable no-console */ -import { Sensor } from '../src/objects'; -import { Satellite } from '../src/objects/Satellite'; -import { Degrees, Kilometers, SensorParams, SpaceObjectType, TleLine1, TleLine2 } from '../src/ootk'; -import { calcGmst, ecf2eci, eci2lla, eci2rae } from '../src/transforms/transforms'; -import { DEG2RAD } from '../src/utils/constants'; +import { + calcGmst, + DEG2RAD, + Degrees, + ecf2eci, + eci2lla, + eci2rae, + Kilometers, + Satellite, + Sensor, + SensorParams, + SpaceObjectType, + TleLine1, + TleLine2, +} from '../lib/ootk-core'; const capeCodRadar = new Sensor({ lat: 41.754785, diff --git a/examples/sun.ts b/examples/sun.ts index 7428ed4..d445f1c 100644 --- a/examples/sun.ts +++ b/examples/sun.ts @@ -1,5 +1,4 @@ -import { Degrees, Meters } from '@src/ootk'; -import { Sun } from '../src/body/Sun'; +import { Degrees, Meters, Sun } from '../lib/ootk-core'; /* eslint-disable no-console */ console.log(Sun.getTimes(new Date(), 41 as Degrees, -71 as Degrees, 0 as Meters)); diff --git a/package.json b/package.json index ec72e61..c6d5155 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "ootk", - "version": "4.0.0", - "description": "Orbital Object Toolkit including SGP4 Propagator and Coordinate Transforms", + "name": "ootk-core", + "version": "0.0.0", + "description": "Orbital Object Toolkit Core including SGP4 Propagator and Coordinate Transforms", "scripts": { "build": "node ./scripts/cleanup.mjs && ttsc -p tsconfig.build.json", "lcov": "node ./scripts/openLcov.mjs", @@ -10,17 +10,16 @@ "lint:test": "eslint test", "test": "npm run build && jest", "test:coverage": "jest --coverage", - "test:performance": "node test/performance/timing.test.mjs", "version": "auto-changelog -p && git add CHANGELOG.md" }, - "main": "./lib/ootk.js", + "main": "./lib/ootk-core.js", "exports": { - "import": "./lib/ootk.js", - "require": "./lib/ootk.js" + "import": "./lib/ootk-core.js", + "require": "./lib/ootk-core.js" }, "repository": { "type": "git", - "url": "git://github.com/thkruz/ootk" + "url": "git://github.com/thkruz/ootk-core" }, "keywords": [ "sgp4", @@ -29,10 +28,10 @@ "space", "satellite" ], - "author": "Theodore Kruczek (https://github.com/ootk/)", + "author": "Theodore Kruczek (https://github.com/thkruz/ootk-core/)", "license": "MIT", "bugs": { - "url": "https://github.com/thkruz/ootk/issues" + "url": "https://github.com/thkruz/ootk-core/issues" }, "devDependencies": { "@babel/core": "^7.22.9", @@ -61,11 +60,6 @@ "webpack-cli": "^4.10.0" }, "homepage": "https://github.com/thkruz/ootk", - "directories": { - "lib": "lib", - "src": "src", - "test": "test" - }, "dependencies": { "ttypescript": "^1.5.15", "typescript-transform-paths": "^3.4.6" diff --git a/src/body/Celestial.ts b/src/body/Celestial.ts index 0e01966..51f37c3 100644 --- a/src/body/Celestial.ts +++ b/src/body/Celestial.ts @@ -1,4 +1,4 @@ -import { AzEl, Degrees, RaDec, Radians } from '../ootk'; +import { AzEl, Degrees, RaDec, Radians } from '../ootk-core'; import { RAD2DEG } from '../utils/constants'; import { Sun } from './Sun'; diff --git a/src/body/Earth.ts b/src/body/Earth.ts index de6cdaa..5ce8bef 100644 --- a/src/body/Earth.ts +++ b/src/body/Earth.ts @@ -1,5 +1,5 @@ import { DataHandler } from '../data/DataHandler'; -import { AngularDiameterMethod, Kilometers, Radians } from '../ootk'; +import { AngularDiameterMethod, Kilometers, Radians } from '../ootk-core'; import { Vector3D } from '../operations/Vector3D'; import { EpochUTC } from '../time/EpochUTC'; import { asec2rad, DEG2RAD, RAD2DEG, secondsPerDay, secondsPerSiderealDay, TAU, ttasec2rad } from '../utils/constants'; diff --git a/src/body/Moon.ts b/src/body/Moon.ts index ef299d6..fed7684 100644 --- a/src/body/Moon.ts +++ b/src/body/Moon.ts @@ -1,4 +1,4 @@ -import { AngularDiameterMethod } from '../ootk'; +import { AngularDiameterMethod } from '../ootk-core'; import { Vector3D } from '../operations/Vector3D'; import { EpochUTC } from '../time/EpochUTC'; import { DEG2RAD } from '../utils/constants'; diff --git a/src/body/NutationAngles.ts b/src/body/NutationAngles.ts index 68fa17e..4edb2c7 100644 --- a/src/body/NutationAngles.ts +++ b/src/body/NutationAngles.ts @@ -1,4 +1,4 @@ -import { Radians } from '../ootk'; +import { Radians } from '../ootk-core'; // / Earth nutation angles _(rad)_. export type NutationAngles = { diff --git a/src/body/PrecessionAngles.ts b/src/body/PrecessionAngles.ts index 0146754..faf6d75 100644 --- a/src/body/PrecessionAngles.ts +++ b/src/body/PrecessionAngles.ts @@ -1,4 +1,4 @@ -import { Radians } from '../ootk'; +import { Radians } from '../ootk-core'; // / Earth precession angles _(rad)_. export type PrecessionAngles = { diff --git a/src/body/Sun.ts b/src/body/Sun.ts index cf01784..9a847a5 100644 --- a/src/body/Sun.ts +++ b/src/body/Sun.ts @@ -1,4 +1,4 @@ -import { AngularDiameterMethod, AzEl, Degrees, Kilometers, Meters, RaDec, Radians, SunTime } from '../ootk'; +import { AngularDiameterMethod, AzEl, Degrees, Kilometers, Meters, RaDec, Radians, SunTime } from '../ootk-core'; import { Vector3D } from '../operations/Vector3D'; import { EpochUTC } from '../time/EpochUTC'; import { astronomicalUnit, cKmPerSec, DEG2RAD, MS_PER_DAY, RAD2DEG, TAU } from '../utils/constants'; diff --git a/src/coordinate/Geodetic.ts b/src/coordinate/Geodetic.ts index 81b38d8..64d52a7 100644 --- a/src/coordinate/Geodetic.ts +++ b/src/coordinate/Geodetic.ts @@ -1,5 +1,5 @@ import { Earth } from '../body/Earth'; -import { AngularDistanceMethod } from '../ootk'; +import { AngularDistanceMethod } from '../ootk-core'; import { Vector3D } from '../operations/Vector3D'; import { EpochUTC } from '../time/EpochUTC'; import { DEG2RAD, RAD2DEG } from '../utils/constants'; diff --git a/src/observation/RAE.ts b/src/observation/RAE.ts index 0b66d04..1b58f7e 100644 --- a/src/observation/RAE.ts +++ b/src/observation/RAE.ts @@ -1,7 +1,7 @@ /* eslint-disable no-undefined */ import { ITRF } from '../coordinate/ITRF'; import { J2000 } from '../coordinate/J2000'; -import { Radians } from '../ootk'; +import { Radians } from '../ootk-core'; import { Vector3D } from '../operations/Vector3D'; import { EpochUTC } from '../time/EpochUTC'; import { AngularDistanceMethod } from '../types/types'; diff --git a/src/ootk.ts b/src/ootk-core.ts similarity index 100% rename from src/ootk.ts rename to src/ootk-core.ts diff --git a/src/transforms/conversions.ts b/src/transforms/conversions.ts index 339bc43..2792ea9 100644 --- a/src/transforms/conversions.ts +++ b/src/transforms/conversions.ts @@ -1,4 +1,4 @@ -import { Degrees, Radians } from '../ootk'; +import { Degrees, Radians } from '../ootk-core'; import { DEG2RAD, PI, RAD2DEG } from '../utils/constants'; /** diff --git a/src/transforms/transforms.ts b/src/transforms/transforms.ts index 7beaae3..9d7fd29 100644 --- a/src/transforms/transforms.ts +++ b/src/transforms/transforms.ts @@ -23,7 +23,7 @@ * Orbital Object ToolKit. If not, see . */ -import { Earth, Sensor, Sgp4, Utils } from '../ootk'; +import { Earth, Sensor, Sgp4, Utils } from '../ootk-core'; import { Degrees, EcefVec3, diff --git a/src/utils/moon-math.ts b/src/utils/moon-math.ts index 07c5043..053dfde 100644 --- a/src/utils/moon-math.ts +++ b/src/utils/moon-math.ts @@ -36,7 +36,7 @@ import { Celestial } from '../body/Celestial'; import { Sun } from '../body/Sun'; -import { Degrees, Kilometers, RaDec, Radians } from '../ootk'; +import { Degrees, Kilometers, RaDec, Radians } from '../ootk-core'; import { MS_PER_DAY } from '../utils/constants'; import { DEG2RAD } from './constants'; diff --git a/test/objects/star.test.ts b/test/objects/star.test.ts index b713191..985a83f 100644 --- a/test/objects/star.test.ts +++ b/test/objects/star.test.ts @@ -5,7 +5,7 @@ */ import { Star } from '../../lib/objects'; -import { Degrees, Kilometers, Radians } from '../../lib/ootk'; +import { Degrees, Kilometers, Radians } from '../../lib/ootk-core'; describe('Basic Star functionality', () => { const star = new Star({ diff --git a/test/sat/sat.test.js b/test/sat/sat.test.js index 88904df..302115a 100644 --- a/test/sat/sat.test.js +++ b/test/sat/sat.test.js @@ -4,7 +4,7 @@ * @since 1.2.0 */ -import { Satellite } from '../../lib/ootk'; +import { Satellite } from '../../lib/ootk-core'; import { RAD2DEG } from '../../lib/utils/constants'; const dateObj = new Date(1661400000000); diff --git a/test/sat/sensor.test.ts b/test/sat/sensor.test.ts index b5dc38a..9a940ba 100644 --- a/test/sat/sensor.test.ts +++ b/test/sat/sensor.test.ts @@ -4,7 +4,7 @@ * @since 1.2.0 */ -import { Degrees, Kilometers, Satellite, Sensor, SpaceObjectType, TleLine1, TleLine2 } from '../../lib/ootk'; +import { Degrees, Kilometers, Satellite, Sensor, SpaceObjectType, TleLine1, TleLine2 } from '../../lib/ootk-core'; const dateObj = new Date(1661400000000); diff --git a/test/sgp4/full-catalog/sgp4-catalog-0.test.js b/test/sgp4/full-catalog/sgp4-catalog-0.test.js index b9e108e..dc285ed 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-0.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-0.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_0'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-1.test.js b/test/sgp4/full-catalog/sgp4-catalog-1.test.js index 8715841..3abc77b 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-1.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-1.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_1'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-10.test.js b/test/sgp4/full-catalog/sgp4-catalog-10.test.js index d916913..544b392 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-10.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-10.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_10'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-11.test.js b/test/sgp4/full-catalog/sgp4-catalog-11.test.js index 021e148..ea48998 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-11.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-11.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_11'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-12.test.js b/test/sgp4/full-catalog/sgp4-catalog-12.test.js index 89c12e6..c6e71b7 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-12.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-12.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_12'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-13.test.js b/test/sgp4/full-catalog/sgp4-catalog-13.test.js index f1a09a9..6f189a3 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-13.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-13.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_13'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-14.test.js b/test/sgp4/full-catalog/sgp4-catalog-14.test.js index 0cc46c8..79f341d 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-14.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-14.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_14'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-15.test.js b/test/sgp4/full-catalog/sgp4-catalog-15.test.js index 47d965f..5140d71 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-15.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-15.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_15'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-16.test.js b/test/sgp4/full-catalog/sgp4-catalog-16.test.js index e87edee..3235f04 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-16.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-16.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_16'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-17.test.js b/test/sgp4/full-catalog/sgp4-catalog-17.test.js index d93d5a0..bbffe20 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-17.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-17.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_17'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-18.test.js b/test/sgp4/full-catalog/sgp4-catalog-18.test.js index 4828e31..1c8a7e4 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-18.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-18.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_18'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-19.test.js b/test/sgp4/full-catalog/sgp4-catalog-19.test.js index c08f83e..29dd836 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-19.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-19.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_19'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-2.test.js b/test/sgp4/full-catalog/sgp4-catalog-2.test.js index 898ab53..cfec37e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-2.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-2.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_2'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-20.test.js b/test/sgp4/full-catalog/sgp4-catalog-20.test.js index 948fed4..17fedf9 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-20.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-20.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_20'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-21.test.js b/test/sgp4/full-catalog/sgp4-catalog-21.test.js index 3a7b2a8..4f4f89a 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-21.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-21.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_21'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-22.test.js b/test/sgp4/full-catalog/sgp4-catalog-22.test.js index b4aab80..e7d9280 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-22.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-22.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_22'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-23.test.js b/test/sgp4/full-catalog/sgp4-catalog-23.test.js index 5e892de..4499857 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-23.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-23.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_23'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-24.test.js b/test/sgp4/full-catalog/sgp4-catalog-24.test.js index 0dec7eb..400443f 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-24.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-24.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_24'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-25.test.js b/test/sgp4/full-catalog/sgp4-catalog-25.test.js index 4cb93a9..72bf0ea 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-25.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-25.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_25'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-26.test.js b/test/sgp4/full-catalog/sgp4-catalog-26.test.js index 1933115..4b0d22e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-26.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-26.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_26'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-27.test.js b/test/sgp4/full-catalog/sgp4-catalog-27.test.js index 2edc3be..7ae9534 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-27.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-27.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_27'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-28.test.js b/test/sgp4/full-catalog/sgp4-catalog-28.test.js index 11b4e95..1769119 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-28.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-28.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_28'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-29.test.js b/test/sgp4/full-catalog/sgp4-catalog-29.test.js index 11472ad..24caed4 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-29.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-29.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_29'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-3.test.js b/test/sgp4/full-catalog/sgp4-catalog-3.test.js index 40fe215..a1de1dd 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-3.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-3.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_3'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-30.test.js b/test/sgp4/full-catalog/sgp4-catalog-30.test.js index 14fac34..13ce09a 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-30.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-30.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_30'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-31.test.js b/test/sgp4/full-catalog/sgp4-catalog-31.test.js index d1f707e..c59cd5c 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-31.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-31.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_31'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-32.test.js b/test/sgp4/full-catalog/sgp4-catalog-32.test.js index 086d63a..c7be869 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-32.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-32.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_32'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-33.test.js b/test/sgp4/full-catalog/sgp4-catalog-33.test.js index ed98016..cad5c89 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-33.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-33.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_33'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-34.test.js b/test/sgp4/full-catalog/sgp4-catalog-34.test.js index a45cff4..6313a9c 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-34.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-34.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_34'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-35.test.js b/test/sgp4/full-catalog/sgp4-catalog-35.test.js index 3907905..dae0d0e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-35.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-35.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_35'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-36.test.js b/test/sgp4/full-catalog/sgp4-catalog-36.test.js index 04c956d..ed6ae00 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-36.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-36.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_36'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-37.test.js b/test/sgp4/full-catalog/sgp4-catalog-37.test.js index 5732e3d..7fe7a2d 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-37.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-37.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_37'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-38.test.js b/test/sgp4/full-catalog/sgp4-catalog-38.test.js index c827073..605fe5b 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-38.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-38.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_38'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-39.test.js b/test/sgp4/full-catalog/sgp4-catalog-39.test.js index 8abd9e1..9876048 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-39.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-39.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_39'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-4.test.js b/test/sgp4/full-catalog/sgp4-catalog-4.test.js index c91e503..7d0bb95 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-4.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-4.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_4'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-40.test.js b/test/sgp4/full-catalog/sgp4-catalog-40.test.js index 6d7dc43..dedb0ae 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-40.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-40.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_40'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-41.test.js b/test/sgp4/full-catalog/sgp4-catalog-41.test.js index ef935b0..37f1e27 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-41.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-41.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_41'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-42.test.js b/test/sgp4/full-catalog/sgp4-catalog-42.test.js index ad0afea..4ad55cb 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-42.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-42.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_42'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-43.test.js b/test/sgp4/full-catalog/sgp4-catalog-43.test.js index 1c6736b..3c3288e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-43.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-43.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_43'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-44.test.js b/test/sgp4/full-catalog/sgp4-catalog-44.test.js index d9adeb6..8bf524e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-44.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-44.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_44'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-45.test.js b/test/sgp4/full-catalog/sgp4-catalog-45.test.js index 939b810..85c6ad9 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-45.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-45.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_45'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-46.test.js b/test/sgp4/full-catalog/sgp4-catalog-46.test.js index 25f15af..5c3b86a 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-46.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-46.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_46'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-47.test.js b/test/sgp4/full-catalog/sgp4-catalog-47.test.js index a2faed2..2344705 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-47.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-47.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_47'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-48.test.js b/test/sgp4/full-catalog/sgp4-catalog-48.test.js index fa3846e..b7a4827 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-48.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-48.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_48'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-49.test.js b/test/sgp4/full-catalog/sgp4-catalog-49.test.js index dd0908d..25341e2 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-49.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-49.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_49'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-5.test.js b/test/sgp4/full-catalog/sgp4-catalog-5.test.js index d99f5fd..6fb5b94 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-5.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-5.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_5'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-50.test.js b/test/sgp4/full-catalog/sgp4-catalog-50.test.js index e4502b4..447c72f 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-50.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-50.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_50'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-6.test.js b/test/sgp4/full-catalog/sgp4-catalog-6.test.js index f6bf2c3..6266743 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-6.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-6.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_6'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-7.test.js b/test/sgp4/full-catalog/sgp4-catalog-7.test.js index a2fcb97..1bd5689 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-7.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-7.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_7'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-8.test.js b/test/sgp4/full-catalog/sgp4-catalog-8.test.js index a948aad..a379e1e 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-8.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-8.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_8'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4-catalog-9.test.js b/test/sgp4/full-catalog/sgp4-catalog-9.test.js index 79496cd..09e58ec 100644 --- a/test/sgp4/full-catalog/sgp4-catalog-9.test.js +++ b/test/sgp4/full-catalog/sgp4-catalog-9.test.js @@ -1,4 +1,3 @@ - /* eslint-disable no-sync */ /* eslint-disable prefer-destructuring */ /** @@ -12,7 +11,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_9'; const rawData = fs.readFileSync(`test/sgp4/full-catalog/${fileName}.json`, 'utf8'); diff --git a/test/sgp4/full-catalog/sgp4TestMaker.mjs b/test/sgp4/full-catalog/sgp4TestMaker.mjs index 06742c7..4015652 100644 --- a/test/sgp4/full-catalog/sgp4TestMaker.mjs +++ b/test/sgp4/full-catalog/sgp4TestMaker.mjs @@ -17,7 +17,7 @@ import * as fs from 'fs'; /** * sgp4Data is from SGP4Prop 8.3 Build: Apr 27 2022 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; const fileName = 'TLE_${f}'; const rawData = fs.readFileSync(\`test/sgp4/full-catalog/\${fileName}.json\`, 'utf8'); diff --git a/test/sgp4/legacy/ext.test.js b/test/sgp4/legacy/ext.test.js index 941239a..169431c 100644 --- a/test/sgp4/legacy/ext.test.js +++ b/test/sgp4/legacy/ext.test.js @@ -3,7 +3,7 @@ * @since 0.2.0 */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; describe('Julian date / time', () => { // Use number of milliseconds since epoch instead of local year, month, day, etc for consistency across machines diff --git a/test/sgp4/legacy/initl.test.js b/test/sgp4/legacy/initl.test.js index 9b98306..f972b41 100644 --- a/test/sgp4/legacy/initl.test.js +++ b/test/sgp4/legacy/initl.test.js @@ -3,7 +3,7 @@ * @since 0.2.0 */ -import { Sgp4 } from '../../../lib/ootk'; // eslint-disable-line +import { Sgp4 } from '../../../lib/ootk-core'; // eslint-disable-line // wgs84 constants const mu = 398600.8; // in km3 / s2 diff --git a/test/sgp4/legacy/io.test.js b/test/sgp4/legacy/io.test.js index c1559d6..0864c72 100644 --- a/test/sgp4/legacy/io.test.js +++ b/test/sgp4/legacy/io.test.js @@ -3,7 +3,7 @@ * @since 0.2.0 */ -import { Sgp4 } from '../../../src/ootk'; // eslint-disable-line +import { Sgp4 } from '../../../src/ootk-core'; // eslint-disable-line import badTleData from './io.json'; describe('Twoline', () => { diff --git a/test/sgp4/rsr/rsr3.test.js b/test/sgp4/rsr/rsr3.test.js index 29252fb..e4fa866 100644 --- a/test/sgp4/rsr/rsr3.test.js +++ b/test/sgp4/rsr/rsr3.test.js @@ -8,7 +8,7 @@ * sgp4Data is from https://www.celestrak.com/publications/AIAA/2006-6753/AIAA-2006-6753-Rev1.pdf * Only using the first and last state vectors for verification */ -import { Sgp4 } from '../../../lib/ootk'; +import { Sgp4 } from '../../../lib/ootk-core'; import { compareVectors } from '../../lib/compareVectors'; import sgp4FailData from './rsr3-fail.json'; import sgp4Data from './rsr3.json'; diff --git a/test/sgp4/sgp4-full-cov.test.js b/test/sgp4/sgp4-full-cov.test.js index 695f16d..3210965 100644 --- a/test/sgp4/sgp4-full-cov.test.js +++ b/test/sgp4/sgp4-full-cov.test.js @@ -4,7 +4,7 @@ * @since 0.2.0 */ -import { Sgp4 } from '../../lib/ootk'; +import { Sgp4 } from '../../lib/ootk-core'; import sgp4FailData from './sgp4-full-cov-fail.json'; import sgp4Data from './sgp4-full-cov.json'; diff --git a/test/sun-moon/sun-moon.test.js b/test/sun-moon/sun-moon.test.js index bebb6b5..6dcb75c 100644 --- a/test/sun-moon/sun-moon.test.js +++ b/test/sun-moon/sun-moon.test.js @@ -6,7 +6,7 @@ import { Celestial } from '../../lib/body/Celestial'; import { Sun } from '../../lib/body/Sun'; -import { Utils } from '../../lib/ootk'; +import { Utils } from '../../lib/ootk-core'; const { MoonMath } = Utils; // Use number of milliseconds since epoch instead of local year, month, day, etc for consistency across machines diff --git a/test/tle/tle.test.js b/test/tle/tle.test.js index 04baced..e921a83 100644 --- a/test/tle/tle.test.js +++ b/test/tle/tle.test.js @@ -5,7 +5,7 @@ * @since 1.1.0 */ -import { Tle } from '../../lib/ootk'; +import { Tle } from '../../lib/ootk-core'; import tleData from './tle.json'; describe('Valid TLEs', () => { diff --git a/test/transforms/transforms.test.js b/test/transforms/transforms.test.js index 8870693..c71d4ed 100644 --- a/test/transforms/transforms.test.js +++ b/test/transforms/transforms.test.js @@ -15,7 +15,7 @@ import { lla2ecf, rae2ecf, rae2sez, -} from '../../lib/ootk'; +} from '../../lib/ootk-core'; import { RAD2DEG } from '../../lib/utils/constants'; import transformData from './transforms.json'; diff --git a/test/utils/utils.test.js b/test/utils/utils.test.js index 4eab81c..c36dd5e 100644 --- a/test/utils/utils.test.js +++ b/test/utils/utils.test.js @@ -3,7 +3,7 @@ * @since 1.0.0-alpha3 */ -import { Utils } from '../../lib/ootk'; // eslint-disable-line +import { Utils } from '../../lib/ootk-core'; // eslint-disable-line import { getDayOfYear } from '../../lib/utils/functions'; const numDigits = 8;