Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

traceloc

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

traceloc - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

8

out/traceloc.d.ts

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

import { ITraceLoc } from "./itraceloc";
export interface ITraceLoc {
readonly func: string;
readonly file: string;
readonly line: number;
readonly col: number;
toString(): string;
}
export declare function here(callDepth?: number): ITraceLoc;

@@ -3,0 +9,0 @@ export declare class TraceLoc implements ITraceLoc {

2

out/traceloc.spec.js
"use strict";
// import * as debugModule from "debug";
// const log = debugModule("traceloc");
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -5,0 +3,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

{
"name": "traceloc",
"version": "0.1.0",
"version": "0.2.0",
"description": "Trace the current location, i.e. filename, line, col ...",

@@ -11,7 +11,5 @@ "main": "./out/traceloc.js",

"dependencies": {
"debug": "^2.6.6",
"source-map-support": "^0.4.15"
},
"devDependencies": {
"@types/debug": "^0.0.29",
"@types/node": "^7.0.14",

@@ -18,0 +16,0 @@ "@types/source-map-support": "^0.2.28",

@@ -1,4 +0,1 @@

// import * as debugModule from "debug";
// const log = debugModule("traceloc");
import {

@@ -10,6 +7,4 @@ Expect,

import { here, TraceLoc } from "../out/traceloc";
import { here, ITraceLoc, TraceLoc } from "../out/traceloc";
import { ITraceLoc } from "../out/itraceloc";
export class TracingTests {

@@ -16,0 +11,0 @@

@@ -5,4 +5,12 @@ import { install } from "source-map-support";

import * as path from "path";
import { ITraceLoc } from "./itraceloc";
export interface ITraceLoc {
readonly func: string;
readonly file: string;
readonly line: number;
readonly col: number;
toString(): string;
}
export function here(callDepth = 0): ITraceLoc {

@@ -9,0 +17,0 @@ return new TraceLoc(callDepth + 1);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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