@tinacms/graphql 0.0.0-20230315224708 → 0.0.0-20230316172017

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
@@ -2476,7 +2476,7 @@ var validateField = async (field) => {
2476
2476
  // package.json
2477
2477
  var package_default = {
2478
2478
  name: "@tinacms/graphql",
2479
- version: "1.3.4",
2479
+ version: "1.3.5",
2480
2480
  main: "dist/index.js",
2481
2481
  module: "dist/index.es.js",
2482
2482
  typings: "dist/index.d.ts",
@@ -3467,7 +3467,11 @@ var makeStringEscaper = (regex, replacement) => {
3467
3467
  (val) => val.replace(regex, replacement)
3468
3468
  );
3469
3469
  } else {
3470
- return input.replace(regex, replacement);
3470
+ if (typeof input === "string") {
3471
+ return input.replace(regex, replacement);
3472
+ } else {
3473
+ return input;
3474
+ }
3471
3475
  }
3472
3476
  };
3473
3477
  };
package/dist/index.js CHANGED
@@ -2524,7 +2524,7 @@ var validateField = async (field) => {
2524
2524
  // package.json
2525
2525
  var package_default = {
2526
2526
  name: "@tinacms/graphql",
2527
- version: "1.3.4",
2527
+ version: "1.3.5",
2528
2528
  main: "dist/index.js",
2529
2529
  module: "dist/index.es.js",
2530
2530
  typings: "dist/index.d.ts",
@@ -3510,7 +3510,11 @@ var makeStringEscaper = (regex, replacement) => {
3510
3510
  (val) => val.replace(regex, replacement)
3511
3511
  );
3512
3512
  } else {
3513
- return input.replace(regex, replacement);
3513
+ if (typeof input === "string") {
3514
+ return input.replace(regex, replacement);
3515
+ } else {
3516
+ return input;
3517
+ }
3514
3518
  }
3515
3519
  };
3516
3520
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-20230315224708",
3
+ "version": "0.0.0-20230316172017",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "typings": "dist/index.d.ts",
@@ -25,8 +25,8 @@
25
25
  "dependencies": {
26
26
  "@graphql-tools/relay-operation-optimizer": "^6.4.1",
27
27
  "@iarna/toml": "^2.2.5",
28
- "@tinacms/mdx": "0.0.0-20230315224708",
29
- "@tinacms/schema-tools": "0.0.0-20230315224708",
28
+ "@tinacms/mdx": "0.0.0-20230316172017",
29
+ "@tinacms/schema-tools": "0.0.0-20230316172017",
30
30
  "abstract-level": "^1.0.3",
31
31
  "body-parser": "^1.19.0",
32
32
  "cors": "^2.8.5",
@@ -82,8 +82,8 @@
82
82
  "directory": "packages/tina-graphql"
83
83
  },
84
84
  "devDependencies": {
85
- "@tinacms/schema-tools": "0.0.0-20230315224708",
86
- "@tinacms/scripts": "0.0.0-20230315224708",
85
+ "@tinacms/schema-tools": "0.0.0-20230316172017",
86
+ "@tinacms/scripts": "0.0.0-20230316172017",
87
87
  "@types/cors": "^2.8.7",
88
88
  "@types/estree": "^0.0.50",
89
89
  "@types/express": "^4.17.8",