Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tsubaki

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsubaki - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

13

package.json
{
"name": "tsubaki",
"version": "1.3.2",
"version": "1.3.3",
"description": "Promisify with native promises.",

@@ -35,8 +35,11 @@ "main": "index.js",

"devDependencies": {
"eslint": "^6.1.0",
"eslint-config-aqua": "^6.0.1",
"jest": "^24.8.0"
"eslint": "^6.8.0",
"eslint-config-aqua": "^7.1.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^24.8.0",
"prettier": "^1.19.1"
},
"eslintConfig": {
"extends": "aqua/node"
"extends": "aqua/prettier/node"
},

@@ -43,0 +46,0 @@ "engines": {

@@ -15,6 +15,10 @@ const nodeVersion = parseInt(process.versions.node.split('.'), 10);

return new Promise((resolve, reject) =>
fn.apply(this, [...args, (err, res) => {
if (err) return reject(err);
return resolve(res);
}]));
fn.apply(this, [
...args,
(err, res) => {
if (err) return reject(err);
return resolve(res);
},
]),
);
}

@@ -25,2 +29,2 @@ Object.defineProperty(newFunction, 'name', { value: name });

module.exports = fn => nodeVersion >= 8 ? require('util').promisify(fn) : promisify(fn);
module.exports = fn => (nodeVersion >= 8 ? require('util').promisify(fn) : promisify(fn));

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc