Skip to content

Commit

Permalink
chore(release): 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Freisler committed Jan 2, 2021
1 parent 9cd94fd commit 68d69d8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [3.0.1](https://github.com/FRSource/frs-replace/compare/v3.0.0...v3.0.1) (2021-01-02)

### Bug Fixes

* security update: ini ([#110](https://github.com/FRSource/frs-replace/pull/110))
* updates: standard ([#107](https://github.com/FRSource/frs-replace/pull/107)), tap ([#106](https://github.com/FRSource/frs-replace/pull/106)), yargs ([#108](https://github.com/FRSource/frs-replace/pull/108)), standard-version ([#111](https://github.com/FRSource/frs-replace/pull/111))

## [3.0.0](https://github.com/FRSource/frs-replace/compare/v2.1.2...v3.0.0) (2020-10-27)


Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,26 +288,26 @@ frs-replace a b -i foo.js | <next-command>

## :chart_with_upwards_trend: Benchmarks

> Tested on Node v12.16.2.
> Tested on Node v15.0.1.
### input as glob pattern [40 files x 1000 iterations x 100 repetitions]

| Library (best&nbsp;bolded) | Execution time [s] | Difference percentage (comparing&nbsp;to&nbsp;best&nbsp;time) |
| --- | --- | --- |
| frs-replace async | 0.01362554 | 34.9580% |
| **frs-replace sync** | 0.01009613 | 0.0000% |
| replace-in-file | 0.02028758 | 100.9440% |
| frs-replace async | 0.01959564 | 57.5020% |
| **frs-replace sync** | 0.01244152 | 0.0000% |
| replace-in-file | 0.02223758 | 78.7368% |
| replace async | *N/A* | *N/A* |
| replace sync | 0.05186623 | 413.7238% |
| replace sync | 0.06111267 | 391.1992% |
| replace-string | *N/A* | *N/A* |

### input & replacement as strings [1000 iterations x 100 repetitions]

| Library (best&nbsp;bolded) | Execution time [s] | Difference percentage (comparing&nbsp;to&nbsp;best&nbsp;time) |
| --- | --- | --- |
| frs-replace async | 0.00023470 | 472.5367% |
| frs-replace sync | 0.00004455 | 8.6850% |
| frs-replace async | 0.00020093 | 516.9883% |
| **frs-replace sync** | 0.00003257 | 0.0000% |
| replace-in-file | *N/A* | *N/A* |
| replace async | *N/A* | *N/A* |
| replace sync | *N/A* | *N/A* |
| **replace-string** | 0.00004099 | 0.0000% |
| replace-string | 0.00003438 | 5.5692% |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frsource/frs-replace",
"version": "3.0.0",
"version": "3.0.1",
"description": "Simple wrapper around javascript replace with CLI usage support!",
"bin": {
"frs-replace": "./bin/cli.js"
Expand Down

0 comments on commit 68d69d8

Please sign in to comment.