New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@githubnext/vitale

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@githubnext/vitale - npm Package Compare versions

Comparing version

to
0.0.17

30

dist/cli.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

// package.json
var version = "0.0.16";
var version = "0.0.17";

@@ -681,2 +681,3 @@ // src/server.ts

}
var stackFrameRegex = /^\s+at (Domain|Runner|executeCell)/;
function rewriteStack(stack) {

@@ -686,8 +687,11 @@ if (!stack) {

}
const i = stack.indexOf("\n at ESModulesRunner.runViteModule");
if (i !== -1) {
return stack.substring(0, i);
} else {
return stack;
const lines = stack.split("\n");
const rewrittenLines = [];
for (const line of lines) {
if (stackFrameRegex.test(line)) {
break;
}
rewrittenLines.push(line);
}
return rewrittenLines.join("\n");
}

@@ -697,2 +701,4 @@ function mimeTaggedResultOf(result) {

return void 0;
} else if (result === null) {
return { mime: "text/x-javascript", data: "null" };
} else if (result instanceof Error) {

@@ -723,3 +729,3 @@ const obj = {

const items = [];
if (mimeTaggedResult !== void 0) {
if (mimeTaggedResult) {
items.push({

@@ -840,5 +846,3 @@ data: [...Buffer.from(mimeTaggedResult.data, "utf8").values()],

const id = `${path2}-cellId=${cellId}.${ext}`;
if (code) {
this.cells.set(id, { cellId, code, language });
}
this.cells.set(id, { cellId, code, language });
this.runtime.invalidateServerModule(id);

@@ -1044,5 +1048,5 @@ this.runtime.handleHMRUpdate(id);

invalidateModuleAndDirty(id) {
const cells = [];
this.runtime.invalidateRuntimeModule(id, cells);
this.rpc.markCellsDirty(cells);
const dirtyCells = [];
this.runtime.invalidateRuntimeModule(id, dirtyCells);
this.rpc.markCellsDirty(dirtyCells);
}

@@ -1049,0 +1053,0 @@ listen() {

@@ -21,3 +21,3 @@ import * as vscode from 'vscode';

language: string;
code?: string;
code: string;
}[], force: boolean, executeDirtyCells: boolean) => void;

@@ -24,0 +24,0 @@ };

{
"name": "@githubnext/vitale",
"version": "0.0.16",
"version": "0.0.17",
"description": "",

@@ -5,0 +5,0 @@ "license": "MIT",