markdown-up 3.6.4 → 3.7.0

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/README.md CHANGED
@@ -64,7 +64,7 @@ These applications are called *MarkdownUp Applications*. You can learn more from
64
64
  [MarkdownUp backend application's README](https://craigahobbs.github.io/markdown-up-py/#markdownup-applications).
65
65
 
66
66
 
67
- ### Debug Mode
67
+ ## Debug Mode
68
68
 
69
69
  Debug mode logs the script runtime duration and runs the BareScript linter, which performs static
70
70
  code analysis on your code and reports warnings for any issues found.
package/lib/lineChart.js CHANGED
@@ -260,7 +260,7 @@ export function lineChartElements(data, lineChart, options = null) {
260
260
  const yRow = row[yField] ?? null;
261
261
  if (xRow !== null && yRow !== null) {
262
262
  points.push([xRow, yRow]);
263
- xMin = (xMin === null ? xRow : xMin);
263
+ xMin = (xMin === null ? xRow : (xRow < xMin ? xRow : xMin));
264
264
  yMin = (yMin === null ? yRow : (yRow < yMin ? yRow : yMin));
265
265
  xMax = xRow;
266
266
  yMax = (yMax === null ? yRow : (yRow > yMax ? yRow : yMax));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "markdown-up",
4
- "version": "3.6.4",
4
+ "version": "3.7.0",
5
5
  "description": "MarkdownUp is a Markdown viewer",
6
6
  "keywords": [
7
7
  "markdown",
@@ -23,15 +23,15 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "bare-script": "~3.3",
26
- "element-model": "~1.1",
26
+ "element-model": "~1.2",
27
27
  "markdown-model": "~2.2",
28
28
  "schema-markdown": "~1.2",
29
- "schema-markdown-doc": "~2.0"
29
+ "schema-markdown-doc": "~2.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "c8": "~10.1",
33
- "eslint": "~9.33",
33
+ "eslint": "~9.35",
34
34
  "jsdoc": "~4.0",
35
- "jsdom": "~26.1"
35
+ "jsdom": "~27.0"
36
36
  }
37
37
  }