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

@bunchmark/core

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bunchmark/core - npm Package Compare versions

Comparing version 1.0.0-pre-5 to 1.0.0-pre-6

2

package.json
{
"name": "@bunchmark/core",
"version": "1.0.0-pre-5",
"version": "1.0.0-pre-6",
"description": "benchmarking lib",

@@ -5,0 +5,0 @@ "type": "module",

@@ -79,3 +79,3 @@ // @ts-check

*/
function bake({ tasks, preamble = "", beforeEach = "", afterEach = "", header, footer }) {
function bake({ tasks, preamble = "", beforeEach = "", afterEach = "", footer }) {
return `

@@ -97,3 +97,3 @@ ${stringify({ preamble })};

function compiler({ tasks, preamble = "", beforeEach = "", afterEach = "" }) {
const source = bake({ tasks, preamble, beforeEach, afterEach, header, footer });
const source = bake({ tasks, preamble, beforeEach, afterEach, footer });
/**

@@ -100,0 +100,0 @@ * @type {Sampler[]} samplers

@@ -169,3 +169,2 @@ export { run };

* @param {Options} options
* @param {((o:Options)=>Sampler[])} compiler
* @returns {Promise<Result>}

@@ -172,0 +171,0 @@ */

@@ -40,3 +40,3 @@ export type Sampler = ((N: number)=>Promise<number>)

handle?: {}
compiler?: (o:Options)=>Sampler[]
compiler?: (o:Options)=>(Promise<Sampler[]>|Sampler[])
onTick?: (t: Result)=>void

@@ -43,0 +43,0 @@ }

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