mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
update deps
This commit is contained in:
parent
1a280b0fd7
commit
1816b18b12
@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 6.11.1
|
||||
- 8.9.4
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
|
||||
@ -27,7 +27,7 @@ function asset_request(req, callback) {
|
||||
fs.readFile(filename, function(err, data) {
|
||||
callback({
|
||||
body: data,
|
||||
type: mime.lookup(filename),
|
||||
type: mime.getType(filename),
|
||||
err: err,
|
||||
});
|
||||
});
|
||||
|
||||
1474
package-lock.json
generated
Normal file
1474
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@ -31,23 +31,23 @@
|
||||
"test-travis": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
|
||||
},
|
||||
"engines": {
|
||||
"node": "6.11.1"
|
||||
"node": "8.9.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"canvas": "^1.6.2",
|
||||
"crc": "~3.4.1",
|
||||
"crc": "^3.5.0",
|
||||
"ejs": "^2.5.2",
|
||||
"pajk-lwip": "0.2.0",
|
||||
"mime": "~1.3.4",
|
||||
"pajk-lwip": "^0.2.0",
|
||||
"mime": "^2.2.0",
|
||||
"node-df": "crafatar/node-df",
|
||||
"redis": "~2.7.1",
|
||||
"request": "~2.81.0",
|
||||
"toobusy-js": "~0.5.1"
|
||||
"redis": "^2.8.0",
|
||||
"request": "^2.83.0",
|
||||
"toobusy-js": "^0.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coveralls": "~2.13.1",
|
||||
"istanbul": "~0.4.5",
|
||||
"mocha": "~3.3.0",
|
||||
"mocha-lcov-reporter": "~1.3.0"
|
||||
"coveralls": "^3.0.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^5.0.1",
|
||||
"mocha-lcov-reporter": "^1.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
13
test/test.js
13
test/test.js
@ -569,12 +569,6 @@ describe("Crafatar", function() {
|
||||
});
|
||||
}(loc));
|
||||
}
|
||||
|
||||
after(function(done) {
|
||||
server.close(function() {
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// we have to make sure that we test both a 32x64 and 64x64 skin
|
||||
@ -707,4 +701,11 @@ describe("Crafatar", function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
after(function(done) {
|
||||
server.close(function() {
|
||||
cache.get_redis().quit();
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user