-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error getting process.uptime
when called without bound this
#23761
Labels
Comments
dsherret
changed the title
Undefined
Error getting May 10, 2024
this
when using npm specifiersprocess.uptime
dsherret
changed the title
Error getting
Error getting May 10, 2024
process.uptime
process.uptime
when not called on prototype
dsherret
changed the title
Error getting
Error getting May 10, 2024
process.uptime
when not called on prototypeprocess.uptime
when called without bound this
satyarohith
added a commit
that referenced
this issue
May 12, 2024
Fixes #23761 Co-authored-by: Satya Rohith <me@satyarohith.com>
Thank you for fixing that issue. Just curious, how does Node.js work without this? @satyarohith |
Even though the API exposed is the same, the implementation is different in Node.js and Deno. |
bartlomieju
added a commit
that referenced
this issue
May 16, 2024
Fixes #23761 Co-authored-by: Satya Rohith <me@satyarohith.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: Deno 1.42.4
Issue: When using npm specifiers, the bundled process.uptime reference appears to be lost.
To reproduce: Run deno repl and compare with node.
Please take a look at this issue, thank you.
The text was updated successfully, but these errors were encountered: