Skip to content

Commit

Permalink
Merge pull request CesiumGS#5877 from AnalyticalGraphicsInc/update-npm
Browse files Browse the repository at this point in the history
Update npm modules
  • Loading branch information
emackey authored Oct 3, 2017
2 parents b6ff162 + f87e39f commit 60a7d2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ function getMimeType(filename) {
return {type : 'application/font-woff', compress : false, isCompressed : false};
}

var mimeType = mime.lookup(filename);
var mimeType = mime.getType(filename);
var compress = compressible(mimeType);
return {type : mimeType, compress : compress, isCompressed : false};
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@
"gulp": "^3.9.1",
"gulp-insert": "^0.5.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-replace": "^0.6.1",
"gulp-tap": "^1.0.1",
"gulp-zip": "^4.0.0",
"jasmine-core": "^2.5.2",
"jsdoc": "^3.4.3",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-detect-browsers": "^2.2.3",
"karma-edge-launcher": "^0.2.0",
"karma-edge-launcher": "^0.4.2",
"karma-electron": "^5.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^1.1.0",
"karma-requirejs": "^1.1.0",
"karma-safari-launcher": "^1.0.0",
"karma-spec-reporter": "^0.0.31",
"mime": "^1.3.4",
"mime": "^2.0.3",
"mkdirp": "^0.5.1",
"request": "^2.79.0",
"rimraf": "^2.6.1",
"yargs": "^8.0.1"
"yargs": "^9.0.1"
},
"scripts": {
"start": "node server.js",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
'model/gltf-binary' : ['bgltf', 'glb'],
'application/octet-stream' : ['b3dm', 'pnts', 'i3dm', 'cmpt'],
'text/plain' : ['glsl']
});
}, true);

var app = express();
app.use(compression());
Expand Down

0 comments on commit 60a7d2b

Please sign in to comment.