New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lincd

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lincd - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

lib/collections/NodeValuesSet.d.ts

2

lib/index.js

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

const SearchMap = __importStar(require("./collections/SearchMap"));
const PropertySet = __importStar(require("./collections/PropertyValueSet"));
const PropertySet = __importStar(require("./collections/NodeValuesSet"));
const NodeMap = __importStar(require("./collections/NodeMap"));

@@ -44,0 +44,0 @@ const NodeSet = __importStar(require("./collections/NodeSet"));

@@ -11,3 +11,3 @@ import { DefaultGraph as TFDefaultGraph, Literal as ILiteral, NamedNode as INamedNode, Term } from 'rdflib/lib/tf-types';

import { IGraphObject } from './interfaces/IGraphObject';
import { PropertyValueSet } from './collections/PropertyValueSet';
import { NodeValuesSet } from './collections/NodeValuesSet';
import { BatchedEventEmitter } from './events/EventBatcher';

@@ -63,3 +63,3 @@ import { EventEmitter } from './events/EventEmitter';

getOne(property: NamedNode): Node | undefined;
getAll(property: NamedNode): PropertyValueSet;
getAll(property: NamedNode): NodeValuesSet;
getValue(property?: NamedNode): string;

@@ -233,3 +233,3 @@ getDeep(property: NamedNode, maxDepth?: number, partialResult?: NodeSet): NodeSet;

*/
properties: CoreMap<NamedNode, PropertyValueSet>;
properties: CoreMap<NamedNode, NodeValuesSet>;
private changedProperties;

@@ -458,3 +458,3 @@ private alteredProperties;

*/
getAll(property: NamedNode): PropertyValueSet;
getAll(property: NamedNode): NodeValuesSet;
/**

@@ -461,0 +461,0 @@ * Returns all values this node EXPLICITLY has for the given property

@@ -55,3 +55,3 @@ import { NamedNode, Node } from '../models';

validate(node: NamedNode): boolean;
resolveFor(node: NamedNode): import("../collections/PropertyValueSet").PropertyValueSet;
resolveFor(node: NamedNode): import("../collections/NodeValuesSet").NodeValuesSet;
}
import { EventEmitter } from '../events/EventEmitter';
import { NamedNode, Node } from '../models';
import { PropertyValueSet } from '../collections/PropertyValueSet';
import { NodeValuesSet } from '../collections/NodeValuesSet';
import { NodeSet } from '../collections/NodeSet';

@@ -14,3 +14,3 @@ import { QuadArray } from '../collections/QuadArray';

import { LinkedDataDeclaration, LinkedDataResponse, LinkedDataSetDeclaration } from '../interfaces/Component';
import { PropertyValueShapeSet } from '../collections/PropertyValueShapeSet';
import { ShapeValuesSet } from '../collections/ShapeValuesSet';
interface IClassConstruct {

@@ -99,3 +99,3 @@ new (): any;

*/
getShapes(property: NamedNode, shapeClass: typeof Shape): PropertyValueShapeSet;
getAllAs<T extends Shape>(property: NamedNode, shapeClass: typeof Shape): ShapeValuesSet<T>;
/**

@@ -166,3 +166,3 @@ * @internal

getOne(property: NamedNode): Node | null;
getAll(property: NamedNode): PropertyValueSet | undefined;
getAll(property: NamedNode): NodeValuesSet | undefined;
getAllExplicit(property: any): NodeSet;

@@ -271,3 +271,3 @@ getOneFromPath(...properties: NamedNode[]): Node | undefined;

static getFromURI<T extends Shape>(this: ShapeLike<T>, uri: string): T;
static getSetOf<T extends Shape>(this: ShapeLike<T>, nodes: PropertyValueSet): PropertyValueShapeSet<T>;
static getSetOf<T extends Shape>(this: ShapeLike<T>, nodes: NodeValuesSet): ShapeValuesSet<T>;
}

@@ -274,0 +274,0 @@ interface Constructor<M> {

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

const rdf_1 = require("../ontologies/rdf");
const PropertyValueSet_1 = require("../collections/PropertyValueSet");
const NodeValuesSet_1 = require("../collections/NodeValuesSet");
const rdfs_1 = require("../ontologies/rdfs");

@@ -18,3 +18,3 @@ const Find_1 = require("../utils/Find");

const CoreSet_1 = require("../collections/CoreSet");
const PropertyValueShapeSet_1 = require("../collections/PropertyValueShapeSet");
const ShapeValuesSet_1 = require("../collections/ShapeValuesSet");
/**

@@ -77,4 +77,4 @@ * The base class of all classes that represent a rdfs:Class in the graph.

*/
getShapes(property, shapeClass) {
return new PropertyValueShapeSet_1.PropertyValueShapeSet(this.namedNode, property, shapeClass);
getAllAs(property, shapeClass) {
return new ShapeValuesSet_1.ShapeValuesSet(this.namedNode, property, shapeClass);
}

@@ -504,4 +504,4 @@ /**

}
if (nodes instanceof PropertyValueSet_1.PropertyValueSet && nodes.subject instanceof models_1.NamedNode) {
return new PropertyValueShapeSet_1.PropertyValueShapeSet(nodes.subject, nodes.property, this);
if (nodes instanceof NodeValuesSet_1.NodeValuesSet && nodes.subject instanceof models_1.NamedNode) {
return new ShapeValuesSet_1.ShapeValuesSet(nodes.subject, nodes.property, this);
}

@@ -508,0 +508,0 @@ return new ShapeSet_1.ShapeSet(nodes.map(node => new this(node)));

@@ -13,3 +13,3 @@ import { Shape } from '../shapes/Shape';

set depiction(val: string);
get knows(): import("../collections/PropertyValueSet").PropertyValueSet;
get knows(): import("../collections/NodeValuesSet").NodeValuesSet;
}

@@ -16,0 +16,0 @@ export declare const Grid: import("../interfaces/Component").LinkedFunctionalSetComponent<{}, Shape>;

{
"name": "lincd",
"license": "MPL-2.0",
"version": "0.5.1",
"version": "0.5.2",
"description": "Linked Interoperable Code & Data - A javascript library for interoperability & collaboration based on W3C's Linked Data standards",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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