You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@apphosting/common

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apphosting/common - npm Package Compare versions

Comparing version

to
0.0.2-canary.85fa61f

19

dist/index.js

@@ -16,14 +16,19 @@ "use strict";

});
let buildOutput = "";
let stdout = "";
let stderr = "";
child.stdout.on("data", (data) => {
buildOutput += data.toString();
stdout += data.toString();
});
child.stderr.on("data", (data) => {
stderr += data.toString();
});
// Re-connect the child process's stdout and stderr to the console so that
// build messages and errors are still logged in Cloud Build.
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
child.on("exit", (code) => {
if (code !== 0) {
reject(new Error(`Process exited with error code ${code}. Output: ${buildOutput}`));
reject(new Error(`Build process exited with error code ${code}.`));
}
if (!buildOutput) {
reject(new Error("Unable to locate build manifest with output paths."));
}
resolve({ stdout: buildOutput });
resolve({ stdout: stdout, stderr: stderr });
});

@@ -30,0 +35,0 @@ });

{
"name": "@apphosting/common",
"version": "0.0.1",
"version": "0.0.2-canary.85fa61f",
"description": "Shared library code for App Hosting framework adapters",

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