Merge pull request #254 from CesiumGS/update-npm-libraries

Update npm dependencies
This commit is contained in:
Ian Lilley 2021-07-22 16:56:06 -07:00 committed by GitHub
commit edc8e8e063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 14 deletions

View File

@ -1,6 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- "10" - "12"
script: script:
- npm run eslint - npm run eslint
- npm run test -- --failTaskOnError --suppressPassed - npm run test -- --failTaskOnError --suppressPassed

View File

@ -25,6 +25,9 @@ const argv = yargs
type : 'string', type : 'string',
demandOption : true, demandOption : true,
coerce : function (p) { coerce : function (p) {
if (!defined(p)) {
return undefined;
}
if (p.length === 0) { if (p.length === 0) {
throw new Error('Input path must be a file name'); throw new Error('Input path must be a file name');
} }
@ -36,6 +39,9 @@ const argv = yargs
describe : 'Path of the converted glTF or glb file.', describe : 'Path of the converted glTF or glb file.',
type : 'string', type : 'string',
coerce : function (p) { coerce : function (p) {
if (!defined(p)) {
return undefined;
}
if (p.length === 0) { if (p.length === 0) {
throw new Error('Output path must be a file name'); throw new Error('Output path must be a file name');
} }

View File

@ -27,24 +27,24 @@
}, },
"dependencies": { "dependencies": {
"bluebird": "^3.7.2", "bluebird": "^3.7.2",
"cesium": "^1.71.0", "cesium": "^1.83.0",
"fs-extra": "^9.0.1", "fs-extra": "^10.0.0",
"jpeg-js": "^0.4.1", "jpeg-js": "^0.4.3",
"mime": "^2.4.6", "mime": "^2.5.2",
"pngjs": "^5.0.0", "pngjs": "^6.0.0",
"yargs": "^15.4.1" "yargs": "^17.0.1"
}, },
"devDependencies": { "devDependencies": {
"cloc": "^2.5.1", "cloc": "^2.8.0",
"coveralls": "^3.1.0", "coveralls": "^3.1.1",
"eslint": "^7.5.0", "eslint": "^7.31.0",
"eslint-config-cesium": "^8.0.1", "eslint-config-cesium": "^8.0.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"jasmine": "^3.6.1", "jasmine": "^3.8.0",
"jasmine-spec-reporter": "^5.0.2", "jasmine-spec-reporter": "^7.0.0",
"jsdoc": "^3.6.5", "jsdoc": "^3.6.7",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"open": "^7.1.0" "open": "^8.2.1"
}, },
"scripts": { "scripts": {
"jsdoc": "jsdoc ./lib -R ./README.md -d doc", "jsdoc": "jsdoc ./lib -R ./README.md -d doc",