Skip to content

Commit 10400d2

Browse files
committed
more major dependencies
1 parent a930072 commit 10400d2

3 files changed

Lines changed: 138 additions & 20 deletions

File tree

package-lock.json

Lines changed: 135 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@babel/runtime": "^7.28.4",
4848
"@frogcat/ttl2jsonld": "^0.0.10",
4949
"@rdfjs/types": "^2.0.1",
50-
"@xmldom/xmldom": "^0.8.10",
50+
"@xmldom/xmldom": "^0.8.11",
5151
"cross-fetch": "^4.1.0",
5252
"jsonld": "^9.0.0",
5353
"n3": "^1.26.0",
@@ -74,7 +74,7 @@
7474
"eslint": "^9.39.2",
7575
"locate-path": "^8.0.0",
7676
"mocha": "^11.7.5",
77-
"nock": "^13.5.6",
77+
"nock": "^14.0.10",
7878
"node-fetch": "^3.3.2",
7979
"node-polyfill-webpack-plugin": "^4.1.0",
8080
"rimraf": "^6.1.2",

tests/unit/fetcher-jsonld-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('fetch JSON-LD', () => {
6565

6666
it('then the request used the correct accept headers, preferring JSON-LD over HTML', async () => {
6767
await fetcher.load(uri);
68-
expect(capturedHeaders['accept'][0]).to.equal(
68+
expect(capturedHeaders['accept']).to.equal(
6969
'image/*;q=0.9, */*;q=0.1, application/rdf+xml;q=0.9, application/xhtml+xml;q=0.8, text/xml;q=0.5, application/xml;q=0.5, text/html;q=0.8, text/plain;q=0.5, text/n3, text/turtle, application/ld+json;q=0.9'
7070
);
7171
});

0 commit comments

Comments
 (0)