profile
viewpoint
Nikolai Vavilov seishun Actively looking Riga

seishun/node-steam 970

Interface directly with Steam servers from Node.js

seishun/irc-steam-relay 26

UNMAINTAINED. Relays messages between a Steam chat room and an IRC channel

seishun/node-steam-crypto 15

Node.js implementation of Steam crypto

seishun/mark 2

A basic Markov chain implementation for text generation for Node.js

seishun/node-dota2 2

node-steam plugin for Dota 2

seishun/aoc2018 1

solutions to advent of code 2018 in haskell

seishun/advent-of-code 0

Advent of Code solutions

seishun/aoc2016 0

solutions to advent of code 2016 in haskell

seishun/aoc2019 0

Solutions to Advent of Code 2019 in Haskell and C++

pull request commentnodejs/node

deps: update V8 to 8.4

Why not drop VS2017?

targos

comment created time in 2 hours

delete branch seishun/deno

delete branch : fix-define-detect

delete time in 17 hours

issue openednodejs/node

doc: some methods inherited from Uint8Array are documented but not all

📗 API Reference Docs Problem

<!------------------------------------------------------------------------------ Thank you for wanting to make nodejs.org better!

This template is for issues with the Node.js API reference docs.

For more general support, please open an issue in our help repo at “https://github.com/nodejs/help”.

For the issue title, enter a one-line summary after “doc: ”. The “✍️” signifies a request for input. If unsure, do the best you can.

If you found a problem with nodejs.org beyond the API reference docs, please open an issue in our website repo at “https://github.com/nodejs/nodejs.org”. ------------------------------------------------------------------------------->

