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

@dxos/debug

Package Overview
Dependencies
Maintainers
0
Versions
3104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/debug - npm Package Compare versions

Comparing version 0.6.13 to 0.6.14-main.1366248

dist/lib/node-esm/index.mjs

2

dist/lib/browser/meta.json

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

{"inputs":{"packages/common/debug/src/assert.ts":{"bytes":1334,"imports":[],"format":"esm"},"packages/common/debug/src/error-handler.ts":{"bytes":3608,"imports":[{"path":"@dxos/node-std/events","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/error-stream.ts":{"bytes":3457,"imports":[],"format":"esm"},"packages/common/debug/src/fail.ts":{"bytes":1405,"imports":[],"format":"esm"},"packages/common/debug/src/inspect.ts":{"bytes":2029,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/log-method.ts":{"bytes":3084,"imports":[],"format":"esm"},"packages/common/debug/src/raise.ts":{"bytes":1245,"imports":[],"format":"esm"},"packages/common/debug/src/snoop.ts":{"bytes":7985,"imports":[],"format":"esm"},"packages/common/debug/src/stack-trace.ts":{"bytes":3190,"imports":[],"format":"esm"},"packages/common/debug/src/strings.ts":{"bytes":2538,"imports":[],"format":"esm"},"packages/common/debug/src/throw.ts":{"bytes":1949,"imports":[],"format":"esm"},"packages/common/debug/src/timeout-warning.ts":{"bytes":5199,"imports":[{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"}],"format":"esm"},"packages/common/debug/src/todo.ts":{"bytes":956,"imports":[],"format":"esm"},"packages/common/debug/src/devtools-formatter.ts":{"bytes":6253,"imports":[],"format":"esm"},"packages/common/debug/src/equality.ts":{"bytes":2776,"imports":[],"format":"esm"},"packages/common/debug/src/exposed-modules.ts":{"bytes":3029,"imports":[],"format":"esm"},"packages/common/debug/src/index.ts":{"bytes":1890,"imports":[{"path":"packages/common/debug/src/assert.ts","kind":"import-statement","original":"./assert"},{"path":"packages/common/debug/src/error-handler.ts","kind":"import-statement","original":"./error-handler"},{"path":"packages/common/debug/src/error-stream.ts","kind":"import-statement","original":"./error-stream"},{"path":"packages/common/debug/src/fail.ts","kind":"import-statement","original":"./fail"},{"path":"packages/common/debug/src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"packages/common/debug/src/log-method.ts","kind":"import-statement","original":"./log-method"},{"path":"packages/common/debug/src/raise.ts","kind":"import-statement","original":"./raise"},{"path":"packages/common/debug/src/snoop.ts","kind":"import-statement","original":"./snoop"},{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"},{"path":"packages/common/debug/src/strings.ts","kind":"import-statement","original":"./strings"},{"path":"packages/common/debug/src/throw.ts","kind":"import-statement","original":"./throw"},{"path":"packages/common/debug/src/timeout-warning.ts","kind":"import-statement","original":"./timeout-warning"},{"path":"packages/common/debug/src/todo.ts","kind":"import-statement","original":"./todo"},{"path":"packages/common/debug/src/devtools-formatter.ts","kind":"import-statement","original":"./devtools-formatter"},{"path":"packages/common/debug/src/equality.ts","kind":"import-statement","original":"./equality"},{"path":"packages/common/debug/src/exposed-modules.ts","kind":"import-statement","original":"./exposed-modules"}],"format":"esm"}},"outputs":{"packages/common/debug/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23136},"packages/common/debug/dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/node-std/events","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"exports":["ErrorHandler","ErrorStream","Snoop","SnoopLevel","StackTrace","checkType","devtoolsFormatter","equalsSymbol","expectToThrow","exposeModule","failUndefined","importModule","inspectObject","isEqual","isEquatable","loadashEqualityFn","logMethod","raise","snoop","timed","todo","truncate","truncateKey","warnAfterTimeout"],"entryPoint":"packages/common/debug/src/index.ts","inputs":{"packages/common/debug/src/assert.ts":{"bytesInOutput":34},"packages/common/debug/src/index.ts":{"bytesInOutput":0},"packages/common/debug/src/error-handler.ts":{"bytesInOutput":610},"packages/common/debug/src/error-stream.ts":{"bytesInOutput":655},"packages/common/debug/src/fail.ts":{"bytesInOutput":91},"packages/common/debug/src/inspect.ts":{"bytesInOutput":214},"packages/common/debug/src/log-method.ts":{"bytesInOutput":597},"packages/common/debug/src/raise.ts":{"bytesInOutput":43},"packages/common/debug/src/snoop.ts":{"bytesInOutput":1784},"packages/common/debug/src/stack-trace.ts":{"bytesInOutput":534},"packages/common/debug/src/strings.ts":{"bytesInOutput":396},"packages/common/debug/src/throw.ts":{"bytesInOutput":290},"packages/common/debug/src/timeout-warning.ts":{"bytesInOutput":664},"packages/common/debug/src/todo.ts":{"bytesInOutput":79},"packages/common/debug/src/devtools-formatter.ts":{"bytesInOutput":1035},"packages/common/debug/src/equality.ts":{"bytesInOutput":391},"packages/common/debug/src/exposed-modules.ts":{"bytesInOutput":271}},"bytes":8765}}}
{"inputs":{"packages/common/debug/src/assert.ts":{"bytes":1334,"imports":[],"format":"esm"},"packages/common/debug/src/error-handler.ts":{"bytes":3608,"imports":[{"path":"@dxos/node-std/events","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/error-stream.ts":{"bytes":3457,"imports":[],"format":"esm"},"packages/common/debug/src/fail.ts":{"bytes":1405,"imports":[],"format":"esm"},"packages/common/debug/src/inspect.ts":{"bytes":2029,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/log-method.ts":{"bytes":3084,"imports":[],"format":"esm"},"packages/common/debug/src/raise.ts":{"bytes":1245,"imports":[],"format":"esm"},"packages/common/debug/src/snoop.ts":{"bytes":7985,"imports":[],"format":"esm"},"packages/common/debug/src/stack-trace.ts":{"bytes":3058,"imports":[],"format":"esm"},"packages/common/debug/src/strings.ts":{"bytes":2538,"imports":[],"format":"esm"},"packages/common/debug/src/throw.ts":{"bytes":2132,"imports":[],"format":"esm"},"packages/common/debug/src/timeout-warning.ts":{"bytes":5199,"imports":[{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"}],"format":"esm"},"packages/common/debug/src/todo.ts":{"bytes":956,"imports":[],"format":"esm"},"packages/common/debug/src/devtools-formatter.ts":{"bytes":6253,"imports":[],"format":"esm"},"packages/common/debug/src/equality.ts":{"bytes":2776,"imports":[],"format":"esm"},"packages/common/debug/src/exposed-modules.ts":{"bytes":3029,"imports":[],"format":"esm"},"packages/common/debug/src/inspect-custom.ts":{"bytes":1110,"imports":[],"format":"esm"},"packages/common/debug/src/index.ts":{"bytes":1996,"imports":[{"path":"packages/common/debug/src/assert.ts","kind":"import-statement","original":"./assert"},{"path":"packages/common/debug/src/error-handler.ts","kind":"import-statement","original":"./error-handler"},{"path":"packages/common/debug/src/error-stream.ts","kind":"import-statement","original":"./error-stream"},{"path":"packages/common/debug/src/fail.ts","kind":"import-statement","original":"./fail"},{"path":"packages/common/debug/src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"packages/common/debug/src/log-method.ts","kind":"import-statement","original":"./log-method"},{"path":"packages/common/debug/src/raise.ts","kind":"import-statement","original":"./raise"},{"path":"packages/common/debug/src/snoop.ts","kind":"import-statement","original":"./snoop"},{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"},{"path":"packages/common/debug/src/strings.ts","kind":"import-statement","original":"./strings"},{"path":"packages/common/debug/src/throw.ts","kind":"import-statement","original":"./throw"},{"path":"packages/common/debug/src/timeout-warning.ts","kind":"import-statement","original":"./timeout-warning"},{"path":"packages/common/debug/src/todo.ts","kind":"import-statement","original":"./todo"},{"path":"packages/common/debug/src/devtools-formatter.ts","kind":"import-statement","original":"./devtools-formatter"},{"path":"packages/common/debug/src/equality.ts","kind":"import-statement","original":"./equality"},{"path":"packages/common/debug/src/exposed-modules.ts","kind":"import-statement","original":"./exposed-modules"},{"path":"packages/common/debug/src/inspect-custom.ts","kind":"import-statement","original":"./inspect-custom"}],"format":"esm"}},"outputs":{"packages/common/debug/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23553},"packages/common/debug/dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/node-std/events","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"exports":["ErrorHandler","ErrorStream","Snoop","SnoopLevel","StackTrace","checkType","devtoolsFormatter","equalsSymbol","expectToThrow","exposeModule","failUndefined","importModule","inspectCustom","inspectObject","isEqual","isEquatable","loadashEqualityFn","logMethod","raise","snoop","timed","todo","truncate","truncateKey","warnAfterTimeout"],"entryPoint":"packages/common/debug/src/index.ts","inputs":{"packages/common/debug/src/assert.ts":{"bytesInOutput":34},"packages/common/debug/src/index.ts":{"bytesInOutput":0},"packages/common/debug/src/error-handler.ts":{"bytesInOutput":610},"packages/common/debug/src/error-stream.ts":{"bytesInOutput":655},"packages/common/debug/src/fail.ts":{"bytesInOutput":91},"packages/common/debug/src/inspect.ts":{"bytesInOutput":214},"packages/common/debug/src/log-method.ts":{"bytesInOutput":597},"packages/common/debug/src/raise.ts":{"bytesInOutput":43},"packages/common/debug/src/snoop.ts":{"bytesInOutput":1784},"packages/common/debug/src/stack-trace.ts":{"bytesInOutput":531},"packages/common/debug/src/strings.ts":{"bytesInOutput":396},"packages/common/debug/src/throw.ts":{"bytesInOutput":290},"packages/common/debug/src/timeout-warning.ts":{"bytesInOutput":664},"packages/common/debug/src/todo.ts":{"bytesInOutput":79},"packages/common/debug/src/devtools-formatter.ts":{"bytesInOutput":1035},"packages/common/debug/src/equality.ts":{"bytesInOutput":391},"packages/common/debug/src/exposed-modules.ts":{"bytesInOutput":271},"packages/common/debug/src/inspect-custom.ts":{"bytesInOutput":62}},"bytes":8889}}}

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

