@tinacms/graphql 0.55.1 → 0.55.2

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,5 +1,11 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.55.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9ecb392ca: Fix bug which would set markdown body to undefined when the payload was emptry"
8
+
3
9
  ## 0.55.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -22442,8 +22442,8 @@ var Database = class {
22442
22442
  if (keepTemplateKey) {
22443
22443
  extra["_template"] = _template;
22444
22444
  }
22445
- return import_gray_matter.default.stringify(`
22446
- ${$_body}` || "\n", __spreadValues(__spreadValues({}, rest), extra));
22445
+ return import_gray_matter.default.stringify(typeof $_body === "undefined" ? "" : `
22446
+ ${$_body}`, __spreadValues(__spreadValues({}, rest), extra));
22447
22447
  case ".json":
22448
22448
  return JSON.stringify(content3, null, 2);
22449
22449
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.55.1",
3
+ "version": "0.55.2",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [