@smartive/graphql-magic 16.2.5 → 16.3.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/CHANGELOG.md +3 -3
- package/dist/bin/gqm.cjs +2 -0
- package/dist/cjs/index.cjs +3 -3
- package/docs/package-lock.json +450 -356
- package/docs/package.json +5 -5
- package/package.json +4 -4
- package/src/bin/gqm/static-eval.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
# [16.3.0](https://github.com/smartive/graphql-magic/compare/v16.2.6...v16.3.0) (2025-02-03)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* Support !== in staticEval ([d086e43](https://github.com/smartive/graphql-magic/commit/d086e43052f03187c7619eb12abbcdeb4108d235))
|
package/dist/bin/gqm.cjs
CHANGED
|
@@ -2146,6 +2146,8 @@ var VISITOR = {
|
|
|
2146
2146
|
switch (node.getOperatorToken().getKind()) {
|
|
2147
2147
|
case import_ts_morph2.SyntaxKind.EqualsEqualsEqualsToken:
|
|
2148
2148
|
return staticEval(node.getLeft(), context) === staticEval(node.getRight(), context);
|
|
2149
|
+
case import_ts_morph2.SyntaxKind.ExclamationEqualsEqualsToken:
|
|
2150
|
+
return staticEval(node.getLeft(), context) !== staticEval(node.getRight(), context);
|
|
2149
2151
|
case import_ts_morph2.SyntaxKind.BarBarToken:
|
|
2150
2152
|
return staticEval(node.getLeft(), context) || staticEval(node.getRight(), context);
|
|
2151
2153
|
default:
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
29
|
// src/index.ts
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
32
32
|
AliasGenerator: () => AliasGenerator,
|
|
33
33
|
DATE_CLASS: () => DATE_CLASS,
|
|
34
34
|
DATE_CLASS_IMPORT: () => DATE_CLASS_IMPORT,
|
|
@@ -177,7 +177,7 @@ __export(src_exports, {
|
|
|
177
177
|
typeToField: () => typeToField,
|
|
178
178
|
value: () => value
|
|
179
179
|
});
|
|
180
|
-
module.exports = __toCommonJS(
|
|
180
|
+
module.exports = __toCommonJS(index_exports);
|
|
181
181
|
|
|
182
182
|
// src/api/execute.ts
|
|
183
183
|
var import_schema = require("@graphql-tools/schema");
|