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

@comunica/types

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/types - npm Package Compare versions

Comparing version 1.22.0 to 2.0.1-alpha.5.0

components/ActionContext.jsonld

4

LICENSE.txt
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).
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