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

@partygame.show/demo

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@partygame.show/demo - npm Package Compare versions

Comparing version

to
1.0.0-alpha.9

2

package.json
{
"name": "@partygame.show/demo",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"description": "Package to load and test games built for the PartyGame.Show framework",

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

@@ -43,4 +43,2 @@ #!/usr/bin/env node

const gametype = config.gametype;
const gameHostLogicFile = path.resolve(GAME_ROOT, config.build.host);
const gamePlayerLogicFile = path.resolve(GAME_ROOT, config.build.player);
const port = parseInt(program.port, 10);

@@ -64,3 +62,3 @@

} else if (filepath.startsWith("games")) {
filepath = filepath.replace(`games/${gametype}/`, "").replace(`games\\${gametype}\\`, "");
filepath = filepath.replace(`games/${gametype}`, config.build.dir).replace(`games\\${gametype}`, config.build.dir);
isGameLocal = true;

@@ -84,7 +82,3 @@ } else if (filepath.startsWith("node_modules")) {

headers["Content-type"] = "text/html";
data = handlebars.compile(data.toString())({
gametype,
gameHostLogicFile,
gamePlayerLogicFile,
});
data = handlebars.compile(data.toString())({ gametype });
}

@@ -91,0 +85,0 @@ }