zhmushan/abc 433
A better Deno framework to create web application.
berialjs/berial 225
😈 Simple micro-front-end framework.
Set up your GitHub Actions workflow with a specific version of deno
Deno中文社区(后端部分)
Forked from https://github.com/typeorm/typeorm
Feel free to import TypeScript files in the script tag!
clicli server written by deno
福州大学2020年面向对象程序设计
Quickly initialize a Deno project
push eventzhmushan/zhmushan
commit sha 84391c8b406794d39696694dc30be0ab979d01d7
.
push time in 9 hours
push eventzhmushan/zhmushan
commit sha 90f6717375768da9fbc144e73defcf6fa60ff6ec
add flat avatar
push time in 9 hours
startednapi-rs/node-rs
started time in a day
push eventzhmushan/deno-casbin
commit sha 1646c7f4c56a67914f8483ccd9169db701bb40e3
Use node-casbin code directly Signed-off-by: 木杉 <[email protected]>
push time in a day
fork zhmushan/deno-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Deno.
fork in a day
push eventzhmushan/node-casbin
commit sha de76a0eeb816d600f6b8cddb99a2568d0c5a8b99
chore: remove unused import Signed-off-by: 木杉 <[email protected]>
push time in a day
push eventzhmushan/node-casbin
commit sha c853fa1fe19687e260d10f4a488b1bb020b04825
chore(release): 5.0.7 [skip ci] (#176) Signed-off-by: Zixuan Liu <[email protected]>
commit sha 7b7756241c43af14fdd740e088bcf9651d156b61
test(rbacapi): fix incorrect description for testing getImplicitUsersForPermission (#173) Signed-off-by: kingiw <[email protected]>
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
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)
push time in 2 days
push eventdenolib/setup-deno
commit sha 2a4645f2fde405a7431834a4b48ccc94418b5b30
add check lock script in ci (#63)
push time in 2 days
push eventdenolib/setup-deno
commit sha 3ab634de963ef5e0650b6f06e67582711aa2c0dd
checksum for dist/index.js (#62)
push time in 2 days
push eventdenolib/setup-deno
commit sha 8e37c1d642840d4514c14abed06119a2a83d5f31
print error stack when ci fail (#61)
push 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
push 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
maximousblkissue commentdenolib/setup-deno
Use original binary name for nightly builds?
We just need to rename deno-nightly file to deno. I agree
comment created time in 3 days
push eventzhmushan/abc
commit sha 8417563b60a1a60b0ffe8d6201a64f2cc1567fe0
context support set & get data (#104)
push time in 3 days
pull request commentzhmushan/abc
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.
})
comment created time in 4 days
push eventzhmushan/abc
commit sha 09ca6777f753a1ad25c0a5e4c06bb40077d7528d
context support set & get data
push time in 4 days
Pull request review commentzhmushan/abc
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
comment created time in 4 days
Pull request review commentzhmushan/abc
app.use(session()); ```ts export const DefaultSessionConfig: SessionConfig = { name: "abc.session",
key: "abc.session",
comment created time in 4 days
Pull request review commentzhmushan/abc
export function session( } export class Session {- public store: SessionMemoryStore;+ private store: SessionMemoryStore;
#store: SessionMemoryStore;
comment created time in 4 days
issue commentcasbin/node-casbin
batchAdapter.removePolicies is not a function
Please provide your minimum recurrence @EndersonPro
comment created time in 4 days
push eventzhmushan/router
commit sha d3172caa21b4d988598e34f4f44d7891bb19394e
dont upload release files
push time in 4 days
push eventzhmushan/router
commit sha fc162fb09b8369906a48b804bcca8352ee428688
Explicitly imported modules' version
push 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
push time in 4 days
push eventzhmushan/abc
commit sha 3516f2192977bd7bb674d250a3d1e62f5bd64458
add changelog link to readme
push time in 4 days
push eventzhmushan/abc
commit sha 2759226cd80453cadf141ffc932c85e60ee73f1e
dont upload release files
push time in 4 days
startedrustcc/writing-an-os-in-rust
started 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 [email protected]. No other reasons.
closed time in 4 days
zhmushanissue 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
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"
comment created time in 5 days
push eventzhmushan/abc
commit sha eb93ad4575cc15ec57c128a059b60af8ddc70adf
Implemented deno upstream updates (#100) * Fixed lib url * Fixed master in dem.json
push time in 5 days
PR merged zhmushan/abc
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
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
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 [email protected]. No other reasons.
created time in 5 days
startedumijs/qiankun
started 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 <[email protected]>
commit sha 7a401984781c775657a4c15187ec437341fb32f2
Type enhancement part 1
push time in 5 days
push eventzhmushan/berial
commit sha 0a30ccb1ece1f9a7920b22783785c95d52a7b59a
fix: 修复判断问题 (#24) Co-authored-by: nantao <[email protected]>
push 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
comment created time in 5 days
startedservo/html5ever
started time in 5 days
push eventzhmushan/node-casbin
commit sha d40fb42ad2e38c27a37d4af0b893fb842c74caec
fix: clearPolicy should save policy Signed-off-by: zhmushan <[email protected]>
push time in 6 days
push eventzhmushan/node-casbin
commit sha 73ab81bb6482ed7b0bf80408bb6121d3611391e4
fix: clearPolicy should save policy
push time in 6 days
push eventzhmushan/node-casbin
commit sha 94129b60ac74f6f900e639e744932fbe807163c3
fix: await clearPolicy & move loadPolicy to coreEnforcer Signed-off-by: zhmushan <[email protected]>
push time in 6 days
push eventzhmushan/node-casbin
commit sha d4f091256a336c193e6b5d6156c3f520ef51f99f
fix: await clearPolicy & move loadPolicy to coreEnforcer
push time in 6 days
push eventzhmushan/node-casbin
commit sha 7728b75842512fd5cf9fc155e49d447d1e2785c1
fix: await clearPolicy & move loadPolicy to coreEnforcer
push time in 6 days
push eventzhmushan/berial
commit sha 4fe3f234f7c23a324258a2c70f13f79cb93c0331
Update index.ts
push time in 6 days
push eventzhmushan/node-casbin
commit sha 4c5dda005aab9aa1e9b80788c9a05e82193f86eb
fix: empty syncedEnforcer & add loadPolicy in enforcer Signed-off-by: zhmushan <[email protected]>
push time in 6 days
push eventzhmushan/node-casbin
commit sha dcd48f89862ae36fd11ecf1243feceeafeb9e933
fix: empty syncedEnforcer & add loadPolicy in enforcer
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 <[email protected]>
commit sha 2047e19d7791f81a9f5a56c44ec0c96351f9e16c
Update proxy.ts
commit sha 54a7ec8cf8f6f847ae63ca4fe9d162597fc33a79
Update html-loader.ts
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/[email protected]/fs/exists.ts
Download https://deno.land/[email protected]/log/mod.ts
Download https://deno.land/[email protected]/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
johny1614issue commentzhmushan/abc
403 Forbidden while trying to download library
@johny1614 fixed
comment created 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?
comment created 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
comment created time in 7 days
push eventzhmushan/node-casbin
commit sha 580ebf6142881127b4103eb238ed79425758674c
fix: clearPolicy should save policy Signed-off-by: zhmushan <[email protected]>
push time in 7 days
push eventzhmushan/node-casbin
commit sha 67b9791a65e60ea1acae3d2819c71eb8aa404c02
fix: clearPolicy should save policy
push time in 7 days
push eventzhmushan/berial
commit sha 1505a6690bb594cceed5ee8e75563f067e3253aa
require explicit function return type (#21)
push time in 7 days