Socket
Socket
Sign inDemoInstall

@hapi/pinpoint

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/pinpoint - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/index.js

@@ -6,3 +6,3 @@ 'use strict';

exports.location = function (depth = 1) {
exports.location = function (depth = 0) {

@@ -14,3 +14,3 @@ const orig = Error.prepareStackTrace;

Error.captureStackTrace(capture, this);
const line = capture.stack[depth];
const line = capture.stack[depth + 1];

@@ -17,0 +17,0 @@ Error.prepareStackTrace = orig;

{
"name": "@hapi/pinpoint",
"description": "Return the filename and line number of the calling function",
"version": "1.0.0",
"version": "1.0.1",
"repository": "git://github.com/hapijs/pinpoint",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -0,2 +1,8 @@

<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>
# pinpoint
Return the filename and line number of the calling function
[![Build Status](https://secure.travis-ci.org/hapijs/pinpoint.png?branch=master)](http://travis-ci.org/hapijs/pinpoint)
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