Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contrast/common

Package Overview
Dependencies
Maintainers
9
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/common - npm Package Compare versions

Comparing version 1.19.0 to 1.20.0

30

lib/types.d.ts

@@ -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

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