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.0 to 1.3.1

0

index.js

@@ -0,0 +0,0 @@ module.exports = {

92

package.json
{
"name": "tsubaki",
"version": "1.3.0",
"description": "Promisify with native promises.",
"main": "index.js",
"typings": "./typings/index.d.ts",
"author": {
"name": "Crawl",
"email": "icrawltogo@gmail.com"
},
"contributors": [
{
"name": "vzwGrey"
}
],
"license": "MIT",
"scripts": {
"pretest": "eslint .",
"test": "jest --verbose"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iCrawl/tsubaki.git"
},
"bugs": {
"url": "https://github.com/iCrawl/tsubaki/issues"
},
"keywords": [
"promisify",
"native",
"promises"
],
"homepage": "https://github.com/iCrawl/tsubaki#readme",
"dependencies": {},
"devDependencies": {
"@types/node": "^8.0.47",
"eslint": "^4.10.0",
"eslint-config-aqua": "^2.0.1",
"jest": "^21.2.1",
"typescript": "^2.5.3"
},
"eslintConfig": {
"extends": "aqua"
},
"engines": {
"node": ">=6"
}
"name": "tsubaki",
"version": "1.3.1",
"description": "Promisify with native promises.",
"main": "index.js",
"typings": "./typings/index.d.ts",
"author": {
"name": "Crawl",
"email": "icrawltogo@gmail.com"
},
"contributors": [
{
"name": "vzwGrey"
}
],
"license": "MIT",
"scripts": {
"pretest": "eslint .",
"test": "jest --verbose"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iCrawl/tsubaki.git"
},
"bugs": {
"url": "https://github.com/iCrawl/tsubaki/issues"
},
"keywords": [
"promisify",
"native",
"promises"
],
"homepage": "https://github.com/iCrawl/tsubaki#readme",
"dependencies": {},
"devDependencies": {
"@types/node": "^10.1.1",
"eslint": "^4.19.1",
"eslint-config-aqua": "^4.0.1",
"jest": "^22.4.3",
"typescript": "^2.8.3"
},
"eslintConfig": {
"extends": "aqua/src/node"
},
"engines": {
"node": ">=6"
}
}

@@ -25,3 +25,3 @@ # Tsubaki

## Useage
## Usage

@@ -28,0 +28,0 @@ ```js

@@ -1,2 +0,2 @@

const nodeVersion = process.versions.node.split('.')[0];
const nodeVersion = parseInt(process.versions.node.split('.'), 10);

@@ -17,5 +17,4 @@ /**

if (err) return reject(err);
else return resolve(res);
}])
);
return resolve(res);
}]));
}

@@ -26,2 +25,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));

@@ -0,0 +0,0 @@ const promisify = require('./promisify');

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