@types/rdfjs__serializer-jsonld-ext
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "@types/rdfjs__serializer-jsonld-ext", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "TypeScript definitions for @rdfjs/serializer-jsonld-ext", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld-ext", | ||
"license": "MIT", | ||
@@ -23,6 +24,6 @@ "contributors": [ | ||
"@types/jsonld": "*", | ||
"@types/rdf-js": "*" | ||
"rdf-js": "^4.0.2" | ||
}, | ||
"typesPublisherContentHash": "99948fb886a801ea9d8169bd7e8180884d600f5948bbdba53b4b5430adb7894a", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "0680bb98f5c935df9a5db36280cce5d242d003fd6975a6fd75583a0e3c7298da", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,37 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld-ext. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld-ext/index.d.ts) | ||
````ts | ||
// Type definitions for @rdfjs/serializer-jsonld-ext 2.0 | ||
// Project: https://github.com/rdfjs-base/serializer-jsonld-ext | ||
// Definitions by: Chris Wilkinson <https://github.com/thewilkybarkid> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
import { EventEmitter } from 'events'; | ||
import { Context } from 'jsonld/jsonld-spec'; | ||
import { Sink, Stream, BaseQuad, Quad } from 'rdf-js'; | ||
declare namespace Serializer { | ||
interface SerializerOptions { | ||
context?: Context; | ||
compact?: boolean; | ||
encoding?: 'string' | 'object'; | ||
flatten?: boolean; | ||
frame?: boolean; | ||
skipContext?: boolean; | ||
skipGraphProperty?: boolean; | ||
} | ||
} | ||
declare class Serializer<Q extends BaseQuad = Quad> implements Sink<Stream<Q>, EventEmitter> { | ||
constructor(options?: Serializer.SerializerOptions); | ||
import(stream: Stream<Q>, options?: Serializer.SerializerOptions): EventEmitter; | ||
} | ||
export = Serializer; | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 25 Sep 2020 23:56:26 GMT | ||
* Last updated: Thu, 03 Jun 2021 17:02:08 GMT | ||
* Dependencies: [@types/jsonld](https://npmjs.com/package/@types/jsonld), [@types/rdf-js](https://npmjs.com/package/@types/rdf-js) | ||
@@ -14,0 +46,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4821
0
49
+ Addedrdf-js@^4.0.2
- Removed@types/rdf-js@*
- Removed@types/rdf-js@4.0.2(transitive)