mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-06 21:51:55 -05:00
The following security issue was reported by Dependabot for the code generator script: https://github.com/advisories/GHSA-hj48-42vr-x3v9 The issue was that the npm package path-parse 1.0.6 had a regex denial-of-service attack. I have updated to use path-parse 1.0.7. The user-facing Astronomy Engine library has no external dependencies, so there is no need for most users to be concerned with this change. The only affected component was the internal code generator used to produce the distributed source files, which is only run on my own machine and the GitHub CI hook when I push a new change. I verified that this update has no effect on the generated code.
33 lines
1.4 KiB
JSON
33 lines
1.4 KiB
JSON
{
|
|
"name": "astronomy-engine-dev",
|
|
"version": "1.0.0",
|
|
"description": "Development node.js dependencies",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/cosinekitty/astronomy.git"
|
|
},
|
|
"author": "Donald Cross",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.main.json && tsc -p tsconfig.module.json",
|
|
"build:browser": "browserify ../source/js/astronomy.js -o ../source/js/astronomy.browser.js -p esmify -s Astronomy",
|
|
"minify": "google-closure-compiler --js ../source/js/astronomy.js --js_output_file ../source/js/astronomy.min.js",
|
|
"minify:browser": "google-closure-compiler --js ../source/js/astronomy.browser.js --js_output_file ../source/js/astronomy.browser.min.js",
|
|
"docs:md": "jsdoc2md --separators --template ../jsdoc2md/js.hbs --files ../source/js/astronomy.js > ../source/js/README.md",
|
|
"docs:json": "jsdoc -X -P ../source/js/package.json ../source/js/astronomy.js > ../website/src/assets/documentation.json",
|
|
"docs:html": "jsdoc -a all -c jsdoc.json -u ../tutorials -r ../source/js/astronomy.js --destination html"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "~17.0.0",
|
|
"docdash": "~1.2.0",
|
|
"esmify": "~2.1.1",
|
|
"google-closure-compiler": "~20210202.0.0",
|
|
"jsdoc": "^3.6.7",
|
|
"jsdoc-to-markdown": "~6.0.1",
|
|
"typescript": "~4.1.3"
|
|
},
|
|
"dependencies": {
|
|
"resolve": "^1.20.0"
|
|
}
|
|
}
|