profile
viewpoint
木杉 zhmushan Zhejiang University City College Hangzhou, China Spelled as Mu Shan(木杉) in Mandarin.

zhmushan/abc 433

A better Deno framework to create web application.

berialjs/berial 225

😈 Simple micro-front-end framework.

denolib/setup-deno 139

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

deno-china/denocn-server 73

Deno中文社区(后端部分)

denolib/typeorm 50

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

zhmushan/dev_server 18

Feel free to import TypeScript files in the script tag!

cliclitv/deno_server 16

clicli server written by deno

jihuayu/FZU-OOP-2020 11

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

zhmushan/deno_init 11

Quickly initialize a Deno project

push eventzhmushan/zhmushan

木杉

commit sha 84391c8b406794d39696694dc30be0ab979d01d7

.

view details

push time in 9 hours

push eventzhmushan/zhmushan

木杉

commit sha 90f6717375768da9fbc144e73defcf6fa60ff6ec

add flat avatar

view details

push time in 9 hours

delete branch zhmushan/deno-casbin

delete branch : deno

delete time in a day

startednapi-rs/node-rs

started time in a day

push eventzhmushan/deno-casbin

木杉

commit sha 1646c7f4c56a67914f8483ccd9169db701bb40e3

Use node-casbin code directly Signed-off-by: 木杉 <zhmushan@qq.com>

view details

push time in a day

PR opened casbin/deno-casbin

Use node-casbin code directly
+10410 -1886

0 comment

23 changed files

pr created time in a day

create barnchzhmushan/deno-casbin

branch : deno

created branch time in a day

fork zhmushan/deno-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Deno.

https://casbin.org

fork in a day

push eventzhmushan/node-casbin

木杉

commit sha de76a0eeb816d600f6b8cddb99a2568d0c5a8b99

chore: remove unused import Signed-off-by: 木杉 <zhmushan@qq.com>

view details

push time in a day

PR opened casbin/node-casbin

chore: remove unused import
+0 -1

0 comment

1 changed file

pr created time in a day

create barnchzhmushan/node-casbin

branch : unused_import

created branch time in a day

push eventzhmushan/node-casbin

Zixuan Liu

commit sha c853fa1fe19687e260d10f4a488b1bb020b04825

