profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/kdy1/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

Brooooooklyn/swc-node 252

Faster ts-node without typecheck

kdy1/cargo-profile 54

Performance profiling made simple

kdy1/cargo-mono 10

Monolithic repository management for the rust programming language.

kdy1/app_base 2

My own commons library for flutter.

kdy1/dart_algolia 1

[Unofficial] Algolia is a pure dart SDK, wrapped around Algolia REST API for easy implementation for your Flutter or Dart projects.

kdy1/deno 1

A secure JavaScript and TypeScript runtime

kdy1/deno_lint 1

Blazing fast linter for JavaScript and TypeScript written in Rust

issue openedswc-project/swc

bug: can't parse abstract class

<!-- If you are using swc at work, please considering adding your company to https://swc.rs/users/ If then, your issue will be fixed more quickly. -->

Input code

export abstract class AbstractProviderDeliveryService {
}

Describe the bug

❯ npx swc src -s -d ./dist
error: Expected {, got abstract
  --> src/modules/delivery/provider/AbstractProviderDeliveryService.ts:73:8
   |
73 | export abstract class AbstractProviderDeliveryService {
   |        ^^^^^^^^

failed to process js file

Caused by:
    failed to parse module
Successfully compiled 188 files with swc.
Error: Failed to compile 1 file with swc.
    at Object.assertCompilationResult (node_modules/@swc/cli/lib/swc/util.js:152:15)
    at default_1 (node_modules/@swc/cli/lib/swc/dir.js:137:14)

Config

{
    "test": ".*.ts$",
    "sourceMaps": true,
    "jsc": {
      "loose": true,
      "target": "es2018",
      "parser": {
        "syntax": "typescript",
        "tsx": false,
        "decorators": true,
        "dynamicImport": true
      },
      "transform": {
        "legacyDecorator": true,
        "decoratorMetadata": true
      }
    },
    "module": {
        "type": "commonjs",
        "strict": true,
        "strictMode": false,
        "lazy": false,
        "noInterop": false
    }
}

Expected behavior Should be parsed without error

Version The version of @swc/core: 1.2.50 The version of @swc/cli: 0.1.35

created time in 19 hours

startedkdy1/rweb

started time in a day

startedkdy1/rweb

started time in 2 days

issue commentswc-project/swc

design:type wrong for enum values

Compiling one by one is always a compromise for babel. If swc aims to work the same way as tsc then why not. Shouldn't swc eventually become a full feature drop in replacement?

hcesar

comment created time in 2 days

issue commentswc-project/swc

design:type wrong for enum values

Is includeDeps equivalent to isolatedModules?

hcesar

comment created time in 2 days

issue commentswc-project/swc

design:type wrong for enum values

@kdy1 We're not using spack. Our setup is fairly simple so using only the CLI is enough for us. I guess it would be acceptable for you to require people to use your bundler in order to achieve such things as long as it's clearly stated in the documentation.

The deps flag / includeDeps option would be awesome. I'm just wondering if it should be enabled by default.

hcesar

comment created time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 55d363724b5c015da58dd98de9835ddea599dc8b

chore: autopublish 2021-03-04T05:47:48Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 9bbb853c6665a400efc45525dfefde29dfdb3e48

chore: autopublish 2021-03-04T04:56:56Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

issue openedswc-project/swc

`async foo => 0` minifies to `asyncfoo=>0`

Describe the bug

Swc's minifier appears to omit the space after the async keyword of an arrow function.

swc.transformSync('async foo => 0', {minify: true, jsc: {target: 'es2018'}})

Input code

Here is my reproduction using the @swc/core JS API on node:

swc.transformSync('async foo => 0', {minify: true, jsc: {target: 'es2018'}})
// {code: 'asyncfoo=>0'}

Config

Run without an .swcrc

Expected behavior

Minified output has the necessary space:

async foo=>0

Version The version of @swc/core: 1.2.50

Additional context

created time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 8746de6ec3bf339b235e67e321aeba7b43cf0b4a

chore: autopublish 2021-03-04T03:53:06Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha e1cd4ff3281017977c899458afa3906b708cbf0e

chore: autopublish 2021-03-04T02:54:29Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 4a005b8e93ca45ed601b601ad393d3187b423f92

chore: autopublish 2021-03-04T02:12:12Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha ec3d56d4c1e67451fc164411932b36f36d372ec0

chore: autopublish 2021-03-04T01:28:02Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 2 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 82bdd0beb963f047c9d87aef514d2c3eaf4d2edc

chore: autopublish 2021-03-03T23:53:31Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha afc1163e22b813544715492a277776d98afde390

chore: autopublish 2021-03-03T22:53:13Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 44626c9110ceab73a5e5a1fd3c1357ce1eadb326

chore: autopublish 2021-03-03T21:50:43Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha c94dea4e560a943ab26a8ddab541bc224d9acf6b

chore: autopublish 2021-03-03T20:48:47Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha ac2b5d010fbf1bd35ce658123cfd8a1b87a7875b

chore: autopublish 2021-03-03T19:46:46Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 41b7be2b00c8f2479f748bcb44a02d92291494e6

chore: autopublish 2021-03-03T18:59:23Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha a521d65b9bfc782c965a0c17119a2b11772f0b2b

chore: autopublish 2021-03-03T18:07:20Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha e591cd61a9084bdcba52795891e310168272b2b0

chore: autopublish 2021-03-03T17:26:51Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha a6e2e58b3401c666e4f3c0b164ec5adb7d3ff3f9

chore: autopublish 2021-03-03T15:57:36Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha df96990ccda13a06d3bac13b5fa2e9c3be635982

chore: autopublish 2021-03-03T14:53:25Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha fefcc77b05b5d37ec232de6a76f5a916b70964d5

chore: autopublish 2021-03-03T13:47:18Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha ca3e7304a6062a95e78bd39df6f325a8db1ba9bd

chore: autopublish 2021-03-03T13:06:22Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

release swc-project/swc

v1.2.50

released time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 8c182c7f9d24be6458e8e935e76170a9e2f9a85d

chore: autopublish 2021-03-03T11:51:24Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha ecbbeef00752a271534424574050103c3bfd4b48

chore: autopublish 2021-03-03T10:57:24Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha d2c79414dcb54ff75d22d57561aa286d26ee9c1d

chore: autopublish 2021-03-03T09:52:55Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days

push eventkdy1/kdy1

github-actions[bot]

commit sha 07c4377b9499b9c74f5931bd1a1988d70f460bac

chore: autopublish 2021-03-03T08:54:11Z Co-authored-by: 강동윤 <kdy1997.dev+github+profile@gmail.com>

view details

push time in 3 days