Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rdfjs__serializer-jsonld-ext

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdfjs__serializer-jsonld-ext - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

9

rdfjs__serializer-jsonld-ext/package.json
{
"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

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