Comparing version 0.4.0 to 0.4.1
@@ -0,1 +1,6 @@ | ||
0.4.1 / 2014-07-19 | ||
================== | ||
* Improve automatic message generation for function properties | ||
0.4.0 / 2014-07-19 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -278,2 +278,3 @@ /*! | ||
var funcName = site.name | ||
var typeName = callSite.getTypeName() | ||
@@ -285,4 +286,9 @@ // make useful anonymous name | ||
// make useful type name | ||
if (typeName === 'Function') { | ||
typeName = callSite.getThis().name || typeName | ||
} | ||
return callSite.getMethodName() | ||
? callSite.getTypeName() + '.' + funcName | ||
? typeName + '.' + funcName | ||
: funcName | ||
@@ -289,0 +295,0 @@ } |
{ | ||
"name": "depd", | ||
"description": "Deprecate all the things", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
22780
390