Skip to content

fix(deps): update dependency htmlparser2 to v11

6c71311
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

fix(deps): update dependency htmlparser2 to v11 - autoclosed #490

fix(deps): update dependency htmlparser2 to v11
6c71311
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test report for scratch-vm failed Mar 22, 2026 in 0s

50 fail, 1 833 pass in 2m 1s

    1 files    886 suites   2m 1s ⏱️
1 883 tests 1 833 ✅  0 💤 50 ❌
4 987 runs  4 876 ✅ 30 💤 81 ❌

Results for commit 6c71311.

Annotations

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create event) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:19:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with comment) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:48:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with branch) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:66:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with two branches) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:92:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with top-level shadow) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:128:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with next connection) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:143:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with obscured shadow) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:171:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create variable with entity in name) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:178:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with invalid block xml) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:197:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with invalid xml) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:213:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_adapter.js > create with empty field) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_adapter.js:220:20)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 18 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create event (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 18
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create event', t => {
  ^
      const result = adapter(events.create);

Check warning on line 47 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with comment (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 47
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with comment', t => {
  ^
      const result = adapter(events.createComment);

Check warning on line 65 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with branch (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 65
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with branch', t => {
  ^
      const result = adapter(events.createbranch);
      // Outer block

Check warning on line 91 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with two branches (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 91
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with two branches', t => {
  ^
      const result = adapter(events.createtwobranches);
      // Outer block

Check warning on line 127 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with top-level shadow (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 127
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with top-level shadow', t => {
  ^
      const result = adapter(events.createtoplevelshadow);
      t.ok(Array.isArray(result));

Check warning on line 142 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with next connection (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 142
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with next connection', t => {
  ^
      const result = adapter(events.createwithnext);

Check warning on line 170 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with obscured shadow (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 170
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with obscured shadow', t => {
  ^
      const result = adapter(events.createobscuredshadow);
      t.ok(Array.isArray(result));

Check warning on line 177 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create variable with entity in name (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 177
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create variable with entity in name', t => {
  ^
      const result = adapter(events.createvariablewithentity);

Check warning on line 195 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with invalid block xml (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 195
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with invalid block xml', t => {
  ^
      // Entirely invalid block XML
      const result = adapter(events.createinvalid);

Check warning on line 212 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with invalid xml (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 212
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with invalid xml', t => {
  ^
      const result = adapter(events.createbadxml);
      t.ok(Array.isArray(result));

Check warning on line 219 in packages/scratch-vm/test/unit/engine_adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

create with empty field (test/unit/engine_adapter.js) failed

./packages/scratch-vm/test-results/junit.xml [took 0s]
Raw output
at:
  fileName: test/unit/engine_adapter.js
  lineNumber: 219
  columnNumber: 1
  typeName: Object
source: |
  });

  test('create with empty field', t => {
  ^
      const result = adapter(events.createemptyfield);
      t.ok(Array.isArray(result));

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_blocks.js > getAllVariableAndListReferences returns references when variable blocks exist) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_blocks.js:993:19)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_blocks.js > getAllVariableAndListReferences does not return broadcast blocks if the flag is left out) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_blocks.js:1012:19)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };

Check warning on line 173 in packages/scratch-vm/src/engine/adapter.js

See this annotation in the file changed.

@github-actions github-actions / Test report for scratch-vm

html.parseDOM is not a function (test/unit/engine_blocks.js > getAllVariableAndListReferences returns broadcast when we tell it to) failed

./packages/scratch-vm/test-results/junit.xml
Raw output
stack: |
  adapter (src/engine/adapter.js:173:29)
  Test.<anonymous> (test/unit/engine_blocks.js:1022:19)
at:
  fileName: src/engine/adapter.js
  lineNumber: 173
  columnNumber: 29
  functionName: adapter
type: TypeError
tapCaught: testFunctionThrow
source: >2
      if (typeof e.xml !== 'object') return;

      return domToBlocks(html.parseDOM(e.xml.outerHTML, {decodeEntities: true}));
  ----------------------------^

  };