bfj 7.0.1 → 7.0.2

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,11 @@
1
1
  # History
2
2
 
3
+ ## 7.0.2
4
+
5
+ ### Other changes
6
+
7
+ * package: update dependencies (cf82fd4)
8
+
3
9
  ## 7.0.1
4
10
 
5
11
  ### Bug fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bfj",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.",
5
5
  "homepage": "https://gitlab.com/philbooth/bfj",
6
6
  "bugs": "https://gitlab.com/philbooth/bfj/issues",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "bluebird": "^3.5.5",
33
- "check-types": "^8.0.3",
33
+ "check-types": "^11.1.1",
34
34
  "hoopy": "^0.1.4",
35
35
  "tryer": "^1.0.1"
36
36
  },
package/src/eventify.js CHANGED
@@ -140,7 +140,7 @@ function eventify (data, options = {}) {
140
140
  return Promise.resolve(datum)
141
141
  }
142
142
 
143
- if (check.instanceStrict(datum, Promise)) {
143
+ if (check.thenable(datum)) {
144
144
  return coerceThing(datum, 'promises', coercePromise).then(coerce)
145
145
  }
146
146