Skip to content

Commit

Permalink
Merge pull request #254 from CesiumGS/update-npm-libraries
Browse files Browse the repository at this point in the history
Update npm dependencies
  • Loading branch information
IanLilleyT authored Jul 22, 2021
2 parents beb8ce0 + 0a496cc commit edc8e8e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "10"
- "12"
script:
- npm run eslint
- npm run test -- --failTaskOnError --suppressPassed
Expand Down
6 changes: 6 additions & 0 deletions bin/obj2gltf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const argv = yargs
type : 'string',
demandOption : true,
coerce : function (p) {
if (!defined(p)) {
return undefined;
}
if (p.length === 0) {
throw new Error('Input path must be a file name');
}
Expand All @@ -36,6 +39,9 @@ const argv = yargs
describe : 'Path of the converted glTF or glb file.',
type : 'string',
coerce : function (p) {
if (!defined(p)) {
return undefined;
}
if (p.length === 0) {
throw new Error('Output path must be a file name');
}
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@
},
"dependencies": {
"bluebird": "^3.7.2",
"cesium": "^1.71.0",
"fs-extra": "^9.0.1",
"jpeg-js": "^0.4.1",
"mime": "^2.4.6",
"pngjs": "^5.0.0",
"yargs": "^15.4.1"
"cesium": "^1.83.0",
"fs-extra": "^10.0.0",
"jpeg-js": "^0.4.3",
"mime": "^2.5.2",
"pngjs": "^6.0.0",
"yargs": "^17.0.1"
},
"devDependencies": {
"cloc": "^2.5.1",
"coveralls": "^3.1.0",
"eslint": "^7.5.0",
"cloc": "^2.8.0",
"coveralls": "^3.1.1",
"eslint": "^7.31.0",
"eslint-config-cesium": "^8.0.1",
"gulp": "^4.0.2",
"jasmine": "^3.6.1",
"jasmine-spec-reporter": "^5.0.2",
"jsdoc": "^3.6.5",
"jasmine": "^3.8.0",
"jasmine-spec-reporter": "^7.0.0",
"jsdoc": "^3.6.7",
"nyc": "^15.1.0",
"open": "^7.1.0"
"open": "^8.2.1"
},
"scripts": {
"jsdoc": "jsdoc ./lib -R ./README.md -d doc",
Expand Down

0 comments on commit edc8e8e

Please sign in to comment.