{"inputs":{"packages/common/debug/src/assert.ts":{"bytes":1334,"imports":[],"format":"esm"},"packages/common/debug/src/error-handler.ts":{"bytes":3608,"imports":[{"path":"node:events","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/error-stream.ts":{"bytes":3457,"imports":[],"format":"esm"},"packages/common/debug/src/fail.ts":{"bytes":1405,"imports":[],"format":"esm"},"packages/common/debug/src/inspect.ts":{"bytes":2029,"imports":[{"path":"node:util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/log-method.ts":{"bytes":3084,"imports":[],"format":"esm"},"packages/common/debug/src/raise.ts":{"bytes":1245,"imports":[],"format":"esm"},"packages/common/debug/src/snoop.ts":{"bytes":7985,"imports":[],"format":"esm"},"packages/common/debug/src/stack-trace.ts":{"bytes":3190,"imports":[],"format":"esm"},"packages/common/debug/src/strings.ts":{"bytes":2538,"imports":[],"format":"esm"},"packages/common/debug/src/throw.ts":{"bytes":1949,"imports":[],"format":"esm"},"packages/common/debug/src/timeout-warning.ts":{"bytes":5199,"imports":[{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"}],"format":"esm"},"packages/common/debug/src/todo.ts":{"bytes":956,"imports":[],"format":"esm"},"packages/common/debug/src/devtools-formatter.ts":{"bytes":6253,"imports":[],"format":"esm"},"packages/common/debug/src/equality.ts":{"bytes":2776,"imports":[],"format":"esm"},"packages/common/debug/src/exposed-modules.ts":{"bytes":3029,"imports":[],"format":"esm"},"packages/common/debug/src/index.ts":{"bytes":1890,"imports":[{"path":"packages/common/debug/src/assert.ts","kind":"import-statement","original":"./assert"},{"path":"packages/common/debug/src/error-handler.ts","kind":"import-statement","original":"./error-handler"},{"path":"packages/common/debug/src/error-stream.ts","kind":"import-statement","original":"./error-stream"},{"path":"packages/common/debug/src/fail.ts","kind":"import-statement","original":"./fail"},{"path":"packages/common/debug/src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"packages/common/debug/src/log-method.ts","kind":"import-statement","original":"./log-method"},{"path":"packages/common/debug/src/raise.ts","kind":"import-statement","original":"./raise"},{"path":"packages/common/debug/src/snoop.ts","kind":"import-statement","original":"./snoop"},{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"},{"path":"packages/common/debug/src/strings.ts","kind":"import-statement","original":"./strings"},{"path":"packages/common/debug/src/throw.ts","kind":"import-statement","original":"./throw"},{"path":"packages/common/debug/src/timeout-warning.ts","kind":"import-statement","original":"./timeout-warning"},{"path":"packages/common/debug/src/todo.ts","kind":"import-statement","original":"./todo"},{"path":"packages/common/debug/src/devtools-formatter.ts","kind":"import-statement","original":"./devtools-formatter"},{"path":"packages/common/debug/src/equality.ts","kind":"import-statement","original":"./equality"},{"path":"packages/common/debug/src/exposed-modules.ts","kind":"import-statement","original":"./exposed-modules"}],"format":"esm"}},"outputs":{"packages/common/debug/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23136},"packages/common/debug/dist/lib/node/index.cjs":{"imports":[{"path":"node:events","kind":"import-statement","external":true},{"path":"node:util","kind":"import-statement","external":true}],"exports":["ErrorHandler","ErrorStream","Snoop","SnoopLevel","StackTrace","checkType","devtoolsFormatter","equalsSymbol","expectToThrow","exposeModule","failUndefined","importModule","inspectObject","isEqual","isEquatable","loadashEqualityFn","logMethod","raise","snoop","timed","todo","truncate","truncateKey","warnAfterTimeout"],"entryPoint":"packages/common/debug/src/index.ts","inputs":{"packages/common/debug/src/assert.ts":{"bytesInOutput":34},"packages/common/debug/src/index.ts":{"bytesInOutput":0},"packages/common/debug/src/error-handler.ts":{"bytesInOutput":600},"packages/common/debug/src/error-stream.ts":{"bytesInOutput":655},"packages/common/debug/src/fail.ts":{"bytesInOutput":91},"packages/common/debug/src/inspect.ts":{"bytesInOutput":204},"packages/common/debug/src/log-method.ts":{"bytesInOutput":597},"packages/common/debug/src/raise.ts":{"bytesInOutput":43},"packages/common/debug/src/snoop.ts":{"bytesInOutput":1784},"packages/common/debug/src/stack-trace.ts":{"bytesInOutput":534},"packages/common/debug/src/strings.ts":{"bytesInOutput":396},"packages/common/debug/src/throw.ts":{"bytesInOutput":290},"packages/common/debug/src/timeout-warning.ts":{"bytesInOutput":664},"packages/common/debug/src/todo.ts":{"bytesInOutput":79},"packages/common/debug/src/devtools-formatter.ts":{"bytesInOutput":1035},"packages/common/debug/src/equality.ts":{"bytesInOutput":391},"packages/common/debug/src/exposed-modules.ts":{"bytesInOutput":271}},"bytes":8745}}}
{"inputs":{"packages/common/debug/src/assert.ts":{"bytes":1334,"imports":[],"format":"esm"},"packages/common/debug/src/error-handler.ts":{"bytes":3608,"imports":[{"path":"node:events","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/error-stream.ts":{"bytes":3457,"imports":[],"format":"esm"},"packages/common/debug/src/fail.ts":{"bytes":1405,"imports":[],"format":"esm"},"packages/common/debug/src/inspect.ts":{"bytes":2029,"imports":[{"path":"node:util","kind":"import-statement","external":true}],"format":"esm"},"packages/common/debug/src/log-method.ts":{"bytes":3084,"imports":[],"format":"esm"},"packages/common/debug/src/raise.ts":{"bytes":1245,"imports":[],"format":"esm"},"packages/common/debug/src/snoop.ts":{"bytes":7985,"imports":[],"format":"esm"},"packages/common/debug/src/stack-trace.ts":{"bytes":3058,"imports":[],"format":"esm"},"packages/common/debug/src/strings.ts":{"bytes":2538,"imports":[],"format":"esm"},"packages/common/debug/src/throw.ts":{"bytes":2132,"imports":[],"format":"esm"},"packages/common/debug/src/timeout-warning.ts":{"bytes":5199,"imports":[{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"}],"format":"esm"},"packages/common/debug/src/todo.ts":{"bytes":956,"imports":[],"format":"esm"},"packages/common/debug/src/devtools-formatter.ts":{"bytes":6253,"imports":[],"format":"esm"},"packages/common/debug/src/equality.ts":{"bytes":2776,"imports":[],"format":"esm"},"packages/common/debug/src/exposed-modules.ts":{"bytes":3029,"imports":[],"format":"esm"},"packages/common/debug/src/inspect-custom.ts":{"bytes":1110,"imports":[],"format":"esm"},"packages/common/debug/src/index.ts":{"bytes":1996,"imports":[{"path":"packages/common/debug/src/assert.ts","kind":"import-statement","original":"./assert"},{"path":"packages/common/debug/src/error-handler.ts","kind":"import-statement","original":"./error-handler"},{"path":"packages/common/debug/src/error-stream.ts","kind":"import-statement","original":"./error-stream"},{"path":"packages/common/debug/src/fail.ts","kind":"import-statement","original":"./fail"},{"path":"packages/common/debug/src/inspect.ts","kind":"import-statement","original":"./inspect"},{"path":"packages/common/debug/src/log-method.ts","kind":"import-statement","original":"./log-method"},{"path":"packages/common/debug/src/raise.ts","kind":"import-statement","original":"./raise"},{"path":"packages/common/debug/src/snoop.ts","kind":"import-statement","original":"./snoop"},{"path":"packages/common/debug/src/stack-trace.ts","kind":"import-statement","original":"./stack-trace"},{"path":"packages/common/debug/src/strings.ts","kind":"import-statement","original":"./strings"},{"path":"packages/common/debug/src/throw.ts","kind":"import-statement","original":"./throw"},{"path":"packages/common/debug/src/timeout-warning.ts","kind":"import-statement","original":"./timeout-warning"},{"path":"packages/common/debug/src/todo.ts","kind":"import-statement","original":"./todo"},{"path":"packages/common/debug/src/devtools-formatter.ts","kind":"import-statement","original":"./devtools-formatter"},{"path":"packages/common/debug/src/equality.ts","kind":"import-statement","original":"./equality"},{"path":"packages/common/debug/src/exposed-modules.ts","kind":"import-statement","original":"./exposed-modules"},{"path":"packages/common/debug/src/inspect-custom.ts","kind":"import-statement","original":"./inspect-custom"}],"format":"esm"}},"outputs":{"packages/common/debug/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23553},"packages/common/debug/dist/lib/node/index.cjs":{"imports":[{"path":"node:events","kind":"import-statement","external":true},{"path":"node:util","kind":"import-statement","external":true}],"exports":["ErrorHandler","ErrorStream","Snoop","SnoopLevel","StackTrace","checkType","devtoolsFormatter","equalsSymbol","expectToThrow","exposeModule","failUndefined","importModule","inspectCustom","inspectObject","isEqual","isEquatable","loadashEqualityFn","logMethod","raise","snoop","timed","todo","truncate","truncateKey","warnAfterTimeout"],"entryPoint":"packages/common/debug/src/index.ts","inputs":{"packages/common/debug/src/assert.ts":{"bytesInOutput":34},"packages/common/debug/src/index.ts":{"bytesInOutput":0},"packages/common/debug/src/error-handler.ts":{"bytesInOutput":600},"packages/common/debug/src/error-stream.ts":{"bytesInOutput":655},"packages/common/debug/src/fail.ts":{"bytesInOutput":91},"packages/common/debug/src/inspect.ts":{"bytesInOutput":204},"packages/common/debug/src/log-method.ts":{"bytesInOutput":597},"packages/common/debug/src/raise.ts":{"bytesInOutput":43},"packages/common/debug/src/snoop.ts":{"bytesInOutput":1784},"packages/common/debug/src/stack-trace.ts":{"bytesInOutput":531},"packages/common/debug/src/strings.ts":{"bytesInOutput":396},"packages/common/debug/src/throw.ts":{"bytesInOutput":290},"packages/common/debug/src/timeout-warning.ts":{"bytesInOutput":664},"packages/common/debug/src/todo.ts":{"bytesInOutput":79},"packages/common/debug/src/devtools-formatter.ts":{"bytesInOutput":1035},"packages/common/debug/src/equality.ts":{"bytesInOutput":391},"packages/common/debug/src/exposed-modules.ts":{"bytesInOutput":271},"packages/common/debug/src/inspect-custom.ts":{"bytesInOutput":62}},"bytes":8869}}}

@@ -17,2 +17,3 @@ export * from './assert';

export * from './exposed-modules';
export * from './inspect-custom';
//# sourceMappingURL=index.d.ts.map
/**
* Allows to capture stack-traces.
*
* Will capture the stack trace at the point where the class is created.
* Stack traces are formatted lazily only when `getStack` is called.
*
* Formatting is significantly more expensive than capture so only call
* getStack when you need them.
* Formatting is significantly more expensive than capture so only call getStack when you need them.
*/

@@ -15,4 +11,3 @@ export declare class StackTrace {

* Get stack formatted as string.
*
* @param skipFrames Number of frames to skip. By default the first frame would be the invocation of the StackTrace constructor.
* @param skipFrames Number of frames to skip. By default, the first frame would be the invocation of the StackTrace constructor.
* @returns

@@ -19,0 +14,0 @@ */

@@ -6,4 +6,6 @@ /**

* @return {Promise<void>}
*
* @deprecated Use vitests `expect(() => ...).toThrowError();` instead.
*/
export declare const expectToThrow: (test: () => void, errType?: ErrorConstructor) => Promise<void>;
//# sourceMappingURL=throw.d.ts.map
{
"name": "@dxos/debug",
"version": "0.6.13",
"version": "0.6.14-main.1366248",
"description": "Debug utilities",

@@ -9,2 +9,3 @@ "homepage": "https://dxos.org",

"author": "DXOS.org",
"sideEffects": true,
"exports": {

@@ -14,3 +15,4 @@ ".": {

"node": {
"default": "./dist/lib/node/index.cjs"
"require": "./dist/lib/node/index.cjs",
"default": "./dist/lib/node-esm/index.mjs"
},

@@ -29,4 +31,5 @@ "types": "./dist/types/src/index.d.ts"

"dependencies": {
"@dxos/node-std": "0.6.13"
"@dxos/node-std": "0.6.14-main.1366248"
},
"devDependencies": {},
"publishConfig": {

@@ -33,0 +36,0 @@ "access": "public"

@@ -21,1 +21,2 @@ //

export * from './exposed-modules';
export * from './inspect-custom';

@@ -6,9 +6,5 @@ //

/**
* Allows to capture stack-traces.
*
* Will capture the stack trace at the point where the class is created.
* Stack traces are formatted lazily only when `getStack` is called.
*
* Formatting is significantly more expensive than capture so only call
* getStack when you need them.
* Formatting is significantly more expensive than capture so only call getStack when you need them.
*/

@@ -24,4 +20,3 @@ export class StackTrace {

* Get stack formatted as string.
*
* @param skipFrames Number of frames to skip. By default the first frame would be the invocation of the StackTrace constructor.
* @param skipFrames Number of frames to skip. By default, the first frame would be the invocation of the StackTrace constructor.
* @returns

@@ -28,0 +23,0 @@ */

@@ -5,3 +5,3 @@ //

import { test } from '@dxos/test';
import { test } from 'vitest';

@@ -8,0 +8,0 @@ import { expectToThrow } from './throw';

@@ -10,2 +10,4 @@ //

* @return {Promise<void>}
*
* @deprecated Use vitests `expect(() => ...).toThrowError();` instead.
*/

@@ -12,0 +14,0 @@ export const expectToThrow = async (test: () => void, errType = Error) => {

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

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