profile
viewpoint
Bartek Iwańczuk bartlomieju @denoland Warsaw, PL

denoland/deno_lint 438

Blazing fast linter for JavaScript and TypeScript written in Rust

deno-postgres/deno-postgres 272

PostgreSQL driver for Deno

denoland/doc_website 112

Auto-generated documentation for Deno modules

bartlomieju/parseargs 27

Migrated to https://github.com/denoland/deno_std

dprint/dprint-plugin-typescript 12

TypeScript and JavaScript code formatting plugin for dprint.

bartlomieju/deno 2

A secure TypeScript runtime on V8

hayd/deno 2

A secure TypeScript runtime on V8

bartlomieju/bartlomieju.github.io 0

Code that'll help you kickstart a personal website that showcases your work as a software developer.

bartlomieju/deno-logging 0

Migrated to https://github.com/denoland/deno_std/

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha b38c3132768e0f5132763db9c8fdc2a4a9490bde

v1.3.0

view details

Kitson Kelly

commit sha 27d896984726d12bdec1007bd998731f08dc86ff

chore: nightly clippy refactor in lint.rs (#7045)

view details

push time in a day

push eventdenoland/deno

Kitson Kelly

commit sha 27d896984726d12bdec1007bd998731f08dc86ff

chore: nightly clippy refactor in lint.rs (#7045)

view details

push time in a day

PR merged denoland/deno

chore: nightly clippy refactor in lint.rs

Nightly clippy flags a bit of code in master that can be optimised.

+1 -3

0 comment

1 changed file

kitsonk

pr closed time in a day

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 08ab4d46ca1860da16b5250fe3872cefbe682637

upgrade: swc, deno_lint, dprint (#7040)

view details

souldzin

commit sha d6cee706955f300086f41f9318d23631f64f036b

feat: Add "--json" flag to deno lint (#6940) Co-authored-by: JackSkylark <jdslaughter44@gmail.com>

view details

Bartek Iwańczuk

commit sha a921f718cdb090cccfa5f37cb6b469055e41c84d

v1.3.0

view details

push time in 2 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 08ab4d46ca1860da16b5250fe3872cefbe682637

upgrade: swc, deno_lint, dprint (#7040)

view details

souldzin

commit sha d6cee706955f300086f41f9318d23631f64f036b

feat: Add "--json" flag to deno lint (#6940) Co-authored-by: JackSkylark <jdslaughter44@gmail.com>

view details

push time in 2 days

push eventdenoland/deno

souldzin

commit sha d6cee706955f300086f41f9318d23631f64f036b

feat: Add "--json" flag to deno lint (#6940) Co-authored-by: JackSkylark <jdslaughter44@gmail.com>

view details

push time in 2 days

PR merged denoland/deno

feat(lint): deno lint --json

Description

This PR implements a --json option for deno lint to print the result in JSON format

Heads up! This is @JackSkylark and my first time working with Rust so apologies in advanced for any trivial oversights 😅

Example

$ deno lint --unstable --json test.ts
{
  "diagnostics": [
    {
      "location": {
        "filename": "/path/to/file.ts",
        "line": 3,
        "col": 4
      },
      "message": "assign `this` to declare a value is not allowed",
      "code": "no-this-alias",
      "line_src": "    const self = this;",
      "snippet_length": 18
    }
  ],
  "runtime_errors": []
}

References

  • https://github.com/denoland/deno/issues/6721
+233 -37

7 comments

7 changed files

souldzin

pr closed time in 2 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha f817bd0af7ed140cece07c45cb13801343842a04

v1.3.0

view details

push time in 2 days

Pull request review commentdenoland/deno

v1.3.0

  [package] name = "deno_web"-version = "0.2.0"+version = "0.3.0"

Great 👍

bartlomieju

comment created time in 2 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 9433cb5bb4baa854c8b8075551320d7252712555

update release notes

view details

push time in 2 days

Pull request review commentdenoland/deno

v1.3.0

  [package] name = "deno_web"-version = "0.2.0"+version = "0.3.0"

@ry actually not sure if we need to release new version of deno_web, and... does it deploy automatically?

bartlomieju

comment created time in 2 days

PR opened denoland/deno

v1.3.0

Waiting on https://github.com/denoland/deno/pull/6940 Waiting on https://github.com/denoland/deno/pull/7040

+39 -11

0 comment

6 changed files

pr created time in 2 days

create barnchbartlomieju/deno

branch : v1.3.0

created branch time in 2 days

push eventsouldzin/deno

Bartek Iwańczuk

commit sha 25ca014b36ac057c84267a4d502e32faa0e671cc

fix

view details

push time in 2 days

Pull request review commentdenoland/deno

BugFix(6975) Dash Value Treated As Arg

 fn test_subcommand<'a, 'b>() -> App<'a, 'b> {         .takes_value(true)         .help("Run tests with this string or pattern in the test name"),     )+    .setting(clap::AppSettings::AllowLeadingHyphen)

Maybe use https://docs.rs/clap/2.33.2/clap/enum.ArgSettings.html#variant.AllowLeadingHyphen on the "filter" arg instead of using AppSetting

JayHelton

comment created time in 2 days

pull request commentdenoland/deno

Feature: Dependency count and module sizes for `deno info`. Feedback wanted.

I've removed 1.3.0 milestone and slated for 1.4.0, this functionality is desired but needs more work.

KrisChambers

comment created time in 2 days

pull request commentdenoland/deno

feat(lint): deno lint --json

I've added a few fixes and changed test.

souldzin

comment created time in 2 days

push eventsouldzin/deno

Ryan Dahl

commit sha 732a43735290f7e996d6252b9820bcca5724f31c

Add README for deno_web (#6997)

view details

uki00a

commit sha 67fe8cd8484611a1cbd72d058539920d09b18cfc

fix: console.log should see color codes when grouping occurs (#7000)

view details

Prabhanjan

commit sha fdb2dab7cd59a70b79704e0a0efca44be2bfc186

docs: instructions for loading zsh completions (#6998)

view details

Bartek Iwańczuk

commit sha 6fcf06306ed2ea52031a97b918f1e929d7209250

feat(doc): handle imports (#6987) This commit adds additional objects to JSON output of "deno doc" command to facilitate linking between types in different modules.

view details

Nayeem Rahman

commit sha 52c1017a74059655f9424f7ceb3f0c74dcc7f3be

feat: Stabilize Deno.mainModule (#6993)

view details

Ryan Dahl

commit sha 7d01fcbb77169d446d58a5d8c1aa113a925092a0

Remove unnecessary drop calls (#7007)

view details

Luca Casonato

commit sha da98f9e3a174a304b0a83391fa61fcfdba0fc668

fix(unstable): add missing globals to diagnostics (#6988)

view details

迷渡

commit sha dad74c3706f5454288ccead85cbc28430d635850

remove unnecessary await in docs (#7012)

view details

迷渡

commit sha 8c0140e1e40faffd83d47c01b3766caa13d1310d

remove unused git attributes (#7011)

view details

Jesse Jackson

commit sha f32d28019d1ef56454137d49046cf1587c2245a4

test(std): fs/writeJson add test for append option (#6889) Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>

view details

Valentin Anger

commit sha d7077b9073dec6fb1f4b07d5575ef416997c19a9

doc: Remove detailed / summary distinction (#6818)

view details

Paul Thompson

commit sha eed77aa0208e603dac908a240dd66ece422e9dd7

feat(web): FileReader API (#6673)

view details

Marcus Weiner

commit sha f425b51419da496011424f6259dad5ac11d433cd

core: memory limits & callbacks (#6914)

view details

Marcus Weiner

commit sha 58f86e063ab4d3e022b94f8f3c6a6a796ee9f749

Remove previous heap limit callback when registering (#7025)

view details

Nayeem Rahman

commit sha 81ce4499e7da7baf421b85b4a188d1a63569cab4

fix: Make std work with isolatedModules (#7016)

view details

Prabhanjan

commit sha b344a7f81fa00d1611212cac82b631f9d1dffdf0

fix: URLSearchParams.toString() behaviour is different from browsers (#7017)

view details

Alberto Ricart

commit sha 91ff91093dba45c9696d71e74323487cfa4ce406

feat(std): added TLS serve abilities to file_server (#6962)

view details

Nayeem Rahman

commit sha fed70c9903e616702241725e82a7d633f2a9b05d

feat: deno info --reload (#7009)

view details

Divy Srivastava

commit sha 6706eb551532ee6c84ad013377ac2cd91681424a

feat: add "--ignore" to deno lint (#6934)

view details

Ryan Dahl

commit sha f5a4f1fdc04b24cdfbef83842b9c42b5032c4059

Undo JsonOpDispatcher and OpDispatcher traits (#7023) This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.

view details

push time in 2 days

issue commentdenoland/deno

module resolve failed with dynamic import and circulated import

It was not, this error is still valid. Waiting on modules refactor in core/ by @piscisaureus

Fenzland

comment created time in 2 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 6c41d03a6773614ccb331c6b333b4872cc1ecf9b

fix

view details

push time in 2 days

PR opened denoland/deno

upgrade: swc, deno_lint, dprint

Merge on approval

+30 -118

0 comment

2 changed files

pr created time in 2 days

create barnchbartlomieju/deno

branch : upgrade_swc

created branch time in 2 days

push eventbartlomieju/deno

Jarrett Helton

commit sha c4edd09816b3cc6ab992f85602388f2f344fcf0e

feat(bundle): add support for --reload flag (#6996)

view details

木杉

commit sha 988790834e9611b45663e48a7bea49219da7511f

feat(std/http): add --no-dir-listing flag to file_server (#6808)

view details

Bert Belder

commit sha 3d70a2b94eac4d4032b8b11039efe6d070fa114f

upgrade: Rust crates The following crates were _not_ upgraded to avoid having multiple versions of the same crate in the dependency tree: * tokio-tungstenite v0.10.1 -> v0.11.0 * swc_common v0. 8.0 -> v0. 9.1 * swc_ecmascript v0. 1.0 -> v0. 3.0 * webpki-roots v0.19.0 -> v0.20.0 * nix v0.17.0 -> v0.18.0

view details

Benjamin Lupton

commit sha 452693256ce7b607fa0b9454b22c57748f616742

feat(std/node): add util.inspect (#6833)

view details

Nayeem Rahman

commit sha 18ec1290afcd78c61933ecb52e3ad97cf644f0d5

feat: Support file URLs in Deno.run for executable (#6994)

view details

Jarrett Helton

commit sha de4e1fbdf0d013893516479aa6e15b15d6319e38

feat: add support for --no-check flag in Deno install (#6948)

view details

Ryan Dahl

commit sha c4d9c6aa4baed5c9f4844dd5f28475e9ef2d87b0

upgrade: TypeScript to 3.9.7 (#7036)

view details

Divy Srivastava

commit sha ad4af23aba39e904ba9e2c284b6d06436b7b4f77

unify path normalization utility (#6865)

view details

Jarrett Helton

commit sha 514cbc2808754369f52c9f4baef97c16345d654b

fix: remove @ts-expect-error directives (#7024)

view details

push time in 2 days

delete branch bartlomieju/dprint-plugin-typescript

delete branch : upgrade_swc2

delete time in 2 days

created tagdprint/dprint-plugin-typescript

tag0.28.0

TypeScript and JavaScript code formatting plugin for dprint.

created time in 2 days

push eventbartlomieju/dprint-plugin-typescript

Bartek Iwańczuk

commit sha 1b8ad006d0c31b2b337af7766f0bbcef96217314

chore(release): 0.28.0

view details

push time in 2 days

push eventdprint/dprint-plugin-typescript

Bartek Iwańczuk

commit sha 1b8ad006d0c31b2b337af7766f0bbcef96217314

chore(release): 0.28.0

view details

push time in 2 days

PR merged dprint/dprint-plugin-typescript

Reviewers
v0.28.0

upgrades:

  • swc_ecmascript 0.3.1
  • swc_common 0.9.1
+10 -10

0 comment

2 changed files

bartlomieju

pr closed time in 2 days

push eventdenoland/deno

Ryan Dahl

commit sha c4d9c6aa4baed5c9f4844dd5f28475e9ef2d87b0

upgrade: TypeScript to 3.9.7 (#7036)

view details

push time in 3 days

PR merged denoland/deno

upgrade: TypeScript to 3.9.7

merge on approval

+121 -59

0 comment

3 changed files

ry

pr closed time in 3 days

created tagdenoland/deno_lint

tagv0.1.22

Blazing fast linter for JavaScript and TypeScript written in Rust

created time in 3 days

delete branch bartlomieju/deno_lint

delete branch : v0.1.22

delete time in 3 days

push eventbartlomieju/deno_lint

Bartek Iwańczuk

commit sha 1cfa3f82e94b9d7603ffed436178df346304d2e1

v0.1.22

view details

push time in 3 days

PR merged denoland/deno_lint

v0.1.22
+2 -2

0 comment

2 changed files

bartlomieju

pr closed time in 3 days

push eventdenoland/deno_lint

Bartek Iwańczuk

commit sha 1cfa3f82e94b9d7603ffed436178df346304d2e1

v0.1.22

view details

push time in 3 days

push eventbartlomieju/deno_lint

Bartek Iwańczuk

commit sha 584a15747e58144be385e558f9516b38940bc8b1

upgrade: swc_ecmascript 0.3.1 (#260)

view details

push time in 3 days

PR opened denoland/deno_lint

v0.1.22
+2 -2

0 comment

2 changed files

pr created time in 3 days

create barnchbartlomieju/deno_lint

branch : v0.1.22

created branch time in 3 days

delete branch bartlomieju/deno_lint

delete branch : upgrade_swc2

delete time in 3 days

push eventdenoland/deno_lint

Bartek Iwańczuk

commit sha 584a15747e58144be385e558f9516b38940bc8b1

upgrade: swc_ecmascript 0.3.1 (#260)

view details

push time in 3 days

PR merged denoland/deno_lint

swc_ecmascript 0.3.1
+32 -239

0 comment

2 changed files

bartlomieju

pr closed time in 3 days

Pull request review commentdenoland/rusty_v8

Allow configuring ModifyCodeGenerationFromStrings callback

 pub type NearHeapLimitCallback = extern "C" fn(   initial_heap_limit: usize, ) -> usize; +#[repr(C)]+pub struct ModifyCodeGenerationFromStringsResult<'s> {+  pub codegen_allowed: bool,+  pub modified_source: Option<Local<'s, String>>,+}++pub type ModifyCodeGenerationFromStringsCallback<'s> =+  extern "C" fn(+    ctx: Local<'s, Context>,+    code: Local<'s, Value>,+  ) -> ModifyCodeGenerationFromStringsResult<'s>;+

@NeoLegends if this errors pops up when you tried to build Deno you'll need to run cargo clean before cargo build

NeoLegends

comment created time in 3 days

push eventbartlomieju/dprint-plugin-typescript

Bartek Iwańczuk

commit sha d4066745aa68a612ed6a5525101547c41fcffc0f

bump version

view details

push time in 3 days

PR opened denoland/deno_lint

swc_ecmascript 0.3.1
+32 -239

0 comment

2 changed files

pr created time in 3 days

create barnchbartlomieju/deno_lint

branch : upgrade_swc2

created branch time in 3 days

push eventbartlomieju/deno_lint

Bartek Iwańczuk

commit sha 0e2539d809f768c9d1d0241e9ba10059a32ad108

chore: speed up CI (#258)

view details

push time in 3 days

create barnchbartlomieju/dprint-plugin-typescript

branch : upgrade_swc2

created branch time in 3 days

push eventbartlomieju/dprint-plugin-typescript

David Sherret

commit sha 151bcebf292453a703b13207e8b2099a1cf46b8e

Remove patch for sourcemap as it's no longer necessary.

view details

David Sherret

commit sha 0719c274ab1052fa33ea574a20c11c2510f3b813

Make serde_json an optional dependency only for compiling wasm.

view details

David Sherret

commit sha 0f7b047e0543300f0ff93abb26debd4296f25aa5

chore: Update dprint core.

view details

David Sherret

commit sha acf46b984cdcee355244501b373eba6184a26bb3

feat: #37 - Rename "nextLineIfHanging" to "sameLineUnlessHanging"

view details

David Sherret

commit sha 578671c11773e1e8638eea435637437d050161c9

feat: Actually upgrade dprint-core.

view details

David Sherret

commit sha 7bf32502f08d7177a51dd62e455f8126ada277ab

chore: Update cache github actions.

view details

David Sherret

commit sha 7f19d924274ad7dc52802a00e2fde9aefa906a78

chore(release): 0.27.0

view details

David Sherret

commit sha c13f49356a8708a87280256580b8f1ab2b9f99cb

feat: #39 - TS 4.0: Support type on catch clause bindings.

view details

push time in 3 days

push eventdenoland/deno

Jarrett Helton

commit sha c4edd09816b3cc6ab992f85602388f2f344fcf0e

feat(bundle): add support for --reload flag (#6996)

view details

push time in 3 days

PR merged denoland/deno

feat(bundle): add support for --reload flag

###Description Adding support for the reload flag for the bundle command

  • [x] Add to args parse for bundle
  • [x] Manual Testing
  • [x] Fix Any Broken Tests
  • [x] Add Tests

###References #6973

Current Observations:

It looks like the reload flag is based onto global state, and then the file global.file_fetcher. This would imply that denos global state will handle this scenario simply by providing the flag to the init of state. Testing will confirm.

This was proven true.

+19 -0

2 comments

1 changed file

JayHelton

pr closed time in 3 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 9f56825b7aab367c12656124117bf5c8fd92f0d5

fix build

view details

Bartek Iwańczuk

commit sha e3f35600ac8a3ff000ba748a07b3c35f01e9230b

try async fn

view details

push time in 3 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 0c6f767f698733820fe020c8cd9e1be8d2b66cea

fix

view details

push time in 3 days

push eventbartlomieju/deno

Bartek Iwańczuk

commit sha 6fcf06306ed2ea52031a97b918f1e929d7209250

feat(doc): handle imports (#6987) This commit adds additional objects to JSON output of "deno doc" command to facilitate linking between types in different modules.

view details

Nayeem Rahman

commit sha 52c1017a74059655f9424f7ceb3f0c74dcc7f3be

feat: Stabilize Deno.mainModule (#6993)

view details

Ryan Dahl

commit sha 7d01fcbb77169d446d58a5d8c1aa113a925092a0

Remove unnecessary drop calls (#7007)

view details

Luca Casonato

commit sha da98f9e3a174a304b0a83391fa61fcfdba0fc668

fix(unstable): add missing globals to diagnostics (#6988)

view details

迷渡

commit sha dad74c3706f5454288ccead85cbc28430d635850

remove unnecessary await in docs (#7012)

view details

迷渡

commit sha 8c0140e1e40faffd83d47c01b3766caa13d1310d

remove unused git attributes (#7011)

view details

Jesse Jackson

commit sha f32d28019d1ef56454137d49046cf1587c2245a4

test(std): fs/writeJson add test for append option (#6889) Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>

view details

Valentin Anger

commit sha d7077b9073dec6fb1f4b07d5575ef416997c19a9

doc: Remove detailed / summary distinction (#6818)

view details

Paul Thompson

commit sha eed77aa0208e603dac908a240dd66ece422e9dd7

feat(web): FileReader API (#6673)

view details

Marcus Weiner

commit sha f425b51419da496011424f6259dad5ac11d433cd

core: memory limits & callbacks (#6914)

view details

Marcus Weiner

commit sha 58f86e063ab4d3e022b94f8f3c6a6a796ee9f749

Remove previous heap limit callback when registering (#7025)

view details

Nayeem Rahman

commit sha 81ce4499e7da7baf421b85b4a188d1a63569cab4

fix: Make std work with isolatedModules (#7016)

view details

Prabhanjan

commit sha b344a7f81fa00d1611212cac82b631f9d1dffdf0

fix: URLSearchParams.toString() behaviour is different from browsers (#7017)

view details

Alberto Ricart

commit sha 91ff91093dba45c9696d71e74323487cfa4ce406

feat(std): added TLS serve abilities to file_server (#6962)

view details

Nayeem Rahman

commit sha fed70c9903e616702241725e82a7d633f2a9b05d

feat: deno info --reload (#7009)

view details

Divy Srivastava

commit sha 6706eb551532ee6c84ad013377ac2cd91681424a

feat: add "--ignore" to deno lint (#6934)

view details

Ryan Dahl

commit sha f5a4f1fdc04b24cdfbef83842b9c42b5032c4059

Undo JsonOpDispatcher and OpDispatcher traits (#7023) This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.

view details

Bartek Iwańczuk

commit sha c5175b9d6dedc5f5bf2efed71f548cc236608adf

temp

view details

Bartek Iwańczuk

commit sha 1ccec517fe29f8a0f0152aa292682ff03f937d6d

some progress

view details

Bartek Iwańczuk

commit sha 06fe31f3a23520fd6a6c88d55e6e4c5d23046627

try simpler dispatch json

view details

push time in 3 days

push eventbartlomieju/deno

Divy Srivastava

commit sha 6706eb551532ee6c84ad013377ac2cd91681424a

feat: add "--ignore" to deno lint (#6934)

view details

Ryan Dahl

commit sha f5a4f1fdc04b24cdfbef83842b9c42b5032c4059

Undo JsonOpDispatcher and OpDispatcher traits (#7023) This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.

view details

push time in 3 days

push eventdenoland/deno

Ryan Dahl

commit sha f5a4f1fdc04b24cdfbef83842b9c42b5032c4059

Undo JsonOpDispatcher and OpDispatcher traits (#7023) This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.

view details

push time in 3 days

PR merged denoland/deno

Undo JsonOpDispatcher and OpDispatcher traits

This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.

@bartlomieju Does this help? cc @95th

+101 -116

2 comments

11 changed files

ry

pr closed time in 3 days

push eventdenoland/deno

Divy Srivastava

commit sha 6706eb551532ee6c84ad013377ac2cd91681424a

feat: add "--ignore" to deno lint (#6934)

view details

push time in 3 days

PR merged denoland/deno

feat: add "--ignore" to deno lint

Adds --ignore to deno lint --unstable

Use case:

deno lint --unstable --ignore=./node_modules/

Status: Ready for review

Ref: #6805

+55 -9

2 comments

5 changed files

divy-work

pr closed time in 3 days

push eventbartlomieju/swc

강동윤

commit sha d2b8916f9f7d6afdada04974a686e8b0b90327b9

Fix more typescript bugs (#924) swc_ecma_parser: - Fix parsing of binding identifier `await` swc_ecma_transforms: - More tests for typescript::strip - Handle export declare class properly - Remove declared variables - Fix enums in if statement - Fix sequence expression in class member key - Fix await in extend-clause - Fix optional array pattern - Fix optional object pattern

view details

강동윤

commit sha 5baa636a4b6592c22e513c527625ff86a4f8e869

Chores (coverage, documentation, etc..) (#925)

view details

강동윤

commit sha 54e0bfd87831c6269f9f34d6bc9e370a73936210

Update swc_ecma_utils (#927)

view details

강동윤

commit sha 2de59759de193172c456406ac2605d15b8983462

Reduce size (#928) Reduce binary size and make some dependencies optional for deno

view details

강동윤

commit sha 42554d11940e2bf23ae1ad356389997828d89a79

Fix fixer (#933) swc_ecma_transforms: - fixer: Preserve paren around computed constructor (#931)

view details

강동윤

commit sha 76bcd3d7e4620a6756a2167bb6f51e8aa6aa7979

More span tests (#935)

view details

강동윤

commit sha 969fe6ec3251ab072a3ddda50835743d9cc3a7f7

Spack (#937) spack: - Always inline `NODE_ENV` before analyzing imports - implements conditional requires (#884)

view details

강동윤

commit sha 5fb77dbd610d3c398ccd3bc5356222d43af33ed4

Bump version

view details

강동윤

commit sha 0989e73a99d1fbd123c0da76e40f033963176ce9

Metadata for typescript decorator (#939) swc_ecma_transforms: - Allow emitting decorator metadata (#666, #919) swc: - change order of passes to allow decorator using type informations

view details

강동윤

commit sha 34d475fbc879084466651fcd5648fcdd69f69b69

Type annotation in catch binding (#942) swc_ecma_parser: - Support catch binding with type anntation (Closes #941)

view details

강동윤

commit sha 951d52ec55996d404232a0f6357b233585276763

Fix target, target (#945)

view details

LongYinan

commit sha f92516867fed6428eb90068c0582c642511d6eb0

Fix parameters decorator metadata (#946) Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>

view details

LongYinan

commit sha 26f49099aa6e2c5d54d5c431a27db37fd00fb079

Fix metadata emitted in parameters decorator (#948)

view details

강동윤

commit sha 1315d58059c5f47fe77f8bd28f4bb47407cbc0b3

Fix bugs (#949) swc_ecma_parser: - Allow `in` in class properties (#944) - Make `delete` with optional chaining valid (#947) swc_ecma_transforms: - Add a `typescript_class_properties` pass (#930)

view details

강동윤

commit sha ca246d3df7ce095a0f7fa29dbaa17c6d834c7133

Bump version

view details

강동윤

commit sha e1f5d681e3f679dda318de007d5eef9f8f91e46b

Fix typescript class properties pass (#951)

view details

LongYinan

commit sha dde9defbe4fa3ff3053426cde748f44f65059e63

Fix typescript strip in class properties pass (#954) Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>

view details

LongYinan

commit sha 4ab3c58f6aaf8a5f20432ba9e85aa4c5a483223d

Strip TypeScript class properties without value assigned (#956) Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>

view details

강동윤

commit sha 2fedf327478c3d9c0c95093ec68acdd4c076a01c

swc_bundler (#943) swc_bundler: - Splitted from spack swc_ecma_parser: - Fix unexpected eof problem which occurs if log level is trace swc_ecma_transforms: - Fix bugs of dce pass spack: - Support cyclic dependencies

view details

push time in 3 days

push eventdivy-work/deno

Bartek Iwańczuk

commit sha 6fcf06306ed2ea52031a97b918f1e929d7209250

feat(doc): handle imports (#6987) This commit adds additional objects to JSON output of "deno doc" command to facilitate linking between types in different modules.

view details

Nayeem Rahman

commit sha 52c1017a74059655f9424f7ceb3f0c74dcc7f3be

feat: Stabilize Deno.mainModule (#6993)

view details

Ryan Dahl

commit sha 7d01fcbb77169d446d58a5d8c1aa113a925092a0

Remove unnecessary drop calls (#7007)

view details

Luca Casonato

commit sha da98f9e3a174a304b0a83391fa61fcfdba0fc668

fix(unstable): add missing globals to diagnostics (#6988)

view details

迷渡

commit sha dad74c3706f5454288ccead85cbc28430d635850

remove unnecessary await in docs (#7012)

view details

迷渡

commit sha 8c0140e1e40faffd83d47c01b3766caa13d1310d

remove unused git attributes (#7011)

view details

Jesse Jackson

commit sha f32d28019d1ef56454137d49046cf1587c2245a4

test(std): fs/writeJson add test for append option (#6889) Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>

view details

Valentin Anger

commit sha d7077b9073dec6fb1f4b07d5575ef416997c19a9

doc: Remove detailed / summary distinction (#6818)

view details

Paul Thompson

commit sha eed77aa0208e603dac908a240dd66ece422e9dd7

feat(web): FileReader API (#6673)

view details

Marcus Weiner

commit sha f425b51419da496011424f6259dad5ac11d433cd

core: memory limits & callbacks (#6914)

view details

Marcus Weiner

commit sha 58f86e063ab4d3e022b94f8f3c6a6a796ee9f749

Remove previous heap limit callback when registering (#7025)

view details

Nayeem Rahman

commit sha 81ce4499e7da7baf421b85b4a188d1a63569cab4

fix: Make std work with isolatedModules (#7016)

view details

Prabhanjan

commit sha b344a7f81fa00d1611212cac82b631f9d1dffdf0

fix: URLSearchParams.toString() behaviour is different from browsers (#7017)

view details

Alberto Ricart

commit sha 91ff91093dba45c9696d71e74323487cfa4ce406

feat(std): added TLS serve abilities to file_server (#6962)

view details

Nayeem Rahman

commit sha fed70c9903e616702241725e82a7d633f2a9b05d

feat: deno info --reload (#7009)

view details

Bartek Iwańczuk

commit sha b339ebbc4d1af86d68afebda72cd809c06692535

Merge branch 'master' into feat/deno-lint-ignore

view details

push time in 3 days

push eventbartlomieju/deno

Alberto Ricart

commit sha 91ff91093dba45c9696d71e74323487cfa4ce406

feat(std): added TLS serve abilities to file_server (#6962)

view details

Nayeem Rahman

commit sha fed70c9903e616702241725e82a7d633f2a9b05d

feat: deno info --reload (#7009)

view details

push time in 3 days

pull request commentdenoland/deno

feat(cli): Enable sub-process to run in detached mode #5501

@manikawnth please sign CLA, otherwise we won't be able to land this PR

manikawnth

comment created time in 3 days

PR closed denoland/deno

[WIP] dispatch_json in core/ cli core

Built on https://github.com/denoland/deno/pull/6395

+311 -144

1 comment

46 changed files

bartlomieju

pr closed time in 3 days

pull request commentdenoland/deno

refractor(cli + core): unify path normalization utility

@ry do you want to land this PR?

divy-work

comment created time in 3 days

Pull request review commentdenoland/deno

JayHelton:6973_Deno_Bundle_Reload

 fn bundle_subcommand<'a, 'b>() -> App<'a, 'b> {     )     .arg(Arg::with_name("out_file").takes_value(true).required(false))     .arg(ca_file_arg())+    .arg(reload_arg())     .arg(importmap_arg())     .arg(unstable_arg())

Please add a unit test similar to bundle_with_lock that tests --reload flag is accepted. Otherwise LGTM

JayHelton

comment created time in 3 days

push eventdivy-work/deno

Bartek Iwańczuk

commit sha a4f80164b329984f5ae6ad49cbcc57768e7e812a

add test

view details

push time in 3 days

push eventdenoland/deno

Nayeem Rahman

commit sha fed70c9903e616702241725e82a7d633f2a9b05d

feat: deno info --reload (#7009)

view details

push time in 3 days

PR merged denoland/deno

feat: deno info --reload
+16 -0

0 comment

1 changed file

nayeemrmn

pr closed time in 3 days

push eventdenoland/deno

Alberto Ricart

commit sha 91ff91093dba45c9696d71e74323487cfa4ce406

feat(std): added TLS serve abilities to file_server (#6962)

view details

push time in 3 days

PR merged denoland/deno

added TLS serve abilities to file_server
  • added --cert, --key, --host options to file_server, as file_server is very useful but doesn't provide any TLSoptions.
  • added a basic test for getting a directory and checking that required arguments are provided for TLS.
+164 -36

3 comments

2 changed files

aricart

pr closed time in 3 days

push eventbartlomieju/deno

Marcus Weiner

commit sha f425b51419da496011424f6259dad5ac11d433cd

core: memory limits & callbacks (#6914)

view details

Marcus Weiner

commit sha 58f86e063ab4d3e022b94f8f3c6a6a796ee9f749

Remove previous heap limit callback when registering (#7025)

view details

Nayeem Rahman

commit sha 81ce4499e7da7baf421b85b4a188d1a63569cab4

fix: Make std work with isolatedModules (#7016)

view details

Prabhanjan

commit sha b344a7f81fa00d1611212cac82b631f9d1dffdf0

fix: URLSearchParams.toString() behaviour is different from browsers (#7017)

view details

push time in 3 days

issue closeddenoland/deno

upgrade_with_out_in_tmpdir is flaky

https://github.com/denoland/deno/runs/864795616#step:17:3728

closed time in 3 days

lucacasonato

issue commentdenoland/deno

upgrade_with_out_in_tmpdir is flaky

Haven't seen this problem in a while. Closing as resolved.

lucacasonato

comment created time in 3 days

issue commentdenoland/deno

Uncaught AddrInUse at unwrapResponse

@tarsupin thanks for reporting, can you please provide reproduction code?

tarsupin

comment created time in 3 days

pull request commentdenoland/deno

std/node/util: add inspect

@balupton can you add some small unit test?

balupton

comment created time in 3 days

issue closeddenoland/deno

--inspect-brk Always get Outbound Breakpoint Result

Here is my launch.json configuration on my visual studio code :

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Deno",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceFolder}/v1/api-client",
      "runtimeExecutable": "deno",
      "runtimeArgs": [
        "run",
        "--inspect-brk",
        "-A",
        "--unstable",
        "index.ts"
      ],
      "port": 9229
    }
  ]
}

the path is accurate & name file is right.

Here is the debug console :
image

when i am tried to add breakpoint , its always outbound.. normally before update deno its working normal. image

closed time in 3 days

gungunfebrianza

issue commentdenoland/deno

--inspect-brk Always get Outbound Breakpoint Result

The problem is caused by new JavaScript debugger in VSCode. Can be disabled with debug.javascript.usePreview: false

gungunfebrianza

comment created time in 3 days

issue closeddenoland/deno

Is there native solution or any working `prompt` module for Deno v1.2.0?

I'm trying to find any module or native solution for prompts/ask in CLI for Deno v1.2.0 but after last Deno upgrade no one of them works. Does anybody know some walkaround or I have to downgrade back to 1.1.0?

I know it's probably problem of third party modules but I am sure that I am not the only one who uses CLI prompts. I would be happy for any help.

Is there any dependency list for https://deno.land/x? Like "list modules which passed tests with Deno v1.2.0".

deno 1.2.0
v8 8.5.216
typescript 3.9.2
Ubuntu 20.04

https://deno.land/x/ask Both run & reload throws:

TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname
                 ~~~
    at https://deno.land/std@0.51.0/path/win32.ts:911:18

TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname;
                 ~~~
    at https://deno.land/std@0.51.0/path/posix.ts:433:18

https://deno.land/x/prompt Both run & reload throws:

Cannot find name 'PromptError'.
                    throw new PromptError("input must be [male] or [female]");

closed time in 3 days

Jax-p

issue commentdenoland/deno

feat: Deno.cacheDir, Deno.cache, resolveCacheModulePath

I'm not a big fan of making DENO_DIR accessible via APIs. It's doesn't have a public interface and we tend to change its structure as need/bugs arise. In general I think it should be considered implementation detail and messing with it might lead to very strange errors.

timreichen

comment created time in 3 days

pull request commentdenoland/deno

Undo JsonOpDispatcher and OpDispatcher traits

@bartlomieju are those causing some problem?

We're trying to refactor dispatches into separate crates and those traits are unnecessary indirection.

ry

comment created time in 3 days

issue closeddenoland/deno

`deno test` fails to load `Deno` when a tsconfig.json file is present

When running tests using deno test the Deno object is loaded globally, however, the Deno object disappears when a tsconfig.json file is passed into the command (e.g. deno test -c ./tsconfig.json my_test.ts).

closed time in 3 days

matsko

issue commentdenoland/deno

`deno test` fails to load `Deno` when a tsconfig.json file is present

Kitson provided exhaustive answer above.

matsko

comment created time in 3 days

issue closeddenoland/deno

Deno.exe failed

Hi, in my system configuration windows 7,32 bit.

I have installed deno on my machine using this command

iwr https://deno.land/x/install/install.ps1 -useb | iex

My pwershell version is 5.1

I got this error.

Program 'deno.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1

How can i fix this pblm.Please advice me,

Thanks & regards,

Anitha.G

closed time in 3 days

anivaisu

issue commentdenoland/deno

Deno.exe failed

Closing in favor of #3438

anivaisu

comment created time in 3 days

issue commentdenoland/deno

Main thread panic at Error throw

CC @nayeemrmn probably related to formatting of errors

AndreJesusBrito

comment created time in 3 days

issue commentdenoland/deno

Disallow HTTP by default

Already discussed in https://github.com/denoland/deno/issues/1063. Deno allows HTTP imports just like browsers: https://github.com/denoland/deno/issues/1063#issuecomment-590510929

agamm

comment created time in 3 days

issue closeddenoland/deno

about Coding-Styles

Why the variables & functions name style in the file module of Node & Deno is different? I thought it will be changed in Deno, but not. examples:

Deno.chdir
Deno.chmod
...

closed time in 3 days

RedStarOverChina

issue commentdenoland/deno

about Coding-Styles

Those APIs follow POSIX names

RedStarOverChina

comment created time in 3 days

issue closeddenoland/deno

missing transfer argument for postMessage

postMessage from worker fails. How can I get it to work properly?

main.ts

const worker = new Worker(new URL('worker.ts', import.meta.url).href, {
  type: 'module',
  deno: true
});

worker.postMessage('foo');

worker.ts

self.onmessage = async (e: any) => {
  console.log(e.data);
  self.postMessage('bar', '*'); // <-- Error
};

Running command bash $ deno run --unstable --allow-read main.ts

Error message

error: Uncaught Error: TS2554 [ERROR]: Expected 1 arguments, but got 2.
  self.postMessage(message, '*');
                            ~~~

closed time in 3 days

nabezokodaikon

issue commentdenoland/deno

missing transfer argument for postMessage

Closing in favor of #3557

nabezokodaikon

comment created time in 3 days

issue closeddenoland/deno

URLSearchParams.toString() differs from browser output for spaces

Deno seems to deal with spaces differently to browsers when it comes to URLSearchParams, where a browser will replace spaces with a +, deno will insert %20 instead.

new URLSearchParams({a: 'hello world'}).toString()
// result in chrome/firefox:  "a=hello+world"
// result in deno: `a=hello%20world

URLSearchParams are supposed to encode in application/x-www-form-urlencoded format, which would have spaces become + like chrome/firefox are doing.


Depending on the context, the character ' ' is translated to a '+' (like in the percent-encoding version used in an application/x-www-form-urlencoded message)

https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding

URLSearchParams objects will percent-encode anything in the application/x-www-form-urlencoded percent-encode set, and will encode U+0020 SPACE as U+002B (+).

https://url.spec.whatwg.org/#example-constructing-urlsearchparams

<details> <summary>Versions</summary>

deno 1.2.3
v8 8.6.334
typescript 3.9.2

</details>

closed time in 3 days

UnwrittenFun

issue commentdenoland/deno

URLSearchParams.toString() differs from browser output for spaces

Fixed in https://github.com/denoland/deno/pull/7017

UnwrittenFun

comment created time in 3 days

push eventdenoland/deno

Prabhanjan

commit sha b344a7f81fa00d1611212cac82b631f9d1dffdf0

fix: URLSearchParams.toString() behaviour is different from browsers (#7017)

view details

push time in 3 days

PR merged denoland/deno

(fix) URLSearchParams.toString() behaviour is different from browsers

<!-- Before submitting a PR, please read https://github.com/denoland/deno/blob/master/docs/contributing.md -->

According to the discussion at #7001 this PR fixes the issue of URLSearchParams#toString method behaving differently than browsers/specs

+49 -1

4 comments

2 changed files

Sparkenstein

pr closed time in 3 days

Pull request review commentdenoland/deno

Feature: Dependency count and module sizes for `deno info`. Feedback wanted.

 fn print_cache_info(state: &GlobalState, json: bool) -> Result<(), ErrBox> {   } } -struct FileInfoOutput<'a> {-  local: &'a str,-  file_type: &'a str,-  compiled: Option<String>,-  map: Option<String>,-  deps: Option<Deps>,+/// A dependency tree of the basic module information.+///+/// Constructed from a `ModuleGraph` and `ModuleSpecifier` that+/// acts as the root of the tree.+struct FileInfoDepTree {

JSON output is not yet set in stone, so I think using Serialize is preferable to adding a custom implementation (of course if it handles circular dependencies properly).

KrisChambers

comment created time in 3 days

push eventdenoland/deno

Nayeem Rahman

commit sha 81ce4499e7da7baf421b85b4a188d1a63569cab4

fix: Make std work with isolatedModules (#7016)

view details

push time in 3 days

PR merged denoland/deno

fix: Make std work with isolatedModules

Closes #7015.

+9 -6

0 comment

5 changed files

nayeemrmn

pr closed time in 3 days

issue closeddenoland/deno

Test std with "isolatedModules" on

This will ensure or mostly ensure that everything works with --no-check.

The following currently does not work due to a type export not using the explicit export type syntax:

deno cache --no-check -r std/log/mod.ts

We can catch these errors at testing with:

deno test -c std/tsconfig.json std
{
  "compilerOptions": {
      "isolatedModules": true
  }
}

Are there things that conversely only work with "isolatedModules" rules? If so we should check std with it both on and off.

It is a goal for v2.0.0 is to have this setting on by default / always.

closed time in 3 days

nayeemrmn

Pull request review commentdenoland/deno

dispatch_json core, attempt 2

 fn op_open(   } } +fn open_helper(state: &State, args: Value) -> Result<(PathBuf, std::fs::OpenOptions), OpError> {+  let args: OpenArgs = serde_json::from_value(args)?;+  let path = Path::new(&args.path).to_path_buf();++  let mut open_options = std::fs::OpenOptions::new();++  if let Some(mode) = args.mode {+    // mode only used if creating the file on Unix+    // if not specified, defaults to 0o666+    #[cfg(unix)]+    {+      use std::os::unix::fs::OpenOptionsExt;+      open_options.mode(mode & 0o777);+    }+    #[cfg(not(unix))]+    let _ = mode; // avoid unused warning+  }++  let options = args.options;+  if options.read {+    state.check_read(&path)?;+  }++  if options.write || options.append {+    state.check_write(&path)?;+  }++  open_options+    .read(options.read)+    .create(options.create)+    .write(options.write)+    .truncate(options.truncate)+    .append(options.append)+    .create_new(options.create_new);++  Ok((path, open_options))+}++fn op_open_sync(+  isolate_state: &mut CoreIsolateState,+  state: &State,+  args: Value,+  _zero_copy: &mut [ZeroCopyBuf],+) -> Result<Value, OpError> {+  let resource_table = isolate_state.resource_table.clone();+  let (path, open_options) = open_helper(state, args)?;+  let std_file = open_options.open(path)?;+  let tokio_file = tokio::fs::File::from_std(std_file);+  let mut resource_table = resource_table.borrow_mut();+  let rid = resource_table.add(+    "fsFile",+    Box::new(StreamResourceHolder::new(StreamResource::FsFile(Some((+      tokio_file,+      FileMetadata::default(),+    ))))),+  );+  Ok(json!(rid))+}++use std::pin::Pin;+use futures::Future;++fn op_open_async(+  isolate_state: &mut CoreIsolateState,+  state: &State,+  args: Value,+  _zero_copy: &mut [ZeroCopyBuf],+) -> Pin<Box<dyn Future<Output = Result<Value, OpError>>>> {

I've tried this:

async fn op_open_async(
  isolate_state: &mut CoreIsolateState,
  state: &State,
  args: Value,
  _zero_copy: &mut [ZeroCopyBuf],
) -> Result<Value, OpError> {
  let resource_table = isolate_state.resource_table.clone();
  let (path, open_options) = open_helper(&state, args)?;
  let tokio_file = tokio::fs::OpenOptions::from(open_options)
    .open(path)
    .await?;
  let mut resource_table = resource_table.borrow_mut();
  let rid = resource_table.add(
    "fsFile",
    Box::new(StreamResourceHolder::new(StreamResource::FsFile(Some((
      tokio_file,
      FileMetadata::default(),
    ))))),
  );
  Ok(json!(rid))
}
pub fn stateful_json_op_async<D, F>(&self, dispatcher: D) -> impl OpDispatcher
  where
    D: Fn(
      &mut deno_core::CoreIsolateState,
      &State,
      Value,
      &mut [ZeroCopyBuf],
    ) -> F,
    F: Future<Output = Result<Value, OpError>> + 'static
  {
  ... 
}

but I'm getting this error trying to compile:

▶ cargo build
   Compiling deno v1.2.3 (/Users/biwanczuk/dev/deno/cli)
error[E0271]: type mismatch resolving `for<'r, 's, 't0> <for<'_, '_, '_> fn(&mut deno_core::CoreIsolateState, &state::State, serde_json::Value, &mut [deno_core::ZeroCopyBuf]) -> impl futures::Future {ops::fs::op_open_async} as std::ops::FnOnce<(&'r mut deno_core::CoreIsolateState, &'s state::State, serde_json::Value, &'t0 mut [deno_core::ZeroCopyBuf])>>::Output == _`
  --> cli/ops/fs.rs:26:36
   |
26 |   i.register_op("op_open_async", s.stateful_json_op_async(op_open_async));
   |                                    ^^^^^^^^^^^^^^^^^^^^^^ expected bound lifetime parameter, found concrete lifetime

error: aborting due to previous error

For more information about this error, try `rustc --explain E0271`.
error: could not compile `deno`.
bartlomieju

comment created time in 4 days

more