@mintlify/cli 4.0.1710 → 4.0.1712

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.
@@ -16058,6 +16058,7 @@ import { Fragment } from "prosemirror-model";
16058
16058
  import { parse as parseYaml2 } from "yaml";
16059
16059
 
16060
16060
  // ../editor/dist/converter/diff/node-utils.js
16061
+ import { isMdxJsxElement } from "@mintlify/common";
16061
16062
  var deepEqual = (a, b) => {
16062
16063
  if (a === b)
16063
16064
  return true;
@@ -16095,11 +16096,15 @@ var attrsEqual = (a, b) => {
16095
16096
  if (keysA.length !== keysB.length)
16096
16097
  return false;
16097
16098
  for (const key of keysA) {
16099
+ if (key === "mdxJsxNode" && "tagName" in a && omitsHtmlSource(a[key], b[key]))
16100
+ continue;
16098
16101
  if (stringifyAttrValue(key, a[key]) !== stringifyAttrValue(key, b[key]))
16099
16102
  return false;
16100
16103
  }
16101
16104
  return true;
16102
16105
  };
16106
+ var isHtmlSource = (value) => isMdxJsxElement(value) && !!value.name && HTML_ELEMENTS.has(value.name);
16107
+ var omitsHtmlSource = (a, b) => a === null && isHtmlSource(b) || b === null && isHtmlSource(a);
16103
16108
  var isMdastPosition = (v) => v !== null && typeof v === "object" && "start" in v && "end" in v;
16104
16109
  var isEstreeLoc = (v) => v !== null && typeof v === "object" && "start" in v && "end" in v;
16105
16110
  var stringifyAttrValue = (key, value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1710",
3
+ "version": "4.0.1712",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -45,12 +45,12 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "7.9.0",
48
- "@mintlify/common": "1.0.1294",
49
- "@mintlify/link-rot": "3.0.1519",
48
+ "@mintlify/common": "1.0.1295",
49
+ "@mintlify/link-rot": "3.0.1520",
50
50
  "@mintlify/models": "0.0.378",
51
- "@mintlify/og": "0.0.93",
52
- "@mintlify/prebuild": "1.0.1459",
53
- "@mintlify/previewing": "4.0.1537",
51
+ "@mintlify/og": "0.0.94",
52
+ "@mintlify/prebuild": "1.0.1460",
53
+ "@mintlify/previewing": "4.0.1538",
54
54
  "@mintlify/validation": "0.1.940",
55
55
  "adm-zip": "0.6.0",
56
56
  "chalk": "5.2.0",
@@ -82,7 +82,7 @@
82
82
  "keytar": "7.9.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@mintlify/editor": "0.0.559",
85
+ "@mintlify/editor": "0.0.561",
86
86
  "@mintlify/ts-config": "2.0.2",
87
87
  "@tsconfig/recommended": "1.0.2",
88
88
  "@types/detect-port": "1.3.2",
@@ -101,5 +101,5 @@
101
101
  "vitest": "2.1.9",
102
102
  "vitest-mock-process": "1.0.4"
103
103
  },
104
- "gitHead": "d65cc3c0b81ff4ad61aa997bba42fbfa61e28cd7"
104
+ "gitHead": "af3c3361a8d153c72e2eb943b3d61c43c45952ae"
105
105
  }