diff --git a/.changeset/chatty-brooms-work.md b/.changeset/chatty-brooms-work.md new file mode 100644 index 0000000..9aaee6d --- /dev/null +++ b/.changeset/chatty-brooms-work.md @@ -0,0 +1,7 @@ +--- +"@hydrofoil/shell-core": patch +"@hydrofoil/shell-operations": patch +"@hydrofoil/shell-resources": patch +--- + +Updated `@tpluscode/rdf-ns-builders` to v2 diff --git a/packages/core/package.json b/packages/core/package.json index c1a60fd..8dc5740 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@captaincodeman/rdx": "^1.0.0-rc.9", - "alcaeus": "^2.1.2" + "alcaeus": "^2.2.3" }, "exports": { "./store": "./store.js", diff --git a/packages/operations/lib/completed.ts b/packages/operations/lib/completed.ts index cf8933d..9b8b44a 100644 --- a/packages/operations/lib/completed.ts +++ b/packages/operations/lib/completed.ts @@ -2,7 +2,7 @@ import type { Store } from '@hydrofoil/shell' import type { RuntimeOperation } from 'alcaeus' import type { ResponseWrapper } from 'alcaeus/ResponseWrapper' import type { ResourceRepresentation } from 'alcaeus/ResourceRepresentation' -import { hydra } from '@tpluscode/rdf-ns-builders/strict' +import { hydra } from '@tpluscode/rdf-ns-builders' import type { Error } from '@rdfine/hydra/lib/Error' export interface OperationCompleted { diff --git a/packages/operations/package.json b/packages/operations/package.json index 9dafc1f..c229239 100644 --- a/packages/operations/package.json +++ b/packages/operations/package.json @@ -24,8 +24,8 @@ "@hydrofoil/shell-core": "^0.1.3", "@rdfjs/types": "^1.0.1", "@rdf-esm/term-map": "^0.5.1", - "@tpluscode/rdf-ns-builders": "^1", - "@tpluscode/rdf-string": "^0.2.25", + "@tpluscode/rdf-ns-builders": "^2.0.1", + "@tpluscode/rdf-string": "^0.2.26", "clownface": "^1.4.0" }, "devDependencies": { diff --git a/packages/resources/index.ts b/packages/resources/index.ts index 89583c8..ff83ed2 100644 --- a/packages/resources/index.ts +++ b/packages/resources/index.ts @@ -8,7 +8,7 @@ import TermMap from '@rdf-esm/term-map' import { NamedNode } from 'rdf-js' import { namedNode } from '@rdf-esm/data-model' import type { Resource, Error } from 'alcaeus' -import { hydra } from '@tpluscode/rdf-ns-builders/strict' +import { hydra } from '@tpluscode/rdf-ns-builders' import reducers from './lib/reducers.js' type RepresentationState = { diff --git a/packages/resources/package.json b/packages/resources/package.json index c1d32f1..bb78b33 100644 --- a/packages/resources/package.json +++ b/packages/resources/package.json @@ -25,6 +25,6 @@ "@rdf-esm/data-model": "^0.5.4", "@rdf-esm/term-map": "^0.5.1", "@rdfjs/types": "^1.0.1", - "@tpluscode/rdf-ns-builders": "^1.1.0" + "@tpluscode/rdf-ns-builders": "^2.0.1" } } diff --git a/yarn.lock b/yarn.lock index 0425827..64f2b59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -622,36 +622,36 @@ dependencies: "@rdfjs/to-ntriples" "^2.0.0" -"@rdfine/hydra@^0.8.0": - version "0.8.2" - resolved "https://registry.yarnpkg.com/@rdfine/hydra/-/hydra-0.8.2.tgz#3c2ab6449495265725a8039e68dabdeac2b887e6" - integrity sha512-Gijtp1HJvRFhOnRgtw7Rn6MjG6U7yhhH0nw2cz2Sp4B5LhjGZG1JxcwzrFhNqO56J0Db/kxBmTZbiWHCf+5xew== +"@rdfine/hydra@^0.8.4": + version "0.8.4" + resolved "https://registry.yarnpkg.com/@rdfine/hydra/-/hydra-0.8.4.tgz#ab50b6e4074ac415b5dbde80d2f59a0da0f7d2dd" + integrity sha512-3YTmo7ZRok1dLIlcu+pUHLdlKnirf76E1Apiog/EjG0oNjdELe/kMy1LFT0XA1cbKSfx8vlwoY4JMpSkyZsWVg== dependencies: "@rdf-esm/data-model" "^0.5.3" - "@rdfine/rdf" "^0.5.6" - "@rdfine/rdfs" "^0.6.9" - "@tpluscode/rdf-ns-builders" "^1.0.0" - "@tpluscode/rdfine" "^0.5.34" + "@rdfine/rdf" "^0.5.7" + "@rdfine/rdfs" "^0.6.10" + "@tpluscode/rdf-ns-builders" "^2.0.1" + "@tpluscode/rdfine" "^0.5.39" es6-url-template "^3.0.2" -"@rdfine/rdf@^0.5.4", "@rdfine/rdf@^0.5.6": - version "0.5.6" - resolved "https://registry.yarnpkg.com/@rdfine/rdf/-/rdf-0.5.6.tgz#8b5a1dd87086c898e636f6da61db3ed0164f11b0" - integrity sha512-ttq3mqiFdp+YBGslvFFwXM7niNw4haNq7tpaUhxbblzfTsLAwEyPC4+3DsiLtUsdwpv274miBW6U38xLWxLaag== +"@rdfine/rdf@^0.5.7": + version "0.5.7" + resolved "https://registry.yarnpkg.com/@rdfine/rdf/-/rdf-0.5.7.tgz#0910adc1f15874e89eef10156ae836e697db62b1" + integrity sha512-FayJzXGwYgL31g4R2T4XD9TTrThfNw1aLus6nxPFItcTIN/3TdQ6Ls4Bjmf8ZPi4XtowVvJt+npJMRii2lkt5A== dependencies: "@rdf-esm/data-model" "^0.5.3" - "@tpluscode/rdf-ns-builders" "^1.0.0" - "@tpluscode/rdfine" "^0.5.34" + "@tpluscode/rdf-ns-builders" "^2.0.1" + "@tpluscode/rdfine" "^0.5.39" -"@rdfine/rdfs@^0.6.9": - version "0.6.9" - resolved "https://registry.yarnpkg.com/@rdfine/rdfs/-/rdfs-0.6.9.tgz#58a094bc8813ad947989ad58258ad0a64c214852" - integrity sha512-7+S2elxBBAM9rdG6E5HnNPfXDbwTLXox37qMI5I/muhd0OR/taAF4jvw2daqBz8hopbid45R7lfBfk8XY0sWAQ== +"@rdfine/rdfs@^0.6.10": + version "0.6.10" + resolved "https://registry.yarnpkg.com/@rdfine/rdfs/-/rdfs-0.6.10.tgz#4de37074ce1a4e72428356bf40e861eefd46e68b" + integrity sha512-VqQLSkdR1MKzRS4Lt4IULiW/EmzkAtPjS1XuogBZBnwXzpqXaekaeTHp4bLuhpL1mZxYT4kkxDkKpQl+3fnkxQ== dependencies: "@rdf-esm/data-model" "^0.5.3" - "@rdfine/rdf" "^0.5.6" - "@tpluscode/rdf-ns-builders" "^1.0.0" - "@tpluscode/rdfine" "^0.5.34" + "@rdfine/rdf" "^0.5.7" + "@tpluscode/rdf-ns-builders" "^2.0.1" + "@tpluscode/rdfine" "^0.5.39" "@rdfjs/data-model@^1.0.1", "@rdfjs/data-model@^1.1.0", "@rdfjs/data-model@^1.2", "@rdfjs/data-model@^1.2.0", "@rdfjs/data-model@^1.3.3", "@rdfjs/data-model@^1.3.4": version "1.3.4" @@ -792,37 +792,39 @@ resolved "https://registry.yarnpkg.com/@tpluscode/eslint-config/-/eslint-config-0.3.0.tgz#73c71b4fd6ea3d9a91bc500142f35370026b0103" integrity sha512-hpGHFJx21NZEXqgHNfym55plvVByqaggPDJ0r5xG3Zv3FOCzVIkH+6r8JeFmn1MWExIXgyYrdtkzbXtDtUQ/2w== -"@tpluscode/rdf-ns-builders@^1", "@tpluscode/rdf-ns-builders@^1.0.0", "@tpluscode/rdf-ns-builders@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@tpluscode/rdf-ns-builders/-/rdf-ns-builders-1.1.0.tgz#92baf7c2c08c080396161c7944081804507c9490" - integrity sha512-/4mH/GL9DXKQLtAw+11DRtu67rsRiqB4XkShnaiNa1UTtyTbNWNOMr8Hxb8VsteuVOs/16wloLzxI1o6TwfS/g== +"@tpluscode/rdf-ns-builders@^2", "@tpluscode/rdf-ns-builders@^2.0.0", "@tpluscode/rdf-ns-builders@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@tpluscode/rdf-ns-builders/-/rdf-ns-builders-2.0.1.tgz#1074666a538f6ea2946bf67dac12da191fd2d928" + integrity sha512-P/pwfjhcj/JOZF3epheHiDd/f9tSkceydQBqBuqThpNX2NIg+4BSgwtG2YfKBa24mmGFfyzN6RVeFclhA8wZBw== dependencies: + "@rdf-esm/data-model" "^0.5.4" "@rdf-esm/namespace" "^0.5.1" "@rdfjs/types" "*" commander "^7.2.0" fs-extra "^10.0.0" -"@tpluscode/rdf-string@^0.2.25": - version "0.2.25" - resolved "https://registry.yarnpkg.com/@tpluscode/rdf-string/-/rdf-string-0.2.25.tgz#287672fdf2181c19d7394aa07ea4a6565a45a099" - integrity sha512-oggYq6sh7HvAEeW6r1+wE5qziPI2YQ4UfcgFBXx5JmesLJ2Jlhh//lm8A851bfIMc+JiV14a078HuSftDK07OQ== +"@tpluscode/rdf-string@^0.2.26": + version "0.2.26" + resolved "https://registry.yarnpkg.com/@tpluscode/rdf-string/-/rdf-string-0.2.26.tgz#cdc827d0869c19125358d1cc280dc83375bf6ce1" + integrity sha512-zfNGMmY8D9jVuJ9qHwNrIWMwhibIkO42/1KtCfo59m4vXYTfJrXcn1ny9pj5kuhbpSubRbJ69zmYxP4UrXVPQw== dependencies: "@rdf-esm/data-model" "^0.5.3" "@rdf-esm/term-map" "^0.5.0" "@rdfjs/types" "*" - "@tpluscode/rdf-ns-builders" "^1" + "@tpluscode/rdf-ns-builders" "^2" "@zazuko/rdf-vocabularies" "*" -"@tpluscode/rdfine@^0.5.29", "@tpluscode/rdfine@^0.5.34": - version "0.5.36" - resolved "https://registry.yarnpkg.com/@tpluscode/rdfine/-/rdfine-0.5.36.tgz#3e469b958cd239935a3034cfd791f3510b22be9f" - integrity sha512-K5ARDRDAwbCg3bwKpOyqDH31vpHdHB48ePFOSOQf1a0eoeta/pw39xtpeq0vrdu8y/s5FJr9lI/s0XzfHaxsvQ== +"@tpluscode/rdfine@^0.5.39": + version "0.5.39" + resolved "https://registry.yarnpkg.com/@tpluscode/rdfine/-/rdfine-0.5.39.tgz#0023c9bfd8c0e0b4d5fd441ce501736433a5b02f" + integrity sha512-BviMCXx19E7sD6gmTpXYj7RagUEs2vj+u5H5NcvllXtnnSEIGLKM4T64Q5MrPq44Akr2B2RiQxXWA56x3Xdnjg== dependencies: "@rdf-esm/data-model" "^0.5.3" "@rdf-esm/namespace" "^0.5.2" "@rdf-esm/term-map" "^0.5.0" "@rdf-esm/term-set" "^0.5.0" - "@tpluscode/rdf-ns-builders" "^1.0.0" + "@tpluscode/rdf-ns-builders" "^2.0.1" + "@types/clownface" "^1.2.6" clownface "^1" once "^1.4.0" @@ -846,10 +848,10 @@ "@types/connect" "*" "@types/node" "*" -"@types/clownface@^1.2.5": - version "1.2.5" - resolved "https://registry.yarnpkg.com/@types/clownface/-/clownface-1.2.5.tgz#5c1098ae8232b8018f14dde4259283c0e64cfca6" - integrity sha512-5IQHgyqWZz1Jv8cEb8sVC/Da2N+UTBJiQPLQiurOzOVbyxD95aB59o1MEGr9hJ9HLYFR8EAKiIeYP4vfAsaXtw== +"@types/clownface@^1.2.5", "@types/clownface@^1.2.6": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@types/clownface/-/clownface-1.5.0.tgz#8da08cd66c2762b49aed111d9afcf6f06a9d7a9b" + integrity sha512-/TPkbDuGUn7PXyHi3UMGnM88XltVDkutc0cgYBjouQBZAu22jQ5v2xBtfyd+MYxIGtSTF/NWByyl94M3Uk9QHA== dependencies: rdf-js "^4.0.2" @@ -1041,10 +1043,10 @@ resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== -"@types/parse-link-header@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/parse-link-header/-/parse-link-header-1.0.1.tgz#6eade790736a050b9242c7c6b2fceda9b3dc394a" - integrity sha512-E2+Go9rQgPbmpkeA2iFXTWSTxX38KXlXwcdiIbt71Oorqr+G5QtH4AhpuDdxwRVyiTzdUrHnaaIumW/LhiZwVg== +"@types/parse-link-header@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/parse-link-header/-/parse-link-header-2.0.0.tgz#a94d86ac2d13e3cdef4429c977217084e32378e7" + integrity sha512-KbqcQLdRaawDOfXnwqr6nvhe1MV+Uv/Ww+ViSx7Ujgw9X5qCgObLP52B1ZSJqZD8FK1y/4o+bJQTUrZOynegcg== "@types/parse5@^2.2.34": version "2.2.34" @@ -1429,24 +1431,24 @@ ajv@^8.0.1: require-from-string "^2.0.2" uri-js "^4.2.2" -alcaeus@^2.1.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/alcaeus/-/alcaeus-2.2.1.tgz#c23b69355fd399ca0f2339ec9a5db64cf0a71bcf" - integrity sha512-41mYgOKy943xyurR5Ux08QB7n+aWrBTlcaMM0VYhMjLFbnV9Prr0eFscJbmG8EkxkQDzdB4Fvkck6dD0tu+TQA== +alcaeus@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/alcaeus/-/alcaeus-2.2.3.tgz#252a2c376235c0f32e58e07087dfeefb747a8d90" + integrity sha512-yXDIM5Fc+47pjjiyxU0gI4n9xT8CCsWNSQvS1RfOTm20gNdjvU2ldXTVAgbEfYRezXxHi7CUYMW9K9M0MkTHYw== dependencies: "@rdf-esm/data-model" "^0.5.3" "@rdf-esm/formats-common" "^0.5.6" "@rdf-esm/sink-map" "^0.5.0" "@rdf-esm/term-map" "^0.5.0" "@rdf-esm/term-set" "^0.5.0" - "@rdfine/hydra" "^0.8.0" - "@rdfine/rdf" "^0.5.4" + "@rdfine/hydra" "^0.8.4" + "@rdfine/rdf" "^0.5.7" "@rdfjs/dataset" "^1.1.1" "@rdfjs/formats-common" "^2.2.0" "@rdfjs/types" "*" - "@tpluscode/rdf-ns-builders" "^1.0.0" - "@tpluscode/rdfine" "^0.5.29" - "@types/parse-link-header" "^1.0.0" + "@tpluscode/rdf-ns-builders" "^2.0.0" + "@tpluscode/rdfine" "^0.5.39" + "@types/parse-link-header" "^2.0.0" clownface "^1.1.0" isomorphic-fetch "^3.0.0" isomorphic-form-data "^2.0.0" @@ -2134,14 +2136,7 @@ debounce@^1.2.0: resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== -debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3: - version "4.3.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" - integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== - dependencies: - ms "2.1.2" - -debug@4.3.4: +debug@4, debug@4.3.4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==