@tinacms/graphql 0.0.0-20230420172343 → 0.0.0-20230420181854

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.es.js CHANGED
@@ -2491,7 +2491,7 @@ var validateField = async (field) => {
2491
2491
  // package.json
2492
2492
  var package_default = {
2493
2493
  name: "@tinacms/graphql",
2494
- version: "1.4.7",
2494
+ version: "1.4.6",
2495
2495
  main: "dist/index.js",
2496
2496
  module: "dist/index.es.js",
2497
2497
  typings: "dist/index.d.ts",
@@ -4176,7 +4176,7 @@ var resolveDateInput = (value) => {
4176
4176
  if (!isValid(date)) {
4177
4177
  throw "Invalid Date";
4178
4178
  }
4179
- return date;
4179
+ return date.toISOString();
4180
4180
  };
4181
4181
 
4182
4182
  // src/resolve.ts
@@ -5036,7 +5036,7 @@ var Database = class {
5036
5036
  query.gte = filterSuffixes?.left ? filterSuffixes.left : "";
5037
5037
  }
5038
5038
  if (!query.lt && !query.lte) {
5039
- query.lte = filterSuffixes?.right ? `${filterSuffixes.right}\uFFFF` : "\uFFFF";
5039
+ query.lte = filterSuffixes?.right ? `${filterSuffixes.right}\xFF` : "\xFF";
5040
5040
  }
5041
5041
  let edges = [];
5042
5042
  let startKey = "";
package/dist/index.js CHANGED
@@ -2542,7 +2542,7 @@ var validateField = async (field) => {
2542
2542
  // package.json
2543
2543
  var package_default = {
2544
2544
  name: "@tinacms/graphql",
2545
- version: "1.4.7",
2545
+ version: "1.4.6",
2546
2546
  main: "dist/index.js",
2547
2547
  module: "dist/index.es.js",
2548
2548
  typings: "dist/index.d.ts",
@@ -4223,7 +4223,7 @@ var resolveDateInput = (value) => {
4223
4223
  if (!(0, import_isValid.default)(date)) {
4224
4224
  throw "Invalid Date";
4225
4225
  }
4226
- return date;
4226
+ return date.toISOString();
4227
4227
  };
4228
4228
 
4229
4229
  // src/resolve.ts
@@ -5096,7 +5096,7 @@ var Database = class {
5096
5096
  query.gte = (filterSuffixes == null ? void 0 : filterSuffixes.left) ? filterSuffixes.left : "";
5097
5097
  }
5098
5098
  if (!query.lt && !query.lte) {
5099
- query.lte = (filterSuffixes == null ? void 0 : filterSuffixes.right) ? `${filterSuffixes.right}\uFFFF` : "\uFFFF";
5099
+ query.lte = (filterSuffixes == null ? void 0 : filterSuffixes.right) ? `${filterSuffixes.right}\xFF` : "\xFF";
5100
5100
  }
5101
5101
  let edges = [];
5102
5102
  let startKey = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-20230420172343",
3
+ "version": "0.0.0-20230420181854",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "typings": "dist/index.d.ts",
@@ -25,8 +25,6 @@
25
25
  "dependencies": {
26
26
  "@graphql-tools/relay-operation-optimizer": "^6.4.1",
27
27
  "@iarna/toml": "^2.2.5",
28
- "@tinacms/mdx": "1.3.8",
29
- "@tinacms/schema-tools": "1.4.2",
30
28
  "abstract-level": "^1.0.3",
31
29
  "body-parser": "^1.19.0",
32
30
  "cors": "^2.8.5",
@@ -73,7 +71,9 @@
73
71
  "unist-util-visit": "^4.0.0",
74
72
  "vfile": "^4.2.0",
75
73
  "ws": "^7.3.1",
76
- "yup": "^0.32.9"
74
+ "yup": "^0.32.9",
75
+ "@tinacms/mdx": "1.3.8",
76
+ "@tinacms/schema-tools": "1.4.2"
77
77
  },
78
78
  "publishConfig": {
79
79
  "registry": "https://registry.npmjs.org"
@@ -83,8 +83,6 @@
83
83
  "directory": "packages/tina-graphql"
84
84
  },
85
85
  "devDependencies": {
86
- "@tinacms/schema-tools": "1.4.2",
87
- "@tinacms/scripts": "1.1.0",
88
86
  "@types/cors": "^2.8.7",
89
87
  "@types/estree": "^0.0.50",
90
88
  "@types/express": "^4.17.8",
@@ -107,7 +105,9 @@
107
105
  "jest-matcher-utils": "27.0.6",
108
106
  "memory-level": "^1.0.0",
109
107
  "nodemon": "2.0.19",
110
- "typescript": "4.3.5"
108
+ "typescript": "4.3.5",
109
+ "@tinacms/schema-tools": "1.4.2",
110
+ "@tinacms/scripts": "1.1.0"
111
111
  },
112
112
  "scripts": {
113
113
  "types": "pnpm tsc",