Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 7f3ebda

Browse files
authored
force airtap's browserify to use buffer@5 (#122)
1 parent 0f555a7 commit 7f3ebda

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.airtap.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@ browsers:
1414
- name: ie
1515
version: latest
1616
platform: Windows 10
17+
18+
# Force browserify to use latest buffer@5.
19+
# Ideally we'd use latest browserify to achieve that,
20+
# but airtap currently depends on browserify@13.
21+
browserify:
22+
- require: "buffer/"
23+
expose: "buffer"

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* Remove testling from `package.json` (@vweevers)
6060
* Remove `level.js` logo (@vweevers)
6161

62-
**Historical Note** As a result of removing `IDBWrapper`, only modern browsers with a non-prefixed `window.indexedDB` are supported in this release. IE10 and Firefox 52 are known to be broken. The current test matrix of `level-js` includes the latest versions of Chrome, Firefox, Safari, Edge and IE.
62+
**Historical Note** As a result of removing `IDBWrapper`, only modern browsers with a non-prefixed `window.indexedDB` are supported in this release. The current test matrix of `level-js` includes the latest versions of Chrome, Firefox, Safari, Edge and IE.
6363

6464
**Historical Note** Though `level-js` now passes the full `abstract-leveldown` test suite, fulfulling the snapshot guarantee (reads not being affected by simultaneous writes) means a loss of backpressure as iterators have to keep reading from their IndexedDB cursors. Memory consumption might increase if an iterator is not consumed fast enough. A future release will have an option to favor backpressure over snapshot guarantees.
6565

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"license": "MIT",
2020
"devDependencies": {
2121
"airtap": "0.0.7",
22-
"browserify": "~16.2.2",
22+
"buffer": "~5.1.0",
2323
"encoding-down": "~5.0.2",
2424
"levelup": "~3.0.0",
2525
"pinkie": "~2.0.4",

0 commit comments

Comments
 (0)