Skip to content

Commit e933a59

Browse files
authored
Merge pull request #107 from haensl/106
#106: Add options to JSON result.
2 parents 8cef8f3 + 90f02b1 commit e933a59

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 2.4.2
2+
* [#106: Add options to JSON result.](https://github.com/haensl/js-profiler/issues/106)
3+
* Update dependencies.
4+
15
### 2.4.1
26
* [#103: Translate long form time units in library.](https://github.com/haensl/js-profiler/issues/103)
37

docs/js-profiler.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
." vim: set syn=nroff
2-
.TH js-profiler 1 "February 2021" "js-profiler v2.4.1"
2+
.TH js-profiler 1 "February 2021" "js-profiler v2.4.2"
33

44
.SH NAME
55
js-profiler - A JavaScript profiling tool and collection of profiling modules and benchmarks.

lib/reporter/reporter/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class Reporter {
1313
this.options = options;
1414
this.report = {
1515
jsprofiler: {
16-
version: jsProfilerVersion
16+
version: jsProfilerVersion,
17+
options
1718
},
1819
node: {
1920
version: process.versions.node

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-profiler",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"description": "Javascript profiling tool and collection of performance profiles for various JavaScript built-ins.",
55
"main": "lib/index.js",
66
"man": "./docs/js-profiler.1.gz",

0 commit comments

Comments
 (0)