Skip to content

Commit 58bf9d1

Browse files
Breaking: bump browserify from 16 to 17 (#345)
Ends support of IE. Co-authored-by: Vincent Weevers <mail@vincentweevers.nl>
1 parent d37719b commit 58bf9d1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,17 +377,21 @@ browserify:
377377
node: true
378378
```
379379

380-
#### IE < 11 support
380+
#### IE support
381381

382-
To support IE < 11, an older version of the [`buffer`](https://github.com/feross/buffer) polyfill is required. Use the following configuration and run `npm install buffer@4`:
382+
To support Internet Explorer, older versions of the [`buffer`](https://github.com/feross/buffer) and [`stream-browserify`](https://github.com/browserify/stream-browserify) polyfills are required. Use the following configuration and run `npm install buffer@4 stream-browserify@2`:
383383

384384
```yaml
385-
# Use buffer@4 to support IE < 11
385+
# Use buffer@4 and stream-browserify@2 to support IE
386386
browserify:
387387
- require: 'buffer/'
388388
expose: 'buffer'
389+
- require: 'stream-browserify'
390+
expose: 'stream'
389391
```
390392

393+
This is not officially supported. There may be other reasons that IE will not work.
394+
391395
### `server` (string or object)
392396

393397
This field can point to an optional shell command or JavaScript file to run as a support server. It will be started before all tests and stopped afterwards. This allows testing websockets and other network requests. Your command will be run with the `AIRTAP_SUPPORT_PORT` environment variable set to a port number you must use. If your server does not listen on this port it will be unreachable (on browser providers that use a tunnel).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@airtap/browserify-istanbul": "^4.0.0",
2828
"airtap-default": "^1.0.0",
2929
"airtap-multi": "^1.0.0",
30-
"browserify": "^16.5.2",
30+
"browserify": "^17.0.1",
3131
"bruce-millis-option": "^1.0.0",
3232
"compression": "^1.7.1",
3333
"debug": "^4.1.0",

0 commit comments

Comments
 (0)