@comunica/types
Advanced tools
Comparing version 1.22.0 to 2.0.1-alpha.5.0
The MIT License (MIT) | ||
Copyright © 2017–2018 Ruben Taelman, Joachim Van Herwegen | ||
Ghent University – imec, Belgium | ||
Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen | ||
Comunica Association and Ghent University – imec, Belgium | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "@comunica/types", | ||
"version": "1.22.0", | ||
"version": "2.0.1-alpha.5.0", | ||
"description": "Typings module for Comunica", | ||
"main": "index.js", | ||
"typings": "index", | ||
"lsd:module": true, | ||
"main": "lib/index.js", | ||
"typings": "lib/index", | ||
"repository": { | ||
@@ -29,35 +30,16 @@ "type": "git", | ||
"bin/**/*.d.ts", | ||
"bin/**/*.js", | ||
"index.d.ts", | ||
"index.js" | ||
"bin/**/*.js" | ||
], | ||
"dependencies": { | ||
"@rdfjs/types": "*", | ||
"asynciterator": "^3.2.0", | ||
"immutable": "^3.8.2", | ||
"sparqlalgebrajs": "^3.0.1" | ||
"@types/yargs": "^17.0.2", | ||
"asynciterator": "^3.2.1", | ||
"sparqlalgebrajs": "^4.0.0" | ||
}, | ||
"jest": { | ||
"globals": { | ||
"ts-jest": { | ||
"tsConfig": "../../tsconfig.json" | ||
} | ||
}, | ||
"transform": { | ||
"^.+\\.ts$": "ts-jest" | ||
}, | ||
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
], | ||
"collectCoverage": true | ||
}, | ||
"scripts": { | ||
"test": "node \"../../node_modules/jest/bin/jest.js\" ${1}", | ||
"test-watch": "node \"../../node_modules/jest/bin/jest.js\" ${1} --watch", | ||
"build": "node \"../../node_modules/typescript/bin/tsc\"", | ||
"validate": "npm ls" | ||
"build": "npm run build:ts && npm run build:components", | ||
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"", | ||
"build:components": "componentsjs-generator" | ||
}, | ||
"gitHead": "0a249ba341022eb2f1b9922fcf549a9564671d9f" | ||
"gitHead": "e2ae2e9e924bf0656df60cc99774f7e560d47695" | ||
} |
@@ -20,8 +20,9 @@ # Comunica Types | ||
import { Bindings } from '@comunica/types'; | ||
import { BindingsFactory } from '@comunica/bindings-factory'; | ||
// ... | ||
const bindings: Bindings = Bindings({ '?var': dataFactory.literal('abc') }); | ||
const bindings: Bindings = BindingsFactory.bindings({ '?var': dataFactory.literal('abc') }); | ||
``` | ||
All types are available in [`index.ts`](https://github.com/comunica/comunica/blob/master/packages/context-entries/index.ts). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58997
43
460
28
1
1
+ Added@types/yargs@^17.0.2
+ Added@types/yargs@17.0.33(transitive)
+ Added@types/yargs-parser@21.0.3(transitive)
+ Addedsparqlalgebrajs@4.3.8(transitive)
- Removedimmutable@^3.8.2
- Removedimmutable@3.8.2(transitive)
- Removedsparqlalgebrajs@3.0.3(transitive)
Updatedasynciterator@^3.2.1
Updatedsparqlalgebrajs@^4.0.0