@tinacms/graphql 0.63.8 → 0.63.9

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -2439,7 +2439,7 @@ var validateField = async (field) => {
2439
2439
 
2440
2440
  // package.json
2441
2441
  var name = "@tinacms/graphql";
2442
- var version = "0.63.8";
2442
+ var version = "0.63.9";
2443
2443
  var main = "dist/index.js";
2444
2444
  var typings = "dist/index.d.ts";
2445
2445
  var files = [
@@ -2672,7 +2672,7 @@ var TinaSchema = class {
2672
2672
  };
2673
2673
  this.getCollectionByFullPath = (filepath) => {
2674
2674
  const collection = this.getCollections().find((collection2) => {
2675
- return filepath.replace("\\", "/").startsWith(collection2.path.replace(/\/?$/, "/"));
2675
+ return filepath.replace(/\\/g, "/").startsWith(collection2.path.replace(/\/?$/, "/"));
2676
2676
  });
2677
2677
  if (!collection) {
2678
2678
  throw new Error(`Unable to find collection for file at ${filepath}`);
@@ -3083,7 +3083,7 @@ var Resolver = class {
3083
3083
  ext: extension,
3084
3084
  name: filename
3085
3085
  } = import_path2.default.parse(fullPath);
3086
- const relativePath = fullPath.replace("\\", "/").replace(collection.path, "").replace(/^\/|\/$/g, "");
3086
+ const relativePath = fullPath.replace(/\\/g, "/").replace(collection.path, "").replace(/^\/|\/$/g, "");
3087
3087
  const breadcrumbs = relativePath.replace(extension, "").split("/");
3088
3088
  const data = {
3089
3089
  _collection: rawData._collection,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.63.8",
3
+ "version": "0.63.9",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@graphql-tools/relay-operation-optimizer": "^6.4.1",
22
22
  "@tinacms/datalayer": "0.2.3",
23
- "@tinacms/schema-tools": "0.1.2",
24
- "@tinacms/mdx": "0.61.6",
23
+ "@tinacms/schema-tools": "0.1.3",
24
+ "@tinacms/mdx": "0.61.7",
25
25
  "body-parser": "^1.19.0",
26
26
  "cors": "^2.8.5",
27
27
  "dataloader": "^2.0.0",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "devDependencies": {
74
74
  "@tinacms/datalayer": "0.2.3",
75
- "@tinacms/schema-tools": "0.1.2",
75
+ "@tinacms/schema-tools": "0.1.3",
76
76
  "@tinacms/scripts": "0.51.1",
77
77
  "@types/cors": "^2.8.7",
78
78
  "@types/estree": "^0.0.50",