This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
[Snyk] Upgrade @inrupt/solid-client from 2.0.0 to 2.1.2 #1022
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @inrupt/solid-client from 2.0.0 to 2.1.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @inrupt/solid-client
Internal change
Patch changes
Full Changelog: v2.1.1...v2.1.2
Internal change
Patch changes
Full Changelog: v2.1.0...v2.1.1
New Features
FetchError
now implementsWithProblemDetails
: it has a.problemDetails
getter providingadditional information about the HTTP error response, either provided by the server if it
supports RFC9457, or falling back to defaults.
Patch changes
Fixed #2339: Unnamed policies are now returned by
getResourcePolicyAll
if an optional argument{ acceptBlankNodes: true }
is specified. This additional argument makes this a non-breaking change,as the current type signature isn't changed.
getThing
now supports Blank Node identifiers in addition to IRIs and skolems to refer to a subject.getThingAll(dataset, { allowacceptBlankNodes: true })
now returns all Blank Nodessubjects in the Dataset, in particular including those part of a single chain of
predicates. For instance, given the following dataset:
@ prefix ex: <https://example.org/> .
@ prefix foaf: <http://xmlns.com/foaf/0.1/> .
ex:camille
foaf:knows [
foaf:name "Dominique"@ en ;
] .
;
getThingAll(dataset, { allowacceptBlankNodes: true })
would have previously returneda single element for the Named Node (
ex:camille
), it will now also include a secondelement for the Blank Node. Blank Node identifiers are by definition unstable and shouldn't
be relied upon beyond local resolution.
New Contributors
Full Changelog: v2.0.1...v2.1.0
Patch changes
getSolidDataset
,getFile
,saveSolidDatasetAt
,overwriteFile
,createContainerAt
,deleteSolidDataset
,deleteFile
,deleteContainer
,saveSolidDatasetInContainer
,createContainerInContainer
,saveFileInContainer
,getResourceInfo
: Input URLs are now normalized by collapsing slash sequences (foo///bar
becomesfoo/bar
), and resolving relative URL segments (foo/bar/..
becomesfoo/
).Breaking Changes
fetch
function instead of@ inrupt/universal-fetch
. This means this library now only workswith Node 18 and higher.
umd
output is now found atdist/index.umd.js
rather thanumd/index.js
.Buffer
s as input tosaveFileInContainer
andoverwriteFile
. Use the file name of inputs tosaveFileInContainer
as theSlug
name recommendation if no slug is explicitly provided.getJsonLdParser
returnvoid
rather than a Promise so that it now aligns withthe
Parser
type definition.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: