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

@proof-ui/console-plugin

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proof-ui/console-plugin - npm Package Compare versions

Comparing version 0.0.13-canary.c812565.0 to 0.0.13

10

dist/main.js

@@ -21,5 +21,5 @@ "use strict";

const sortedTests = results.tests
.filter((t) => t.time)
.filter(t => t.time)
.sort((t1, t2) => t2.time - t1.time);
const { mean, median } = utils_1.stats(sortedTests, (t) => { var _a; return (_a = t.time) !== null && _a !== void 0 ? _a : 0; });
const { mean, median } = utils_1.stats(sortedTests, t => t.time || 0);
const fastest = sortedTests[0];

@@ -40,3 +40,3 @@ const slowest = sortedTests[sortedTests.length - 1];

chalk_1.default.gray(`Mean time: ${formatTime(mean)}`),
chalk_1.default.gray(`Median time: ${formatTime(median)}`),
chalk_1.default.gray(`Median time: ${formatTime(median)}`)
];

@@ -76,3 +76,3 @@ }

logger_1.logger.error(chalk_1.default.red('Failures:'));
results.tests.forEach((t) => {
results.tests.forEach(t => {
if (!t.error) {

@@ -87,3 +87,3 @@ return;

chalk_1.default.blue(`Ran ${results.total} tests in ${duration}`),
...this.getTimeStats(results),
...this.getTimeStats(results)
].join('\n\t\t- '));

@@ -90,0 +90,0 @@ });

{
"name": "@proof-ui/console-plugin",
"version": "0.0.13-canary.c812565.0",
"version": "0.0.13",
"main": "dist/main.js",
"license": "MIT",
"scripts": {
"build": "tsc -b",
"build:watch": "npm run build -- -w"
"build": "tsc",
"build:watch": "tsc --watch"
},
"dependencies": {
"chalk": "^3.0.0"
"chalk": "^2.4.2"
},
"peerDependencies": {
"@proof-ui/cli-plugin": "*",
"@proof-ui/core": "*",
"@proof-ui/logger": "*",
"@proof-ui/utils": "*"
"@proof-ui/core": "*"
},

@@ -24,6 +22,7 @@ "publishConfig": {

"devDependencies": {
"@proof-ui/cli-plugin": "0.0.13-canary.c812565.0",
"@proof-ui/core": "0.0.13-canary.c812565.0"
"@proof-ui/cli-plugin": "^0.0.13",
"@proof-ui/core": "^0.0.13",
"typescript": "3.5.3"
},
"gitHead": "c8125656ad6aa663becedc58b04cb5527cec3873"
"gitHead": "a5dc3c7f55fa3ed50bdcb1bb93f59ccb191cf38b"
}

@@ -6,3 +6,3 @@ import chalk from 'chalk';

FoundTest,
TestResult,
TestResult
} from '@proof-ui/core';

@@ -26,6 +26,6 @@ import { logger, createLogger } from '@proof-ui/logger';

const sortedTests = results.tests
.filter((t) => t.time)
.filter(t => t.time)
.sort((t1, t2) => t2.time! - t1.time!);
const { mean, median } = stats(sortedTests, (t) => t.time ?? 0);
const { mean, median } = stats(sortedTests, t => t.time || 0);
const fastest = sortedTests[0];

@@ -50,3 +50,3 @@ const slowest = sortedTests[sortedTests.length - 1];

chalk.gray(`Mean time: ${formatTime(mean)}`),
chalk.gray(`Median time: ${formatTime(median)}`),
chalk.gray(`Median time: ${formatTime(median)}`)
];

@@ -102,3 +102,3 @@ }

results.tests.forEach((t) => {
results.tests.forEach(t => {
if (!t.error) {

@@ -116,3 +116,3 @@ return;

chalk.blue(`Ran ${results.total} tests in ${duration}`),
...this.getTimeStats(results),
...this.getTimeStats(results)
].join('\n\t\t- ')

@@ -119,0 +119,0 @@ );

{
"extends": "../../tsconfig.json",
"include": ["src/**/*", "../../typings/**/*"],
"extends": "../../tsconfig.build.json",
"include": ["src/**/*.ts", "../../typings/**/*"],
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"composite": true
},
"references": [
{
"path": "../../packages/core"
},
{
"path": "../../packages/cli-plugin"
}
]
"rootDir": "./src"
}
}

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