@tinacms/mdx 1.6.1 → 1.6.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.
@@ -23382,7 +23382,9 @@ function mdxJsxFromMarkdown2({ patterns }) {
23382
23382
  if (attribute.name === "") {
23383
23383
  attribute.name = "_value";
23384
23384
  }
23385
- attribute.value = parseEntities(this.resume(), { nonTerminated: false });
23385
+ attribute.value = parseEntities(this.resume(), {
23386
+ nonTerminated: false
23387
+ });
23386
23388
  }
23387
23389
  }
23388
23390
  };
@@ -23634,7 +23636,9 @@ var mdxJsxToMarkdown2 = function(options) {
23634
23636
  if (!emptyChildren) {
23635
23637
  tracker.shift(2);
23636
23638
  value += tracker.move("\n");
23637
- value += tracker.move(containerFlow(node2, context, tracker.current()));
23639
+ value += tracker.move(
23640
+ containerFlow(node2, context, tracker.current())
23641
+ );
23638
23642
  value += tracker.move("\n");
23639
23643
  }
23640
23644
  } else {
@@ -42036,7 +42040,9 @@ function mdxJsx2(options = {}) {
42036
42040
  { locations: true }
42037
42041
  );
42038
42042
  } else if (options.acornOptions || options.addResult) {
42039
- throw new Error("Expected an `acorn` instance passed in as `options.acorn`");
42043
+ throw new Error(
42044
+ "Expected an `acorn` instance passed in as `options.acorn`"
42045
+ );
42040
42046
  }
42041
42047
  const patterns = options.patterns || [];
42042
42048
  const flowRules = {};
@@ -42799,7 +42805,9 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
42799
42805
  content4.position
42800
42806
  );
42801
42807
  default:
42802
- throw new Error(`PhrasingContent: ${content4.type} is not yet supported`);
42808
+ throw new Error(
42809
+ `PhrasingContent: ${content4.type} is not yet supported`
42810
+ );
42803
42811
  }
42804
42812
  };
42805
42813
  const breakContent = () => {
package/dist/index.js CHANGED
@@ -25261,7 +25261,9 @@ function mdxJsxFromMarkdown2({ patterns }) {
25261
25261
  if (attribute.name === "") {
25262
25262
  attribute.name = "_value";
25263
25263
  }
25264
- attribute.value = parseEntities(this.resume(), { nonTerminated: false });
25264
+ attribute.value = parseEntities(this.resume(), {
25265
+ nonTerminated: false
25266
+ });
25265
25267
  }
25266
25268
  }
25267
25269
  };
@@ -25514,7 +25516,9 @@ var mdxJsxToMarkdown2 = function(options) {
25514
25516
  if (!emptyChildren) {
25515
25517
  tracker.shift(2);
25516
25518
  value += tracker.move("\n");
25517
- value += tracker.move(containerFlow(node2, context, tracker.current()));
25519
+ value += tracker.move(
25520
+ containerFlow(node2, context, tracker.current())
25521
+ );
25518
25522
  value += tracker.move("\n");
25519
25523
  }
25520
25524
  } else {
@@ -43935,7 +43939,9 @@ function mdxJsx2(options = {}) {
43935
43939
  { locations: true }
43936
43940
  );
43937
43941
  } else if (options.acornOptions || options.addResult) {
43938
- throw new Error("Expected an `acorn` instance passed in as `options.acorn`");
43942
+ throw new Error(
43943
+ "Expected an `acorn` instance passed in as `options.acorn`"
43944
+ );
43939
43945
  }
43940
43946
  const patterns = options.patterns || [];
43941
43947
  const flowRules = {};
@@ -44705,7 +44711,9 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
44705
44711
  content4.position
44706
44712
  );
44707
44713
  default:
44708
- throw new Error(`PhrasingContent: ${content4.type} is not yet supported`);
44714
+ throw new Error(
44715
+ `PhrasingContent: ${content4.type} is not yet supported`
44716
+ );
44709
44717
  }
44710
44718
  };
44711
44719
  const breakContent = () => {
package/dist/index.mjs CHANGED
@@ -25252,7 +25252,9 @@ function mdxJsxFromMarkdown2({ patterns }) {
25252
25252
  if (attribute.name === "") {
25253
25253
  attribute.name = "_value";
25254
25254
  }
25255
- attribute.value = parseEntities(this.resume(), { nonTerminated: false });
25255
+ attribute.value = parseEntities(this.resume(), {
25256
+ nonTerminated: false
25257
+ });
25256
25258
  }
25257
25259
  }
25258
25260
  };
@@ -25504,7 +25506,9 @@ var mdxJsxToMarkdown2 = function(options) {
25504
25506
  if (!emptyChildren) {
25505
25507
  tracker.shift(2);
25506
25508
  value += tracker.move("\n");
25507
- value += tracker.move(containerFlow(node2, context, tracker.current()));
25509
+ value += tracker.move(
25510
+ containerFlow(node2, context, tracker.current())
25511
+ );
25508
25512
  value += tracker.move("\n");
25509
25513
  }
25510
25514
  } else {
@@ -43906,7 +43910,9 @@ function mdxJsx2(options = {}) {
43906
43910
  { locations: true }
43907
43911
  );
43908
43912
  } else if (options.acornOptions || options.addResult) {
43909
- throw new Error("Expected an `acorn` instance passed in as `options.acorn`");
43913
+ throw new Error(
43914
+ "Expected an `acorn` instance passed in as `options.acorn`"
43915
+ );
43910
43916
  }
43911
43917
  const patterns = options.patterns || [];
43912
43918
  const flowRules = {};
@@ -44669,7 +44675,9 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
44669
44675
  content4.position
44670
44676
  );
44671
44677
  default:
44672
- throw new Error(`PhrasingContent: ${content4.type} is not yet supported`);
44678
+ throw new Error(
44679
+ `PhrasingContent: ${content4.type} is not yet supported`
44680
+ );
44673
44681
  }
44674
44682
  };
44675
44683
  const breakContent = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/mdx",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "typings": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/index.browser.mjs",
@@ -56,7 +56,7 @@
56
56
  "unist-util-visit": "4.1.2",
57
57
  "uvu": "0.5.6",
58
58
  "vfile-message": "3.1.4",
59
- "@tinacms/schema-tools": "1.7.2"
59
+ "@tinacms/schema-tools": "1.7.3"
60
60
  },
61
61
  "publishConfig": {
62
62
  "registry": "https://registry.npmjs.org"
@@ -80,7 +80,7 @@
80
80
  "typescript": "^5.7.3",
81
81
  "vite": "^4.5.9",
82
82
  "vitest": "^0.32.4",
83
- "@tinacms/scripts": "1.3.3"
83
+ "@tinacms/scripts": "1.3.4"
84
84
  },
85
85
  "scripts": {
86
86
  "types": "tsc",