@phenomnomnominal/debug
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -106,3 +106,7 @@ "use strict"; | ||
var functions = {}; | ||
Object.getOwnPropertyNames(map) | ||
// Get all property descriptors: | ||
var descriptors = Object.getOwnPropertyDescriptors(map); | ||
// Filter out getters and setters: | ||
var functionNames = Object.keys(descriptors).filter(function (d) { return descriptors[d].value; }); | ||
functionNames | ||
.filter(function (functionName) { return isFunction(map[functionName]) && !util_1.types.isProxy(map[functionName]); }) | ||
@@ -109,0 +113,0 @@ .forEach(function (functionName) { |
{ | ||
"name": "@phenomnomnominal/debug", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Very lazy tool for adding debug logging", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
22794
273