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

@tpluscode/rdfine

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpluscode/rdfine - npm Package Compare versions

Comparing version 0.6.0-next.0 to 0.6.0-next.1

6

CHANGELOG.md
# Change Log
## 0.6.0-next.1
### Patch Changes
- 8065bdb3: Tweak factory typings
## 0.6.0-next.0

@@ -4,0 +10,0 @@

4

lib/ResourceFactory.d.ts

@@ -29,3 +29,3 @@ /// <reference types="rdfjs__namespace" />

createEntity<S, ID extends ResourceNode = ResourceNode>(term: GraphPointer, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], // TODO: move mixins into options object
options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResourceCore<ID>>;
options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResource<ID>>;
}

@@ -44,3 +44,3 @@ export interface ResourceCreationOptions<R extends RdfResourceCore> {

addMixin(...mixins: (EvaluatedMixin | SingleTypeMixin)[]): void;
createEntity<S, ID extends ResourceNode = ResourceNode>(pointer: ResourceNode, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResourceCore<ID>>;
createEntity<S, ID extends ResourceNode = ResourceNode>(pointer: ResourceNode, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResource<ID>>;
private __getBaseClass;

@@ -47,0 +47,0 @@ private __extend;

{
"name": "@tpluscode/rdfine",
"version": "0.6.0-next.0",
"version": "0.6.0-next.1",
"description": "RDF/JS idiomatic, native, effective",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -90,3 +90,3 @@ import type { NamespaceBuilder } from '@rdf-esm/namespace';

}
declare type UserDefinedInterface<T extends RdfResource | undefined> = Omit<T, keyof RdfResource>;
declare type UserDefinedInterface<T extends RdfResourceCore | undefined> = Omit<T, keyof RdfResource>;
declare type BaseInitializer = Record<string, any> & {

@@ -93,0 +93,0 @@ types?: NamedNode[] | TypeCollection<any>;

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