<!-- Version: output of “node -v” Platform: output of “uname -a” (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify affected core module name -->

  • Version: master
  • Subsystem: buffer

Location

Affected URL(s):

  • https://nodejs.org/api/buffer.html

Problem description

<!-- If applicable, include any screenshots that may help solve the problem. -->

Some methods inherited from Uint8Array are not documented, e.g. map, reduce, set. This makes sense because it's stated that the Buffer class is a subclass of the Uint8Array class, but some are documented, e.g. entries, keys, values. This might be confusing.


<!-- Use “[x]” to check the box below if interested in contributing. -->

  • [x] I would like to work on this issue and submit a pull request.

created time in 2 days

issue commentdenoland/deno

Stack occasionally overflows in a debug build

<details> <summary>Call stack</summary>

deno.exe!__chkstk() Line 109 (d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\misc\amd64\chkstk.asm:109)
deno.exe!swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>::read_token<swc_common::input::SourceFileInput>() Line 153 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\lexer\mod.rs:153)
deno.exe!swc_ecma_parser::lexer::state::{{impl}}::next::{{closure}}<swc_common::input::SourceFileInput>(swc_ecma_parser::lexer::state::{{impl}}::next::closure-0 *) Line 227 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\lexer\state.rs:227)
deno.exe!swc_ecma_parser::lexer::state::{{impl}}::next<swc_common::input::SourceFileInput>(swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput> * self) Line 237 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\lexer\state.rs:237)
deno.exe!swc_ecma_parser::parser::input::{{impl}}::bump_inner::{{closure}}<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_ecma_parser::parser::input::{{impl}}::bump_inner::closure-0) Line 221 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\input.rs:221)
deno.exe!core::option::Option<swc_ecma_parser::token::TokenAndSpan>::or_else<swc_ecma_parser::token::TokenAndSpan,closure-0>(core::option::Option<swc_ecma_parser::token::TokenAndSpan> self, swc_ecma_parser::parser::input::{{impl}}::bump_inner::closure-0 f) Line 754 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libcore\option.rs:754)
deno.exe!swc_ecma_parser::parser::input::Buffer<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::bump_inner<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 221 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\input.rs:221)
[Inline Frame] deno.exe!swc_ecma_parser::parser::input::Buffer<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::cur() Line 288 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\input.rs:288)
deno.exe!swc_ecma_parser::parser::input::Buffer<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::had_line_break_before_cur<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 264 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\input.rs:264)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_primary_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 362 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:362)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_member_expr_or_new_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 503 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:503)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_new_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 515 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:515)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_lhs_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 1088 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:1088)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_unary_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 313 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:313)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_bin_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 14 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:14)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_cond_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 183 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:183)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr_base<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 115 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:115)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 94 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:94)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_expr_or_spread<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 562 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:562)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_args<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 542 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:542)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_lhs_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 1125 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:1125)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_unary_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 313 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:313)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_bin_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 14 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:14)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_cond_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 183 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:183)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr_base<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 115 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:115)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 94 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:94)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 17 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:17)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_tpl_elements<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 764 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:764)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_tpl<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 804 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:804)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_primary_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 313 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:313)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_member_expr_or_new_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 503 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:503)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_new_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 515 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:515)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_lhs_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 1088 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:1088)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_unary_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 313 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:313)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_bin_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 14 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr\ops.rs:14)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_cond_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 183 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:183)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr_base<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 115 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:115)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 94 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:94)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::finish_assignment_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, swc_ecma_ast::expr::Expr * start) Line 164 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:164)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr_base<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 126 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:126)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_assignment_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 94 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:94)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_expr<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 17 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\expr.rs:17)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 280 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:280)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 398 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:398)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_if_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 394 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:394)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 187 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:187)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 260 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:260)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 63 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:63)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_for_stmt<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 913 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:913)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_internal<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_common::syntax_pos::BytePos self, bool start, bool include_decl, alloc::vec::Vec<swc_ecma_ast::class::Decorator> top_level) Line 166 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:166)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool include_decl) Line 82 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:82)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::stmt::Stmt>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(bool self) Line 839 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:839)
deno.exe!swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn_body_inner<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>> * self) Line 1145 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:1145)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_fn_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,core::option::Option<swc_ecma_ast::stmt::BlockStmt>>(bool self, bool is_async) Line 936 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:936)
deno.exe!swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn_args_body::{{closure}}<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,closure-0>(swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn_args_body::closure-0 p, swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>> *) Line 873 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:873)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_with<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,closure-0,swc_ecma_ast::function::Function>(swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn_args_body::closure-0 self) Line 122 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\util.rs:122)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_fn_args_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,closure-0>(alloc::vec::Vec<swc_ecma_ast::class::Decorator> self, swc_common::syntax_pos::BytePos decorators, swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn::{{closure}}::closure-0 start, bool is_async, bool is_generator) Line 847 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:847)
deno.exe!swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn::{{closure}}<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::decl::Decl>(swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn::closure-0 p, swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>> *) Line 808 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:808)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_with<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,closure-0,swc_ecma_ast::decl::Decl>(swc_ecma_parser::parser::class_and_fn::{{impl}}::parse_fn::closure-0 self) Line 122 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\util.rs:122)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_fn<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::decl::Decl>(core::option::Option<swc_common::syntax_pos::BytePos> self, alloc::vec::Vec<swc_ecma_ast::class::Decorator> start_of_async) Line 807 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:807)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_fn_decl<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(alloc::vec::Vec<swc_ecma_ast::class::Decorator> self) Line 30 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\class_and_fn.rs:30)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_export<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(alloc::vec::Vec<swc_ecma_ast::class::Decorator> self) Line 337 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt\module_item.rs:337)
deno.exe!swc_ecma_parser::parser::stmt::module_item::{{impl}}::handle_import_export<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>(swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>> * self, bool top_level, alloc::vec::Vec<swc_ecma_ast::class::Decorator> decorators) Line 534 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt\module_item.rs:534)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_stmt_like<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::module::ModuleItem>(bool self, bool include_decl) Line 79 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:79)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_block_body<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>,swc_ecma_ast::module::ModuleItem>(bool self, bool allow_directives, core::option::Option<swc_ecma_parser::token::Token*> top_level) Line 29 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\stmt.rs:29)
deno.exe!swc_ecma_parser::parser::Parser<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>::parse_module<swc_ecma_parser::lexer::Lexer<swc_common::input::SourceFileInput>>() Line 137 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\swc_ecma_parser-0.23.0\src\parser\mod.rs:137)
deno.exe!deno::swc_util::{{impl}}::parse_module::{{closure}}<closure-0,core::result::Result<(alloc::vec::Vec<deno::swc_util::ImportDescriptor>, alloc::vec::Vec<deno::swc_util::TsReferenceDescriptor>), deno::swc_util::SwcDiagnosticBuffer>>(deno::swc_util::{{impl}}::parse_module::closure-0) Line 164 (c:\Users\Nikolai\deno\cli\swc_util.rs:164)
deno.exe!scoped_tls::ScopedKey<swc_common::syntax_pos::Globals>::set<swc_common::syntax_pos::Globals,closure-0,core::result::Result<(alloc::vec::Vec<deno::swc_util::ImportDescriptor>, alloc::vec::Vec<deno::swc_util::TsReferenceDescriptor>), deno::swc_util::SwcDiagnosticBuffer>>(swc_common::syntax_pos::Globals * self, deno::swc_util::{{impl}}::parse_module::closure-0 t) Line 137 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs:137)
deno.exe!deno::swc_util::AstParser::parse_module<closure-0,core::result::Result<(alloc::vec::Vec<deno::swc_util::ImportDescriptor>, alloc::vec::Vec<deno::swc_util::TsReferenceDescriptor>), deno::swc_util::SwcDiagnosticBuffer>>(str* self, str* file_name, deno::swc_util::analyze_dependencies_and_references::closure-0 source_code) Line 173 (c:\Users\Nikolai\deno\cli\swc_util.rs:173)
deno.exe!deno::swc_util::analyze_dependencies_and_references(str* file_name, str* source_code, bool analyze_dynamic_imports) Line 443 (c:\Users\Nikolai\deno\cli\swc_util.rs:443)
deno.exe!deno::module_graph::ModuleGraphLoader::visit_module(deno_core::module_specifier::ModuleSpecifier * self, deno::file_fetcher::SourceFile module_specifier) Line 410 (c:\Users\Nikolai\deno\cli\module_graph.rs:410)
deno.exe!deno::module_graph::{{impl}}::add_to_graph::{{closure}}(core::pin::Pin<mut generator-0*>) Line 147 (c:\Users\Nikolai\deno\cli\module_graph.rs:147)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::tsc::{{impl}}::compile::{{closure}}(core::pin::Pin<mut generator-0*>) Line 465 (c:\Users\Nikolai\deno\cli\tsc.rs:465)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::global_state::{{impl}}::fetch_compiled_module::{{closure}}(core::pin::Pin<mut generator-0*>) Line 116 (c:\Users\Nikolai\deno\cli\global_state.rs:116)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::state::{{impl}}::load::{{closure}}(core::pin::Pin<mut generator-3*>) Line 333 (c:\Users\Nikolai\deno\cli\state.rs:333)
deno.exe!std::future::{{impl}}::poll<generator-3>(core::pin::Pin<mut std::future::GenFuture<generator-3>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!core::future::future::{{impl}}::poll<alloc::boxed::Box<Future>>(core::pin::Pin<mut core::pin::Pin<alloc::boxed::Box<Future>>*> self, core::task::wake::Context * cx) Line 120 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libcore\future\future.rs:120)
deno.exe!core::future::future::{{impl}}::poll<alloc::boxed::Box<Future>>(core::pin::Pin<mut core::pin::Pin<alloc::boxed::Box<Future>>*> self, core::task::wake::Context * cx) Line 120 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libcore\future\future.rs:120)
deno.exe!futures_util::stream::futures_unordered::{{impl}}::poll_next<core::pin::Pin<alloc::boxed::Box<Future>>>(core::pin::Pin<mut futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future>>>*> self, core::task::wake::Context * cx) Line 544 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\futures-util-0.3.4\src\stream\futures_unordered\mod.rs:544)
deno.exe!futures_core::stream::{{impl}}::try_poll_next<futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future>>>,deno_core::modules::ModuleSource,deno_core::any_error::ErrBox>(core::pin::Pin<mut futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future>>>*> self, core::task::wake::Context * cx) Line 194 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\futures-core-0.3.4\src\stream.rs:194)
deno.exe!futures_util::stream::try_stream::TryStreamExt::try_poll_next_unpin<futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future>>>>(futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future>>> * self, core::task::wake::Context * cx) Line 792 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\futures-util-0.3.4\src\stream\try_stream\mod.rs:792)
deno.exe!deno_core::modules::{{impl}}::poll_next(core::pin::Pin<mut deno_core::modules::RecursiveModuleLoad*> self, core::task::wake::Context * cx) Line 267 (c:\Users\Nikolai\deno\core\modules.rs:267)
deno.exe!futures_util::stream::stream::StreamExt::poll_next_unpin<deno_core::modules::RecursiveModuleLoad>(deno_core::modules::RecursiveModuleLoad * self, core::task::wake::Context * cx) Line 1185 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\futures-util-0.3.4\src\stream\stream\mod.rs:1185)
deno.exe!futures_util::stream::stream::next::{{impl}}::poll<deno_core::modules::RecursiveModuleLoad>(core::pin::Pin<mut futures_util::stream::stream::next::Next<deno_core::modules::RecursiveModuleLoad>*> self, core::task::wake::Context * cx) Line 36 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\futures-util-0.3.4\src\stream\stream\next.rs:36)
deno.exe!std::future::poll_with_tls_context<futures_util::stream::stream::next::Next<deno_core::modules::RecursiveModuleLoad>>(core::pin::Pin<mut futures_util::stream::stream::next::Next<deno_core::modules::RecursiveModuleLoad>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno_core::es_isolate::{{impl}}::load_module::{{closure}}(core::pin::Pin<mut generator-0*>) Line 554 (c:\Users\Nikolai\deno\core\es_isolate.rs:554)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::worker::{{impl}}::preload_module::{{closure}}(core::pin::Pin<mut generator-0*>) Line 155 (c:\Users\Nikolai\deno\cli\worker.rs:155)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::worker::{{impl}}::execute_module::{{closure}}(core::pin::Pin<mut generator-0*>) Line 163 (c:\Users\Nikolai\deno\cli\worker.rs:163)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!std::future::poll_with_tls_context<std::future::GenFuture<generator-0>>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> f) Line 98 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:98)
deno.exe!deno::run_command::{{closure}}(core::pin::Pin<mut generator-0*>) Line 516 (c:\Users\Nikolai\deno\cli\main.rs:516)
deno.exe!std::future::{{impl}}::poll<generator-0>(core::pin::Pin<mut std::future::GenFuture<generator-0>*> self, core::task::wake::Context * cx) Line 43 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\future.rs:43)
deno.exe!core::future::future::{{impl}}::poll<alloc::boxed::Box<Future>>(core::pin::Pin<mut core::pin::Pin<alloc::boxed::Box<Future>>*> self, core::task::wake::Context * cx) Line 120 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libcore\future\future.rs:120)
deno.exe!tokio::runtime::basic_scheduler::{{impl}}::block_on::{{closure}}::{{closure}}<tokio::park::either::Either<tokio::time::driver::Driver<tokio::park::either::Either<tokio::io::driver::Driver, tokio::park::thread::ParkThread>>, tokio::park::either::Either<tokio::io::driver::Driver, tokio::park::thread::ParkThread>>,core::pin::Pin<alloc::boxed::Box<Future>>>(tokio::runtime::basic_scheduler::{{impl}}::block_on::{{closure}}::closure-0) Line 131 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.20\src\runtime\basic_scheduler.rs:131)
deno.exe!tokio::coop::budget::{{closure}}<closure-0,core::task::poll::Poll<core::result::Result<(), deno_core::any_error::ErrBox>>>(tokio::coop::budget::closure-0 hits, core::cell::Cell<usize> *) Line 97 (c:\Users\Nikolai\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-0.2.20\src\coop.rs:97)
deno.exe!std::thread::local::LocalKey<core::cell::Cell<usize>>::try_with<core::cell::Cell<usize>,closure-0,core::task::poll::Poll<core::result::Result<(), deno_core::any_error::ErrBox>>>(tokio::coop::budget::closure-0 self) Line 262 (c:\rustc\b8cedc00407a4c56a3bda1ed605c6fc166655447\src\libstd\thread\local.rs:262)

