diff --git a/packages/datasource-jsonld/package.json b/packages/datasource-jsonld/package.json index 57950860..6d74d79c 100644 --- a/packages/datasource-jsonld/package.json +++ b/packages/datasource-jsonld/package.json @@ -22,7 +22,7 @@ "lint": "eslint bin/* lib test" }, "dependencies": { - "jsonld-streaming-parser": "^2.0.0", + "jsonld-streaming-parser": "^4.0.0", "rdf-string": "^1.3.1" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 818ee371..8bd9432a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -119,6 +119,13 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@bergos/jsonparse@^1.4.0": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@bergos/jsonparse/-/jsonparse-1.4.1.tgz#560e7125f65d0ad6b96dfe1c0d5da3115b9f8c59" + integrity sha512-vXIT0nzZGX/+yMD5bx2VhTzc92H55tPoehh1BW/FZHOndWGFddrH3MAfdx39FRc7irABirW6EQaGxIJYV6CGuA== + dependencies: + buffer "^6.0.3" + "@comunica/actor-abstract-mediatyped@^1.19.0": version "1.19.0" resolved "https://registry.yarnpkg.com/@comunica/actor-abstract-mediatyped/-/actor-abstract-mediatyped-1.19.0.tgz#db3eeef7ca4393ce825461421890ace81a605803" @@ -1136,7 +1143,7 @@ dependencies: "@octokit/openapi-types" "^5.2.2" -"@rdfjs/data-model@^1.1.1", "@rdfjs/data-model@^1.1.2": +"@rdfjs/data-model@^1.1.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@rdfjs/data-model/-/data-model-1.1.2.tgz#e2f48a422c7e837b8a7d96d240732be3287df713" integrity sha512-pk/G/JLYGaXesoBLvEmoC/ic0H3B79fTyS0Ujjh5YQB2DZW+mn05ZowFFv88rjB9jf7c1XE5XSmf8jzn6U0HHA== @@ -1208,6 +1215,13 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.20.tgz#f7974863edd21d1f8a494a73e8e2b3658615c340" integrity sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A== +"@types/node@^18.0.0": + version "18.19.54" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.54.tgz#f1048dc083f81b242640f04f18fb3e4ccf13fcdb" + integrity sha512-+BRgt0G5gYjTvdLac9sIeE0iZcJxi4Jc4PV5EUzqi+88jmQLr+fRZdv2tCTV7IHKSGxM6SaLoOXQWWUiLUItMw== + dependencies: + undici-types "~5.26.4" + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -1237,13 +1251,6 @@ dependencies: "@types/node" "*" -"@types/rdf-js@^2.0.11": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@types/rdf-js/-/rdf-js-2.0.12.tgz#d305a0b6fd105e33f58d5c1b3de33ff8edcb3210" - integrity sha512-NBzHFHp2vHOJkPlSqzsOrkEsD9grKn+PdFjZieIw59pc0FlRG6WEQAjQZvHzFxJlYzC6ZDCFyTA1wBvUnnzUQw== - dependencies: - "@types/node" "*" - "@types/readable-stream@^2.3.13": version "2.3.15" resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.15.tgz#3d79c9ceb1b6a57d5f6e6976f489b9b5384321ae" @@ -1252,6 +1259,14 @@ "@types/node" "*" safe-buffer "~5.1.1" +"@types/readable-stream@^4.0.0": + version "4.0.15" + resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-4.0.15.tgz#e6ec26fe5b02f578c60baf1fa9452e90957d2bfb" + integrity sha512-oAZ3kw+kJFkEqyh7xORZOku1YAKvsFTogRY8kVl4vHpEKiDkfnSA/My8haRE7fvmix5Zyy+1pwzOi7yycGLBJw== + dependencies: + "@types/node" "*" + safe-buffer "~5.1.1" + "@types/semver@^7.3.4": version "7.3.4" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.4.tgz#43d7168fec6fa0988bb1a513a697b29296721afb" @@ -3970,18 +3985,15 @@ jsonld-context-parser@^2.0.1, jsonld-context-parser@^2.0.2, jsonld-context-parse http-link-header "^1.0.2" relative-to-absolute-iri "^1.0.5" -jsonld-streaming-parser@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/jsonld-streaming-parser/-/jsonld-streaming-parser-2.0.0.tgz#d943202d17cd630b4ef2b23726a474575beda8c2" - integrity sha512-iaG4mpwOSe1F0YXso38SWy0F1r1+CxTFXJBHA+MobowC6HFXtVzwPzb7uoILZgYv31OrqE/ft9XoSP1mTegebw== +jsonld-context-parser@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/jsonld-context-parser/-/jsonld-context-parser-3.0.0.tgz#43992862fc3eabcee9940cf4c44bb2b0dbe2542c" + integrity sha512-Kg6TVtBUdIm057ht/8WNhM9BROt+BeYaDGXbzrKaa3xA99csee+CsD8IMCTizRgzoO8PIzvzcxxCoRvpq1xNQw== dependencies: - "@rdfjs/data-model" "^1.1.2" "@types/http-link-header" "^1.0.1" - "@types/rdf-js" "^2.0.11" - canonicalize "^1.0.1" + "@types/node" "^18.0.0" http-link-header "^1.0.2" - jsonld-context-parser "^2.0.0" - jsonparse "^1.3.1" + relative-to-absolute-iri "^1.0.5" jsonld-streaming-parser@^2.1.1: version "2.2.0" @@ -3996,6 +4008,22 @@ jsonld-streaming-parser@^2.1.1: jsonparse "^1.3.1" rdf-data-factory "^1.0.2" +jsonld-streaming-parser@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/jsonld-streaming-parser/-/jsonld-streaming-parser-4.0.1.tgz#41212df7ef21df1f970d09ef989261fbb566194b" + integrity sha512-6M4y9YGgADk3nXJebbRrxEdMVBJ9bnz+peAvjTXUievopqaE8sg/qml/I6Sp1ln7rpOKffsNZWSre6B7N76szw== + dependencies: + "@bergos/jsonparse" "^1.4.0" + "@rdfjs/types" "*" + "@types/http-link-header" "^1.0.1" + "@types/readable-stream" "^4.0.0" + buffer "^6.0.3" + canonicalize "^1.0.1" + http-link-header "^1.0.2" + jsonld-context-parser "^3.0.0" + rdf-data-factory "^1.1.0" + readable-stream "^4.0.0" + jsonld-streaming-serializer@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/jsonld-streaming-serializer/-/jsonld-streaming-serializer-2.0.1.tgz#b299588673df4450183e992fc34d8a8d21b50693" @@ -6795,6 +6823,11 @@ umask@^1.1.0: resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230"