@saber-usa/node-common 1.7.14 → 1.7.15
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 +12 -12
- package/package.json +51 -51
- package/src/FrameConverter.js +1120 -1120
- package/src/LLA.js +179 -179
- package/src/LaunchNominalClass.js +772 -772
- package/src/NodeVector3D.js +71 -71
- package/src/OrbitUtils.js +490 -490
- package/src/PropagateUtils.js +100 -100
- package/src/ShadowGEOCalculator.js +203 -203
- package/src/TimeConverter.js +309 -309
- package/src/astro.js +3339 -3339
- package/src/ballisticPropagator.js +1037 -1037
- package/src/constants.js +35 -35
- package/src/fixDate.js +62 -62
- package/src/index.js +47 -47
- package/src/launchNominal.js +208 -208
- package/src/s3.js +59 -59
- package/src/transform.js +35 -35
- package/src/udl.js +236 -236
- package/src/utils.js +406 -406
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Node Common
|
|
2
|
-
|
|
3
|
-
Common nodejs functions used across a number of saber's applications.
|
|
4
|
-
|
|
5
|
-
## License
|
|
6
|
-
AGPLv3
|
|
7
|
-
|
|
8
|
-
## Publishing changes
|
|
9
|
-
|
|
10
|
-
1. Increment the version in `package.json`
|
|
11
|
-
2. Check you are logged in to npm using `npm whoami`
|
|
12
|
-
3. You may need to login using `npm login` note your npm user must have 2FA enabled (in your profile)
|
|
1
|
+
# Node Common
|
|
2
|
+
|
|
3
|
+
Common nodejs functions used across a number of saber's applications.
|
|
4
|
+
|
|
5
|
+
## License
|
|
6
|
+
AGPLv3
|
|
7
|
+
|
|
8
|
+
## Publishing changes
|
|
9
|
+
|
|
10
|
+
1. Increment the version in `package.json`
|
|
11
|
+
2. Check you are logged in to npm using `npm whoami`
|
|
12
|
+
3. You may need to login using `npm login` note your npm user must have 2FA enabled (in your profile)
|
|
13
13
|
4. Run `npm install` then `npm publish`
|
package/package.json
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@saber-usa/node-common",
|
|
3
|
-
"version": "1.7.
|
|
4
|
-
"description": "Common node functions for Saber",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"lint": "eslint . --ext js",
|
|
9
|
-
"lint:fix": "eslint . --ext js --fix",
|
|
10
|
-
"test": "jest --no-coverage --silent",
|
|
11
|
-
"test:unit": "jest --coverage --runInBand --no-watch",
|
|
12
|
-
"sonar": "node --experimental-vm-modules sonar-project.js"
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"src/**/*"
|
|
16
|
-
],
|
|
17
|
-
"author": "Saber USA",
|
|
18
|
-
"license": "ISC",
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@aws-sdk/client-s3": "^3.666.0",
|
|
21
|
-
"date-fns": "^4.1.0",
|
|
22
|
-
"lodash": "4.17.23",
|
|
23
|
-
"mathjs": "^14.7.0",
|
|
24
|
-
"pious-squid": "^2.3.0",
|
|
25
|
-
"plotly": "^1.0.6",
|
|
26
|
-
"satellite.js": "^6.0.1",
|
|
27
|
-
"solar-calculator": "^0.3.0",
|
|
28
|
-
"three": "^0.178.0",
|
|
29
|
-
"winston": "3.3.3"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@babel/core": "7.23.0",
|
|
33
|
-
"@babel/eslint-parser": "^7.23.0",
|
|
34
|
-
"@babel/plugin-transform-modules-commonjs": "7.23.0",
|
|
35
|
-
"@jest/globals": "27.4.4",
|
|
36
|
-
"eslint-config-google": "0.14.0",
|
|
37
|
-
"eslint-plugin-jest": "25.3.0",
|
|
38
|
-
"jest": "29.7.0",
|
|
39
|
-
"jest-diff": "29.7.0",
|
|
40
|
-
"nodemon": "3.1.4",
|
|
41
|
-
"sonarqube-scanner": "3.0.1"
|
|
42
|
-
},
|
|
43
|
-
"overrides": {
|
|
44
|
-
"braces": "3.0.3"
|
|
45
|
-
},
|
|
46
|
-
"babel": {
|
|
47
|
-
"plugins": [
|
|
48
|
-
"@babel/plugin-transform-modules-commonjs"
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@saber-usa/node-common",
|
|
3
|
+
"version": "1.7.15",
|
|
4
|
+
"description": "Common node functions for Saber",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"lint": "eslint . --ext js",
|
|
9
|
+
"lint:fix": "eslint . --ext js --fix",
|
|
10
|
+
"test": "jest --no-coverage --silent",
|
|
11
|
+
"test:unit": "jest --coverage --runInBand --no-watch",
|
|
12
|
+
"sonar": "node --experimental-vm-modules sonar-project.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"src/**/*"
|
|
16
|
+
],
|
|
17
|
+
"author": "Saber USA",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@aws-sdk/client-s3": "^3.666.0",
|
|
21
|
+
"date-fns": "^4.1.0",
|
|
22
|
+
"lodash": "4.17.23",
|
|
23
|
+
"mathjs": "^14.7.0",
|
|
24
|
+
"pious-squid": "^2.3.0",
|
|
25
|
+
"plotly": "^1.0.6",
|
|
26
|
+
"satellite.js": "^6.0.1",
|
|
27
|
+
"solar-calculator": "^0.3.0",
|
|
28
|
+
"three": "^0.178.0",
|
|
29
|
+
"winston": "3.3.3"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@babel/core": "7.23.0",
|
|
33
|
+
"@babel/eslint-parser": "^7.23.0",
|
|
34
|
+
"@babel/plugin-transform-modules-commonjs": "7.23.0",
|
|
35
|
+
"@jest/globals": "27.4.4",
|
|
36
|
+
"eslint-config-google": "0.14.0",
|
|
37
|
+
"eslint-plugin-jest": "25.3.0",
|
|
38
|
+
"jest": "29.7.0",
|
|
39
|
+
"jest-diff": "29.7.0",
|
|
40
|
+
"nodemon": "3.1.4",
|
|
41
|
+
"sonarqube-scanner": "3.0.1"
|
|
42
|
+
},
|
|
43
|
+
"overrides": {
|
|
44
|
+
"braces": "3.0.3"
|
|
45
|
+
},
|
|
46
|
+
"babel": {
|
|
47
|
+
"plugins": [
|
|
48
|
+
"@babel/plugin-transform-modules-commonjs"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|