Skip to content

sax@1.6.1 fails in Node.js 28.0.0-nightly20261126fa49b1361b #1245

Backlog

Description

@MikeMcC399

Tests not found

(node:8355) [DEP0205] DeprecationWarning: module.register() is deprecated. Use module.registerHooks() instead.
(Use node --trace-deprecation ... to show where the warning was created)

bad option: --loader=file

Item Status
npm package https://www.npmjs.com/package/sax
npm status active
last published 1.6.1 Jul 24, 2026
weekly downloads 134,585,889
repo location https://github.com/isaacs/sax-js
repo last update to default branch Jul 24, 2026
repo status active
repo CI status runs in Node.js 20, 22 & 24
lookup - flaky -
lookup - skip win32
lookup tests release / HEAD release
lookup maintainer 1 isaacs

Logs

error:                     | added 315 packages in 4s
error:                     | TAP version 14
error:                     | 1..68
error:                     | # Subtest: test/attribute-name.js
error:                     | 1..0 # no tests found
error:                     | not ok 1 - test/attribute-name.js # time=17.748ms
error:                     | ---
error:                     | stdio: inherit
error:                     | cwd: /tmp/8b940d5c/sax
error:                     | externalID: test/attribute-name.js
error:                     | command: /home/mike/n/bin/node
error:                     | args:
error:                     | - --loader=file:///tmp/8b940d5c/sax/node_modules/@tapjs/typescript/dist/esm/esm.mjs
error:                     | - --loader=file:///tmp/8b940d5c/sax/node_modules/@tapjs/mock/dist/esm/legacy-loader.mjs
error:                     | - --no-warnings
error:                     | - --enable-source-maps
error:                     | - --loader=file:///tmp/8b940d5c/sax/node_modules/@tapjs/processinfo/dist/esm/loader-legacy.mjs
error:                     | - /tmp/8b940d5c/sax/test/attribute-name.js
error:                     | jobId: 1
error:                     | exitCode: 9
error:                     | signal: null
error:                     | ...
error:                     |

Assessment

sax@1.6.1 can be expected to fail in a future Node.js 27 release when functionality related to the following deprecation is removed from the release line:

[DEP0205] DeprecationWarning: module.register() is deprecated.

Related

Also observed during testing for nodejs/node#67757

cc: @isaacs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions