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

@statoscope/stats-extension-custom-reports

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/stats-extension-custom-reports - npm Package Compare versions

Comparing version 5.28.0 to 5.28.1

2

dist/api.d.ts

@@ -5,3 +5,3 @@ import { APIFactory } from '@statoscope/extensions';

import { Format } from './generator';
export declare type API = {
export type API = {
getReports: (compilationId?: string | null, type?: RelationItem['type'] | null, relatedId?: string | number) => Report<unknown, unknown>[];

@@ -8,0 +8,0 @@ getById(id: string): Report<unknown, unknown> | null;

import { Extension, ExtensionDescriptor } from '@statoscope/stats/spec/extension';
import { Report } from '@statoscope/types/types/custom-report';
export declare type Format = Extension<Payload>;
export declare type Compilation = {
export type Format = Extension<Payload>;
export type Compilation = {
id: string | null;
reports: Array<Report<unknown, unknown>>;
};
export declare type Payload = {
export type Payload = {
compilations: Array<Compilation>;

@@ -10,0 +10,0 @@ };

@@ -24,2 +24,3 @@ "use strict";

this.resolveCompilation = (0, entity_resolver_1.default)(this.payload.compilations, (item) => item.id, null, false);
this.descriptor.adapter = this.adapter;
}

@@ -26,0 +27,0 @@ handleReport(report) {

{
"name": "@statoscope/stats-extension-custom-reports",
"version": "5.28.0",
"version": "5.28.1",
"description": "Statoscope extension to store custom reports in stats",
"main": "./dist/index.js",
"scripts": {
"build": "../../node_modules/.bin/tsc",
"prepublishOnly": "npm run build"
"build": "../../node_modules/.bin/tsc"
},

@@ -21,8 +20,8 @@ "repository": "https://github.com/statoscope/statoscope.git",

"dependencies": {
"@statoscope/extensions": "5.14.1",
"@statoscope/helpers": "5.28.0",
"@statoscope/stats": "5.14.1",
"@statoscope/types": "5.27.0"
"@statoscope/extensions": "5.28.1",
"@statoscope/helpers": "5.28.1",
"@statoscope/stats": "5.28.1",
"@statoscope/types": "5.28.1"
},
"gitHead": "8593d1728fba7201855ba496eb5c01d28333c60b"
"gitHead": "a89f68a6251a1c914791e22b643dd94ca2a70253"
}
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