masked-permissions
Advanced tools
Comparing version 0.1.1 to 0.1.2
// Generated by CoffeeScript 1.10.0 | ||
(function() { | ||
module.exports = { | ||
var mp; | ||
module.exports = mp = { | ||
hasPermission: function(permission, permissionList) { | ||
@@ -8,3 +10,3 @@ var i, len, p, regex; | ||
p = permissionList[i]; | ||
regex = this.regexForPermission(p); | ||
regex = mp.regexForPermission(p); | ||
if (regex.test(permission)) { | ||
@@ -11,0 +13,0 @@ return true; |
{ | ||
"name": "masked-permissions", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Simple module to parse and lookup permission masks.", | ||
@@ -14,6 +14,6 @@ "main": "./lib", | ||
"chai": "^3.3.0", | ||
"coffee-script": "^1.10.0", | ||
"mocha": "^2.3.3" | ||
}, | ||
"dependencies": { | ||
"coffee-script": "^1.10.0" | ||
}, | ||
@@ -20,0 +20,0 @@ "bugs": "https://github.com/FastrBooks/masked-permissions/issues", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
24
0
3571
3
6
- Removedcoffee-script@^1.10.0
- Removedcoffee-script@1.12.7(transitive)