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

@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.10-unstable.6ff9a7b to 0.8.10-unstable.7ee43a9

16

package.json
{
"name": "@starbeam/debug",
"version": "0.8.10-unstable.6ff9a7b",
"version": "0.8.10-unstable.7ee43a9",
"type": "module",

@@ -39,9 +39,9 @@ "main": "index.ts",

"dependencies": {
"@domtree/flavors": "0.9.4-unstable.6ff9a7b",
"@starbeam/core-utils": "0.8.10-unstable.6ff9a7b",
"@starbeam/interfaces": "0.8.10-unstable.6ff9a7b",
"@starbeam/reactive": "0.8.10-unstable.6ff9a7b",
"@starbeam/shared": "1.3.8-unstable.6ff9a7b",
"@starbeam/tags": "0.0.1-unstable.6ff9a7b",
"@starbeam/verify": "0.8.10-unstable.6ff9a7b",
"@domtree/flavors": "0.9.4-unstable.7ee43a9",
"@starbeam/core-utils": "0.8.10-unstable.7ee43a9",
"@starbeam/interfaces": "0.8.10-unstable.7ee43a9",
"@starbeam/reactive": "0.8.10-unstable.7ee43a9",
"@starbeam/shared": "1.3.8-unstable.7ee43a9",
"@starbeam/tags": "0.0.1-unstable.7ee43a9",
"@starbeam/verify": "0.8.10-unstable.7ee43a9",
"buffer": "^6.0.3",

@@ -48,0 +48,0 @@ "stacktracey": "^2.1.8"

@@ -36,3 +36,2 @@ import { isPresentArray } from "@starbeam/core-utils";

// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
while (true) {

@@ -155,3 +154,3 @@ const next = getBase(parent);

export const getUserFacing = (<D extends DescriptionDetails | undefined>(
description: D
description: D,
): D => {

@@ -175,3 +174,3 @@ if (description?.nesting?.type === "implementation") {

expect(getIdString(["a", ["b", "c"], ["d", "e"]])).toEqual(
"a->(b/c)->(d/e)"
"a->(b/c)->(d/e)",
);

@@ -182,13 +181,13 @@ expect(

["c", "d"],
])
]),
).toEqual("(a/b)->(c/d)");
expect(getIdString(["a", ["b", "c"], ["d", "e"], "f"])).toEqual(
"a->(b/c)->(d/e)->f"
"a->(b/c)->(d/e)->f",
);
expect(getIdString(["a", ["b", "c"], ["d", "e"], ["f", "g"]])).toEqual(
"a->(b/c)->(d/e)->(f/g)"
"a->(b/c)->(d/e)->(f/g)",
);
// multiple levels of nesting
expect(getIdString(["a", ["b", ["c", "d"], "e"], "f"])).toEqual(
"a->(b->(c/d)->e)->f"
"a->(b->(c/d)->e)->f",
);

@@ -225,3 +224,3 @@ });

expect(describeFlat({ type: "specified", value: "mycell" })).toEqual(
"mycell"
"mycell",
);

@@ -234,3 +233,3 @@ const id = getID();

id,
})
}),
).toEqual(`{anonymous cell:${id}}`);

@@ -241,3 +240,3 @@ });

expect(describeFullName({ type: "specified", value: "mycell" })).toEqual(
"mycell"
"mycell",
);

@@ -250,3 +249,3 @@ const id = getID();

id,
})
}),
).toEqual(`{anonymous cell:${id}}`);

@@ -279,3 +278,3 @@

expect(describeFullName(getFullName(child))).toEqual(
"mycell->{impl: initialized?}"
"mycell->{impl: initialized?}",
);

@@ -286,3 +285,3 @@ expect(

{ type: "implementation", value: { name: "initialized?", reason: "" } },
])
]),
).toEqual("mycell->{impl: initialized?}");

@@ -302,6 +301,6 @@

expect(describeFullName([anonymous, { type: "index", value: 2 }])).toEqual(
"{anonymous cell:1}[2]"
"{anonymous cell:1}[2]",
);
expect(describeFullName([specified, { type: "index", value: 2 }])).toEqual(
"mycell[2]"
"mycell[2]",
);

@@ -313,3 +312,3 @@

{ type: "key", value: { name: "foo", key: {} } },
])
]),
).toEqual("{anonymous cell:1}.get(foo)");

@@ -321,11 +320,11 @@

{ type: "key", value: { name: "foo", key: {} } },
])
]),
).toEqual("mycell.get(foo)");
expect(
describeFullName([anonymous, { type: "property", value: "foo" }])
describeFullName([anonymous, { type: "property", value: "foo" }]),
).toEqual("{anonymous cell:1}.foo");
expect(
describeFullName([specified, { type: "property", value: "foo" }])
describeFullName([specified, { type: "property", value: "foo" }]),
).toEqual("mycell.foo");

@@ -332,0 +331,0 @@ });

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