chore(release): 5.0.7 [skip ci] (#176) Signed-off-by: Zixuan Liu <nodeces@gmail.com>

view details

Zihui Liu

commit sha 7b7756241c43af14fdd740e088bcf9651d156b61

test(rbacapi): fix incorrect description for testing getImplicitUsersForPermission (#173) Signed-off-by: kingiw <kingiw@hotmail.com>

view details

push time in a day

startednapi-rs/napi-rs

started time in 2 days

issue commentdenoland/deno_website2

bug: abnormal markdown preview

@lucacasonato Thanks for reminding, this has been fixed

zhmushan

comment created time in 2 days

startedanuraghazra/github-readme-stats

started time in 2 days

push eventdenolib/setup-deno

艾斯特洛

commit sha 3bb933ec755655121f12dac1f2adb414c9f6a596

add scheduled task for ci. trigger per hours (#64)

view details

push time in 2 days

PR merged denolib/setup-deno

add scheduled task for ci. trigger per hours

Run CI per hour

+7 -1

0 comment

1 changed file

axetroy

pr closed time in 2 days

push eventdenolib/setup-deno

艾斯特洛

commit sha 2a4645f2fde405a7431834a4b48ccc94418b5b30

add check lock script in ci (#63)

view details

push time in 2 days

PR merged denolib/setup-deno

add check lock script in ci
+3 -2

0 comment

1 changed file

axetroy

pr closed time in 2 days

push eventdenolib/setup-deno

艾斯特洛

commit sha 3ab634de963ef5e0650b6f06e67582711aa2c0dd

checksum for dist/index.js (#62)

view details

push time in 2 days

PR merged denolib/setup-deno

checksum for dist/index.js
+48 -3

0 comment

5 changed files

axetroy

pr closed time in 2 days

push eventdenolib/setup-deno

艾斯特洛

commit sha 8e37c1d642840d4514c14abed06119a2a83d5f31

print error stack when ci fail (#61)

view details

push time in 2 days

PR merged denolib/setup-deno

print error stack when ci fail
+3 -2

0 comment

1 changed file

axetroy

pr closed time in 2 days

push eventdenolib/setup-deno

艾斯特洛

commit sha b3c47eb239d6bb598ccd278e16b03b51aad67f2a

rename nightly binary name to `deno` (#60) * rename nightly binary name to 'deno' * update ci * update readme

view details

push time in 2 days

PR merged denolib/setup-deno

rename nightly binary name to `deno`

close #59 /cc @zhmushan

+13 -47

0 comment

3 changed files

axetroy

pr closed time in 2 days

issue closeddenolib/setup-deno

Use original binary name for nightly builds?

I know I justified the use of name deno-nightly for the binary, but I think it would be better to use deno for the name so that it is easier to use with matrix configurations. And for the manual installers, we can rename the binary in the script itself.

Now the question is, should I do that? because this action is the major way of using these builds and this update will break all the workflows that are using the nightly builds from this action.

closed time in 2 days

maximousblk

issue commentdenolib/setup-deno

Use original binary name for nightly builds?

We just need to rename deno-nightly file to deno. I agree

maximousblk

comment created time in 3 days

delete branch zhmushan/abc

delete branch : ctx_get_set

delete time in 3 days

push eventzhmushan/abc

木杉

commit sha 8417563b60a1a60b0ffe8d6201a64f2cc1567fe0

context support set & get data (#104)

view details

push time in 3 days

PR merged zhmushan/abc

context support set & get data
+40 -0

0 comment

3 changed files

zhmushan

pr closed time in 3 days

pull request commentzhmushan/abc

Session improvements

Below is my design:

// session.ts
export const key = Symbol("abc.session")
interface SessionConfig {
  skipper: ...
  // required
  store: ...
}

// this func create a session mw
export function mw(cfg) {}

export function get(name: string, c: Context): Session {
  // const s = c.get(key)
  // return s.get(name)
}

// main.ts
import * as session from "./session.ts"

app.use(session.mw({...}))

app.get("/", c => {
  sess = session.get("session", c)
  // Then, we need a way to set the session options, such as maxAge, etc.
})
LarsVomMars

comment created time in 4 days

push eventzhmushan/abc

zhmushan

commit sha 09ca6777f753a1ad25c0a5e4c06bb40077d7528d

context support set & get data

view details

push time in 4 days

PR opened zhmushan/abc

context support set & get data
+40 -0

0 comment

3 changed files

pr created time in 4 days

create barnchzhmushan/abc

branch : ctx_get_set

created branch time in 4 days

Pull request review commentzhmushan/abc

Session improvements

 export class Session {     return this.store.getValue(this.sessionID, key);   } +  public all(): SessionData | undefined {

Extra public keyword (public in js is the default, no need to specify

LarsVomMars

comment created time in 4 days

Pull request review commentzhmushan/abc

Session improvements

 app.use(session()); ```ts export const DefaultSessionConfig: SessionConfig = {     name: "abc.session",
    key: "abc.session",
LarsVomMars

comment created time in 4 days

Pull request review commentzhmushan/abc

Session improvements

 export function session( }  export class Session {-  public store: SessionMemoryStore;+  private store: SessionMemoryStore;
  #store: SessionMemoryStore;
LarsVomMars

comment created time in 4 days

issue commentcasbin/node-casbin

batchAdapter.removePolicies is not a function

Please provide your minimum recurrence @EndersonPro

EndersonPro

comment created time in 4 days

delete branch zhmushan/abc

delete branch : ratelimiter

delete time in 4 days

push eventzhmushan/router

木杉

commit sha d3172caa21b4d988598e34f4f44d7891bb19394e

dont upload release files

view details

push time in 4 days

push eventzhmushan/router

木杉

commit sha fc162fb09b8369906a48b804bcca8352ee428688

Explicitly imported modules' version

view details

push time in 4 days

create barnchzhmushan/router

branch : v1

created branch time in 4 days

delete tag zhmushan/router

delete tag : v1

delete time in 4 days

delete branch zhmushan/abc

delete branch : explicitly_version

delete time in 4 days

push eventzhmushan/abc

木杉

commit sha 3859efe70f2a25e93b45880c29405356d7d7b6e4

Explicitly imported modules' version (#103) * Explicitly import the version of the module * dont upload release files * add changelog link to readme

view details

push time in 4 days

PR merged zhmushan/abc

Explicitly import the version of the module
+17 -25

0 comment

9 changed files

zhmushan

pr closed time in 4 days

push eventzhmushan/abc

木杉

commit sha 3516f2192977bd7bb674d250a3d1e62f5bd64458

add changelog link to readme

view details

push time in 4 days

push eventzhmushan/abc

木杉

commit sha 2759226cd80453cadf141ffc932c85e60ee73f1e

dont upload release files

view details

push time in 4 days

PR opened zhmushan/abc

Explicitly import the version of the module
+14 -14

0 comment

8 changed files

pr created time in 4 days

create barnchzhmushan/abc

branch : explicitly_version

created branch time in 4 days

startedrustcc/writing-an-os-in-rust

started time in 4 days

delete branch zhmushan/abc

delete branch : prefer_denolib

delete time in 4 days

PR closed zhmushan/abc

recommended to import abc from denolib.com instead of deno.land/x

close #101

+18 -16

0 comment

9 changed files

zhmushan

pr closed time in 4 days

issue closedzhmushan/abc

[Discussion] No longer recommended to import modules from deno.land/x

Can I edit or remove a module on deno.land/x?

Module versions are persistent and immutable. It is thus not possible to edit or delete a module (or version), to prevent breaking programs that rely on this module. Modules may be removed if there is a legal reason to do (for example copyright infringement).

Just because I love abc@v1, and the Deno official registry forced me to use abc@v1.0.2. No other reasons.

closed time in 4 days

zhmushan

issue commentzhmushan/abc

[Discussion] No longer recommended to import modules from deno.land/x

Need to inform, I finally decided to continue to use the official Deno registry:

  • An explicit version can reduce junk issues (some people can’t run the code just because they use the old version
  • Smart developers know exactly how to change the registry
  • The code from the official registry is more trustworthy (because you won't know whether my lovely cat will overwrite the original tag
zhmushan

comment created time in 4 days

issue commentzhmushan/abc

[Discussion] No longer recommended to import modules from deno.land/x

If someone disagrees, please state your reasons instead of "just opposing"

zhmushan

comment created time in 5 days

PR opened zhmushan/abc

recommended to import abc from denolib.com instead of deno.land/x

close #101

+18 -16

0 comment

9 changed files

pr created time in 5 days

create barnchzhmushan/abc

branch : prefer_denolib

created branch time in 5 days

create barnchzhmushan/abc

branch : v1

created branch time in 5 days

delete tag zhmushan/abc

delete tag : v1

delete time in 5 days

push eventzhmushan/abc

Marvin Borner

commit sha eb93ad4575cc15ec57c128a059b60af8ddc70adf

Implemented deno upstream updates (#100) * Fixed lib url * Fixed master in dem.json

view details

push time in 5 days

PR merged zhmushan/abc

Implemented deno upstream updates

The deno upstream update caused all @*BRANCH tags to fail. Therefore I've fixed this by using the version number instead. Furthermore, you're using the now-deprecated 'v'-prefix in front of the version numbers sometimes.

More information: https://deno.land/posts/registry2 https://twitter.com/deno_land/status/1290319979825561600

+3 -3

2 comments

2 changed files

marvinborner

pr closed time in 5 days

issue commentzhmushan/abc

[Discussion] No longer recommended to import modules from deno.land/x

I will also continue to maintain denolib.com

zhmushan

comment created time in 5 days

issue openedzhmushan/abc

[Discussion] No longer recommended to import modules from deno.land/x

Can I edit or remove a module on deno.land/x?

Module versions are persistent and immutable. It is thus not possible to edit or delete a module (or version), to prevent breaking programs that rely on this module. Modules may be removed if there is a legal reason to do (for example copyright infringement).

Just because I love abc@v1, and the Deno official registry forced me to use abc@v1.0.2. No other reasons.

created time in 5 days

startedumijs/qiankun

started time in 5 days

delete branch zhmushan/berial

delete branch : refactor

delete time in 5 days

delete branch zhmushan/berial

delete branch : ci

delete time in 5 days

delete branch zhmushan/berial

delete branch : fix_lint

delete time in 5 days

PR opened berialjs/berial

Type enhancement part 1

Dont Merge

我们在这个分支完成第一部分类型增强计划

+44 -35

0 comment

8 changed files

pr created time in 5 days

create barnchberialjs/berial

branch : type_plan_part1

created branch time in 5 days

issue openedberialjs/berial

类型完善计划

第一部分

  • 忽略 proxy.ts 文件中的类型, 将它当作一个 js 文件
  • 尽可能不使用可选类型, 这样做可以减轻负担, 将开发时体验移到下个阶段开始做
  • 优先规定函数输入输出类型, 放弃内部
  • 将复杂类型统一抽象
  • 减少花里胡哨的编程方式, 尽量不要使用高阶函数, 过度重载, 两层以上的箭头函数, 此处必须 @yisar

第二部分

  • 增强开发时体验, 完成第一部分后再补

created time in 5 days

push eventzhmushan/berial

子文

commit sha 0a30ccb1ece1f9a7920b22783785c95d52a7b59a

fix: 修复判断问题 (#24) Co-authored-by: nantao <nantao@deepexi.com>

view details

zhmushan

commit sha 7a401984781c775657a4c15187ec437341fb32f2

Type enhancement part 1

view details

push time in 5 days

push eventzhmushan/berial

子文

commit sha 0a30ccb1ece1f9a7920b22783785c95d52a7b59a

fix: 修复判断问题 (#24) Co-authored-by: nantao <nantao@deepexi.com>

view details

push time in 5 days

delete branch zhmushan/node-casbin

delete branch : clear_policy

delete time in 5 days

pull request commentzhmushan/abc

Implemented deno upstream updates

Could you update dem.json? https://github.com/zhmushan/abc/blob/513143f02f7544e77a6dfebb645ee54d3d393ed5/dem.json#L21-L28

marvinborner

comment created time in 5 days

startedservo/html5ever

started time in 5 days

create barnchzhmushan/berial

branch : fix_lint

created branch time in 5 days

push eventzhmushan/node-casbin

zhmushan

commit sha d40fb42ad2e38c27a37d4af0b893fb842c74caec

fix: clearPolicy should save policy Signed-off-by: zhmushan <zhmushan@qq.com>

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha 73ab81bb6482ed7b0bf80408bb6121d3611391e4

fix: clearPolicy should save policy

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha 94129b60ac74f6f900e639e744932fbe807163c3

fix: await clearPolicy & move loadPolicy to coreEnforcer Signed-off-by: zhmushan <zhmushan@qq.com>

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha d4f091256a336c193e6b5d6156c3f520ef51f99f

fix: await clearPolicy & move loadPolicy to coreEnforcer

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha 7728b75842512fd5cf9fc155e49d447d1e2785c1

fix: await clearPolicy & move loadPolicy to coreEnforcer

view details

push time in 6 days

push eventzhmushan/berial

伊撒尔

commit sha 4fe3f234f7c23a324258a2c70f13f79cb93c0331

Update index.ts

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha 4c5dda005aab9aa1e9b80788c9a05e82193f86eb

fix: empty syncedEnforcer & add loadPolicy in enforcer Signed-off-by: zhmushan <zhmushan@qq.com>

view details

push time in 6 days

push eventzhmushan/node-casbin

zhmushan

commit sha dcd48f89862ae36fd11ecf1243feceeafeb9e933

fix: empty syncedEnforcer & add loadPolicy in enforcer

view details

push time in 6 days

push eventzhmushan/berial

伊撒尔

commit sha b26c647030ac2a7aebef455d9ef997415a77c58f

[WIP] Refactor proxy: copy-on-wirte (#22) * init produce * finish refactor * add document proxy * cleanup * Update proxy.ts * Update proxy.ts Co-authored-by: H <andywangsy@gmail.com>

view details

伊撒尔

commit sha 2047e19d7791f81a9f5a56c44ec0c96351f9e16c

Update proxy.ts

view details

伊撒尔

commit sha 54a7ec8cf8f6f847ae63ca4fe9d162597fc33a79

Update html-loader.ts

view details

push time in 6 days

issue closedzhmushan/abc

403 Forbidden while trying to download library

Minimal reproduction steps:

Create file.ts with code: import { Application } from "https://deno.land/x/abc@v1/mod.ts";

And run command:

sudo deno run --allow-read --allow-net --allow-plugin --unstable file.ts

Actual results: script shuts down on 1 line - console prints:

Download https://deno.land/x/abc@v1/mod.ts
Download https://deno.land/std@v0.50.0/fs/exists.ts
Download https://deno.land/std@v0.50.0/log/mod.ts
Download https://deno.land/std@v0.50.0/path/mod.ts
error: Import 'https://deno.land/x/abc@v1/mod.ts' failed: 403 Forbidden
Imported from "file:///Users/someUser/someFolder/file.ts:1"

closed time in 6 days

johny1614

issue commentzhmushan/abc

403 Forbidden while trying to download library

@johny1614 fixed

johny1614

comment created time in 6 days

created tagzhmushan/abc

tagv1

A better Deno framework to create web application.

created time in 6 days

delete branch zhmushan/abc

delete branch : v1

delete time in 6 days

created tagzhmushan/router

tagv1

A high-performance basic router works anywhere.

created time in 6 days

delete tag zhmushan/router

delete tag : v1

delete time in 6 days

issue commentzhmushan/abc

403 Forbidden while trying to download library

I don’t know how to create a webhook correctly, can anyone tell me what to fill in Payload URL?

johny1614

comment created time in 6 days

created tagzhmushan/router

tagv1

A high-performance basic router works anywhere.

created time in 6 days

delete branch zhmushan/router

delete branch : v1

delete time in 6 days

Pull request review commentcasbin/node-casbin

fix: clearPolicy should save policy

 export class SyncedEnforcer extends Enforcer {   /**    * clearPolicy clears all policy.    */-  public clearPolicy(): void {-    this.lock+  public async clearPolicy(): Promise<void> {+    await this.lock       .acquireAsync()       .then(() => super.clearPolicy())

done

zhmushan

comment created time in 7 days

push eventzhmushan/node-casbin

zhmushan

commit sha 580ebf6142881127b4103eb238ed79425758674c

fix: clearPolicy should save policy Signed-off-by: zhmushan <zhmushan@qq.com>

view details

push time in 7 days

push eventzhmushan/node-casbin

zhmushan

commit sha 67b9791a65e60ea1acae3d2819c71eb8aa404c02

fix: clearPolicy should save policy

view details

push time in 7 days

push eventzhmushan/berial

木杉

commit sha 1505a6690bb594cceed5ee8e75563f067e3253aa

require explicit function return type (#21)

view details

push time in 7 days

more