-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yong.teng
committed
Dec 4, 2021
1 parent
49c5f08
commit 8f25c6a
Showing
11 changed files
with
366 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
>= 1% | ||
last 2 versions | ||
Explorer >= 8 | ||
Edge >= 12 | ||
Firefox >= 21 | ||
Chrome >= 23 | ||
Safari >= 10 | ||
Opera >= 10 | ||
Android >= 3 | ||
IOS >= 7 | ||
not dead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "buession-shirojs", | ||
"alias": "shirojs", | ||
"version": "v1.0.0", | ||
"version": "v1.0.1", | ||
"description": "A security framework for JavaScript or TypeScript.", | ||
"homepage": "https://github.com/buession/buession-shirojs", | ||
"homepage": "https://buession.github.io/buession-shirojs/", | ||
"author": { | ||
"name": "yong.teng", | ||
"email": "[email protected]" | ||
|
@@ -20,7 +20,7 @@ | |
"scripts": { | ||
"build": "npm cache clean --force && rollup -c build/rollup.config.js", | ||
"lint": "eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'", | ||
"release": "yarn build && yarn publishing" | ||
"release": "yarn build && yarn publish" | ||
}, | ||
"keywords": [ | ||
"buession", | ||
|
@@ -42,6 +42,7 @@ | |
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", | ||
"@babel/plugin-syntax-jsx": "^7.16.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const ALL_PERMISSION = ':'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import { ShiroImpl as Shiro } from './shiro'; | ||
import { IShiro } from './shiro'; | ||
|
||
export declare const Shiro: ShiroImpl; | ||
export { Principal } from './core/types'; | ||
|
||
export declare const Shiro: IShiro; | ||
|
||
export default Shiro; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { ShiroImpl as Shiro } from './shiro'; | ||
import { Shiro } from './shiro'; | ||
|
||
export { Principal } from './core/types'; | ||
|
||
export default Shiro; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.