New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.10 to 0.2.11

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.2.11](https://github.com/tpluscode/rdfine/compare/v0.2.10...v0.2.11) (2020-01-27)
### Bug Fixes
* types property should be declared as interface ([141624c](https://github.com/tpluscode/rdfine/commit/141624ce544e4bad19a00154b7e67fcc4723eafc))
### [0.2.10](https://github.com/tpluscode/rdfine/compare/v0.2.9...v0.2.10) (2020-01-27)

@@ -7,0 +14,0 @@

4

dist/es/lib/RdfResource.js
import cf from 'clownface';
import { ResourceFactory } from './ResourceFactory';
import once from 'once';
import { TypeCollection } from './TypeCollection';
import TypeCollectionCtor from './TypeCollection';
export default class RdfResourceImpl {

@@ -21,3 +21,3 @@ constructor(graph) {

}
this.types = new TypeCollection(this);
this.types = new TypeCollectionCtor(this);
this.__initializeProperties = once(() => {

@@ -24,0 +24,0 @@ const self = this;

@@ -12,3 +12,3 @@ import { rdf } from './vocabs';

}
export class TypeCollection {
export default class {
constructor(resource) {

@@ -15,0 +15,0 @@ this.__resource = resource;

@@ -9,3 +9,3 @@ "use strict";

const once_1 = __importDefault(require("once"));
const TypeCollection_1 = require("./TypeCollection");
const TypeCollection_1 = __importDefault(require("./TypeCollection"));
class RdfResourceImpl {

@@ -27,3 +27,3 @@ constructor(graph) {

}
this.types = new TypeCollection_1.TypeCollection(this);
this.types = new TypeCollection_1.default(this);
this.__initializeProperties = once_1.default(() => {

@@ -30,0 +30,0 @@ const self = this;

@@ -14,3 +14,3 @@ "use strict";

}
class TypeCollection {
class default_1 {
constructor(resource) {

@@ -62,2 +62,2 @@ this.__resource = resource;

}
exports.TypeCollection = TypeCollection;
exports.default = default_1;
import { DatasetCore } from 'rdf-js';
import { RdfResource, ResourceIdentifier } from './RdfResource';
export declare class TypeCollection<D extends DatasetCore> implements Set<RdfResource<D>> {
export interface TypeCollection<D extends DatasetCore> extends Set<RdfResource<D>> {
add(value: RdfResource<D> | ResourceIdentifier | string): this;
delete(value: RdfResource<D> | ResourceIdentifier | string): boolean;
has(value: RdfResource<D> | ResourceIdentifier | string): boolean;
}
export default class<D extends DatasetCore> implements Set<RdfResource<D>> {
private readonly __resource;

@@ -5,0 +10,0 @@ add(value: RdfResource<D> | ResourceIdentifier | string): this;

{
"name": "@tpluscode/rdfine",
"version": "0.2.10",
"version": "0.2.11",
"description": "RDF/JS idiomatic, native, enjoyable",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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