feat: switch dependency to our own package: @casbin/expression-eval 5.2.0 #456
Annotations
10 errors and 2 warnings
Run yarn lint:
src/util/util.ts#L182
Replace `b·as·any·as·Array<any>).includes(a)·as·unknown` with `((b·as·any)·as·Array<any>).includes(a)·as·unknown)`
|
Run yarn lint:
src/util/util.ts#L184
Replace `(a·in·(b·as·any))·as·unknown` with `((a·in·(b·as·any))·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L600
Replace `98·as·unknown` with `(98·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L601
Replace `67·as·unknown` with `(67·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L602
Replace `34·as·unknown` with `(34·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L620
Replace `{·owner:·{·id:·3·}·}·as·unknown` with `({·owner:·{·id:·3·}·}·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L621
Replace `{·owner:·{}·}·as·unknown` with `({·owner:·{}·}·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L622
Replace `{·owner:·{}·}·as·unknown` with `({·owner:·{}·}·as·unknown)`
|
Run yarn lint:
test/enforcer.test.ts#L623
Replace `{·owner:·{·id:·2·}·}·as·unknown` with `({·owner:·{·id:·2·}·}·as·unknown)`
|
Run yarn lint
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading