Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Masquerade-Circus committed Jun 28, 2022
1 parent c5b693c commit 24d3958
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@


## [2.0.0](https://github.com/Masquerade-Circus/buffalo-bench/compare/1.0.3...2.0.0) (2022-06-28)


### ⚠ BREAKING CHANGES

* - Drop the default export and now use named export Benchmark for the main class.

### Code Refactoring

* update dependencies and exports ([c5b693c](https://github.com/Masquerade-Circus/buffalo-bench/commit/c5b693c39fcecd4cb6d5be56933993cbefec636b)), closes [#2](https://github.com/Masquerade-Circus/buffalo-bench/issues/2)

### [1.0.3](https://github.com/Masquerade-Circus/buffalo-bench/compare/1.0.2...1.0.3) (2021-11-13)


Expand Down Expand Up @@ -40,5 +53,4 @@

### Documentation

* **main:** add Readme and Licence files ([d1c0afa](https://github.com/Masquerade-Circus/buffalo-bench/commit/d1c0afaa8aae15faf04a84f875030c9bef4082a6))

* **main:** add Readme and Licence files ([d1c0afa](https://github.com/Masquerade-Circus/buffalo-bench/commit/d1c0afaa8aae15faf04a84f875030c9bef4082a6))
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __export(lib_exports, {
CompareBy: () => CompareBy
});
module.exports = __toCommonJS(lib_exports);
var version = "1.0.3";
var version = "2.0.0";
var now = typeof performance === "undefined" ? () => Date.now() : () => performance.now();
var BenchmarkError = class extends Error {
code;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var __publicField = (obj, key, value) => {
};

// lib/index.ts
var version = "1.0.3";
var version = "2.0.0";
var now = typeof performance === "undefined" ? () => Date.now() : () => performance.now();
var BenchmarkError = class extends Error {
code;
Expand Down
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
// This errors will be found in the `error` property of the benchmark instance.
// When converting to JSON, the `errorMessage` property will be a string containing the error message.

const version = "1.1.0";
const version = "2.0.0";

let now =
typeof performance === "undefined"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "buffalo-bench",
"version": "1.0.3",
"version": "2.0.0",
"description": "A benchmarking library that supports async hooks and benchmarks by default.",
"source": "lib/index.ts",
"main": "dist/index.min.js",
Expand Down Expand Up @@ -141,4 +141,4 @@
]
}
}
}
}

0 comments on commit 24d3958

Please sign in to comment.