@contrast/common
Advanced tools
Comparing version 1.19.0 to 1.20.0
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
export interface Installable { | ||
install(): void | Promise<void>; | ||
install(...args: any[]): void | Promise<void>; | ||
uninstall?(): void | Promise<void>; | ||
@@ -26,18 +26,34 @@ } | ||
}; | ||
/** String representation of process.argv */ | ||
cmd: string; | ||
/** OS-provided hostname */ | ||
hostname: string; | ||
/** Application entry point */ | ||
indexFile: string; | ||
/** Path to package.json */ | ||
path: string; | ||
/** package.json contents */ | ||
pkg: object; | ||
/** Configured application name, defaults to pkg.name */ | ||
name: string; | ||
pkg: object; | ||
agentVersion: string; | ||
/** Application root directory, i.e. the directory containing package.json */ | ||
app_dir: string; | ||
/** Configured application version, defaults to pkg.version */ | ||
version: string; | ||
/** Configured server version */ | ||
serverVersion: string; | ||
/** process.version */ | ||
node_version: string; | ||
/** Configured application path, defaults to app_dir unless provided by config */ | ||
appPath: string; | ||
indexFile: string; | ||
/** From config */ | ||
serverName: string; | ||
/** From config */ | ||
serverType: string; | ||
/** From config */ | ||
serverEnvironment: string; | ||
version: string; | ||
session_id: string | null; | ||
/** From config */ | ||
group: string | null; | ||
/** From config */ | ||
metadata: string | null; | ||
group: string | null; | ||
} | ||
@@ -44,0 +60,0 @@ export type CommonRules = Rule.SQL_INJECTION | Rule.CMD_INJECTION | Rule.PATH_TRAVERSAL | Rule.REFLECTED_XSS | Rule.SSJS_INJECTION | Rule.NOSQL_INJECTION_MONGO | Rule.UNSAFE_FILE_UPLOAD | Rule.NOSQL_INJECTION | Rule.METHOD_TAMPERING | Rule.BOT_BLOCKER; |
{ | ||
"name": "@contrast/common", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"description": "Shared constants and utilities for all Contrast Agent modules", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1235
70101
11