crypto: runtime-deprecate calling Hmac.digest() more than once (DEP0206) #75748
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-crypto-hmac.js#L0
--- stderr ---
(node:40174) [DEP0181] DeprecationWarning: crypto.Hmac constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:40174) [DEP0206] DeprecationWarning: Calling digest() on an already-finalized Hmac instance is deprecated.
node:assert:173
throw err;
^
AssertionError [ERR_ASSERTION]: Unexpected extra warning received: DeprecationWarning: Calling digest() on an already-finalized Hmac instance is deprecated.
at Object.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:689:14)
at Object.DeprecationWarning (/Users/runner/work/node/node/node/test/common/index.js:509:15)
at process.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:718:33)
at process.emit (node:events:521:24)
at doEmitWarning (node:internal/process/warning:85:11)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-crypto-hmac.js
|
|
sccache stats - test-macOS
70% - 3473 hits, 1504 misses, 0 errors
|