Comparing version 1.1.0 to 1.2.0
require('./_promisify_all')( | ||
require('thenify-all')( | ||
require('child_process'), | ||
@@ -4,0 +4,0 @@ exports, [ |
require('./_promisify_all')( | ||
require('thenify-all')( | ||
require('crypto'), | ||
@@ -4,0 +4,0 @@ exports, [ |
require('./_promisify_all')( | ||
require('thenify-all')( | ||
require('dns'), | ||
@@ -4,0 +4,0 @@ exports, [ |
@@ -9,3 +9,3 @@ | ||
require('./_promisify_all.js')(fs, exports, [ | ||
require('thenify-all')(fs, exports, [ | ||
'rename', | ||
@@ -41,3 +41,3 @@ 'ftruncate', | ||
var promisify = require('./_promisify.js') | ||
var promisify = require('thenify') | ||
@@ -44,0 +44,0 @@ // don't know enough about promises to do this haha |
1.2.0 / 2014-12-16 | ||
================== | ||
* refactor promisification to `thenify` and `thenify-all` | ||
1.1.0 / 2014-11-14 | ||
================== | ||
* use `graceful-fs` if available | ||
1.0.1 / 2014-08-18 | ||
================== | ||
* don't use `bluebird.promisify()` - unnecessarily wraps runtime errors, causing issues | ||
1.0.0 / 2014-06-18 | ||
@@ -3,0 +18,0 @@ ================== |
{ | ||
"name": "mz", | ||
"description": "modernize node.js to current ECMAScript standards", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"author": { | ||
@@ -14,3 +14,5 @@ "name": "Jonathan Ong", | ||
"dependencies": { | ||
"native-or-bluebird": "1" | ||
"native-or-bluebird": "1", | ||
"thenify": "2", | ||
"thenify-all": "1" | ||
}, | ||
@@ -26,3 +28,17 @@ "devDependencies": { | ||
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot" | ||
} | ||
}, | ||
"keywords": [ | ||
"promisify", | ||
"promise", | ||
"thenify", | ||
"then", | ||
"es6" | ||
], | ||
"files": [ | ||
"child_process.js", | ||
"crypto.js", | ||
"dns.js", | ||
"fs.js", | ||
"zlib.js" | ||
] | ||
} |
require('./_promisify_all')( | ||
require('thenify-all')( | ||
require('zlib'), | ||
@@ -4,0 +4,0 @@ exports, [ |
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
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
2
7050
3
9
85
+ Addedthenify@2
+ Addedthenify-all@1
+ Addedany-promise@1.3.0(transitive)
+ Addedthenify@2.0.03.3.1(transitive)
+ Addedthenify-all@1.6.0(transitive)