Removal of comments in version 1.43.3 #23814
Unanswered
AnnaMatlapudi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It appears this is only happening in the REPL or if you use TypeScript. IIRC @dsherret did a change that removes all comments during transpilation some time ago, but I'm not 100% sure. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone know what is happening here with new version (1.43.3) when a function code is displayed with
toString()
, comments are removed. Whereas until previous version (1.42.2) comments are retained (which is the case with node(js) runtime also).Is there a change in default configuration causing this? if so, what are my options to switch back to behavior of keeping comments? Please help
Test Code:
Output from
deno 1.43.3
(release, x86_64-unknown-linux-gnu) ,v8 12.4.254.13
andtypescript 5.4.5
Output from
deno 1.42.2
(release, x86_64-unknown-linux-gnu) ,v8 12.3.219.9
andtypescript 5.4.3
Output from
node v21.5.0
Beta Was this translation helpful? Give feedback.
All reactions