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

custom-ability

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-ability - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

8

lib/custom-ability.js
(function() {
'use strict';
var defineProperty, extend, extendFilter, injectMethods, isArray, isFunction,
var defineProperty, extend, extendFilter, injectMethods, isArray, isBoolean, isFunction,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

@@ -10,2 +10,4 @@

isBoolean = require('util-ex/lib/is/type/boolean');
extend = require('util-ex/lib/_extend');

@@ -21,2 +23,6 @@

var abilityFn;
if (isBoolean(aCoreMethod)) {
isGetClassFunc = aCoreMethod;
aCoreMethod = void 0;
}
abilityFn = function(aClass, aOptions) {

@@ -23,0 +29,0 @@ var AbilityClass, filter, filterMethods, vAbility, vExcludes, vIncludes, vName;

2

package.json
{
"name": "custom-ability",
"version": "1.2.0",
"version": "1.2.1",
"description": "make custom ability more easy. generate the ability which can be added to any class directly.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/snowyu/custom-ability.js",

Sorry, the diff of this file is not supported yet

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