</details> It seems this happens while parsing std/path/win32.ts.

seishun

comment created time in 2 days

issue commentdenoland/deno

Stack occasionally overflows in a debug build

It seems this becomes reproducible 100% of time (sample size 6) after this commit https://github.com/denoland/deno/commit/f9e45114b9c423b72e9c44c4a8aef90f5c3b44d6.

seishun

comment created time in 2 days

issue openeddenoland/deno

Stack occasionally overflows in a debug build

Steps to reproduce:

  1. Build a debug build on master
  2. Run this command a few times: .\target\debug\deno.exe run --reload test.ts

test.ts

import {
  connectWebSocket,
  isWebSocketCloseEvent,
} from "./std/ws/mod.ts";

Output

thread 'main' has overflowed its stack

I can't reproduce this issue before https://github.com/denoland/deno/commit/9d63772fe5bacc8fa1e0a8cbb152a2f107ae268f.

created time in 2 days

issue commentdenoland/deno

std/node: add buffer module

I'm currently working on it.

EvanHahn

comment created time in 3 days

delete branch seishun/node

delete branch : i

delete time in 4 days

delete branch seishun/node

delete branch : buffer-from-doc

delete time in 4 days

issue openedmicrosoft/TypeScript

Polymorphic TypedArray methods return wrong type in subclasses

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a bug, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:

  • Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  • Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the entire template below. -->

<!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: typescript@next This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> TypeScript Version: 4.0.0-dev.20200519

<!-- Search terms you tried before logging this (so others can find this issue more easily) --> Search Terms: typedarray subarray polymorphic Code

class Buf extends Uint8Array {
  foo() {}
}

new Buf(10).subarray().foo()

Expected behavior: No error. Actual behavior: error TS2339: Property 'foo' does not exist on type 'Uint8Array'. Playground Link: Playground Link

Related Issues: <!-- Did you find other bugs that looked similar? -->

created time in 8 days

fork seishun/DefinitelyTyped

The repository for high quality TypeScript type definitions.

fork in 8 days

push eventseishun/node-steam-resources

Nikolai Vavilov

commit sha c7640e1c564062a72e4e20ded86e7612bf77e47d

Consume optional string token after `removed` Ref: https://github.com/SteamRE/SteamKit/commit/66eab3b7f228fe36ba628a27fe382160ae5a5ca3

view details

push time in 8 days

PR opened nodejs/node

buffer: remove hoisted variable

<!-- Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md -->

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

  • [x] make -j4 test (UNIX), or vcbuild test (Windows) passes
  • [x] commit message follows commit guidelines

<!-- Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->

+2 -3

0 comment

1 changed file

pr created time in 8 days

create barnchseishun/node

branch : i

created branch time in 8 days

push eventseishun/node-steam-resources

Nikolai Vavilov

commit sha c20d291c7fd6c9c5c94102cd165eeb06b01ebaf6

Consume optional string token after "removed" Ref: https://github.com/SteamRE/SteamKit/commit/66eab3b7f228fe36ba628a27fe382160ae5a5ca3

view details

push time in 8 days

delete branch seishun/SteamKit

delete branch : patch-2

delete time in 8 days

PR opened SteamRE/SteamKit

Fix typo
+1 -1

0 comment

1 changed file

pr created time in 8 days

push eventseishun/SteamKit

Nikolai Vavilov

commit sha e86590ae7d14f50a14fd8929f332bac01ef77b5f

Fix typo

view details

push time in 8 days

issue commentmicrosoft/TypeScript

Inconsistent behavior when extending a class with an overloaded method with a generic parameter

Also consider this example:

class A
{
    foo(a : string) : void
    foo(a : number) : void
    foo(a : string) { }
}

class B
{
    foo<T>(a : T) : void
    foo(a : string) { }
}

class C
{
    foo(a : string) : void
    foo<T>(a : T) : void
    foo(a : string) { }
}

Here, only A fails to work. B compiles even though it's analogous to (2). Should I create a separate issue about this?

seishun

comment created time in 15 days

Pull request review commentmicrosoft/TypeScript

Updates Uint8ArrayConstructor to match MDN documentation.

 interface Uint8Array { interface Uint8ArrayConstructor {
     readonly prototype: Uint8Array;
     new(length: number): Uint8Array;
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint8Array;
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8Array;
+    new(arrayOrArrayBuffer: ArrayLike<number>): Uint8Array;

Rename into array?

MicahZoltu

comment created time in 17 days

pull request commentmicrosoft/TypeScript

Updates Uint8ArrayConstructor to match MDN documentation.

Perhaps the same change should be applied to all other TypedArrays.

MicahZoltu

comment created time in 17 days

issue openedmicrosoft/TypeScript

Uint8Array constructor doesn't accept possibly undefined argument

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a bug, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:

  • Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  • Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the entire template below. -->

<!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: typescript@next This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> TypeScript Version: Version 4.0.0-dev.20200509

<!-- Search terms you tried before logging this (so others can find this issue more easily) --> Search Terms: uint8array optional parameter

Code

(with "strictNullChecks": true)

function from(ab: ArrayBuffer, offset?: number, length?: number) {
  return new Uint8Array(ab, offset, length);
}

Expected behavior:

The code compiles since the second and third parameters of the ArrayBuffer overload are optional per the spec.

Actual behavior:

error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.

Playground Link: <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->

Playground Link

Related Issues: <!-- Did you find other bugs that looked similar? -->

Introduced in https://github.com/microsoft/TypeScript/pull/18367.

created time in 18 days

PR opened nodejs/node

doc: fix Buffer.from(object) documentation

Only strings are supported for objects supporting Symbol.toPrimitive.

<!-- Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md -->

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

<!-- Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->

+3 -6

0 comment

1 changed file

pr created time in 18 days

create barnchseishun/node

branch : buffer-from-doc

created branch time in 18 days

delete branch seishun/node

delete branch : new-buffer-doc

delete time in 18 days

delete branch seishun/node

delete branch : buffer-copy-perf

delete time in 18 days

issue commentmicrosoft/TypeScript

Inconsistent behavior when extending a class with an overloaded method with a generic parameter

(3) is considered a match due to bivariance

Are you referring to T being narrowed to string? If so, (2) should work too, no?

(If I replace T with any or unknown, then both (2) and (3) work, which is expected.)

seishun

comment created time in 18 days

delete branch seishun/deno

delete branch : fix-encodeInto

delete time in 21 days

Pull request review commentdenoland/deno

Check destination length in encodeInto

 function stringToCodePoints(input: string): number[] { }  class UTF8Encoder implements Encoder {-  handler(codePoint: number): number | number[] {+  handler(codePoint: number): "finished" | number[] {     if (codePoint === END_OF_STREAM) {-      return FINISHED;+      return "finished";     }      if (inRange(codePoint, 0x00, 0x7f)) {-      return codePoint;+      return [codePoint];

It wouldn't be more verbose if you replaced const FINALIZED = Symbol("finalized");.

Plus type FINISHED = typeof FINISHED;.

Creating an array on every codepoint is actually more verbose by two characters.

That's orthogonal. I made the bytes always be an array to avoid having two branches. I made finished a string so that TypeScript knows that if result isn't finished then it's an array. Strings are nice in that "finished" is both a value and a type.

Symbols are more memory efficient that strings

How many extra bytes are we talking about? V8 would probably intern the strings, so there might be no difference at all.

and less likely to cause intented consequences (like string | number[] both have .length).

That's a fair point, but it won't be a problem if the implementation follows the spec.

seishun

comment created time in 22 days

pull request commentdenoland/deno

fix SHA1 hash of Uint8Array returned from read operation

https://github.com/denoland/deno/pull/5086/files#diff-9ba2e466fadc40f97f4d70ef40fead37L58

trebler

comment created time in 22 days

pull request commentdenoland/deno

fix SHA1 hash of Uint8Array returned from read operation

This will still calculate the hash incorrectly for Uint16Array etc, won't it?

trebler

comment created time in 22 days

Pull request review commentdenoland/deno

Check destination length in encodeInto

 function stringToCodePoints(input: string): number[] { }  class UTF8Encoder implements Encoder {-  handler(codePoint: number): number | number[] {+  handler(codePoint: number): "finished" | number[] {     if (codePoint === END_OF_STREAM) {-      return FINISHED;+      return "finished";     }      if (inRange(codePoint, 0x00, 0x7f)) {-      return codePoint;+      return [codePoint];

There doesn't seem to be a good way to measure memory usage of a command on Windows.

Still is there a problem with using a symbol?

It's more verbose. Is there an advantage to using a symbol?

seishun

comment created time in 22 days

pull request commentnodejs/node

doc: fix grammar in buffer.md

@Trott thanks for landing, but you misspelled grammar in the commit message :(

seishun

comment created time in 22 days

push eventseishun/node

Nikolai Vavilov

commit sha 621eb2358a54521bbd5f96ef4b9db338e367acab

remove benchmark

view details

push time in 22 days

delete branch seishun/node

delete branch : fix-buffer-doc

delete time in 22 days

Pull request review commentdenoland/deno

Check destination length in encodeInto

 function stringToCodePoints(input: string): number[] { }  class UTF8Encoder implements Encoder {-  handler(codePoint: number): number | number[] {+  handler(codePoint: number): "finished" | number[] {     if (codePoint === END_OF_STREAM) {-      return FINISHED;+      return "finished";     }      if (inRange(codePoint, 0x00, 0x7f)) {-      return codePoint;+      return [codePoint];

Before:

PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 94
Ticks             : 945903
TotalDays         : 1.09479513888889E-06
TotalHours        : 2.62750833333333E-05
TotalMinutes      : 0.001576505
TotalSeconds      : 0.0945903
TotalMilliseconds : 94.5903



PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 107
Ticks             : 1074975
TotalDays         : 1.24418402777778E-06
TotalHours        : 2.98604166666667E-05
TotalMinutes      : 0.001791625
TotalSeconds      : 0.1074975
TotalMilliseconds : 107.4975



PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 98
Ticks             : 987147
TotalDays         : 1.14253125E-06
TotalHours        : 2.742075E-05
TotalMinutes      : 0.001645245
TotalSeconds      : 0.0987147
TotalMilliseconds : 98.7147

After:

PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 92
Ticks             : 926395
TotalDays         : 1.07221643518519E-06
TotalHours        : 2.57331944444444E-05
TotalMinutes      : 0.00154399166666667
TotalSeconds      : 0.0926395
TotalMilliseconds : 92.6395



PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 93
Ticks             : 939193
TotalDays         : 1.08702893518519E-06
TotalHours        : 2.60886944444444E-05
TotalMinutes      : 0.00156532166666667
TotalSeconds      : 0.0939193
TotalMilliseconds : 93.9193



PS C:\Users\Nikolai\deno> Measure-Command { .\target\release\deno.exe run .\cli\tests\text_encoder_perf.js }


Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 92
Ticks             : 924900
TotalDays         : 1.07048611111111E-06
TotalHours        : 2.56916666666667E-05
TotalMinutes      : 0.0015415
TotalSeconds      : 0.09249
TotalMilliseconds : 92.49
seishun

comment created time in 22 days

PR opened denoland/deno

Check destination length in encodeInto

I changed the Encoder interface because adding this check was awkward otherwise. Now it follows the spec more closely.

+23 -15

0 comment

2 changed files

pr created time in 23 days

push eventseishun/deno

Nikolai Vavilov

commit sha b812b66d38e554c2012d37892e6089e961ed4e51

fix format

view details

Nikolai Vavilov

commit sha e14d13009b24aaa83abfcca73b4e470a81feea90

add test

view details

push time in 23 days

create barnchseishun/deno

branch : fix-encodeInto

created branch time in 23 days

issue openedmicrosoft/TypeScript

Inconsistent behavior when extending a class with an overloaded method with a generic parameter

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a bug, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:

  • Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  • Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the entire template below. -->

<!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: typescript@next This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> TypeScript Version: 4.0.0-dev.20200504

<!-- Search terms you tried before logging this (so others can find this issue more easily) --> Search Terms: generic method extends incompatible inconsistent

Code

(1)

class Foo {
  static from(a: string): void
  static from(a: number): void
  static from(a: any) {}
}

class Bar extends Foo {
  static from(a: string): void {}
}

(2)

class Foo {
  static from<T>(a: T) {}
}

class Bar extends Foo {
  static from(a: string): void {}
}

(3)

class Foo {
  static from(a: string): void
  static from<T>(a: T): void
  static from(a: any) {}
}

class Bar extends Foo {
  static from(a: string): void {}
}

Expected behavior:

Either (3) doesn't compile, or one of (1) and (2) compiles.

Actual behavior:

(1)

error TS2417: Class static side 'typeof Bar' incorrectly extends base class static side 'typeof Foo'.
  Types of property 'from' are incompatible.
    Type '(a: string) => void' is not assignable to type '{ (a: string): void; (a: number): void; }'.
      Types of parameters 'a' and 'a' are incompatible.
        Type 'number' is not assignable to type 'string'.

(2)

error TS2417: Class static side 'typeof Bar' incorrectly extends base class static side 'typeof Foo'.
  Types of property 'from' are incompatible.
    Type '(a: string) => void' is not assignable to type '<T>(a: T) => void'.
      Types of parameters 'a' and 'a' are incompatible.
        Type 'T' is not assignable to type 'string'.

(3) (no error)

Playground Link: <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> (1) (2) (3)

Related Issues: <!-- Did you find other bugs that looked similar? -->

created time in 23 days

delete branch seishun/node

delete branch : setRawMode-error

delete time in 25 days

PR opened nodejs/node

buffer: improve copy() performance

There is no need to create a slice when sourceEnd is out of bounds.

Results of included benchmark:

                                                                           confidence improvement accuracy (*)     (**)    (***)
 buffers\\buffer-copy.js n=6000000 oob='false' partial='false' bytes=0                     3.30 %      ±4.96%  ±6.62%  ±8.65%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='false' bytes=128                  -0.66 %      ±3.54%  ±4.71%  ±6.13%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='false' bytes=32768                -3.02 %      ±8.44% ±11.30% ±14.83%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='false' bytes=8                     2.80 %      ±5.54%  ±7.37%  ±9.61%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='true' bytes=0                      2.29 %      ±4.58%  ±6.10%  ±7.98%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='true' bytes=128                    1.90 %      ±3.39%  ±4.52%  ±5.88%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='true' bytes=32768                  0.23 %      ±7.59% ±10.10% ±13.16%
 buffers\\buffer-copy.js n=6000000 oob='false' partial='true' bytes=8                      2.75 %      ±4.06%  ±5.42%  ±7.07%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='false' bytes=0                      2.68 %      ±4.89%  ±6.52%  ±8.50%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='false' bytes=128           ***    135.43 %      ±7.70% ±10.31% ±13.57%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='false' bytes=32768           *      5.98 %      ±4.85%  ±6.46%  ±8.40%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='false' bytes=8             ***    142.55 %     ±10.22% ±13.71% ±18.06%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='true' bytes=0                       4.42 %      ±4.67%  ±6.26%  ±8.23%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='true' bytes=128                     0.66 %      ±2.75%  ±3.66%  ±4.77%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='true' bytes=32768                  -1.10 %      ±7.26%  ±9.67% ±12.59%
 buffers\\buffer-copy.js n=6000000 oob='true' partial='true' bytes=8                       2.74 %      ±3.92%  ±5.23%  ±6.82%

<!-- Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md -->

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

  • [x] make -j4 test (UNIX), or vcbuild test (Windows) passes
  • [x] tests and/or benchmarks are included
  • [x] commit message follows commit guidelines

<!-- Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->

+6 -4

0 comment

2 changed files

pr created time in 25 days

create barnchseishun/node

branch : buffer-copy-perf

created branch time in 25 days

push eventseishun/buffer

Nikolai Vavilov

commit sha 5c5325913cb3860278ff761f8c8d4a77132cffd7

Remove descending copy from end Uint8Array.prototype.set handles overlapping ranges on its own.

view details

push time in a month

PR opened feross/buffer

Remove descending copy from end

Uint8Array.prototype.set handles overlapping ranges on its own.

+0 -5

0 comment

1 changed file

pr created time in a month

create barnchseishun/buffer

branch : remove-descending

created branch time in a month

fork seishun/buffer

The buffer module from node.js, for the browser.

fork in a month

PR opened nodejs/node

doc: update Buffer(size) documentation

It returns zero-filled memory since v8.0.0.

<!-- Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md -->

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

<!-- Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->

+1 -3

0 comment

1 changed file

pr created time in a month

create barnchseishun/node

branch : new-buffer-doc

created branch time in a month

PR opened nodejs/node

doc: fix grammar in buffer.md

<!-- Thank you for your pull request. Please provide a description above and review the requirements below.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md -->

I don't like repeating the TypeError note under each Buffer.from variant. I think it should be mentioned once (if at all), but I can't think of a good place for it. Thoughts?

Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

<!-- Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. -->

+7 -6

0 comment

1 changed file

pr created time in a month

push eventseishun/node

Nikolai Vavilov

commit sha 983fd03bba56ff415acb53448b3b40fbcaf5c43f

appease lint

view details

push time in a month

create barnchseishun/node

branch : fix-buffer-doc

created branch time in a month

push eventseishun/node

Eran Levin

commit sha 67e067eb0658281b647ff68a5a9e64ea2cfdb706

fs: watch signals for recursive incompatibility This pull request makes fs.watch throw exception, whenever it is used in an incompatible platform. For this change following changes were made to api: 1.a new error type has been introduced. 2.fs.watch has been changed accordingly. Users who use recursive on non-windows and osx platforms, will face a new exception. For this reason, it's a breaking change. Fixes: https://github.com/nodejs/node/issues/29901 PR-URL: https://github.com/nodejs/node/pull/29947 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Ruben Bridgewater

commit sha 725682cc509527cfaff0c25450d17ed92c470024

util: fix inspection of typed arrays with unusual length This makes sure `util.inspect()` does not throw in case the typed array's length property was set to something invalid. Instead, always use the original information. PR-URL: https://github.com/nodejs/node/pull/31458 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Anna Henningsen

commit sha 278d37d90d8cd208ee9cd402c3f256b192460f09

test: fix test-heapdump-worker This test was broken by de2c68c7dd17a217a818ea881e433034006fdb4b. Refs: https://github.com/nodejs/node/pull/31386 PR-URL: https://github.com/nodejs/node/pull/31494 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Denys Otrishko

commit sha 08f57265b5c58c16af9e93510cda39462ecf2713

src: reduce code duplication in BootstrapNode PR-URL: https://github.com/nodejs/node/pull/31465 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Alexander Smarus

commit sha 3188afebf472976460f54559e205b6e18af0343f

src: define noreturn attribute for windows PR-URL: https://github.com/nodejs/node/pull/31467 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

cjihrig

commit sha 05d350a3605299b2394f346cecc2d02b644698c5

deps: upgrade to libuv 1.34.2 Notable changes: - SetApplicationDaemon() is no longer called on macOS. - uv_interface_addresses() is implemented on IBMi. - The return value of uv__open_cloexec() is now handled properly. - A race condition in fsevents has been fixed. Fixes: https://github.com/nodejs/node/issues/31328 Fixes: https://github.com/nodejs/help/issues/2099 PR-URL: https://github.com/nodejs/node/pull/31477 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Denys Otrishko

commit sha f2d5173b9deb7980b6f90d68c4d7a7b132422070

doc: clean up and streamline vm.md examples PR-URL: https://github.com/nodejs/node/pull/31474 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Daniel Bevenius

commit sha 3ff2aeceba88928f1aa33fe3ff1cc9bf84da739b

src: ignore GCC -Wcast-function-type for v8.h This commit suggests that cast-function-type warnings be ignored from v8.h. Currently, GCC reports a number of warnings like this: In file included from ../src/util.h:27, from ../src/aliased_buffer.h:7, from ../src/memory_tracker.h:5, from ../src/base_object.h:27, from ../src/async_wrap.h:27, from ../src/req_wrap.h:6, from ../src/req_wrap-inl.h:6, from ../src/connect_wrap.h:6, from ../src/connect_wrap.cc:1: ../deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak( P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::BaseObject; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)]’: ../src/base_object-inl.h:123:42: required from here ../deps/v8/include/v8.h:10374:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::BaseObject>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The motivation for doing this that it makes it difficult to spot other warnings that might be important. Since it is v8 that performs this cast I was not able to find a way around it. PR-URL: https://github.com/nodejs/node/pull/31475 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Gabriel Schulhof

commit sha 42995a3a116fd40e54b7f594ea60dd60163ae0c4

test: cover property n-api null cases Add test coverage for passing `NULL` to each parameter of `napi.*(propert|element)` and `napi_set_prototype`. In the case of `napi_define_properties` also test setting various initializer fields to `NULL`. PR-URL: https://github.com/nodejs/node/pull/31488 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Rich Trott

commit sha 97ac66130294aa112e587c86d2cd28a94bbe4ecd

doc: enable visual code indication in headers This enables the grey background for inline code in headers. Refs: https://github.com/nodejs/node/pull/31460#issuecomment-577154740 PR-URL: https://github.com/nodejs/node/pull/31493 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

view details

Robert Nagy

commit sha 90e6e18f33d1f0f9e4d9775ee283b9a5f2642959

stream: add async iterator support for v1 streams PR-URL: https://github.com/nodejs/node/pull/31316 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>

view details

Robert Nagy

commit sha a6d63c44a2b3273d4e09576c52011e3197d6a4b3

stream: normalize async iterator stream destroy PR-URL: https://github.com/nodejs/node/pull/31316 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>

view details

Robert Nagy

commit sha 2c54459378039199d8362b3109908a0dd29aa2b3

stream: implement throw for async iterator PR-URL: https://github.com/nodejs/node/pull/31316 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>

view details

Robert Nagy

commit sha c6bf9539cc1645fe768bff6ce2eee85636d341a7

stream: simplify pipeline PR-URL: https://github.com/nodejs/node/pull/31316 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>

view details

Robert Nagy

commit sha 07915db233dcb03ea9586086cc4f599b96fa9000

stream: re-use legacy destroyer PR-URL: https://github.com/nodejs/node/pull/31316 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>

view details

cjihrig

commit sha a2f9ccd3d2bffc6f72f02acf7fc4813c670a64ed

deps: uvwasi: cherry-pick 7b5b6f9 Original commit message: allow windows to detect tty types uv_fs_fstat() fails on TTYs on Windows. This commit updates uvwasi__get_filetype_by_fd() to detect this case and map the fd to the WASI character device type. Refs: https://github.com/nodejs/node/issues/31461 Fixes: https://github.com/nodejs/node/issues/31461 PR-URL: https://github.com/nodejs/node/pull/31495 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Brian White

commit sha 886965963ac55825e91887e973226ef010f8fc64

deps: switch to chromium's zlib implementation This implementation provides optimizations not included upstream. PR-URL: https://github.com/nodejs/node/pull/31201 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>

view details

Brian White

commit sha 59cba9a5c20c4a9fee34a3f6601025666aa6f9f6

buffer: improve fill(number) performance PR-URL: https://github.com/nodejs/node/pull/31489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Justin Ridgewell

commit sha 0214b90308404b18efd60ce07cb89014073ee161

process: fix two overflow cases in SourceMap VLQ decoding These both have to do with extremely large numbers, so it's unlikely to cause a problem in practice. Still, correctness. First, encoding `-2147483648` in VLQ returns the value `"B"`. When decoding, we get the value `1` after reading the base64. We then check if the first bit is set (it is) to see if we should negate it, then we shift all bits right once. Now, `value` will be `0` and `negate` will be `true`. So, we'd return `-0`. Which is a bug! `-0` isn't `-2147483648`, and we've broken a round trip. Second, encoding any number with the 31st bit set, we'd return the opposite sign. Let's use `1073741824`. Encoding, we get `"ggggggC"`. When decoding, we get the value `-2147483648` after reading the base64. Notice, it's already negative (the 32nd bit is set, because the 31st was set and we shifted everything left once). We'd then check the first bit (it's not) and shift right. But we used `>>`, which does not shift the sign bit. We actually wanted `>>>`, which will. Because of that bug, we get back `-1073741824` instead of the positive `1073741824`. It's even worse if the 32nd and 31st bits are set, `-1610612736` becomes `536870912` after a round trip. I recently fixed the same two bugs in Closure Compiler: https://github.com/google/closure-compiler/commit/584418eb PR-URL: https://github.com/nodejs/node/pull/31490 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>

view details

Richard Lau

commit sha 8e245cd4e31628def8e886302619b3f033f2f636

build: build docs in GitHub Actions CI workflow PR-URL: https://github.com/nodejs/node/pull/31504 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

push time in a month

delete branch seishun/deno

delete branch : globals-toString

delete time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha 9d94f376b879d6e37e27e94b8b804580507353b2

prettify

view details

push time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha 18ed9995870c2363b22f5dad20ec3cd47dfd64b9

prettify

view details

push time in a month

issue openeddenoland/deno

tools/format.py fails on Windows

prettier
Traceback (most recent call last):
  File "tools\format.py", line 70, in <module>
    sys.exit(main())
  File "tools\format.py", line 31, in main
    prettier()
  File "tools\format.py", line 43, in prettier
    quiet=True)
  File "C:\Users\Nikolai\deno\tools\util.py", line 63, in run
    rc = subprocess.call(args, cwd=cwd, env=env, shell=shell)
  File "C:\Python27\lib\subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Python27\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 87] The parameter is incorrect

Probably because the size of args is 36716, but the maximum CreateProcess supports is 32768. One possible solution is to pass globs to prettier rather than a list of files.

created time in a month

create barnchseishun/deno

branch : globals-toString

created branch time in a month

PR opened denoland/deno

std/node: toString for globals

Some modules check for process+'' === '[object process]'.

+14 -0

0 comment

2 changed files

pr created time in a month

delete branch seishun/deno

delete branch : process-global

delete time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha e0a9df946a23188d74ad6a60eb5bb19ed9b915bd

add comment

view details

push time in a month

pull request commentdenoland/deno

feat(std/path): Add fromUrl()

URL::pathname suggests any URL has a derivable path.

But you want to return a filesystem path, not a URL path. Currently fromUrl('http://foo.foo/baz/baz') returns \baz\baz on Windows, which is neither.

nayeemrmn

comment created time in a month

pull request commentdenoland/deno

feat(std/path): Add fromUrl()

So what happens when you call fromUrl with a non-file URL?

nayeemrmn

comment created time in a month

pull request commentdenoland/deno

feat(std/path): Add fromUrl()

Theirs is in a url "namespace" but they still chose to be explicit, which might be a good thing. 🤷

nayeemrmn

comment created time in a month

pull request commentdenoland/deno

feat(std/path): Add fromUrl()

Node.js has fileURLToPath - why not name it the same here?

nayeemrmn

comment created time in a month

pull request commentdenoland/deno

std/node: make process global

Could you add some documentation to std/node/README about how process object becomes global, and when?

I'm not sure how to document it. process becomes global when process.ts is imported, but I guess it's an implementation detail since it's not meant to be used directly. Also it's not the first global set by this module - there's global.

Maybe it should say that createRequire sets supported globals?

seishun

comment created time in a month

pull request commentdenoland/deno

std/node: make process global

I wonder why tools/lint.py didn't catch this.

seishun

comment created time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha 27b62b86b9e6c31f930fe067715a9317bebacd49

fix format

view details

push time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha fcd7ea069dc3241736c757394a7b28fb263614dd

x

view details

push time in a month

PR opened denoland/deno

std/node: make process global

<!-- Before submitting a PR, please read https://deno.land/std/manual.md#contributing -->

+7 -0

0 comment

1 changed file

pr created time in a month

create barnchseishun/deno

branch : process-global

created branch time in a month

PublicEvent

issue commentdenoland/deno

Add a variable or func to get the path of the current script, like __dirname in Node.js

Here's a hacky but cross-platform way:

import { createRequire } from "https://deno.land/std/node/module.ts";
const require = createRequire(import.meta.url);
console.log(require.resolve("./static-file"));
manyuanrong

comment created time in a month

issue commentdenoland/deno

Add a variable or func to get the path of the current script, like __dirname in Node.js

@nayeemrmn that gives a path that looks like "/C:/Users/seishun/project/static-files", which Deno.readFileSync doesn't accept.

manyuanrong

comment created time in a month

issue openeddenoland/deno

CJS modules with syntax errors throw "Uncaught #<Object>"

long.js

.

test.js

import { createRequire } from "https://deno.land/std/node/module.ts";
const require = createRequire(import.meta.url);
require("./long.js");

Output:

error: Uncaught #<Object>

This can be easily fixed by changing this line to throw err.thrown;: https://github.com/denoland/deno/blob/f72f045de586a7d0e428b77f6a3e381178cc6674/std/node/module.ts#L1063

But then the following version of long.js causes panic:

}
thread 'main' panicked at 'assertion failed: lines.len() > line', cli\compilers\ts.rs:559:11

Because the error points at the CJS wrapper. Node.js solves this by creating a function programmatically: https://github.com/nodejs/node/blob/6bcf96840121f2de61def5ad99700fb7eb6ac905/lib/internal/modules/cjs/loader.js#L1101-L1117

created time in a month

delete branch seishun/deno

delete branch : fix-require

delete time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha 328bfc5c497fb428ea8cd664e3ea9a050ef15ac7

x

view details

push time in a month

pull request commentdenoland/deno

std/node: require_ -> require

Why were 2 checks cancelled?

seishun

comment created time in a month

push eventseishun/deno

Nikolai Vavilov

commit sha 87bfe31cfc583e5cc2b0d19fdf3c991cf35563e2

add eslint rule

view details

push time in a month

pull request commentdenoland/deno

std/node: require_ -> require

Sure, but maybe this rule should be disabled globally?

seishun

comment created time in a month

pull request commentdenoland/deno

std/node: require_ -> require

This fails lint, but should it? I think the linter should consider require a regular function without any special meaning.

seishun

comment created time in a month

create barnchseishun/deno

branch : fix-require

created branch time in a month

PR opened denoland/deno

std/node: require_ -> require

The underscore is no longer required.

<!-- Before submitting a PR, please read https://deno.land/std/manual.md#contributing -->

+17 -19

0 comment

3 changed files

pr created time in a month

pull request commentseishun/deno-protobuf

Fix bytestring.js import

Thanks!

dquenne

comment created time in a month

push eventseishun/deno-protobuf

Dylan Quenneville

commit sha 204852b00f04fef17b91239ea24b146056f331f8

Fix bytestring.js import (#1)

view details

push time in a month

PR merged seishun/deno-protobuf

Fix bytestring.js import

I'm using this to generate classes, but at the top of my generated .ts file, these imports fail:

import Kernel from "https://deno.land/x/protobuf/kernel/kernel.js";
import Int64 from "https://deno.land/x/protobuf/int64.js";

Importing from deno.land fails because this import is defined as ../runtime/byestring.js, but it is hosted on deno.land at protobuf/bytestring.js.

Download https://deno.land/x/protobuf/bytestring_internal.js
Download https://deno.land/x/runtime/bytestring.js
Import 'https://deno.land/x/runtime/bytestring.js' failed: 404 Not Found

Switching ../runtime/bytestring.js with ./bytestring.js means the import is correct in this repository and in the directory structure on deno.land.

+1 -1

0 comment

1 changed file

dquenne

pr closed time in a month

issue closedseishun/node-steam

Steam interface for ios/andoid?

Hi,

I would like to create an iOS app that allows me to log in steam and do things like idle game hours. Where should I start for basic implmentation?

closed time in a month

aldwnesx

issue commentseishun/node-steam

Steam interface for ios/andoid?

I can't help you with this.

aldwnesx

comment created time in a month

issue closedseishun/node-steam

TypeError: this._client.send is not a function

Hello, I have this problem do you have any idea?

TypeError: this._client.send is not a function
    at SteamGameCoordinator._send (C:\Users\Admin\Desktop\discord\node_modules\steam\lib\handlers\game_coordinator\index.js:49:16)
    at SteamGameCoordinator.send (C:\Users\Admin\Desktop\discord\node_modules\steam\lib\handlers\game_coordinator\index.js:67:8)
    at Timeout._onTimeout (C:\Users\Admin\Desktop\discord\node_modules\csgocoordinator\index.js:116:13)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

closed time in a month

Sosoo13

issue commentseishun/node-steam

TypeError: this._client.send is not a function

This is not minimal. Sorry, can't help you. You might want to submit an issue to csgocoordinator.

Sosoo13

comment created time in a month

issue commentseishun/node-steam

TypeError: this._client.send is not a function

Please post a minimal test case that reproduces the issue.

Sosoo13

comment created time in a month

pull request commentseishun/node-steam

Fix: Change CMsgClientServiceMethod to CMsgClientServiceMethodLegacy.

This is still an issue. The npm package is currently unaffected because it bundles old resources, and it will break when I publish a new release.

It could have been some other package that I downloaded that ended up doing that, right?

Are you sure you never installed this module from git?

mlajx

comment created time in 2 months

pull request commentseishun/node-steam

Fix: Change CMsgClientServiceMethod to CMsgClientServiceMethodLegacy.

No need to change the version.

Do you get the same error if you clear the npm cache and reinstall? Also, what's your npm version?

mlajx

comment created time in 2 months

pull request commentseishun/node-steam

Fix: Change CMsgClientServiceMethod to CMsgClientServiceMethodLegacy.

This is an issue only when installing from git, right? Because the message was renamed on 26 Jun 2019 (https://github.com/SteamDatabase/Protobufs/commit/a4ba0a9e35a204b8185ca32a8aec697c830cadb2#diff-8c71af55a84f0c6b8934be579e14c58d), which is more recent than the last release on npm.

mlajx

comment created time in 2 months

issue openedprotocolbuffers/protobuf

What is js/experimental?

I would like to find out about the roadmap for the new JavaScript runtime in https://github.com/protocolbuffers/protobuf/tree/master/js/experimental. Specifically,

  1. Is it going to be officially supported?
  2. Are you planning to add support for it in protoc?
  3. Are you open to collaboration with the community?
  4. The code uses goog.require and goog.module - any reason not to use import and export?

Context: I'm interested in getting protobuf working on https://github.com/denoland/deno. I put together a deno-compatible runtime in https://github.com/seishun/deno-protobuf by taking this experimental runtime and migrating from goog.modules to ES6 modules. But I would love to avoid having to maintain a fork.

created time in 2 months

delete branch seishun/deno

delete branch : fix-require

delete time in 2 months

pull request commentdenoland/deno

Fix stack traces for required modules

@bartlomieju I've rebased it, but it seems it wasn't necessary (no conflicts).

seishun

comment created time in 2 months

push eventseishun/deno

Bartek Iwańczuk

commit sha 852823fa505d75d61e70e1330bbf366aa248e650

refactor: rewrite HTTP cache for file fetcher (#4030)

view details

Maximilien Mellen

commit sha 90125566bbaed8b5c6e55ca8dbc432e3433fb73c

Enable TS strict mode by default (#3899) Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>

view details

Bartek Iwańczuk

commit sha 742a16b5069b2a6dee200d908df54fab77408581

refactor: rewrite file_fetcher to use async fns, lift blocking call (#4037)

view details

Kitson Kelly

commit sha 0e579ee9dce917c1b783cea5506315f78b1e0a00

fix: emit when bundle contains single module (#4042) Fixes #4031 When a bundle contains a single module, we were incorrectly determining the module name, resulting in a non-functional bundle. This PR corrects that determination.

view details

Kitson Kelly

commit sha 6431622a6debc0443f9269fe0157571ec54701c0

fix: mis-detecting imports on JavaScript when there is no checkJs (#4040) This PR fixes an issue where we recursively analysed imports on plain JS files in the compiler irrespective of "checkJs" being true. This caused problems where when analysing the imports of those files, we would mistake some import like structures (AMD/CommonJS) as dependencies and try to resolve the "modules" even though the compiler would not actually look at those files.

view details

Clemens Tolboom

commit sha 7e49d96cbcde1e8eb89d0fdd499be473822b725b

/std/ws: Fix args index for WS examples (#4046)

view details

Ryan Dahl

commit sha a0d3b4ebc509d9e5dfca555084fd1100e114664a

v0.34.0

view details

木杉

commit sha 6dd964384509e71598d08ae09c59f5f2c035a135

upgrade: dprint 0.6.1 (#4061)

view details

Bartek Iwańczuk

commit sha d9efb8c02a0036d755c35e8e9c88d58bd45a9e2b

fix: add io ops to worker to fix fetch (#4054)

view details

Bartek Iwańczuk

commit sha dd8a10948195f231a6a9eb652e3f208813904ad6

refactor: remove unneeded ErrorKinds (#3936)

view details

hazæ41

commit sha 08686cbc3ae63008837ee45b2c4f41d6674c57dd

feat: support UDP sockets (#3946)

view details

ecyrbe

commit sha 754b8c65ad5adda2961c667a6b64ab59c130111d

feat(std/node) : add os.platform (#4064)

view details

Bartek Iwańczuk

commit sha bd640bc7e6a946dec4477afc64d8083e372660f6

feat: Deno.fsEvents() (#3452)

view details

jigsaw

commit sha c34d96d86557d434bdf124063e4eec4662067c1e

Fix example (#4076)

view details

ecyrbe

commit sha fb98556d56d0defa325fab1296077627cce31aab

feat(std/node): add os.loadavg() (#4075)

view details

Yusuke Sakurai

commit sha 8b646e8657309e57bd4e907f911529e33e3a05fb

Added browser chat example (#4022)

view details

EnokMan

commit sha 14129b6c8f3335b215a2d9614c4523e8e3200e82

feat: support brotli compression for fetch API (#4082)

view details

Kevin (Kun) "Kassimo" Qian

commit sha bf48f5fa5a15e01d6f8b7eb7c3e70f6ecc91fa23

Move WebAsssembly namespace to shared_globals (#4084)

view details

Kevin (Kun) "Kassimo" Qian

commit sha e9fff02e9681f3eb2edee9f94db66b140e179899

fetch: proper error for unsupported protocol (#4085)

view details

Yusuke Sakurai

commit sha d9886a44d107de48b312ba71833709494b5ade5e

fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083)

view details

push time in 2 months

delete branch seishun/deno_website2

delete branch : patch-1

delete time in 2 months

push eventseishun/deno_website2

Nikolai Vavilov

commit sha 96ed6bd0e5e2cb3e1fe2bb74bfd8a4c651a26852

Fix path

view details

push time in 2 months

more