@markedjs/testutils 9.0.3 → 9.1.0-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markedjs/testutils",
3
- "version": "9.0.3",
3
+ "version": "9.1.0-0",
4
4
  "description": "Test utilities for marked and marked extensions",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "dependencies": {
25
25
  "@markedjs/html-differ": "^4.0.2",
26
26
  "front-matter": "^4.0.2",
27
- "marked": "^9.0.3",
28
- "marked-repo": "https://github.com/markedjs/marked/tarball/v9.0.3"
27
+ "marked": "^9.1.0",
28
+ "marked-repo": "https://github.com/markedjs/marked/tarball/v9.1.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "eslint": "^8.50.0",
package/src/get-tests.js CHANGED
@@ -28,6 +28,6 @@ export async function getAllMarkedSpecTests() {
28
28
  GFM: resolvePath("../node_modules/marked-repo/test/specs/gfm"),
29
29
  New: resolvePath("../node_modules/marked-repo/test/specs/new"),
30
30
  Original: resolvePath("../node_modules/marked-repo/test/specs/original"),
31
- RedDOS: resolvePath("../node_modules/marked-repo/test/specs/redos"),
31
+ ReDOS: resolvePath("../node_modules/marked-repo/test/specs/redos"),
32
32
  });
33
33
  }
package/src/run-tests.js CHANGED
@@ -54,7 +54,7 @@ export async function runTests({
54
54
  assert.strictEqual(test.html, parsed);
55
55
  } else {
56
56
  const testDiff = await diff(parsed, test.html);
57
- assert(
57
+ assert.ok(
58
58
  pass,
59
59
  `Expected: ${testDiff.expected}\n Actual: ${testDiff.actual}`,
60
60
  );
@@ -107,7 +107,7 @@ export async function runAllMarkedSpecTests({
107
107
  defaultMarkedOptions: { gfm: false, pedantic: true },
108
108
  addExtension,
109
109
  });
110
- case "RedDOS":
110
+ case "ReDOS":
111
111
  return runTests({ tests, addExtension });
112
112
  default:
113
113
  throw new Error("invalid title");