Socket
Socket
Sign inDemoInstall

grim

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grim - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

11

lib/deprecation.js
(function() {
var Deprecation, SourceMapCache, convertLine;
var Deprecation, SourceMapCache;
convertLine = require('coffeestack').convertLine;
SourceMapCache = {};

@@ -51,3 +49,3 @@

Deprecation.prototype.getLocationFromCallsite = function(callsite) {
var column, converted, fileName, line;
var column, fileName, line;
if (callsite.location != null) {

@@ -64,7 +62,2 @@ return callsite.location;

column = callsite.getColumnNumber();
if (/\.coffee$/.test(fileName)) {
if (converted = convertLine(fileName, line, column, SourceMapCache)) {
line = converted.line, column = converted.column;
}
}
return "" + fileName + ":" + line + ":" + column;

@@ -71,0 +64,0 @@ }

3

package.json
{
"name": "grim",
"version": "1.4.1",
"version": "1.4.2",
"description": "Log usage of deprecated methods",

@@ -24,3 +24,2 @@ "main": "./lib/grim",

"dependencies": {
"coffeestack": "^1",
"emissary": "^1.2.0"

@@ -27,0 +26,0 @@ },

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