Socket
Socket
Sign inDemoInstall

@starbeam/debug

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@starbeam/debug - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

6

CHANGELOG.md
# @starbeam/debug
## 0.8.2
### Patch Changes
- dd8ff3f: Remove chalk from @starbeam/debug
## 0.8.1

@@ -4,0 +10,0 @@

5

dist/index.js

@@ -5,3 +5,3 @@ import { isPresentString, getFirst, getLastIndex } from '@starbeam/core-utils';

import StackTracey from 'stacktracey';
import chalk from 'chalk';
import { createRequire } from 'module';

@@ -329,2 +329,5 @@ if (globalThis.Buffer === undefined && typeof require === "function") {

const require$1 = createRequire(import.meta.url);
const chalk = require$1("chalk");
/**

@@ -331,0 +334,0 @@ * This symbol is used in APIs that accept an ID to indicate that an existing ID should be reused.

6

package.json
{
"name": "@starbeam/debug",
"version": "0.8.1",
"version": "0.8.2",
"type": "module",

@@ -32,2 +32,3 @@ "main": "dist/index.cjs",

"@starbeam/verify": "^0.8.0",
"ansicolor": "^1.1.100",
"buffer": "^6.0.3",

@@ -38,4 +39,3 @@ "stacktracey": "^2.1.8"

"@starbeam-dev/build-support": "1.0.0",
"@types/node": "^18.7.23",
"chalk": "^5.0.1"
"@types/node": "^18.7.23"
},

@@ -42,0 +42,0 @@ "scripts": {

import type * as interfaces from "@starbeam/interfaces";
import { getID } from "@starbeam/shared";
import { exhaustive, expected, isEqual, verify } from "@starbeam/verify";
import chalk from "chalk";
import ansicolor from "ansicolor";

@@ -151,7 +151,7 @@ import { DisplayStruct } from "../inspect/display-struct.js";

case "detail": {
const detail = chalk.dim(`->${this.#details.name}`);
const detail = ansicolor.dim(`->${this.#details.name}`);
if (this.#details.args) {
return `${detail}(${this.#details.args
.map((a) => chalk.magenta(a))
.map((a) => ansicolor.magenta(a))
.join(", ")})`;

@@ -277,4 +277,4 @@ } else {

const desc = this.#internal.reason
? chalk.dim(`[${this.#internal.reason}]`)
: chalk.dim("[internals]");
? ansicolor.dim(`[${this.#internal.reason}]`)
: ansicolor.dim("[internals]");
return `${name} ${desc}`;

@@ -281,0 +281,0 @@ } else {

@@ -15,6 +15,2 @@ if (

if (typeof process === "undefined") {
(globalThis as { process: object }).process = {};
}
export {};

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