New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/rdfjs__parser-jsonld

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdfjs__parser-jsonld - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

rdfjs__parser-jsonld/FsDocumentLoader.d.ts

5

rdfjs__parser-jsonld/index.d.ts

@@ -5,2 +5,6 @@ import { BaseQuad, DataFactory, Quad, Sink, Stream } from "@rdfjs/types";

export interface DocumentLoader {
load(url: string): Promise<unknown>;
}
export interface ParserOptions {

@@ -10,2 +14,3 @@ baseIRI?: string | undefined;

factory?: DataFactory | undefined;
documentLoader?: DocumentLoader | undefined;
}

@@ -12,0 +17,0 @@

6

rdfjs__parser-jsonld/package.json
{
"name": "@types/rdfjs__parser-jsonld",
"version": "2.1.6",
"version": "2.1.7",
"description": "TypeScript definitions for @rdfjs/parser-jsonld",

@@ -32,4 +32,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__parser-jsonld",

},
"typesPublisherContentHash": "c1418e8146217bb8c309350d36ba42105bc9522f3ddca25f01878c34998800db",
"typeScriptVersion": "4.6"
"typesPublisherContentHash": "b6615322f4278065ee0236047779498fd4122cf9971f08255a471408f3b8171f",
"typeScriptVersion": "4.7"
}

@@ -9,24 +9,5 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__parser-jsonld.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__parser-jsonld/index.d.ts)
````ts
import { BaseQuad, DataFactory, Quad, Sink, Stream } from "@rdfjs/types";
import { EventEmitter } from "events";
import { Context } from "jsonld/jsonld-spec.js";
export interface ParserOptions {
baseIRI?: string | undefined;
context?: Context | undefined;
factory?: DataFactory | undefined;
}
export default class Parser<Q extends BaseQuad = Quad> implements Sink<EventEmitter, Stream<Q>> {
constructor(options?: ParserOptions);
import(stream: EventEmitter, options?: ParserOptions): Stream<Q>;
}
````
### Additional Details
* Last updated: Mon, 08 Jan 2024 20:35:39 GMT
* Last updated: Tue, 14 May 2024 18:36:09 GMT
* Dependencies: [@rdfjs/types](https://npmjs.com/package/@rdfjs/types), [@types/jsonld](https://npmjs.com/package/@types/jsonld)

@@ -33,0 +14,0 @@

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