@smartive/graphql-magic 16.2.6 → 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 CHANGED
@@ -1,6 +1,6 @@
1
- ## [16.2.6](https://github.com/smartive/graphql-magic/compare/v16.2.5...v16.2.6) (2025-01-04)
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
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * **deps:** update docusaurus monorepo to v3.7.0 ([#234](https://github.com/smartive/graphql-magic/issues/234)) ([f037ed1](https://github.com/smartive/graphql-magic/commit/f037ed150ac4b18a739ce7cbe689f391f43fbc2e))
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/graphql-magic",
3
- "version": "16.2.6",
3
+ "version": "16.3.0",
4
4
  "description": "",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -72,9 +72,9 @@
72
72
  "@smartive/eslint-config": "3.3.0",
73
73
  "@smartive/prettier-config": "3.1.2",
74
74
  "@types/jest": "29.5.14",
75
- "@types/lodash": "4.17.14",
75
+ "@types/lodash": "4.17.15",
76
76
  "@types/luxon": "3.4.2",
77
- "@types/pg": "8.11.10",
77
+ "@types/pg": "8.11.11",
78
78
  "@types/uuid": "9.0.8",
79
79
  "create-ts-index": "1.14.0",
80
80
  "del-cli": "5.1.0",
@@ -170,6 +170,8 @@ const VISITOR: Visitor<unknown, Dictionary<unknown>> = {
170
170
  switch (node.getOperatorToken().getKind()) {
171
171
  case SyntaxKind.EqualsEqualsEqualsToken:
172
172
  return staticEval(node.getLeft(), context) === staticEval(node.getRight(), context);
173
+ case SyntaxKind.ExclamationEqualsEqualsToken:
174
+ return staticEval(node.getLeft(), context) !== staticEval(node.getRight(), context);
173
175
  case SyntaxKind.BarBarToken:
174
176
  return staticEval(node.getLeft(), context) || staticEval(node.getRight(), context);
175
177
  default: