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

@types/sparqljs

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sparqljs - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

66

sparqljs v2.1/index.d.ts

@@ -8,3 +8,3 @@ // Type definitions for sparqljs 2.1

export const Parser: {
new (
new(
prefixes?: { [prefix: string]: string },

@@ -16,3 +16,3 @@ baseIRI?: string,

export const Generator: {
new (options?: GeneratorOptions): SparqlGenerator;
new(options?: GeneratorOptions): SparqlGenerator;
};

@@ -37,5 +37,5 @@

export interface BaseQuery {
type: 'query';
type: "query";
base?: string | undefined;
prefixes: { [prefix: string]: string; };
prefixes: { [prefix: string]: string };
where?: Pattern[] | undefined;

@@ -46,4 +46,4 @@ values?: ValuePatternRow[] | undefined;

export interface SelectQuery extends BaseQuery {
queryType: 'SELECT';
variables: Variable[] | ['*'];
queryType: "SELECT";
variables: Variable[] | ["*"];
distinct?: boolean | undefined;

@@ -72,3 +72,3 @@ from?: {

export interface ConstructQuery extends BaseQuery {
queryType: 'CONSTRUCT';
queryType: "CONSTRUCT";
template?: Triple[] | undefined;

@@ -78,13 +78,13 @@ }

export interface AskQuery extends BaseQuery {
queryType: 'ASK';
queryType: "ASK";
}
export interface DescribeQuery extends BaseQuery {
queryType: 'DESCRIBE';
variables: Variable[] | ['*'];
queryType: "DESCRIBE";
variables: Variable[] | ["*"];
}
export interface Update {
type: 'update';
prefixes: { [prefix: string]: string; };
type: "update";
prefixes: { [prefix: string]: string };
updates: UpdateOperation[];

@@ -96,3 +96,3 @@ }

export interface InsertDeleteOperation {
updateType: 'insert' | 'delete' | 'deletewhere' | 'insertdelete';
updateType: "insert" | "delete" | "deletewhere" | "insertdelete";
graph?: string | undefined;

@@ -113,3 +113,3 @@ insert?: Quads[] | undefined;

export interface CopyMoveAddOperation {
type: 'copy' | 'move' | 'add';
type: "copy" | "move" | "add";
silent: boolean;

@@ -121,3 +121,3 @@ source: GraphOrDefault;

export interface LoadOperation {
type: 'load';
type: "load";
silent: boolean;

@@ -129,3 +129,3 @@ source: string;

export interface CreateOperation {
type: 'create';
type: "create";
silent: boolean;

@@ -136,3 +136,3 @@ graph: string;

export interface ClearDropOperation {
type: 'clear' | 'drop';
type: "clear" | "drop";
silent: boolean;

@@ -143,3 +143,3 @@ graph: GraphReference;

export interface GraphOrDefault {
type: 'graph';
type: "graph";
name?: string | undefined;

@@ -179,3 +179,3 @@ default?: boolean | undefined;

export interface BgpPattern {
type: 'bgp';
type: "bgp";
triples: Triple[];

@@ -185,3 +185,3 @@ }

export interface GraphQuads {
type: 'graph';
type: "graph";
name: Term;

@@ -192,3 +192,3 @@ triples: Triple[];

export interface BlockPattern {
type: 'optional' | 'union' | 'group' | 'minus' | 'graph' | 'service';
type: "optional" | "union" | "group" | "minus" | "graph" | "service";
patterns: Pattern[];

@@ -198,7 +198,7 @@ }

export interface GroupPattern extends BlockPattern {
type: 'group';
type: "group";
}
export interface GraphPattern extends BlockPattern {
type: 'graph';
type: "graph";
name: Term;

@@ -208,3 +208,3 @@ }

export interface ServicePattern extends BlockPattern {
type: 'service';
type: "service";
name: Term;

@@ -215,3 +215,3 @@ silent: boolean;

export interface FilterPattern {
type: 'filter';
type: "filter";
expression: Expression;

@@ -221,3 +221,3 @@ }

export interface BindPattern {
type: 'bind';
type: "bind";
expression: Expression;

@@ -228,3 +228,3 @@ variable: Term;

export interface ValuesPattern {
type: 'values';
type: "values";
values: ValuePatternRow[];

@@ -243,3 +243,3 @@ }

*/
export type Term = string & { __termBrand: string; };
export type Term = string & { __termBrand: string };

@@ -253,4 +253,4 @@ export interface Triple {

export interface PropertyPath {
type: 'path';
pathType: '|' | '/' | '^' | '+' | '*' | '!';
type: "path";
pathType: "|" | "/" | "^" | "+" | "*" | "!";
items: Array<PropertyPath | Term>;

@@ -277,3 +277,3 @@ }

export interface OperationExpression extends BaseExpression {
type: 'operation';
type: "operation";
operator: string;

@@ -284,3 +284,3 @@ args: Expression[];

export interface FunctionCallExpression extends BaseExpression {
type: 'functionCall';
type: "functionCall";
function: string;

@@ -291,3 +291,3 @@ args: Expression[];

export interface AggregateExpression extends BaseExpression {
type: 'aggregate';
type: "aggregate";
expression: Expression;

@@ -294,0 +294,0 @@ aggregation: string;

{
"name": "@types/sparqljs",
"version": "2.1.3",
"version": "2.1.4",
"description": "TypeScript definitions for sparqljs",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sparqljs",

"dependencies": {},
"typesPublisherContentHash": "9faf693e561ea4e23ca5b3e7a86e086c7c09409a71f158a78dfee85c6619c2a6",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "2378234ed4754f61cf0be4ba4afc9ff9b4289aefa354b5edbc8c546dc7e99397",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 06 Jul 2021 16:35:08 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
* Dependencies: none

@@ -14,0 +14,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