profile
viewpoint
木杉 zhmushan Zhejiang University City College Hangzhou, China https://www.zhihu.com/people/vhhsbn Spelled as Mu Shan(木杉) in Mandarin.

zhmushan/abc 459

A better Deno framework to create web application.

berialjs/berial 350

😈 Simple micro-front-end framework.

denolib/setup-deno 159

Set up your GitHub Actions workflow with a specific version of deno

deno-china/denocn-server 73

Deno中文社区(后端部分)

denolib/typeorm 63

Forked from https://github.com/typeorm/typeorm

cliclitv/deno_server 16

clicli server written by deno

jihuayu/FZU-OOP-2020 10

福州大学2020年面向对象程序设计

denolib/camelcase 5

Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar

denolib/qs 3

A querystring parser with nesting support

push eventdenolib/setup-deno

艾斯特洛

commit sha 2b077ed5f4e17282870a70bf392c4d58fc855798

add DENO_INSTALL_ROOT and $HOME/.deno/bin to $PATH (#70)

view details

push time in 2 hours

PR merged denolib/setup-deno

add DENO_INSTALL_ROOT and $HOME/.deno/bin to $PATH

fixed #67

+867 -99

0 comment

4 changed files

axetroy

pr closed time in 2 hours

issue closeddenolib/setup-deno

Add ~/.deno/lib/ To PATH

When installing a deno module globally, I am unable to use the exec in other steps

- run: deno install -A -n foo mod.ts

- run: foo
 /home/runner/work/_temp/013c1727-ed4e-4aa8-aca7-9e9ae2257aff.sh: line 1: foo: command not found

However it works if I add /.deno/bin/ to the PATH it works On Linux:

- run: |
  deno install -A -n foo mod.ts
  echo "::add-path::/home/runner/.deno/bin"

- run: foo

Is it possible to add /.deno/bin/ to the PATH by default on the action?

closed time in 2 hours

oganexon
PullRequestReviewEvent
PullRequestReviewEvent

pull request commentcasbin/node-casbin

feat: changing TypeScript target from ES6 to ESNext

Why not use ES2017?

nodece

comment created time in 15 hours

PullRequestReviewEvent

issue commentcasbin/node-casbin

编译目标版本是不是太低了?

We have also provided a version of esnext. see https://github.com/casbin/node-casbin/blob/master/tsconfig.esm.json

waitingsong

comment created time in 2 days

startedSergioBenitez/homebrew-osxct

started time in 11 days

startedespressif/arduino-esp32

started time in 12 days

push eventzhmushan/vscode_deno

木杉

commit sha 65a24e5b46d00a65b8703ca92c1177c7fd27a6a1

macos

view details

push time in 12 days

PR opened denoland/vscode_deno

chore: add `deno init` to usage
+1 -10

0 comment

1 changed file

pr created time in 12 days

create barnchzhmushan/vscode_deno

branch : deno_init

created branch time in 12 days

push eventzhmushan/vscode_deno

Jesse Jackson

commit sha 6f05bab521ab793957fffe8f42f9f92774dd2527

Add support for URLs with non-default ports (#173) Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>

view details

CGQAQ

commit sha dd25cff71cc34bb565d6be8b40e55d789ca5f018

feat: IntelliSense for std and deno.land/x imports (#172)

view details

Luca Casonato

commit sha dff16646a52dd5f17d7afb29dac08bba510ae563

v2.1.0 (#176)

view details

Luca Casonato

commit sha 9adc3a266dba1d0ac46ae21757ef3c3c97d13679

v2.1.1 (#177)

view details

Luca Casonato

commit sha 714b945b61665d27e5bcdcef8e7116c20da33350

v2.1.2 (#178)

view details

Luca Casonato

commit sha 0a70a93056fe2b23f8c0f95a9b8a399ee20d8c8f

fix package.json version

view details

CGQAQ

commit sha 65a0928ef9a5db1640ce2bd95f899a8c72ba2ff7

docs: add import enhancement feature to readme (#180)

view details

CGQAQ

commit sha d9f74ff519e96c0c9c02a274ccd61bc38d5f683a

refactor: move import enhancement to server (#181)

view details

艾斯特洛

commit sha 63aac9c9cd379a8f88b5c7b18be0f7bfece7d222

feat: add inline deno lint diagnostics (#162)

view details

Luca Casonato

commit sha 4a552623f7a675d2e09ad9843d2acdbd04b6e32e

fix: add IntelliSense support for `export` (#184)

view details

Luca Casonato

commit sha aa4610c9f5f04702849cc8356ac74e86f152fdff

v2.2.0 (#183)

view details

Luca Casonato

commit sha 0fa031dbf7e3dd98852512c7d746a43a31604514

fix: remove ansi codes from output (#185)

view details

CGQAQ

commit sha a3a25533f58bf2f50516669331a163a162aeadfc

fix: deno.land/x cache will always renew on vscode restart after 24 hours (#191)

view details

CGQAQ

commit sha 00b1bd7f9522f4f9f3c9458748993197e6c2eac2

fix: ingore 'rule' for this line does not work on the first line (#192)

view details

Luca Casonato

commit sha 2e0a133fe34ff1203501e6cd54f4fcda27caf523

build: release vsix (#195)

view details

Luca Casonato

commit sha d61b8b102afe5958cec6cdf82992333451e3fcb5

2.2.1 (#198)

view details

Luca Casonato

commit sha 54d62474fc8310cad813ff5ae0ca07cc5bb611a4

chore: update tsconfig to match Deno 1.4.0 (#204)

view details

Luca Casonato

commit sha 9c2c2daa92fe15d738d30b261140c9241a36a2c9

2.2.3 (#205)

view details

Dominik Moritz

commit sha fc16755e0c65a231738d48f406ff8de052eab6f7

fix: typo enhencement -> enhancement (#206)

view details

CGQAQ

commit sha dc9a9fb73309d70bc61549e7b8bc2347d7ec4617

feat: init project command to quickly setup .vscode/settings.json (#207)

view details

push time in 12 days

issue openeddenoland/deno_doc

Consider providing the ability to color objects such as "InterfacePropertyDef" externally

At present, we can only use DocPrinter to decide if it should colorize or not. But when deno_doc is used as a crate, we may not always want to print an entire DocNode object. But if we don't call colors::enable, no colors will be displayed.

related: https://github.com/denoland/deno_doc/pull/38

created time in 13 days

delete branch zhmushan/deno_doc

delete branch : enum_member_jsdoc

delete time in 13 days

pull request commentdenoland/deno_doc

support jsdoc for enum members

@lucacasonato done.

zhmushan

comment created time in 13 days

push eventzhmushan/deno_doc

木杉

commit sha 433be7336f589d80a53a427e55017dcd28f0bee3

add test

view details

push time in 13 days

pull request commentdenoland/deno_doc

support jsdoc for enum members

@bartlomieju @lucacasonato

zhmushan

comment created time in 13 days

issue commentzhmushan-zone/translator_extension

希望换个图标

@XIAOW422 我也想换个图标(可惜设计无能

XIAOW422

comment created time in 14 days

PR opened denoland/deno_doc

support jsdoc for enum members
+29 -11

0 comment

3 changed files

pr created time in 14 days

create barnchzhmushan/deno_doc

branch : enum_member_jsdoc

created branch time in 14 days

pull request commentdenoland/deno_doc

chore: make colors public

@bartlomieju Unfortunately, DocPrinter can only format an entire DocNode object, not just a part of it

zhmushan

comment created time in 15 days

pull request commentdenoland/deno_doc

chore: make colors public

@bartlomieju if I just want to format for example the interface properties, and make it have colors, is there any way?

zhmushan

comment created time in 15 days

PR opened denoland/deno_doc

chore: make colors public

Finally we will move printer back into deno/cli, so it is necessary to be able to enable & disable color externally.

+1 -1

0 comment

1 changed file

pr created time in 15 days

create barnchzhmushan/deno_doc

branch : pub_colors

created branch time in 16 days

push eventzhmushan/deno_doc

Bartek Iwańczuk

commit sha 8436fbe4aed91d5880ba237a38cf622a75aee0f0

v0.1.10

view details

Kitson Kelly

commit sha 2c9f337516f05f6e3d223b56c9930b052b639d6a

chore: update swc_ecmascript (#34)

view details

Kitson Kelly

commit sha 940409f8ab3f4d27f489b4412e0aa42cf1b0d533

chore: update swc_ecmascript to 0.9.1 (#36)

view details

Bartek Iwańczuk

commit sha 167226f4aabb668050ad50ef9ef7bc10a00145c9

v0.1.11

view details

push time in 16 days

startedvolta-cli/volta

started time in 16 days

issue openedzhmushan/abc

v2

  • core
    • [ ] Serverless
  • router
    • [ ] Redesign: For "static routes", we always match strictly equal strings. For "param routes", we will match 1 or more characters, ending with "/". For "any routes", we will match 0 or more characters.
  • middleware
    • [ ] session

created time in 16 days

startedrust-embedded/rust-raspberrypi-OS-tutorials

started time in 16 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha 2105c1ff11a0682b97691ebead344bdba3d50074

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha e6950bb2b34fe8aa2d2e3b6950749a68d26fb69f

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha f1dde32956e99cb2a6df5575f98ed914a5597d71

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha 802e3b73452a1a72f480cf0cab28722ea6cef368

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha b39b80589b7aec2bd2e23ef37c9caff601027de4

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha 836d27fcbee09677701be537b865cd88bba772f3

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha 7de31bdae8799316fbf9f20509e81a4f4fcf6ff4

Delete DockerFile

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha f384217410cf101b30b7170dece9a3960d889106

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

木杉

commit sha ca18b6ffabc51461f59194938fd18f75054cf158

.

view details

push time in 17 days

push eventzhmushan-zone/zucc_iot

zhb

commit sha e29d138535179f9745b6148739f0febd2ed3ec36

.

view details

push time in 17 days

delete branch zhmushan-zone/zucc_iot

delete branch : main

delete time in 17 days

create barnchzhmushan-zone/zucc_iot

branch : master

created branch time in 17 days

create barnchzhmushan-zone/zucc_iot

branch : main

created branch time in 17 days

created repositoryzhmushan-zone/zucc_iot

created time in 17 days

startedtokio-rs/tokio

started time in 18 days

startedseanmonstar/reqwest

started time in 18 days

startedcellbang/malagu

started time in 18 days

issue commentcasbin/node-casbin

Please fix this error

@ravikumarjs-foyernet This is a bug in cra, a temporary solution:

import {newEnforcer} from'casbin/lib/cjs';
ravikumarjs-foyernet

comment created time in a month

issue commentcasbin/node-casbin

Please fix this error

@ravikumarjs-foyernet It should be that your nodejs version is too old, I have no problem using v12

ravikumarjs-foyernet

comment created time in a month

startedvuejs/jsx-next

started time in a month

startedlucacasonato/dext.ts

started time in a month

issue commentcasbin/node-casbin

Please fix this error

Please provide a minimum recurrence

ravikumarjs-foyernet

comment created time in a month

push eventzhmushan/deno_doc

Bartek Iwańczuk

commit sha c149e87446443b034c080865e8fa936be6604eed

v0.1.7

view details

Bartek Iwańczuk

commit sha f520df87eedcf40cd0df87fda0d3612d724d8736

v0.1.8

view details

Bartek Iwańczuk

commit sha 18c58a157369fd1dbe0fec6763044c7b3c7c79e0

v0.1.9

view details

Aaron Hill

commit sha 7eefbc82a80fbc82d3df029ad660fb3389338953

Turn block into a closure in test macro (#27) The `doc_test!` macro defines two local variables (`entries` and `doc`), which are then accessed from the provided `block`. However, this only compiled due to a bug in rustc: substituted metavariables cannot refer to names defined within the macro body. For example, the following ode does not compile: ```rust macro_rules! foo { ($block:expr) => { let mut bar = false; $block } } fn main() { foo!({bar = true}); } ``` In this case, the `doc_test!` macro was incorrectly allowed to compile due to the presence of the `#[tokio::test]` macro on the enclosing function. When the underlying compiler bug is fixed in https://github.com/rust-lang/rust/pull/75800, this macro will stop compiling.

view details

Kitson Kelly

commit sha 6d39fac2c1b14700c84e3f0b156382d00f07893b

chore: update swc dependencies (#28)

view details

木杉

commit sha 6ced402385e9ef48e46c6343648453f6cd7b7dd0

refactor: add Deserialize derive to nodes (#29)

view details

push time in a month

delete branch zhmushan/deno_doc

delete branch : feat/deserialize

delete time in a month

push eventzhmushan/deno_doc

木杉

commit sha 9d0bf56cc06d1af05f81dfb67fda90d0b1e6c4b0

fmt

view details

push time in a month

push eventzhmushan/deno_doc

木杉

commit sha b700b1167f9dbc3dcc76df9f87581382a0878c73

.

view details

push time in a month

PR opened denoland/deno_doc

support deserialize

When using deno_doc as a crate, it is useful to support deserialize, such as deserializing the previously generated JSON data and formatting it through DocPrinter

+53 -53

0 comment

12 changed files

pr created time in a month

create barnchzhmushan/deno_doc

branch : feat/deserialize

created branch time in a month

startedcodemix/ts-sql

started time in a month

issue closednode-casbin/basic-adapter

warning: demands usage of `hasTable` before `createTable`

Bug

Knex:warning - Use async .hasTable to check if table exists and then use plain .createTable. Since .createTableIfNotExists actually just generates plain "CREATE TABLE IF NOT EXIST..." query it will not work correctly if there are any alter table queries generated for columns afterwards. To not break old migrations this function is left untouched for now, but it should not be used when writing new code and it is removed from documentation.

just like this https://github.com/knex/knex/issues/2489

closed time in a month

zss007

issue commentnode-casbin/basic-adapter

warning: demands usage of `hasTable` before `createTable`

This is by design, not a bug.

I just used Knex to build the SQL string, but did not use it to initialize a connection, so I cannot use schema-related APIs

zss007

comment created time in a month

delete branch zhmushan/Mahjong

delete branch : master

delete time in a month

push eventzhmushan/Mahjong

木杉

commit sha d15b57d4b9699c02256ad50b90e1b90d54a01898

🀇🀏🀙🀡🀐🀘🀀🀁🀂🀃🀄🀅🀆

view details

push time in a month

create barnchzhmushan/Mahjong

branch : master

created branch time in a month

created repositoryzhmushan/Mahjong

🀇🀏🀙🀡🀐🀘🀀🀁🀂🀃🀄🀅🀆

created time in a month

created repositoryzhmushan/-

created time in a month

startedtheseus-os/Theseus

started time in a month

delete branch zhmushan/webview_deno

delete branch : typo

delete time in a month

startedAssemblyScript/examples

started time in a month

startedAssemblyScript/assemblyscript

started time in a month

pull request commentnode-casbin/mongoose-adapter

chore: bump to 2.2.2

@nodece

zhmushan

comment created time in a month

push eventzhmushan/mongoose-adapter

木杉

commit sha 4f07960bfc49976f85bef1d5034694593f2861ad

chore: bump to 2.2.0 (#17) * chore: bump to 2.2.0 * chore: ignore lock files

view details

Zixuan Liu

commit sha b583faf63cb4bd0de9596d144cc1311acf3eeafd

fix: filter model (#19) Signed-off-by: Zixuan Liu <nodeces@gmail.com>

view details

Zixuan Liu

commit sha b7032e3f840b900006d07ed12f40444f5c950234

chore: bump to v2.2.1 Signed-off-by: Zixuan Liu <nodeces@gmail.com>

view details

Ulan Murzatayev

commit sha def5014e23b929df8835937874e388ebff3d3496

improvement(adapter.js): added `lean` option for rules retrieval Added a mongoose lean option for casbin rules retrieval for better performance fix #20

view details

Yang Luo

commit sha 504e356835b48b2175e5d7f5d1b1e76acdea523c

Merge pull request #21 from murzatayev/feature/use-lean-for-rules-retrieval improvement(adapter.js): added `lean` option for rules retrieval

view details

push time in a month

PR opened node-casbin/mongoose-adapter

chore: bump to 2.2.2
+26 -60

0 comment

2 changed files

pr created time in a month

create barnchzhmushan/mongoose-adapter

branch : 2.2.2

created branch time in a month

push eventdenolib/awesome-deno

Ben Gubler

commit sha d3686f5da044c8e6414a3b8f2cc2d68113002ca6

Add Eta to the Modules section (#221)

view details

push time in a month

PR merged denolib/awesome-deno

Add Eta to the Modules section

Eta is an embedded template engine similar to EJS and doT. It's very fast, configurable, and supports plugins. Examples of Deno projects using Eta exist for Opine and Alosaur.

Similar packages The two other template engines on the list are dejs and deno_tiny_templates. Though these are cool modules, I think Eta is more powerful, more reliable, better tested, and has better documentation.

Thanks for creating this awesome repo!

+1 -0

0 comment

1 changed file

nebrelbug

pr closed time in a month

PullRequestReviewEvent

delete branch node-casbin/basic-adapter

delete branch : revert-13-oracledb

delete time in a month

delete branch node-casbin/basic-adapter

delete branch : revert-14-test_oracledb

delete time in a month

issue commentzhmushan/abc

Static doesn't work for the root path `/`

@martonlanga Thanks for your feedback!

This is a bug for Router.

When it performs wildcard matching, it did not take into account the "/" situation, which was designed deliberately. But now I realize this design is very confusing, and I will fix it in the next version.

martonlanga

comment created time in a month

PR closed node-casbin/basic-adapter

Reviewers
ci: fix oracle
+13 -9

2 comments

1 changed file

nodece

pr closed time in a month

pull request commentnode-casbin/basic-adapter

ci: fix oracle

@nodece The sql string generated by knex does not seem to be compatible with oracle, I have no ability to fix this. So I will revert the previous commits & close this pr.

nodece

comment created time in a month

PR opened node-casbin/basic-adapter

Revert "add oracledb tests"

Reverts node-casbin/basic-adapter#14

+1 -50

0 comment

2 changed files

pr created time in a month

create barnchnode-casbin/basic-adapter

branch : revert-14-test_oracledb

created branch time in a month

PR opened node-casbin/basic-adapter

Revert "feat: support oracledb"

Reverts node-casbin/basic-adapter#13

+7 -27

0 comment

2 changed files

pr created time in a month

create barnchnode-casbin/basic-adapter

branch : revert-13-oracledb

created branch time in a month

push eventzhmushan/basic-adapter

木杉

commit sha 98fcd8673483ad6f3137d7813173ee09ab2ca047

.

view details

push time in a month

push eventzhmushan/basic-adapter

木杉

commit sha 64a6e8048b6979b213435305a7f6f6737677c1a2

.

view details

push time in a month

create barnchzhmushan/basic-adapter

branch : oracledb_tests

created branch time in a month

push eventzhmushan/basic-adapter

木杉

commit sha 9f8ca78912dd15a58971a32b7ccb2b22b841db37

add oracledb tests (#14)

view details

push time in a month

startedRichasy/BiliBili-UWP

started time in a month

startedbellard/quickjs

started time in 2 months

issue commentzhmushan/abc

Consider using Pagic to build the website?

Sounds great, thank you.

xcatliu

comment created time in 2 months

push eventzhmushan/deno_doc

Bartek Iwańczuk

commit sha 4abda0b6029c2f792c321410e2ed88b5a60c6765

upgrade: swc_ecmascript 0.7.3 (#21)

view details

木杉

commit sha 6788f4e7a80851dff45da526bbad33dc6625c391

fix: allow re-export of interface and class with same name (#22)

view details

Bartek Iwańczuk

commit sha 095e3fcb5c1b5d09e5001680afaf2af5eecc71b8

v0.1.6

view details

push time in 2 months

delete branch zhmushan/deno_doc

delete branch : same_name

delete time in 2 months

PR opened denoland/deno_doc

fix: export interface and class with same name

close #15

+80 -3

0 comment

2 changed files

pr created time in 2 months

create barnchzhmushan/deno_doc

branch : same_name

created branch time in 2 months

issue commentnode-casbin/sequelize-adapter

Sequelize adapter not recognising ssl option when using postgres uri

https://github.com/node-casbin/sequelize-adapter/blob/af6d3b8660222869c6a4b5f021398409e7dbe27f/src/adapter.ts#L30-L36

newAdapter only allows SequelizeOptions instead of string

apsnaidu

comment created time in 2 months

more