wizard-ql 2.1.0 → 2.1.1
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 +0 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// src/spec.ts
|
|
2
|
-
var QUOTES = ["'", '"', "`"];
|
|
3
2
|
var BRACKETS = [
|
|
4
3
|
["[", "]"],
|
|
5
4
|
["{", "}"]
|
|
@@ -82,7 +81,6 @@ var COMPARISON_TYPE_DICTIONARY = {
|
|
|
82
81
|
var TYPE_PRIORITY = ["boolean", "date", "number", "string"];
|
|
83
82
|
// src/regex.ts
|
|
84
83
|
var ESCAPE_REGEX = "(?<=(?<!\\\\)(?:\\\\\\\\)*)";
|
|
85
|
-
var QUOTE_REGEX_STR = `${ESCAPE_REGEX}(?<quote>${QUOTES.map((q) => RegExp.escape(q)).join("|")})(?<quotecontent>.*?)${ESCAPE_REGEX}\\k<quote>`;
|
|
86
84
|
|
|
87
85
|
// src/errors.ts
|
|
88
86
|
function constructHeader(startToken, startIndex, endToken, endIndex) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"homepage": "https://github.com/guidance-analytics/wizard-ql",
|
|
8
8
|
"description": "WizardQL is a natural-language-like query language for constructing data queries for resources that meet conditions.",
|
|
9
|
-
"version": "2.1.
|
|
9
|
+
"version": "2.1.1",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "git+https://github.com/guidance-analytics/wizard-ql.git"
|