Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

masked-permissions

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

masked-permissions - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/index.js
// 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc