bfj 4.2.3 → 4.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/HISTORY.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # History
2
2
 
3
+ ## 4.2.4
4
+
5
+ * chore: update deps (c3eeeb4)
6
+
3
7
  ## 4.2.3
4
8
 
5
9
  * fix: eliminate costly string concatenation (42998d7)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bfj",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.",
5
5
  "homepage": "https://github.com/philbooth/bfj",
6
6
  "bugs": "https://github.com/philbooth/bfj/issues",
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "check-types": "^7.3.0",
33
- "hoopy": "^0.1.1",
34
- "trier": "^0.3.6"
33
+ "hoopy": "^0.1.2",
34
+ "tryer": "^1.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "eslint": "3.19.x",
38
- "mocha": "3.2.x",
39
- "chai": "3.5.x",
40
- "mockery": "2.0.x",
37
+ "eslint": "4.6.x",
38
+ "mocha": "3.5.x",
39
+ "chai": "4.1.x",
40
+ "mockery": "2.1.x",
41
41
  "spooks": "2.0.x",
42
42
  "please-release-me": "1.0.x",
43
43
  "request": "2.81.x"
package/src/streamify.js CHANGED
@@ -5,7 +5,7 @@ const eventify = require('./eventify')
5
5
  const events = require('./events')
6
6
  const JsonStream = require('./jsonstream')
7
7
  const Hoopy = require('hoopy')
8
- const trier = require('trier')
8
+ const tryer = require('tryer')
9
9
 
10
10
  const DEFAULT_BUFFER_LENGTH = 1048576
11
11
 
@@ -167,7 +167,7 @@ function streamify (data, options = {}) {
167
167
  isPaused = true
168
168
  return new Promise(resolve => {
169
169
  const unpause = emitter.pause()
170
- trier.attempt({
170
+ tryer({
171
171
  interval: -10,
172
172
  until () {
173
173
  return length + 1 <= json.length
@@ -9,7 +9,7 @@ const modulePath = '../../src/streamify'
9
9
  mockery.registerAllowable(modulePath)
10
10
  mockery.registerAllowable('hoopy')
11
11
  mockery.registerAllowable('check-types')
12
- mockery.registerAllowable('trier')
12
+ mockery.registerAllowable('tryer')
13
13
  mockery.registerAllowable('./events')
14
14
 
15
15
  suite('streamify:', () => {