Comparing version 4.0.0 to 4.0.1
@@ -742,3 +742,3 @@ //// ____ _ _ | ||
? show(this._value) | ||
: `<${this.getState()}>` + (this._state === Rejected ? ` ${this._value}` : ''); | ||
: `<${this.getState()}>` + (this._state === Rejected ? ` ${show(this._value)}` : ''); | ||
return `CachedFuture({ ${repr} })`; | ||
@@ -1405,3 +1405,3 @@ } | ||
Future.subclasses = { | ||
Future.classes = { | ||
SafeFuture, | ||
@@ -1412,2 +1412,3 @@ ChainRec, | ||
FutureReject, | ||
FutureRejectAfter, | ||
FutureNode, | ||
@@ -1414,0 +1415,0 @@ FutureAfter, |
{ | ||
"name": "fluture", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "FantasyLand compliant (monadic) alternative to Promises", | ||
@@ -20,4 +20,4 @@ "main": "fluture.js", | ||
"test:all": "npm run lint && npm run test:unit && npm run test:coverage", | ||
"test:unit": "node ./node_modules/.bin/_mocha --ui bdd --reporter spec --check-leaks --full-trace", | ||
"test:coverage": "npm run clean && node node_modules/.bin/istanbul cover --report html ./node_modules/.bin/_mocha -- --ui bdd --reporter dot --bail" | ||
"test:unit": "node ./node_modules/.bin/_mocha --ui bdd --reporter list --check-leaks --full-trace test/**.test.js", | ||
"test:coverage": "npm run clean && node node_modules/.bin/istanbul cover --report html ./node_modules/.bin/_mocha -- --ui bdd --reporter dot --bail test/**.test.js" | ||
}, | ||
@@ -24,0 +24,0 @@ "author": "Aldwin Vlasblom <aldwin.vlasblom@gmail.com> (https://github.com/Avaq)", |
@@ -61,2 +61,3 @@ # Fluture | ||
* [after](#after) | ||
* [rejectAfter](#rejectafter) | ||
* [cast](#cast) | ||
@@ -63,0 +64,0 @@ * [try](#try) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78277
5
1188
940
0