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

@apphosting/common

Package Overview
Dependencies
Maintainers
0
Versions
20
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 0.0.2 to 0.0.3-canary.1a99446

29

dist/index.d.ts

@@ -0,1 +1,29 @@

export interface OutputBundleConfig {
version: "v1";
serverConfig: ServerConfig;
metadata: Metadata;
}
interface ServerConfig {
runCommand: string;
environmentVariables?: EnvVarConfig[];
concurrency?: number;
cpu?: number;
memoryMiB?: number;
minInstances?: number;
maxInstances?: number;
}
interface Metadata {
adapterPackageName: string;
adapterVersion: string;
framework: string;
frameworkVersion?: string;
}
interface EnvVarConfig {
variable: string;
value: string;
availability: Availability.Runtime[];
}
declare enum Availability {
Runtime = 0
}
export interface BuildOptions {

@@ -14,1 +42,2 @@ buildCommand: string;

export declare function getBuildOptions(): BuildOptions;
export {};

@@ -5,2 +5,8 @@ "use strict";

const child_process_1 = require("child_process");
// Represents where environment variables are made available
var Availability;
(function (Availability) {
// Runtime environment variables are available on the server when the app is run
Availability[Availability["Runtime"] = 0] = "Runtime";
})(Availability || (Availability = {}));
exports.DEFAULT_COMMAND = "npm";

@@ -7,0 +13,0 @@ // Run the build command in a spawned child process.

2

package.json
{
"name": "@apphosting/common",
"version": "0.0.2",
"version": "0.0.3-canary.1a99446",
"description": "Shared library code for App Hosting framework adapters",

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

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