mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
21782277c2
This change allows for easier recognition of builtin modules in stack traces. Refs: https://github.com/nodejs/node/issues/11893 PR-URL: https://github.com/nodejs/node/pull/35498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
17 lines
646 B
Plaintext
17 lines
646 B
Plaintext
before
|
|
evalmachine.<anonymous>:1
|
|
foo.bar = 5;
|
|
^
|
|
|
|
ReferenceError: foo is not defined
|
|
at evalmachine.<anonymous>:1:1
|
|
at Script.runInContext (node:vm:*)
|
|
at Script.runInNewContext (node:vm:*)
|
|
at Object.runInNewContext (node:vm:*)
|
|
at Object.<anonymous> (*test*message*undefined_reference_in_new_context.js:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
at *..js (node:internal/modules/cjs/loader:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*)
|
|
at Function.Module._load (node:internal/modules/cjs/loader:*:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*:*)
|