Comparing version 2.1.1 to 2.2.0
@@ -12,2 +12,4 @@ import { IToken, IRecognitionException, CstNode, TokenType } from 'chevrotain'; | ||
} | ||
declare type Lit = string | number | boolean | undefined | null | void | symbol | {}; | ||
export declare const getAsTypedTuple: <T extends Lit[]>(...args: T) => T; | ||
export { IToken, CstNode, TokenType }; |
@@ -7,2 +7,3 @@ export * from './sparql/BaseSparqlParser'; | ||
export * from './sms/SmsParser'; | ||
export * from './shacl/ShaclParser'; | ||
export * from './helpers/cst'; | ||
@@ -14,5 +15,6 @@ export * from './helpers/types'; | ||
declare const srsTokens: any; | ||
declare const shaclTokens: any; | ||
import { keywords as sparqlKeywords } from './sparql/keywords'; | ||
import { terminals as sparqlTerminals } from './sparql/terminals'; | ||
import * as matchers from './helpers/matchers'; | ||
export { sparqlTokens, turtleTokens, smsTokens, srsTokens, sparqlKeywords, sparqlTerminals, matchers, }; | ||
export { sparqlTokens, turtleTokens, smsTokens, srsTokens, shaclTokens, sparqlKeywords, sparqlTerminals, matchers, }; |
@@ -55,2 +55,3 @@ import { TokenType } from 'chevrotain'; | ||
BIND: TokenType; | ||
UNNEST: TokenType; | ||
UNDEF: TokenType; | ||
@@ -57,0 +58,0 @@ MINUS: TokenType; |
@@ -9,2 +9,4 @@ import { BaseSparqlParser } from './BaseSparqlParser'; | ||
PathSpec: (idxInCallingRule?: number, ...args: any[]) => any; | ||
GraphPatternNotTriples: (idxInCallingRule?: number, ...args: any[]) => void; | ||
Unnest: (idxInCallingRule?: number, ...args: any[]) => any; | ||
BuiltInCall: (idxInCallingRule?: number, ...args: any[]) => void; | ||
@@ -11,0 +13,0 @@ StardogOrCustomFunction: (idxInCallingRule?: number, ...args: any[]) => any; |
@@ -107,2 +107,3 @@ import { TokenType } from 'chevrotain'; | ||
BIND: TokenType; | ||
UNNEST: TokenType; | ||
UNDEF: TokenType; | ||
@@ -182,2 +183,4 @@ MINUS: TokenType; | ||
export declare const pathsTokens: TokenType[]; | ||
export declare const nonStandardTokens: TokenType[]; | ||
export declare const stardogSparqlTokens: TokenType[]; | ||
export declare const sparqlTokenTypes: TokenType[]; |
@@ -1,2 +0,2 @@ | ||
import { IToken, IRecognitionException, CstVisitorConstructor, ICstVisitor, CstNode } from 'chevrotain'; | ||
import { IToken, IRecognitionException, ICstVisitor, CstNode } from 'chevrotain'; | ||
import { ITokensMap } from '../helpers/types'; | ||
@@ -17,5 +17,5 @@ interface SparqlSrsVisitorItem { | ||
} | ||
export declare const getSparqlSrsVisitor: (BaseVisitor: CstVisitorConstructor) => ISparqlSrsVisitor; | ||
export declare const getSparqlSrsVisitor: (BaseVisitor: new (...args: any[]) => ICstVisitor<any, any>) => ISparqlSrsVisitor; | ||
export declare function reduceVisitorItemErrors(acc: IRecognitionException[], item: SparqlSrsVisitorItem): IRecognitionException[]; | ||
export declare function findAndSwapPlaceholders(node: IToken, parentNode: CstNode, visitorItems: SparqlSrsVisitorItem[], key: string): SparqlSrsVisitorItem; | ||
export {}; |
{ | ||
"name": "millan", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "The Stardog Whisperer (error-tolerant parsers for languages used with Stardog)", | ||
@@ -14,3 +14,4 @@ "keywords": [ | ||
"semantic web", | ||
"rules" | ||
"rules", | ||
"shacl" | ||
], | ||
@@ -51,19 +52,20 @@ "main": "dist/millan.js", | ||
"dependencies": { | ||
"chevrotain": "3.0.1", | ||
"lodash.uniqby": "^4.7.0" | ||
"chevrotain": "^4.3.3", | ||
"escape-string-regexp": "^2.0.0", | ||
"lodash.isequal": "^4.5.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^22.2.3", | ||
"@types/lodash.uniqby": "^4.7.4", | ||
"@types/node": "^9.6.6", | ||
"chalk": "^2.4.1", | ||
"del": "^3.0.0", | ||
"fork-ts-checker-webpack-plugin": "^0.5.2", | ||
"fork-ts-checker-webpack-plugin": "^1.3.5", | ||
"husky": "^0.14.3", | ||
"jest": "^22.4.3", | ||
"jest": "^24.8.0", | ||
"lint-staged": "^8.1.0", | ||
"memoize-one": "^5.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.12.1", | ||
"terser-webpack-plugin": "^1.1.0", | ||
"ts-jest": "^22.4.4", | ||
"ts-jest": "^24.0.2", | ||
"ts-loader": "^5.3.1", | ||
@@ -70,0 +72,0 @@ "tslint": "^5.12.1", |
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 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 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
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
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
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
57
3383
6081421
3
+ Addedescape-string-regexp@^2.0.0
+ Addedlodash.isequal@^4.5.0
+ Addedchevrotain@4.8.1(transitive)
+ Addedescape-string-regexp@2.0.0(transitive)
+ Addedlodash.isequal@4.5.0(transitive)
+ Addedregexp-to-ast@0.4.0(transitive)
- Removedlodash.uniqby@^4.7.0
- Removedchevrotain@3.0.1(transitive)
- Removedlodash.uniqby@4.7.0(transitive)
Updatedchevrotain@^4.3.3