Socket
Socket
Sign inDemoInstall

cronometro

Package Overview
Dependencies
23
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

6

CHANGELOG.md

@@ -0,1 +1,7 @@

### 2022-11-23 / 1.1.5
- chore: Updated dependencies.
- chore: Update package.json
- fix: Fixed build script.
### 2022-10-12 / 1.1.4

@@ -2,0 +8,0 @@

16

dist/models.d.ts

@@ -9,3 +9,3 @@ /// <reference types="node" />

}
export declare type SetupFunction = (cb: (err?: Error | null) => void) => Promise<any> | void;
export type SetupFunction = (cb: (err?: Error | null) => void) => Promise<any> | void;
export interface Options {

@@ -23,6 +23,6 @@ iterations: number;

}
export declare type StaticTest = () => any;
export declare type AsyncTest = (cb: Callback) => any;
export declare type PromiseTest = () => Promise<any>;
export declare type TestFunction = StaticTest | AsyncTest | PromiseTest;
export type StaticTest = () => any;
export type AsyncTest = (cb: Callback) => any;
export type PromiseTest = () => Promise<any>;
export type TestFunction = StaticTest | AsyncTest | PromiseTest;
export interface Test {

@@ -33,3 +33,3 @@ test?: TestFunction;

}
export declare type Callback = (err: Error | null, results: Results) => any;
export type Callback = (err: Error | null, results: Results) => any;
export interface Percentiles {

@@ -60,3 +60,3 @@ [key: string]: number;

print: boolean | PrintOptions;
tests: Array<[string, TestFunction | Test]>;
tests: [string, TestFunction | Test][];
results: Results;

@@ -71,3 +71,3 @@ current: number;

path: string;
tests: Array<[string, TestFunction | Test]>;
tests: [string, TestFunction | Test][];
index: number;

@@ -74,0 +74,0 @@ iterations: number;

import { Results } from './models.js';
export declare function setLogger(logger: (message: string, ...params: Array<any>) => void): void;
export declare function setLogger(logger: (message: string, ...params: any[]) => void): void;
export declare function printResults(results: Results, colors: boolean, compare: boolean, mode: 'base' | 'previous'): void;
{
"name": "cronometro",
"version": "1.1.4",
"version": "1.1.5",
"description": "Simple benchmarking suite powered by HDR histograms.",

@@ -19,3 +19,2 @@ "homepage": "https://sw.cowtech.it/cronometro",

"dist",
"types",
"CHANGELOG.md",

@@ -29,3 +28,3 @@ "LICENSE.md",

"scripts": {
"dev": "swc -s -w -d dist src",
"dev": "swc --delete-dir-on-start -s -w -d dist src",
"prebuild": "rm -rf dist && npm run lint",

@@ -43,11 +42,11 @@ "build": "swc -d dist src",

"dependencies": {
"acquerello": "^1.0.11",
"acquerello": "^1.0.12",
"hdr-histogram-js": "^3.0.0",
"table": "^6.8.0"
"table": "^6.8.1"
},
"devDependencies": {
"@cowtech/eslint-config": "^8.7.5",
"@cowtech/eslint-config": "^8.8.0",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.7",
"@types/node": "^18.8.4",
"@swc/core": "^1.3.19",
"@types/node": "^18.11.9",
"@types/sinon": "^10.0.13",

@@ -57,8 +56,8 @@ "@types/tap": "^15.0.7",

"chokidar": "^3.5.3",
"prettier": "^2.7.1",
"prettier": "^2.8.0",
"proxyquire": "^2.1.3",
"sinon": "^14.0.1",
"tap": "^16.3.0",
"sinon": "^14.0.2",
"tap": "^16.3.2",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},

@@ -65,0 +64,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc