@tapjs/stack
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Compiled } from './parse.js'; | ||
@@ -3,0 +2,0 @@ export interface CallSiteLikeJSON { |
@@ -1,6 +0,1 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { CallSiteLike } from './call-site-like.js'; | ||
@@ -7,0 +2,0 @@ export { CallSiteLike, CallSiteLikeJSON } from './call-site-like.js'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.expandStack = exports.parseStack = exports.captureErrorString = exports.captureError = exports.captureString = exports.at = exports.capture = exports.getFilterIgnoredPackages = exports.setFilterIgnoredPackages = exports.getIgnoredPackagesRE = exports.getIgnoredPackages = exports.removeIgnoredPackage = exports.addIgnoredPackage = exports.setFilterNodeInternals = exports.getFilterNodeInternals = exports.getCwd = exports.setCwd = exports.CallSiteLike = void 0; | ||
exports.expandStack = exports.parseStack = exports.captureErrorString = exports.captureError = exports.at = exports.getFilterIgnoredPackages = exports.setFilterIgnoredPackages = exports.getIgnoredPackagesRE = exports.getIgnoredPackages = exports.removeIgnoredPackage = exports.addIgnoredPackage = exports.setFilterNodeInternals = exports.getFilterNodeInternals = exports.getCwd = exports.setCwd = exports.CallSiteLike = void 0; | ||
exports.capture = capture; | ||
exports.captureString = captureString; | ||
const node_module_1 = require("node:module"); | ||
@@ -204,3 +206,2 @@ const node_path_1 = require("node:path"); | ||
} | ||
exports.capture = capture; | ||
/** | ||
@@ -228,3 +229,2 @@ * Get the call site in the stack either where `at()` is called, or | ||
} | ||
exports.captureString = captureString; | ||
/** | ||
@@ -231,0 +231,0 @@ * Get an array of {@link CallSiteLike} objects corresponding to the stack |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Compiled } from './parse.js'; | ||
@@ -3,0 +2,0 @@ export interface CallSiteLikeJSON { |
@@ -1,6 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { CallSiteLike } from './call-site-like.js'; | ||
@@ -7,0 +2,0 @@ export { CallSiteLike, CallSiteLikeJSON } from './call-site-like.js'; |
{ | ||
"name": "@tapjs/stack", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "Utility for working with stack traces", | ||
@@ -19,2 +19,3 @@ "tshy": { | ||
"import": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
@@ -24,2 +25,3 @@ "default": "./dist/esm/index.js" | ||
"require": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/commonjs/index.d.ts", | ||
@@ -48,5 +50,2 @@ "default": "./dist/commonjs/index.js" | ||
}, | ||
"engines": { | ||
"node": "16 >=16.17.0 || 18 >= 18.6.0 || >=20" | ||
}, | ||
"funding": { | ||
@@ -58,3 +57,6 @@ "url": "https://github.com/sponsors/isaacs" | ||
"url": "git+https://github.com/tapjs/tapjs.git" | ||
}, | ||
"engines": { | ||
"node": ">= 18.6.0" | ||
} | ||
} |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229711
2202