Skip to content

Commit ac7a620

Browse files
committed
Add options to JSON result.
1 parent 8cef8f3 commit ac7a620

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
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

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)