Socket
Socket
Sign inDemoInstall

@contrast/core

Package Overview
Dependencies
Maintainers
17
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/core - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0

26

lib/index.d.ts

@@ -19,5 +19,6 @@ /*

import { Logger } from '@contrast/logger';
import { Messages } from '@contrast/common';
import { AppInfo, Messages } from '@contrast/common';
import { Patcher } from '@contrast/patcher';
import { ReporterBus } from '@contrast/reporter';
import { Protect } from '@contrast/protect';
import { Rewriter } from '@contrast/rewriter';

@@ -27,23 +28,2 @@ import RequireHook from '@contrast/require-hook';

export interface AppInfo {
os: {
type: string;
platform: string;
architecture: string;
release: string;
},
hostname: string;
version: string;
name: string;
pkg: object; // package.json
agentVersion: string;
app_dir: string;
serverVersion: string;
node_version: string;
appPath: string;
indexFile: string;
serverName: string;
serverEnvironment: string;
}
export interface Core {

@@ -58,3 +38,3 @@ agentify: Agentify<Core>;

reporter: ReporterBus;
protect: ProtectMessage;
protect: Protect;
rewriter: Rewriter;

@@ -61,0 +41,0 @@ scopes: Scopes;

6

package.json
{
"name": "@contrast/core",
"version": "1.5.2",
"version": "1.6.0",
"description": "Preconfigured Contrast agent core services and models",

@@ -21,3 +21,3 @@ "license": "SEE LICENSE IN LICENSE",

"@contrast/agentify": "1.1.1",
"@contrast/config": "1.2.0",
"@contrast/config": "1.3.0",
"@contrast/dep-hooks": "1.0.5",

@@ -27,3 +27,3 @@ "@contrast/fn-inspect": "^3.2.0",

"@contrast/patcher": "1.0.5",
"@contrast/reporter": "1.4.2",
"@contrast/reporter": "1.5.0",
"@contrast/rewriter": "1.2.0",

@@ -30,0 +30,0 @@ "@contrast/scopes": "1.1.2",

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