async-compat
Advanced tools
Comparing version 1.4.6 to 1.4.7
{ | ||
"name": "async-compat", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Compatibility functions for writing libraries that support synchronous, callback and promise signatures", | ||
@@ -19,8 +19,12 @@ "keywords": [ | ||
"author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"scripts": { | ||
"format": "prettier --write .", | ||
"lint": "eslint .", | ||
"prepublishOnly": "npm run lint && depcheck", | ||
"test": "mocha-compat test/spec/**/*.test.js", | ||
"prepublish": "dtd \"npm run lint\" \"depcheck --ignores='depcheck'\"" | ||
"test:engines": "nvu engines npm test" | ||
}, | ||
@@ -32,18 +36,16 @@ "dependencies": { | ||
"devDependencies": { | ||
"babel-eslint": "^10.1.0", | ||
"depcheck": "^0.9.2", | ||
"dis-dat": "^0.1.3", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"@typescript-eslint/parser": "^5.30.7", | ||
"depcheck": "^1.4.3", | ||
"eslint": "^8.20.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.2.4", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"mocha-compat": "^3.5.5", | ||
"prettier": "^2.0.5" | ||
"prettier": "^2.7.1" | ||
}, | ||
"engines": { | ||
"node": ">=0.8.0" | ||
"node": ">=0.8" | ||
} | ||
} |
@@ -8,7 +8,7 @@ ## async-compat | ||
``` | ||
var compat = require(async-compat'); | ||
var compat = require('async-compat'); | ||
var assert = require(assert'); | ||
///////////////// | ||
// asynchronous | ||
// synchronous | ||
///////////////// | ||
@@ -15,0 +15,0 @@ function fn(value1) { |
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
10
6882
7