{"_id":"@buession/shiro","_rev":"12-6dd6ce36e031a94b4241a4a56dacbc30","name":"@buession/shiro","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.3":{"name":"@buession/shiro","version":"1.0.3","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.0.3","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://buession.github.io/buession-shirojs/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"c625bf3b8ff621c6b5f16b6259f17dd719fc6474","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.0.3.tgz","fileCount":44,"integrity":"sha512-1Os8ZhnJGeQl57up1A4UBhevdmpuPNbPtX8WFyLLP+m5UK2geV053U+238/LKO2vGbqdklci4uVHJyEWtd3Suw==","signatures":[{"sig":"MEUCIBu7TMdH3cDpWnLQvZS9mfESEcz/wLR/x1ZMhBcG+E9uAiEAr67tAufjWt4tzGlWTCWThfzMyBpuzgl++fP3owT6jUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":184002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwYPMCRA9TVsSAnZWagAA5P4P/AvxFiUP9Ek4ZAqw3vGE\nKSHJpJ6kGFyXwLVAqNzZIO5hBI4uoG7niCLByLm+NGhG6ao2XmJ0wAwUBqVN\nd3NbvXAeuhMLjh3+Za3pOSs6fQZsHcMaMv4Tu4x7Hk0qjpPdPAPRjqdwyya6\nQN1lJ5IhFez5mt1vSIRKuVxPrQ4u/VksQRuQDwYdfs62KHIFzHclpOEhX5VR\ngW932T2EXTRGeaJhx0q1ufNk3WJrSfuxLVHpmONUsZUxiQlnQTHk8PWurEKZ\nyWCXXM3n3yJZR/9mR70Sbg8j9vs6cMcnJB7Bzww0g1S886iGEnvnn/qqZxR8\neh6uN0uZPjhz715qphNHCUUYXRczpDnOWn8rsYcHuC9m4vp7pwmQ3sbMiOEN\nw2gdh7Hl+Ptd5mmZyXJPK15MfSgYoBGWrJX9Vgz7gl3wleziJdfaTpwwfSht\nIaycP2PVWHUtq9q4AKojanpMRebomuqWc40MIgHTQGnKidIG033cPu0+61UG\nSn/vLEVMw7m89IYBmoXMwriO0gH1aEFwAY6FldZLZnxVDl6HVF+VA7xwG49S\nEL5wl86KbMp+MNeSXtUDYq2UewqfK57Ns8QMaCktdiiGAC5X+wUhd6BYI5UJ\nQ8XPihA0yjLfEjx2D9u2CmLo+E0IxyKye1Q4en8Cx5str3RcSkcIptoNPf7W\nOpQV\r\n=EGil\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.ts","alias":"shiro","types":"src/index.d.ts","unpkg":"dist/shiro.min.js","module":"src/index.ts","source":["src/index.ts"],"private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'","build":"npm cache clean --force && rm -fR dist && find ./src -name '*.d.ts' | xargs rm -fR && rollup -c build/rollup.config.js","release":"yarn build && yarn publish --access public"},"typings":"src/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-babel":"^4.4.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","rollup-plugin-commonjs":"^10.1.0","@babel/plugin-syntax-jsx":"^7.16.0","@typescript-eslint/parser":"^4.18.0","rollup-plugin-typescript2":"^0.31.1","rollup-plugin-node-resolve":"^5.2.0","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.0.3_1640072139983_0.462315778680384","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@buession/shiro","version":"1.1.0","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.1.0","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://buession.github.io/buession-shirojs/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"6ca6a905c5e8d63d163dbee867868cc3f529559e","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.1.0.tgz","fileCount":38,"integrity":"sha512-l2M5+f+5i6bi/24DWo7UKSbqIzfyv59Hl7o5QygXhWPpvXyMEy5S7GEPUlNhS+q3k6x/60f5AR2aoOjB/VCXzw==","signatures":[{"sig":"MEUCICZt+5MMVTLXpMBoZXO0w4YGlVolOkAOkJjVzdP901PTAiEA5a9NMoyssRDQm4s3bndQgSXB7lRXrYo9LtHsysE2+js=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxpxECRA9TVsSAnZWagAAZCMP/RA8mZ6KwwMBO2Tm/03+\nkb/zIAj++8TTq4FkBId7s8P78ncHmndNWPTBs7/268UX9Wi/BRmRqJyawjC3\nrWQek1GWp2+xaVq5VqV/0TJ4mQf3CaCCTeYICY9hgGL+VJQ2X4i9upDidjOY\n71Q933+WDxb42DUNkHgFWqtZayfukYPi15tnkf2zhmQHfnfv6ka8T4TNv9Nn\nnfa4L039Q4muJ0YO7e5LiTgpAqodgknGZsdMgLWTdydNfita0AMHHgv88V97\n9TXo4bKf3M9s89NeEy7Zj7OYYo4OqvZt72x1Jjp6JO2pRtpJok879ll3nKRP\nx5QDN7BLTM13tAb4JFKgWso1owq5EhVEqpA61Nx6rHiYZl7/cVT1uRWZ5Xhu\nmt5blOR501TMhrkZ+GXiQZHtQCp3wHALLbQrRO7ndSLbS0JX+BHan2uS5TCH\nT2SzMuO2QTgBDbNKpxZzOGVqVVpzF5biT63bRrwsp6QwdUCVunrB4DnG8D6j\n/gQTNjthqIgcIqQpF82yAq94J6Jr3gGbDwh3atJZb1SwaYzi9WB0PRcf84w0\nYhjpGHyI6R+k875nJkx5DsXnIIVsnsgjLD7osWEsjwPxpYHweXMze1gYkwLG\nocxElHCrdO7Up7zyldNWYtpVubZlM3taB1jJraAf4EIKjaf7gQ/IX+Hd7yVZ\nqy+b\r\n=ELhy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","source":["src/index.ts"],"private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'","build":"npm cache clean --force && rm -fR ./dist/* && rollup -c ./rollup.config.js","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-babel":"^4.4.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","rollup-plugin-commonjs":"^10.1.0","@babel/plugin-syntax-jsx":"^7.16.0","@typescript-eslint/parser":"^4.18.0","rollup-plugin-typescript2":"^0.31.1","rollup-plugin-node-resolve":"^5.2.0","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.1.0_1640406084800_0.8065007523983443","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@buession/shiro","version":"1.1.1","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.1.1","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://buession.github.io/buession-shirojs/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"76ff84d423d6c4d36443ac1d28ba2901857736b0","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.1.1.tgz","fileCount":38,"integrity":"sha512-7APqX/uahDaqvlUviEzOI9k+jcpIsxxT61UoS7hac0fmD2HdUNdttyZopGOnXp2inRAguoYZHZNyHAyECKA0Eg==","signatures":[{"sig":"MEQCIAOBQqDNrtMwPayJevPR/jWDRsZUp7y0GS8Y44hA7xswAiBtaNHbe4eAVT7oMxA8qEgiSt4RAdAJ7BXQ02sjDpJWJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzUQ0CRA9TVsSAnZWagAAlXoQAJLcZlHcm2iNqd46IZCe\nunDrJBcUkuRcSrt6aRE5i6clrl+SQYgrr3/KHjh7NPfDT3BB2bMCBA7USKLH\naKbPOgJybNjxFBx5AwaeMn1rXo7gMJxLxRo+h694Vod9mCEER+sUY39IPf5J\nqj8nDFV+fjWRYVWvXZHHQ9KKMcMG7P0T0P42wmSSFeCzNmCviP0giX+Q2fDw\nFdET1GIk0qaUEmSBiPe2svAWN+ay8y+a6X7OzW35lJWJTFajV0jeYQx8OXxK\nFnbjyVI2CkkvaUhEf9No5NRFDIAfQo+trbDH6K7yY4LhTKJx+CXTIEnGjnOa\npJjsQSakM3SHAscvjpW2NpZaSm3oBc2mPkp6XA6+ErgwRz8wHc6omi5yGhuJ\nxC+ceBGj3SiF1c/sbttpOmcubOkfwZYPn1nvXh3NB6bkSuaJVHCKRIXX3fog\nyQHsur1TmQeyCSqhKTiVy8bfW/LHsFkPa16KQlQnFM1vWiG98WBgIVdkJKIo\n4p7JclvtaxNWHHQxfLTT9LAPeWg2QEKdp3Sed+Lwio6vu5tQw/BU4bJla5nB\n/gHJ7Tk7wzbYPkoLHKSbzlw28fEcfbcS7w5yQ2fS+11dXwhfJh7FPggrekNH\nv+EBQha4P8iODVq67PA/zwGxyGKFxGcHo8k4wMAdHT8CR283GBxkXH60mQiO\n6hBL\r\n=o7pQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"npm cache clean --force && rm -fR ./dist/* && rm -fR types && rollup -c ./rollup.config.js && mv ./dist/types ./","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.1.1_1640842291847_0.24466845795218628","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@buession/shiro","version":"1.1.2","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.1.2","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"3999b7e833ec4a4ed33eb52a9af4dc9691a6807c","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.1.2.tgz","fileCount":38,"integrity":"sha512-JcwOTYjYq+/CqEi0V1Yz2ky1/8ScM2zrG9fE4eKDEdPkL/NxUWE3ImeA6yAvYJK6hlY1XBhHGFqEaYoZgtpr3A==","signatures":[{"sig":"MEUCIEDAl5mVZcbIgmlz9oQOFpyjml+h4iRQgeA8SUjBtMAyAiEA/cjuw4LN6Zl5asLaiYxWjLyL8lcCdgGY2m3EAfwbF5k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2h4pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1Yw/+Lu0Hn1YTFH79jn69TyZh/YWnHJmvKjuB+mB+nb+m8hvk+BtN\r\nI88AeYPPOLGImfR2eNvwAseKNa0VdPMYUGJ0pEkJ65uwdsybaDVe85hr/dPz\r\nGVzgKHscPmTpThlwWecU7TDr6AqVULFwWB7tMgjSz47Y1WwFjBPWwpER7Dh2\r\nOpAiEYbWUc3/m7JvbyOz+Jk51CWdNJP0DRkdt/htDaIoCj/4yHjHKAF2IE8W\r\nTFwrtnS/Vd2PlIUCx92TxLrvrnzbOmmINMCoYNod/UQBG4cHZ6vdW9JTNnxf\r\n1QBhY4OKtm4GtYklqzmqiZp9WCytQXDa1jKyD+Eo0UICcoThMtF5qBkJMpfH\r\n5nBpkUNy5h9PsaXQCKUIBsTdaOG5KfdWL/CUvfn32dYJdVjPegOX0lZoWQ6W\r\nWVbG5QV2Nntmuy3xiVF4WSkBIC1eatqkGieEXEvn1yvekQw7xe3NNiLni0Hq\r\nWI98FjLs9l+eTPkswIkltUqA2Bw4on7ATntbSS/X6fwxBmcZlwAmB40B7ovz\r\nZ/AbS+3VJ1CdXWjeyov3tZ8FleWe9xoU6veLc2lgllx/I+z/ns1JpZXn9Jgm\r\njRmO7qRD9frj/6gI8dGZwYsPmZ0/JV75BkZUpFZ6uTK+hvEGHQeeLPoDM6Hc\r\nSvvcMItxQlxYQC9MkyqmUIPDBJ7mbHEWRNw=\r\n=P7lp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"npm cache clean --force && rm -fR ./dist/* && rm -fR types && rollup -c ./rollup.config.js && mv ./dist/types ./","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.1.2_1675238953254_0.053356355308919134","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@buession/shiro","version":"1.1.3","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.1.3","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"61893284b63666695e6c26e4fded7cd9fd5197e5","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.1.3.tgz","fileCount":39,"integrity":"sha512-35RxVk1Fp8v11y3R36Vizjepa3c6jQTzeCEQgfMrTB9bYon3DxSZnVCD9es3H6YQumHXQu9QRiPq/sik1g8VZA==","signatures":[{"sig":"MEUCICTLi+yL8GtQXVMYvGU3/7T1vHvRj67EGAgl6RsM3VVuAiEAi5vX8C/uqgtIDp2GlkcDreCVPdeiX8IDniEBw0g8JCo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3R7ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmopgg/9Gecl5MtRQhUOooljaCQx2I0goGakLxY87FV1Lp9idvUea9Vv\r\ns4l76a6qDRTK0ML1YUT3DTiazW2IkH6U+c6ufLTXMhT0xsTKTcfODK0xFF6/\r\nRnkGcKwVOyBzmu58zggbH97lMPkpRkEnDMeRMAcr8u/h8Tx3EcGRKhuJVbfb\r\nowfPbABG83HhZpxgMAkM3mSML6Rj1ijg6FNSoczs6prlLLqsJ62zCkgWbKKh\r\nbgtjAOoyECkea4etPyq2NxLDG5dK8idsabmfAaf00tjd+d8sBPVED+oheREG\r\nR62eVitHNJaU6wKvZVVnkcnSJPc2ZxTO0DOehNZy1wLmPs1eJmebfKm4V1xh\r\njnSunF03ErWGBiBEJef122APRfoks1J2J9OcRlio/Nm69AiCYtfHo2ZmKmeG\r\nIs1TtNPXoiL2S8rYvZywJIZOZTofABFLxXrQChtaNV3FIqOM2/XhnDXnWjCz\r\nt8zNzvcVx9Ld4umivc/Fo12aBh0G7c/nefaVNHW1iPxIsgOzKDd0Kd7Vh1Sp\r\npCTwEWsuo95vVgG4VH2oRLwRaUTdheAUwG6KWiOwCuCJIs+rLSQMZe1G6m6G\r\nDuz1iDhQOz9FuVWtPIy/A84WMKCnMKCspS1bKJ1T7D4f1VWRVbzERA0mO8NJ\r\nCRalRLkQmkRFSzyxXW7o+LbzKyj82/iqMrY=\r\n=P8Ef\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"npm cache clean --force && rm -fR ./dist/* && rm -fR types && rollup -c ./rollup.config.js && mv ./dist/types ./","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.1.3_1675435737363_0.3881621173824801","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@buession/shiro","version":"1.2.0","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.2.0","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"4249a00549a41e007d3388773720bbf0068300a6","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.2.0.tgz","fileCount":39,"integrity":"sha512-LFKqERFSdIr7mfI+TsxrJ2qveWgzp2IhJP19zIN+pdg39HMh5Zx6Je6zARVednWy0seTJfYXWA6YaLZc2MUfsg==","signatures":[{"sig":"MEUCIE/12ubrCIM0jY00H/uykBYpO0rEjvguKHKTjbEfea+0AiEAnADw76G96KkFqMluYsYavUMhAjS7/8BGiH/FQVANcFA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":126763},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"rm -fR ./dist/* && rm -fR types && rollup -c ./rollup.config.js && mv ./dist/types ./","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","eslint-plugin-vue":"^7.0.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/shiro_1.2.0_1692113269308_0.9555575325432295","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@buession/shiro","version":"1.2.1","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.2.1","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"a410c7c559a589e803d1d04c9a8fd328c52b3a3b","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.2.1.tgz","fileCount":51,"integrity":"sha512-HJxxWy1eCNrItX07qCs8Zpa7W1hGHAKkIIChi2XkDxzCRoMZim/iAwLIbpKM5Ewzyj69eBmbswWdhCaH31hmog==","signatures":[{"sig":"MEUCIGO7kMFDlSwkRKiRGtnmGgR5jikMuHRq4ZKGedqu3bdlAiEAsOXigPnME9CnmKqR8/06y9JworLxxu0Q3Wz04LjJMrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125373},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"rm -fR ./dist && rm -fR ./types && mkdir ./types && rollup -c ./rollup.config.js && tsc -b ./tsconfig.types.json","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/shiro_1.2.1_1692974493055_0.8057898331930697","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@buession/shiro","version":"1.2.2","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@1.2.2","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"36c0ae15cb37debd1f98e00288b30c6d055d752c","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-1.2.2.tgz","fileCount":51,"integrity":"sha512-fmen369WOWk8yT3r/fimtSK6JSFOXiL5xC91VhozeuHEKrHIfuvUGOrLBmUpljV0nYtVsrrKx0vtzpQpQRyIPg==","signatures":[{"sig":"MEYCIQC7ZXd4FH00SvB7TuxsIvcAOKj0X2mQBWEMoRvag14Q9wIhAKcLVjiCY2En7szO3ewQvieeqSpEk9CN1WCCZWT48j0g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129408},"main":"dist/shiro.cjs.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"dist/shiro.esm.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"rm -fR ./dist && rm -fR ./types && mkdir ./types && rollup -c ./rollup.config.js && tsc -b ./tsconfig.types.json","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/shiro_1.2.2_1704446550036_0.38691699462191176","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@buession/shiro","version":"2.0.0","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@2.0.0","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"89f15a32eb5f608c3e6078f982270e41ac9dc124","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-2.0.0.tgz","fileCount":54,"integrity":"sha512-LBNCxSythmSpYWg4GVPVTDQyUqFoo16vz1Wwqp0bhkuJAdTqDg/0+U914nyMpmBc4Gn3peuQ3789Q8koEmP5qg==","signatures":[{"sig":"MEQCIGj+gh1H/ib4IcDKuCYNg18mWivoXbfKIxJReIqpfQm3AiAc9I2QIhR4Yf58BgKJB9KA9DwQkzDj7WQXEjfDa1MA7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":128310},"main":"lib/index.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"es/pindex.js","private":false,"scripts":{"lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"rm -fR ./dist && rm -fR ./types && mkdir ./types && rollup -c ./rollup.config.js && tsc -b ./tsconfig.types.json","codecov":"codecov","release":"yarn build && yarn publish --access public"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"package.json":"sort-package-json","*.{js,jsx,ts,tsx}":["eslint --fix"]},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.7.2","rollup":"^2.60.2","codecov":"^3.8.3","gensync":"^1.0.0-beta.2","typescript":"~4.1.5","@babel/core":"^7.16.0","@types/webpack-env":"^1.16.3","eslint-plugin-node":"^11.1.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.2","rollup-plugin-terser":"^7.0.2","@rollup/plugin-eslint":"^8.0.1","eslint-plugin-promise":"^4.2.1","@rollup/plugin-replace":"^3.0.0","eslint-plugin-standard":"^4.0.0","@rollup/plugin-commonjs":"^21.0.1","@babel/plugin-syntax-jsx":"^7.16.0","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/parser":"^4.18.0","@rollup/plugin-node-resolve":"^13.1.1","@typescript-eslint/eslint-plugin":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/shiro_2.0.0_1742220149016_0.9313139619691613","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@buession/shiro","version":"2.0.1","keywords":["buession","shiro","permission","security"],"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","_id":"@buession/shiro@2.0.1","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"homepage":"https://shirojs.buession.com/","bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"dist":{"shasum":"1d0010c3d7715a341d03ccd521a27840ac758c11","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-2.0.1.tgz","fileCount":63,"integrity":"sha512-/TfbghqSkZ76IvSJqRvR/cRyJZqIhgG3IjeYRhsYFDeEv/GpSvWLT4oz4Kz+XWK1Pqvez+SHu5ykey4i1HfvLQ==","signatures":[{"sig":"MEUCIBbIR7n2uvYoiPAjKczvtBoKAYd34vttkKaRzgr9HAYBAiEA6ppfdXtP8ISgPXwVvNOhzLTrtTh88PJVkulTNNmxqgA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141039},"main":"lib/index.js","alias":"shiro","types":"types/index.d.ts","unpkg":"dist/shiro.min.js","module":"es/index.js","private":false,"scripts":{"tsc":"tsc --noEmit && tsc -b ./tsconfig.types.json","dist":"node --max_old_space_size=8192 build/cli/run.js dist","lint":"eslint -c ./.eslintrc.js './{src}/**/*.{js,ts,jsx,tsx}'","build":"node --max_old_space_size=8192 build/cli/run.js build","codecov":"codecov","compile":"node build/cli/run.js compile","release":"node --max_old_space_size=8192 build/cli/run.js release"},"typings":"types/index.d.ts","_npmUser":{"name":"buession","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","repository":{"url":"https://github.com/buession/buession-shirojs","type":"git"},"description":"A security framework for JavaScript or TypeScript.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{js,ts}":["eslint --fix"],"package.json":"sort-package-json"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","glob":"^11.0.1","gulp":"^4.0.2","majo":"^0.10.1","chalk":"^5.4.1","eslint":"^9.22.0","globby":"^14.1.0","merge2":"^1.4.1","mkdirp":"^3.0.1","rimraf":"^6.0.1","rollup":"^2.79.2","codecov":"^3.8.3","esbuild":"^0.25.1","unified":"9.2.2","colorful":"^2.1.0","fs-extra":"^11.3.0","minimist":"^1.2.8","through2":"^4.0.2","commander":"^11.1.0","fast-glob":"^3.3.3","lodash-es":"^4.17.21","ts-loader":"^9.5.2","@babel/cli":"^7.26.4","gulp-babel":"^8.0.0","is-windows":"^1.0.2","typescript":"^5.8.2","@babel/core":"^7.26.10","@types/node":"^22.13.10","lint-staged":"^15.5.0","babel-eslint":"^10.1.0","babel-loader":"^10.0.0","remark-parse":"^11.0.0","object-assign":"^4.1.1","@babel/runtime":"^7.26.10","esbuild-loader":"^4.3.0","@types/fs-extra":"^9.0.8","gulp-strip-code":"^0.1.4","gulp-typescript":"^6.0.0-alpha.1","@types/lru-cache":"^5.1.0","remark-stringify":"^11.0.0","@babel/preset-env":"^7.26.9","@types/compression":"^1.7.5","remark-frontmatter":"^5.0.0","remark-yaml-config":"^7.0.0","babel-plugin-import":"^1.13.8","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"^2.31.0","@rollup/plugin-eslint":"^9.0.5","@rollup/plugin-terser":"^0.4.4","babel-plugin-istanbul":"^7.0.0","@rollup/plugin-replace":"^6.0.2","@rollup/plugin-commonjs":"^28.0.3","@babel/preset-typescript":"^7.26.0","@rollup/plugin-typescript":"^12.1.2","@typescript-eslint/parser":"^8.27.0","@rollup/plugin-node-resolve":"^16.0.1","@babel/plugin-transform-runtime":"^7.26.10","@typescript-eslint/eslint-plugin":"^8.27.0","@babel/plugin-transform-typescript":"^7.26.8","@babel/plugin-syntax-dynamic-import":"^7.8.3","babel-plugin-inline-import-data-uri":"^1.0.1","@babel/plugin-transform-object-assign":"^7.25.9","babel-plugin-transform-require-context":"^0.1.1","eslint-plugin-no-explicit-type-exports":"^0.12.0","@babel/plugin-transform-class-properties":"^7.25.9","@babel/plugin-transform-optional-chaining":"^7.25.9","@babel/plugin-transform-property-literals":"^7.8.3","@babel/plugin-transform-template-literals":"^7.8.3","@babel/plugin-proposal-export-default-from":"^7.25.9","@babel/plugin-transform-object-rest-spread":"^7.25.9","@babel/plugin-transform-export-namespace-from":"^7.25.9","@babel/plugin-transform-member-expression-literals":"^7.8.3"},"_npmOperationalInternal":{"tmp":"tmp/shiro_2.0.1_1742782381096_0.242588472411553","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@buession/shiro","alias":"shiro","version":"2.0.2","description":"A security framework for JavaScript or TypeScript.","homepage":"https://shirojs.buession.com/","author":{"name":"yong.teng","email":"webmaster@buession.com"},"copyright":"Buession.com Inc.","license":"MIT","repository":{"type":"git","url":"https://github.com/buession/buession-shirojs"},"bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"private":false,"scripts":{"build":"node --max_old_space_size=8192 build/cli/run.js build","compile":"node build/cli/run.js compile","dist":"node --max_old_space_size=8192 build/cli/run.js dist","tsc":"tsc --noEmit && tsc -b ./tsconfig.types.json","lint":"eslint --fix --ext .jsx,.js,.ts,.tsx ./src","codecov":"codecov","release":"node --max_old_space_size=8192 build/cli/run.js release"},"keywords":["buession","shiro","permission","security"],"main":"lib/index.js","module":"es/index.js","types":"types/index.d.ts","typings":"types/index.d.ts","unpkg":"dist/shiro.min.js","devDependencies":{"@babel/cli":"^7.26.4","@babel/core":"^7.26.10","@babel/plugin-proposal-export-default-from":"^7.25.9","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-class-properties":"^7.25.9","@babel/plugin-transform-export-namespace-from":"^7.25.9","@babel/plugin-transform-member-expression-literals":"^7.8.3","@babel/plugin-transform-object-assign":"^7.25.9","@babel/plugin-transform-object-rest-spread":"^7.25.9","@babel/plugin-transform-optional-chaining":"^7.25.9","@babel/plugin-transform-property-literals":"^7.8.3","@babel/plugin-transform-runtime":"^7.26.10","@babel/plugin-transform-template-literals":"^7.8.3","@babel/plugin-transform-typescript":"^7.26.8","@babel/preset-env":"^7.26.9","@babel/preset-typescript":"^7.26.0","@babel/runtime":"^7.26.10","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^28.0.3","@rollup/plugin-eslint":"^9.0.5","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-replace":"^6.0.2","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^12.1.2","@types/compression":"^1.7.5","@types/fs-extra":"^9.0.8","@types/lru-cache":"^5.1.0","@types/node":"^22.13.10","@typescript-eslint/eslint-plugin":"^8.27.0","@typescript-eslint/parser":"^8.27.0","babel-eslint":"^10.1.0","babel-loader":"^10.0.0","babel-plugin-import":"^1.13.8","babel-plugin-inline-import-data-uri":"^1.0.1","babel-plugin-istanbul":"^7.0.0","babel-plugin-transform-require-context":"^0.1.1","chalk":"^5.4.1","codecov":"^3.8.3","colorful":"^2.1.0","commander":"^11.1.0","esbuild":"^0.25.1","esbuild-loader":"^4.3.0","eslint":"^9.22.0","eslint-plugin-import":"^2.31.0","eslint-plugin-no-explicit-type-exports":"^0.12.0","fast-glob":"^3.3.3","fs-extra":"^11.3.0","glob":"^11.0.1","globby":"^14.1.0","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-strip-code":"^0.1.4","gulp-typescript":"^6.0.0-alpha.1","is-windows":"^1.0.2","lint-staged":"^15.5.0","lodash-es":"^4.17.21","majo":"^0.10.1","merge2":"^1.4.1","minimist":"^1.2.8","mkdirp":"^3.0.1","object-assign":"^4.1.1","remark-frontmatter":"^5.0.0","remark-parse":"^11.0.0","remark-stringify":"^11.0.0","remark-yaml-config":"^7.0.0","rimraf":"^6.0.1","rollup":"^2.79.2","through2":"^4.0.2","ts-loader":"^9.5.2","tsx":"^4.19.3","typescript":"^5.8.2","unified":"9.2.2"},"lint-staged":{"*.{js,ts}":["eslint --fix"],"package.json":"sort-package-json"},"licenseText":"MIT License\n\nCopyright (c) 2021 Buession\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@buession/shiro@2.0.2","dist":{"shasum":"bcdb979911208cb0456c58e89ea4e0ee30af617a","integrity":"sha512-HVOyX6nWyr9Ygf2MtuPkCdQyUmdKSlDwhfee68igQ6Cq9vlp6ALGdK8VfCkkC2BzvJFiQQFat7/lQNd2DZJWQA==","tarball":"https://registry.npmjs.org/@buession/shiro/-/shiro-2.0.2.tgz","fileCount":95,"unpackedSize":170752,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICc73HLNqO3ynfC6HB84pfx4KVUC2kMD1h7AtVEtQENrAiEAoQJz42E7Lz7r9Fz91GHSAMrsFTTdJmbtcJ5FZ7Q4onM="}]},"_npmUser":{"name":"buession","email":"webmaster@buession.com"},"directories":{},"maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shiro_2.0.2_1743142886816_0.3867054331235693"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-21T07:35:39.937Z","modified":"2025-03-28T06:21:27.166Z","1.0.3":"2021-12-21T07:35:40.125Z","1.1.0":"2021-12-25T04:21:24.962Z","1.1.1":"2021-12-30T05:31:32.014Z","1.1.2":"2023-02-01T08:09:13.484Z","1.1.3":"2023-02-03T14:48:57.515Z","1.2.0":"2023-08-15T15:27:49.459Z","1.2.1":"2023-08-25T14:41:33.268Z","1.2.2":"2024-01-05T09:22:30.233Z","2.0.0":"2025-03-17T14:02:29.198Z","2.0.1":"2025-03-24T02:13:01.328Z","2.0.2":"2025-03-28T06:21:27.005Z"},"bugs":{"url":"https://github.com/buession/buession-shirojs/issues"},"author":{"name":"yong.teng","email":"webmaster@buession.com"},"license":"MIT","homepage":"https://shirojs.buession.com/","keywords":["buession","shiro","permission","security"],"repository":{"type":"git","url":"https://github.com/buession/buession-shirojs"},"description":"A security framework for JavaScript or TypeScript.","maintainers":[{"name":"buession","email":"webmaster@buession.com"}],"readme":"<h1 align=\"center\">Buession Shiro</h1>\n<div align=\"center\">\n  <p align=\"center\">Typescript 或者 JavaScript 的权限验证库</p>\n  <a href=\"https://codecov.io/github/buession/buession-shirojs?branch=master\">\n    <img src=\"https://img.shields.io/codecov/c/github/buession/buession-shirojs?token=tp73oo63nf\" alt=\"Coverage Status\" />\n  </a>\n  <a href=\"https://github.com/buession/buession-shirojs/actions/workflows/codecov.yml\">\n    <img src=\"https://github.com/buession/buession-shirojs/actions/workflows/codecov.yml/badge.svg\" alt=\"Codecov\" />\n  </a>\n  <a href=\"https://github.com/buession/buession-shirojs/actions/workflows/codeql-analysis.yml\">\n    <img src=\"https://github.com/buession/buession-shirojs/actions/workflows/codeql-analysis.yml/badge.svg\" alt=\"CodeQL\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/bundlephobia/minzip/@buession/shiro/latest\" alt=\"Size\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/npm/v/@buession/shiro\" alt=\"Version\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/github/languages/top/buession/buession-shirojs\" alt=\"Languages\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/npm/l/@buession/shiro\" alt=\"License\" />\n  </a>\n  <a href=\"https://github.com/buession/buession-shirojs/stargazers\">\n    <img src=\"https://img.shields.io/github/stars/buession/buession-shirojs\" alt=\"Star\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/npm/dm/@buession/shiro\" alt=\"Download\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@buession/shiro\">\n    <img src=\"https://img.shields.io/snyk/vulnerabilities/npm/@buession/shiro\" alt=\"Vulnerabilities\" />\n  </a>\n</div>\n\n## 为什么选择 Buession Shiro\n\n在前后端分离项目中（如：Vue、Angular、React等），前端常常涉及到根据权限显示数据、操作等等重复的实现所困惑。每当开启一个新项目时，我们都得手动重复去编写这些代码，而且还难免代码逻辑不一致，质量参差不齐。\n\nBuession ShiroJs 旨在提供便捷的、统一的、可靠的权限前端权限验证功能。在业务开发中省去的那些“脏活累活”，专注于业务核心的开发。\n\nBuession ShiroJs 的核心思想参考 [Apache Shiro](http://shiro.apache.org/) 。\n\n## 安装\n\n您可以通过 [NPM](https://www.npmjs.com/)、[YARN](https://yarnpkg.com/) 或者通过 `<script>` 的方式引入 [unpkg.com](https://unpkg.com/) 上的包。\n\n### NPM\n\n```sh\nnpm install @buession/shiro\n# or\nyarn add @buession/shiro\n```\n\n### CDN\n\n> 对于生产环境，我们推荐链接到一个明确的版本号和构建文件，以避免新版本造成的不可预期的破坏。\n\n```html\n最新版：<script src=\"https://unpkg.com/@buession/shiro/dist/shiro.min.js\" type=\"text/javascript\"></script>\n具体版本：<script src=\"https://unpkg.com/@buession/shiro@版本/dist/shiro.min.js\" type=\"text/javascript\"></script>\n```\n\n## 示例\n\n```vue\n<template>\n  <div>\n    <div v-if=\"shiro.hasRole('admin')\">Admin</div>\n    <div v-if=\"shiro.hasPermission('user:edit')\">Edit</div>\n    <div v-if=\"shiro.hasPermissions(['user:add', 'user:edit'])\">Action</div>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue';\nexport default defineComponent({\n  setup() {\n  }\n});\n</script>\n```\n\n\n```javascript\n<script type=\"text/javascript\">\n  function Principal(){\n    this.id = '1';\n  }\n\n  Principal.prototype.getId = function(){\n    return this.id;\n  }\n\n  Principal.prototype.getRoles = function(){\n    return [\"admin\", \"admin1\"];\n  }\n\n  Principal.prototype.getPermissions = function(){\n    return [\"user:add\", \"user:edit\"];\n  }\n\n  var shiro = new Shiro(new Principal());\n  if (shiro.hasRole(\"admin\")) {\n    \n  }\n</script>\n```\n\n## License\n\n[MIT License](https://github.com/buession/buession-shirojs/blob/master/LICENSE) © 2020-2025","readmeFilename":"README.md"}