grim
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -50,2 +50,5 @@ (function() { | ||
var column, fileName, line; | ||
if (callsite == null) { | ||
return "unknown"; | ||
} | ||
if (callsite.location != null) { | ||
@@ -52,0 +55,0 @@ return callsite.location; |
@@ -72,3 +72,3 @@ (function() { | ||
deprecation.addStack(stack, metadata); | ||
this.emitter.emit("updated", deprecation); | ||
grim.emitter.emit("updated", deprecation); | ||
}, | ||
@@ -96,6 +96,6 @@ addSerializedDeprecation: function(serializedDeprecation) { | ||
} | ||
this.emitter.emit("updated", deprecation); | ||
grim.emitter.emit("updated", deprecation); | ||
}, | ||
on: function(eventName, callback) { | ||
return this.emitter.on(eventName, callback); | ||
return grim.emitter.on(eventName, callback); | ||
} | ||
@@ -102,0 +102,0 @@ }; |
{ | ||
"name": "grim", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Log usage of deprecated methods", | ||
@@ -5,0 +5,0 @@ "main": "./lib/grim", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12865
246
0