🧹 Upgrade unified/unist stack #3141
Annotations
23 errors and 1 warning
lint
myst-to-tex#lint:format: command (/home/runner/work/mystmd/mystmd/packages/myst-to-tex) /opt/hostedtoolcache/node/20.18.0/x64/bin/npm run lint:format exited (1)
|
lint
Process completed with exit code 1.
|
tests/html.spec.ts > mystToHtml > Converts comment:
packages/myst-to-html/tests/html.spec.ts#L12
AssertionError: expected '<comment>hello world</comment>' to be '<!--hello world-->' // Object.is equality
Expected: "<!--hello world-->"
Received: "<comment>hello world</comment>"
❯ tests/html.spec.ts:12:18
|
tests/html.spec.ts > mystToHtml > Applies `math-inline` to `inlineMath` nodes:
packages/myst-to-html/tests/html.spec.ts#L20
AssertionError: expected '<p><span class="math-inline"><text>y …' to be '<p><span class="math-inline">y = a x …' // Object.is equality
Expected: "<p><span class="math-inline">y = a x + b</span></p>"
Received: "<p><span class="math-inline"><text>y = a x + b</text></span></p>"
❯ tests/html.spec.ts:20:18
|
tests/html.spec.ts > mystToHtml > Applies `math-display` to `math` nodes:
packages/myst-to-html/tests/html.spec.ts#L24
AssertionError: expected '<div class="math-display"><text>y = a…' to be '<div class="math-display">y = a x + b…' // Object.is equality
Expected: "<div class="math-display">y = a x + b</div>"
Received: "<div class="math-display"><text>y = a x + b</text></div>"
❯ tests/html.spec.ts:24:18
|
tests/transforms/converthtml.spec.ts > convertHtmlToMdast > table:
packages/myst-to-html/tests/transforms/converthtml.spec.ts#L28
AssertionError: expected 'type: root\nchildren:\n - type: tabl…' to deeply equal 'type: root\nchildren:\n - type: tabl…'
- Expected
+ Received
type: root
children:
- type: table
children:
- type: tableRow
children:
- type: tableCell
+ header: true
children:
- type: text
value: Person 1
- header: true
- - type: tableCell
+ - type: tableCell
+ header: true
children:
- type: text
value: Person 2
- header: true
- - type: tableCell
+ - type: tableCell
+ header: true
children:
- type: text
value: Person 3
- header: true
- type: tableRow
children:
- type: tableCell
children:
- type: text
value: Emil
- type: tableCell
children:
- type: text
value: Tobias
- type: tableCell
children:
- type: text
value: Linus
❯ tests/transforms/converthtml.spec.ts:28:38
|
tests/transforms/converthtml.spec.ts > convertHtmlToMdast > break:
packages/myst-to-html/tests/transforms/converthtml.spec.ts#L28
AssertionError: expected 'type: root\nchildren:\n - type: brea…' to deeply equal 'type: root\nchildren:\n - type: brea…'
- Expected
+ Received
type: root
children:
- - type: break
+ - type: break
+ children: []
❯ tests/transforms/converthtml.spec.ts:28:38
|
Testing on node 20
myst-to-html#test: command (/home/runner/work/mystmd/mystmd/packages/myst-to-html) /opt/hostedtoolcache/node/20.18.0/x64/bin/npm run test exited (1)
|
Testing on node 20
Process completed with exit code 1.
|
Testing on node 18
The job was canceled because "_20" failed.
|
tests/run.spec.ts > myst-to-md basic features > unordered list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '* Some markdown\n\n* Some more markdo…' to deeply equal '* Some markdown\n\n* Some more ma…'
- Expected
+ Received
- * Some markdown
+ * Some markdown
- * Some more markdown
+ * Some more markdown
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md basic features > ordered list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '5. Some markdown\n\n6. Some more mark…' to deeply equal '5. Some markdown\n\n6. Some more ma…'
- Expected
+ Received
- 5. Some markdown
+ 5. Some markdown
- 6. Some more markdown
+ 6. Some more markdown
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md directives > list-table:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected ':::{list-table} This table is cool\n:…' to deeply equal ':::{list-table} This table is cool\n:…'
- Expected
+ Received
:::{list-table} This table is cool
:header-rows: 2
:name: my-table
:class: my-class
:align: right
- * * a
+ * * a
- * b
+ * b
- * c
+ * c
- * * 1
+ * * 1
- * 2
+ * 2
- * 3
+ * 3
- * * 4
-
- * 5
+ * * 4
+
+ * 5
- * 6
+ * 6
:::
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md references > labeled list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '(my-list)=\n* Some markdown\n\n* Some…' to deeply equal '(my-list)=\n* Some markdown\n\n* …'
- Expected
+ Received
(my-list)=
- * Some markdown
+ * Some markdown
- * Some more markdown
+ * Some more markdown
❯ tests/run.spec.ts:35:29
|
Testing on node 18
myst-to-md#test: command (/home/runner/work/mystmd/mystmd/packages/myst-to-md) /opt/hostedtoolcache/node/18.20.4/x64/bin/npm run test exited (1)
|
Testing on node 18
The operation was canceled.
|
Testing on node 22.4.x
The job was canceled because "_20" failed.
|
tests/run.spec.ts > myst-to-md basic features > unordered list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '* Some markdown\n\n* Some more markdo…' to deeply equal '* Some markdown\n\n* Some more ma…'
- Expected
+ Received
- * Some markdown
+ * Some markdown
- * Some more markdown
+ * Some more markdown
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md basic features > ordered list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '5. Some markdown\n\n6. Some more mark…' to deeply equal '5. Some markdown\n\n6. Some more ma…'
- Expected
+ Received
- 5. Some markdown
+ 5. Some markdown
- 6. Some more markdown
+ 6. Some more markdown
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md directives > list-table:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected ':::{list-table} This table is cool\n:…' to deeply equal ':::{list-table} This table is cool\n:…'
- Expected
+ Received
:::{list-table} This table is cool
:header-rows: 2
:name: my-table
:class: my-class
:align: right
- * * a
+ * * a
- * b
+ * b
- * c
+ * c
- * * 1
+ * * 1
- * 2
+ * 2
- * 3
+ * 3
- * * 4
-
- * 5
+ * * 4
+
+ * 5
- * 6
+ * 6
:::
❯ tests/run.spec.ts:35:29
|
tests/run.spec.ts > myst-to-md references > labeled list:
packages/myst-to-md/tests/run.spec.ts#L35
AssertionError: expected '(my-list)=\n* Some markdown\n\n* Some…' to deeply equal '(my-list)=\n* Some markdown\n\n* …'
- Expected
+ Received
(my-list)=
- * Some markdown
+ * Some markdown
- * Some more markdown
+ * Some more markdown
❯ tests/run.spec.ts:35:29
|
Testing on node 22.4.x
myst-to-md#test: command (/home/runner/work/mystmd/mystmd/packages/myst-to-md) /opt/hostedtoolcache/node/22.4.1/x64/bin/npm run test exited (1)
|
Testing on node 22.4.x
The operation was canceled.
|
Testing on node 20
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|