@tellaro/tql 1.4.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +67 -64
- package/dist/src/builder.d.ts +6 -0
- package/dist/src/completionProvider.js +276 -195
- package/dist/src/complexityAnalyzer.js +41 -32
- package/dist/src/index.d.ts +2 -2
- package/dist/src/parser.d.ts +193 -1
- package/dist/src/parser.js +614 -127
- package/dist/src/semanticPreview.d.ts +23 -0
- package/dist/src/semanticPreview.js +111 -41
- package/dist/src/tokenizer.d.ts +134 -5
- package/dist/src/tokenizer.js +129 -110
- package/dist/src/types.d.ts +86 -4
- package/dist/src/validator.d.ts +101 -1
- package/dist/src/validator.js +391 -152
- package/dist/tql.css +1 -1
- package/dist/vue/TqlAutocomplete.vue.js +2 -2
- package/dist/vue/TqlChart.vue.js +1 -1
- package/dist/vue/TqlInput.vue.js +2 -2
- package/dist/vue/TqlInput.vue2.js +273 -254
- package/package.json +128 -128
package/package.json
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tellaro/tql",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Tellaro Query Language (TQL) parser, validator, and autocomplete for JavaScript/TypeScript",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./vue": {
|
|
15
|
-
"import": "./dist/vue/index.js",
|
|
16
|
-
"types": "./dist/vue/index.d.ts"
|
|
17
|
-
},
|
|
18
|
-
"./chart": {
|
|
19
|
-
"import": "./dist/src/chart/index.js",
|
|
20
|
-
"types": "./dist/src/chart/index.d.ts"
|
|
21
|
-
},
|
|
22
|
-
"./style.css": "./dist/tql.css",
|
|
23
|
-
"./dist/style.css": "./dist/tql.css",
|
|
24
|
-
"./dist/tql.css": "./dist/tql.css"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist",
|
|
28
|
-
"README.md"
|
|
29
|
-
],
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "vite build",
|
|
32
|
-
"test": "vitest run",
|
|
33
|
-
"test:watch": "vitest",
|
|
34
|
-
"test:shared": "vitest run --grep 'shared-fixtures'",
|
|
35
|
-
"test:e2e": "playwright test",
|
|
36
|
-
"test:e2e:ui": "playwright test --ui",
|
|
37
|
-
"playground:serve": "vite --config vite.playground.config.ts --port 5174",
|
|
38
|
-
"playground:dev": "vite --config vite.playground.config.ts",
|
|
39
|
-
"lint": "eslint src vue tests --ext .ts,.vue",
|
|
40
|
-
"typecheck": "vue-tsc --noEmit",
|
|
41
|
-
"prepublishOnly": "npm run build"
|
|
42
|
-
},
|
|
43
|
-
"repository": {
|
|
44
|
-
"type": "git",
|
|
45
|
-
"url": "git+https://github.com/h-a-security-solutions-llc/tellaro-query-language.git",
|
|
46
|
-
"directory": "js"
|
|
47
|
-
},
|
|
48
|
-
"keywords": [
|
|
49
|
-
"tql",
|
|
50
|
-
"tellaro",
|
|
51
|
-
"query",
|
|
52
|
-
"language",
|
|
53
|
-
"parser",
|
|
54
|
-
"validator",
|
|
55
|
-
"autocomplete",
|
|
56
|
-
"vue"
|
|
57
|
-
],
|
|
58
|
-
"author": "H&A Security Solutions LLC",
|
|
59
|
-
"license": "MIT",
|
|
60
|
-
"peerDependencies": {
|
|
61
|
-
"@vueuse/core": "^10.0.0",
|
|
62
|
-
"chart.js": "^3.9.0 || ^4.0.0",
|
|
63
|
-
"chartjs-adapter-luxon": "^1.3.0",
|
|
64
|
-
"chartjs-plugin-annotation": "^3.0.0",
|
|
65
|
-
"chartjs-plugin-datalabels": "^2.0.0",
|
|
66
|
-
"luxon": "^3.0.0",
|
|
67
|
-
"vue": "^3.4.0"
|
|
68
|
-
},
|
|
69
|
-
"peerDependenciesMeta": {
|
|
70
|
-
"vue": {
|
|
71
|
-
"optional": true
|
|
72
|
-
},
|
|
73
|
-
"@vueuse/core": {
|
|
74
|
-
"optional": true
|
|
75
|
-
},
|
|
76
|
-
"chart.js": {
|
|
77
|
-
"optional": true
|
|
78
|
-
},
|
|
79
|
-
"chartjs-adapter-luxon": {
|
|
80
|
-
"optional": true
|
|
81
|
-
},
|
|
82
|
-
"chartjs-plugin-annotation": {
|
|
83
|
-
"optional": true
|
|
84
|
-
},
|
|
85
|
-
"chartjs-plugin-datalabels": {
|
|
86
|
-
"optional": true
|
|
87
|
-
},
|
|
88
|
-
"luxon": {
|
|
89
|
-
"optional": true
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"devDependencies": {
|
|
93
|
-
"@playwright/test": "^1.40.0",
|
|
94
|
-
"@types/js-yaml": "^4.0.9",
|
|
95
|
-
"@types/node": "^20.11.0",
|
|
96
|
-
"@vitejs/plugin-vue": "^6.0.4",
|
|
97
|
-
"@vue/test-utils": "^2.4.0",
|
|
98
|
-
"@vue/tsconfig": "^0.5.1",
|
|
99
|
-
"@vueuse/core": "^10.0.0",
|
|
100
|
-
"ajv": "^8.17.1",
|
|
101
|
-
"chart.js": "^4.5.1",
|
|
102
|
-
"chartjs-adapter-luxon": "^1.3.1",
|
|
103
|
-
"chartjs-plugin-annotation": "^3.1.0",
|
|
104
|
-
"chartjs-plugin-datalabels": "^2.2.0",
|
|
105
|
-
"eslint": "^8.56.0",
|
|
106
|
-
"js-yaml": "^4.1.0",
|
|
107
|
-
"jsdom": "^24.0.0",
|
|
108
|
-
"luxon": "^3.7.2",
|
|
109
|
-
"typescript": "^5.3.0",
|
|
110
|
-
"vite": "^7.3.2",
|
|
111
|
-
"vite-plugin-dts": "^4.5.4",
|
|
112
|
-
"vitest": "^4.0.18",
|
|
113
|
-
"vue": "^3.4.0",
|
|
114
|
-
"vue-tsc": "^3.2.4"
|
|
115
|
-
},
|
|
116
|
-
"engines": {
|
|
117
|
-
"node": ">=18.0.0"
|
|
118
|
-
},
|
|
119
|
-
"overrides": {
|
|
120
|
-
"@microsoft/api-extractor": {
|
|
121
|
-
"minimatch": ">=10.2.3"
|
|
122
|
-
},
|
|
123
|
-
"esbuild": ">=0.28.1",
|
|
124
|
-
"flatted": ">=3.4.0",
|
|
125
|
-
"lodash": ">=4.18.0",
|
|
126
|
-
"postcss": ">=8.5.10"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tellaro/tql",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Tellaro Query Language (TQL) parser, validator, and autocomplete for JavaScript/TypeScript",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./vue": {
|
|
15
|
+
"import": "./dist/vue/index.js",
|
|
16
|
+
"types": "./dist/vue/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./chart": {
|
|
19
|
+
"import": "./dist/src/chart/index.js",
|
|
20
|
+
"types": "./dist/src/chart/index.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./style.css": "./dist/tql.css",
|
|
23
|
+
"./dist/style.css": "./dist/tql.css",
|
|
24
|
+
"./dist/tql.css": "./dist/tql.css"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "vite build",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"test:watch": "vitest",
|
|
34
|
+
"test:shared": "vitest run --grep 'shared-fixtures'",
|
|
35
|
+
"test:e2e": "playwright test",
|
|
36
|
+
"test:e2e:ui": "playwright test --ui",
|
|
37
|
+
"playground:serve": "vite --config vite.playground.config.ts --port 5174",
|
|
38
|
+
"playground:dev": "vite --config vite.playground.config.ts",
|
|
39
|
+
"lint": "eslint src vue tests --ext .ts,.vue",
|
|
40
|
+
"typecheck": "vue-tsc --noEmit",
|
|
41
|
+
"prepublishOnly": "npm run build"
|
|
42
|
+
},
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git+https://github.com/h-a-security-solutions-llc/tellaro-query-language.git",
|
|
46
|
+
"directory": "js"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"tql",
|
|
50
|
+
"tellaro",
|
|
51
|
+
"query",
|
|
52
|
+
"language",
|
|
53
|
+
"parser",
|
|
54
|
+
"validator",
|
|
55
|
+
"autocomplete",
|
|
56
|
+
"vue"
|
|
57
|
+
],
|
|
58
|
+
"author": "H&A Security Solutions LLC",
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"@vueuse/core": "^10.0.0",
|
|
62
|
+
"chart.js": "^3.9.0 || ^4.0.0",
|
|
63
|
+
"chartjs-adapter-luxon": "^1.3.0",
|
|
64
|
+
"chartjs-plugin-annotation": "^3.0.0",
|
|
65
|
+
"chartjs-plugin-datalabels": "^2.0.0",
|
|
66
|
+
"luxon": "^3.0.0",
|
|
67
|
+
"vue": "^3.4.0"
|
|
68
|
+
},
|
|
69
|
+
"peerDependenciesMeta": {
|
|
70
|
+
"vue": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"@vueuse/core": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"chart.js": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"chartjs-adapter-luxon": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"chartjs-plugin-annotation": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"chartjs-plugin-datalabels": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"luxon": {
|
|
89
|
+
"optional": true
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"devDependencies": {
|
|
93
|
+
"@playwright/test": "^1.40.0",
|
|
94
|
+
"@types/js-yaml": "^4.0.9",
|
|
95
|
+
"@types/node": "^20.11.0",
|
|
96
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
97
|
+
"@vue/test-utils": "^2.4.0",
|
|
98
|
+
"@vue/tsconfig": "^0.5.1",
|
|
99
|
+
"@vueuse/core": "^10.0.0",
|
|
100
|
+
"ajv": "^8.17.1",
|
|
101
|
+
"chart.js": "^4.5.1",
|
|
102
|
+
"chartjs-adapter-luxon": "^1.3.1",
|
|
103
|
+
"chartjs-plugin-annotation": "^3.1.0",
|
|
104
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
|
105
|
+
"eslint": "^8.56.0",
|
|
106
|
+
"js-yaml": "^4.1.0",
|
|
107
|
+
"jsdom": "^24.0.0",
|
|
108
|
+
"luxon": "^3.7.2",
|
|
109
|
+
"typescript": "^5.3.0",
|
|
110
|
+
"vite": "^7.3.2",
|
|
111
|
+
"vite-plugin-dts": "^4.5.4",
|
|
112
|
+
"vitest": "^4.0.18",
|
|
113
|
+
"vue": "^3.4.0",
|
|
114
|
+
"vue-tsc": "^3.2.4"
|
|
115
|
+
},
|
|
116
|
+
"engines": {
|
|
117
|
+
"node": ">=18.0.0"
|
|
118
|
+
},
|
|
119
|
+
"overrides": {
|
|
120
|
+
"@microsoft/api-extractor": {
|
|
121
|
+
"minimatch": ">=10.2.3"
|
|
122
|
+
},
|
|
123
|
+
"esbuild": ">=0.28.1",
|
|
124
|
+
"flatted": ">=3.4.0",
|
|
125
|
+
"lodash": ">=4.18.0",
|
|
126
|
+
"postcss": ">=8.5.10"
|
|
127
|
+
}
|
|
128
|
+
}
|