Skip to content

Commit

Permalink
Fix typos in migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
102 authored Jul 29, 2020
1 parent ddcad3c commit 08a5245
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MIGRATION_1.X_TO_2.X.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Migration 1.x to 2.x

Migration from version `1.x` to `2.x` of fast-check should be pretty straightforward as no major breaking changes have been released.
Nonetheless as some of the changes may break existing code, a mojor bump have been required.
Nonetheless as some of the changes may break existing code, a major bump has been required.

The following documentation describes what has to be updated and how in case you encounter some troubles during this migration.

Most of the time the migration will just require to run one of the following command:
Most of the time the migration will just require to run one of the following commands:

```bash
# For yarn users
Expand Down Expand Up @@ -68,7 +68,7 @@ Associated Pull Requests: [#755](https://github.com/dubzzz/fast-check/pull/755)

## No more browser build

In previous major, fast-check was building a specific bundle for browsers. This bundle was easily *fetch-able* from CDNs like unpkg.
In the previous major, fast-check was building a specific bundle for browsers. This bundle was easily *fetch-able* from CDNs like unpkg.

Example of bundled version of fast-check: https://unpkg.com/browse/[email protected]/lib/bundle.js

Expand Down Expand Up @@ -99,7 +99,7 @@ You can also produce a minified version of the bundle by running:
npx -p browserify -p terser -c "browserify node_modules/fast-check/lib/fast-check.js --s fastcheck | terser -c -m > node_modules/fast-check/lib/bundle.js"
```

For support of older browsers, you mayb have a look to [babelify](https://github.com/babel/babelify).
For support of older browsers, you may have a look to [babelify](https://github.com/babel/babelify).

Associated Pull Requests: [#756](https://github.com/dubzzz/fast-check/pull/756)

Expand Down

0 comments on commit 08a5245

Please sign in to comment.