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

@tapjs/processinfo

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/processinfo - npm Package Compare versions

Comparing version 2.5.2 to 2.5.3

11

dist/cjs/register-coverage.js

@@ -14,2 +14,11 @@ "use strict";

const line_lengths_js_1 = require("./line-lengths.js");
// this can throw in some cases in node 19
/* c8 ignore start */
const findSourceMapSafe = (s) => {
try {
return (0, module_1.findSourceMap)(s);
}
catch { }
};
/* c8 ignore stop */
exports.SESSION = undefined;

@@ -104,3 +113,3 @@ // NB: coverage exclusion is in addition to processinfo

// attach a tapmock search param, which is in node's internal key.
const s = (0, module_1.findSourceMap)(String(obj.url));
const s = findSourceMapSafe(String(obj.url));
if (!fileCovered(f, s?.payload, processInfo.files)) {

@@ -107,0 +116,0 @@ return false;

@@ -11,2 +11,11 @@ // start tracking coverage, unless disabled explicltly

import { getLineLengths } from './line-lengths.js';
// this can throw in some cases in node 19
/* c8 ignore start */
const findSourceMapSafe = (s) => {
try {
return findSourceMap(s);
}
catch { }
};
/* c8 ignore stop */
export let SESSION = undefined;

@@ -100,3 +109,3 @@ // NB: coverage exclusion is in addition to processinfo

// attach a tapmock search param, which is in node's internal key.
const s = findSourceMap(String(obj.url));
const s = findSourceMapSafe(String(obj.url));
if (!fileCovered(f, s?.payload, processInfo.files)) {

@@ -103,0 +112,0 @@ return false;

2

package.json
{
"name": "@tapjs/processinfo",
"version": "2.5.2",
"version": "2.5.3",
"main": "./dist/cjs/index.js",

@@ -5,0 +5,0 @@ "types": "./dist/cjs/index.d.ts",

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

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