Socket
Socket
Sign inDemoInstall

@types/rdf-js

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdf-js - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

6

rdf-js/index.d.ts

@@ -249,3 +249,3 @@ // Type definitions for the RDFJS specification 2.0

*/
export interface DataFactory<Q extends BaseQuad = Quad> {
export interface DataFactory<OutQuad extends BaseQuad = Quad, InQuad extends BaseQuad = OutQuad> {
/**

@@ -301,3 +301,3 @@ * @param value The IRI for the named node.

*/
triple(subject: Q['subject'], predicate: Q['predicate'], object: Q['object']): Q;
triple(subject: InQuad['subject'], predicate: InQuad['predicate'], object: InQuad['object']): InQuad;

@@ -312,3 +312,3 @@ /**

*/
quad(subject: Q['subject'], predicate: Q['predicate'], object: Q['object'], graph?: Q['graph']): Q;
quad(subject: InQuad['subject'], predicate: InQuad['predicate'], object: InQuad['object'], graph?: InQuad['graph']): OutQuad;
}

@@ -315,0 +315,0 @@

{
"name": "@types/rdf-js",
"version": "2.0.11",
"version": "2.0.12",
"description": "TypeScript definitions for the RDFJS specification",

@@ -29,4 +29,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "6dcd5e947a584286917de5cae0fd5a78540fb1a44d96f0229f57b28990083688",
"typesPublisherContentHash": "031e66d064fdc618f3a17d62f80dd1bba320b8456408a2a689f67e0c6381759d",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 27 Jan 2020 22:31:32 GMT
* Last updated: Mon, 06 Apr 2020 18:13:03 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Ruben Taelman (https://github.com/rubensworks), and Laurens Rietveld (https://github.com/LaurensRietveld).
These definitions were written by [Ruben Taelman](https://github.com/rubensworks), and [Laurens Rietveld](https://github.com/LaurensRietveld).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc