@types/rdfjs__term-map
Advanced tools
Comparing version 2.0.1 to 2.0.2
import TermMap from '.'; | ||
import { Term } from 'rdf-js'; | ||
import { Term } from '@rdfjs/types'; | ||
export default class Factory { | ||
static readonly exports: ['termMap']; | ||
export interface TermMapFactory { | ||
// eslint-disable-next-line no-unnecessary-generics | ||
termMap<T extends Term = Term, V = any>(entries?: Array<[Term, V]>): TermMap<T, V>; | ||
termMap<T extends Term = Term, V = any>(entries?: Array<[T, V]>): TermMap<T, V>; | ||
} | ||
interface FactoryCtor { | ||
new(): TermMapFactory; | ||
exports: ['termMap']; | ||
} | ||
declare const factoryCtor: FactoryCtor; | ||
export default factoryCtor; |
@@ -7,3 +7,3 @@ // Type definitions for @rdfjs/term-map 2.0 | ||
import { Term } from "rdf-js"; | ||
import { Term } from "@rdfjs/types"; | ||
@@ -10,0 +10,0 @@ export default class TermMap<T extends Term = Term, V = any> extends Map<T, V> { |
{ | ||
"name": "@types/rdfjs__term-map", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "TypeScript definitions for @rdfjs/term-map", | ||
@@ -28,6 +28,6 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__term-map", | ||
"dependencies": { | ||
"rdf-js": "^4.0.2" | ||
"@rdfjs/types": "*" | ||
}, | ||
"typesPublisherContentHash": "65d84accea28eb0dd401865b58b583d1febbefc6d68825807d80b707df195a4c", | ||
"typesPublisherContentHash": "a0a2b0e7108b84a6f9e28e79d405301b14f673d872c963b95ecac539cef822dc", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 30 Dec 2022 23:03:45 GMT | ||
* Dependencies: [@types/rdf-js](https://npmjs.com/package/@types/rdf-js) | ||
* Last updated: Tue, 14 Mar 2023 18:02:46 GMT | ||
* Dependencies: [@types/rdfjs__types](https://npmjs.com/package/@types/rdfjs__types) | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
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
3594
21
1
+ Added@rdfjs/types@*
- Removedrdf-js@^4.0.2
- Removedrdf-js@4.0.2(transitive)