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

@zazuko/query-rdf-data-cube

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zazuko/query-rdf-data-cube - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

dist/es/index.d.ts

5

CHANGELOG.md

@@ -0,1 +1,6 @@

<a name="0.0.8"></a>
## [0.0.8](https://github.com/zazuko/query-rdf-data-cube/compare/v0.0.7...v0.0.8) (2019-09-10)
<a name="0.0.7"></a>

@@ -2,0 +7,0 @@ ## [0.0.7](https://github.com/zazuko/query-rdf-data-cube/compare/v0.0.6...v0.0.7) (2019-09-10)

@@ -5,2 +5,7 @@ import { Term } from "rdf-js";

import { IExpr } from "../expressions/utils";
export declare type SerializedComponent = {
componentType: string;
iri: string;
labels: Label[];
};
declare class Component extends BaseExpr {

@@ -7,0 +12,0 @@ /**

7

dist/es/datacube.d.ts

@@ -8,3 +8,8 @@ import { NamedNode } from "rdf-js";

}
export declare class DataCube {
export declare type SerializedDataCube = {
endpoint: string;
languages: string[];
datasets: string[];
};
export default class DataCube {
/**

@@ -11,0 +16,0 @@ * Deserializes a DataCube from JSON generated by DataCube#toJSON

2

dist/es/datacube.js

@@ -6,3 +6,3 @@ import { namedNode, variable } from "@rdfjs/data-model";

import SparqlFetcher from "./sparqlfetcher";
export class DataCube {
export default class DataCube {
/**

@@ -9,0 +9,0 @@ * A DataCube queries a SPARQL endpoint and retrieves [[DataSet]]s and

import { Literal } from "rdf-js";
declare class BaseExpr implements IExpr {
export default class BaseExpr implements IExpr {
resolve(mapping: Map<string, string>): IExpr;

@@ -23,4 +23,3 @@ readonly not: Operator;

}
export default BaseExpr;
import Operator from "./operator";
import { IExpr, IntoExpr } from "./utils";

@@ -23,3 +23,3 @@ const notableOperators = {

}
class BaseExpr {
export default class BaseExpr {
resolve(mapping) {

@@ -115,5 +115,4 @@ throw new Error("Not implemented");

}
export default BaseExpr;
// for cyclic dependencies
import Operator from "./operator";
//# sourceMappingURL=base.js.map

@@ -19,1 +19,2 @@ import { Literal, Term } from "rdf-js";

export declare function toLiteral(arg: any): Literal;
export declare function isLiteral(term: any): term is Literal;

@@ -100,5 +100,5 @@ // tslint:disable: max-classes-per-file

}
function isLiteral(term) {
export function isLiteral(term) {
return (term instanceof literal("").constructor);
}
//# sourceMappingURL=utils.js.map

@@ -13,3 +13,3 @@ import Component from "../components/index";

*/
declare class DataSetQuery {
export default class DataSetQuery {
private dataSet;

@@ -130,2 +130,1 @@ private bindingToComponent;

}
export default DataSetQuery;

@@ -14,3 +14,3 @@ import { namedNode, variable } from "@rdfjs/data-model";

*/
class DataSetQuery {
export default class DataSetQuery {
/**

@@ -441,3 +441,2 @@ * Creates an instance of DataSetQuery. You should not have to manually create queries,

}
export default DataSetQuery;
//# sourceMappingURL=datasetquery.js.map
import fetch, { RequestInit } from "node-fetch";
import { Term } from "rdf-js";
export declare type Result = Record<string, Term>;
export interface ISparqlFetcherOptions {

@@ -5,0 +3,0 @@ fetch?: typeof fetch;

@@ -5,2 +5,7 @@ import { Term } from "rdf-js";

import { IExpr } from "../expressions/utils";
export declare type SerializedComponent = {
componentType: string;
iri: string;
labels: Label[];
};
declare class Component extends BaseExpr {

@@ -7,0 +12,0 @@ /**

@@ -8,3 +8,8 @@ import { NamedNode } from "rdf-js";

}
export declare class DataCube {
export declare type SerializedDataCube = {
endpoint: string;
languages: string[];
datasets: string[];
};
export default class DataCube {
/**

@@ -11,0 +16,0 @@ * Deserializes a DataCube from JSON generated by DataCube#toJSON

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

}
exports.DataCube = DataCube;
exports.default = DataCube;
//# sourceMappingURL=datacube.js.map
import { Literal } from "rdf-js";
declare class BaseExpr implements IExpr {
export default class BaseExpr implements IExpr {
resolve(mapping: Map<string, string>): IExpr;

@@ -23,4 +23,3 @@ readonly not: Operator;

}
export default BaseExpr;
import Operator from "./operator";
import { IExpr, IntoExpr } from "./utils";

@@ -19,1 +19,2 @@ import { Literal, Term } from "rdf-js";

export declare function toLiteral(arg: any): Literal;
export declare function isLiteral(term: any): term is Literal;

@@ -113,2 +113,3 @@ "use strict";

}
exports.isLiteral = isLiteral;
//# sourceMappingURL=utils.js.map

@@ -13,3 +13,3 @@ import Component from "../components/index";

*/
declare class DataSetQuery {
export default class DataSetQuery {
private dataSet;

@@ -130,2 +130,1 @@ private bindingToComponent;

}
export default DataSetQuery;
import fetch, { RequestInit } from "node-fetch";
import { Term } from "rdf-js";
export declare type Result = Record<string, Term>;
export interface ISparqlFetcherOptions {

@@ -5,0 +3,0 @@ fetch?: typeof fetch;

{
"name": "@zazuko/query-rdf-data-cube",
"version": "0.0.7",
"version": "0.0.8",
"description": "Query (or introspect) [RDF Data Cubes](https://www.w3.org/TR/vocab-data-cube/) with a JavaScript API, without writing SPARQL.",

@@ -19,5 +19,5 @@ "scripts": {

},
"types": "dist/node/datacube.d.ts",
"main": "dist/node/datacube.js",
"module": "dist/es/datacube.js",
"types": "dist/node/index.d.ts",
"main": "dist/node/index.js",
"module": "dist/es/index.js",
"files": [

@@ -24,0 +24,0 @@ "dist"

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 not supported yet

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 not supported yet

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