Skip to content

Commit 9da9031

Browse files
committed
Update npm packages.
1 parent cae9b41 commit 9da9031

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,29 @@
1919
"lint": "eslint bin/* lib test"
2020
},
2121
"dependencies": {
22-
"qejs": "^3.0.0",
23-
"q": "^0.8.12",
24-
"n3": "^0.4.0",
25-
"jsonld": "^0.4.2",
26-
"request": "^2.27.0",
27-
"mime": "^1.2.11",
22+
"qejs": "^3.0.5",
23+
"q": "^1.4.1",
24+
"n3": "^0.5.0",
25+
"jsonld": "^0.4.11",
26+
"request": "^2.72.0",
27+
"mime": "^1.3.4",
2828
"negotiate": "^1.0.1",
2929
"lodash": "^2.4.2",
30-
"lru-cache": "^2.5.0",
31-
"uritemplate": "^0.3.0"
30+
"lru-cache": "^4.0.1",
31+
"uritemplate": "^0.3.4"
3232
},
3333
"optionalDependencies": {
3434
"hdt": "^1.3.0",
3535
"access-log": "^0.3.9"
3636
},
3737
"devDependencies": {
38-
"chai": "^1.9.0",
38+
"chai": "^3.5.0",
3939
"eslint": "^3.0.1",
40-
"mocha": "^1.17.1",
41-
"pre-commit": "^0.0.9",
42-
"sinon": "1.10.3",
43-
"sinon-chai": "^2.6.0",
44-
"supertest": "^0.13.0"
40+
"mocha": "^2.5.3",
41+
"pre-commit": "^1.1.3",
42+
"sinon": "^1.17.4",
43+
"sinon-chai": "^2.8.0",
44+
"supertest": "^1.2.0"
4545
},
4646
"pre-commit": [
4747
"lint",

test/LinkedDataFragmentsServer-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('LinkedDataFragmentsServer', function () {
6363
client.head('/handle').expect(function (response) {
6464
controller.handleRequest.should.have.been.calledOnce;
6565
response.should.have.property('statusCode', 200);
66-
response.should.have.property('text', '');
66+
response.body.should.not.have.property('length');
6767
}).end(done);
6868
});
6969

test/controllers/AssetsController-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('AssetsController', function () {
3434
response.should.have.property('statusCode', 200);
3535
response.headers.should.have.property('content-type', 'image/svg+xml');
3636
response.headers.should.have.property('cache-control', 'public,max-age=1209600');
37-
response.should.have.property('text', asset);
37+
response.body.toString().should.equal(asset);
3838
}).end(done);
3939
});
4040

@@ -56,7 +56,7 @@ describe('AssetsController', function () {
5656
response.should.have.property('statusCode', 200);
5757
response.headers.should.have.property('content-type', 'image/x-icon');
5858
response.headers.should.have.property('cache-control', 'public,max-age=1209600');
59-
response.should.have.property('text', asset);
59+
response.body.toString().should.equal(asset);
6060
}).end(done);
6161
});
6262

0 commit comments

Comments
 (0)