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

async-compat

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-compat - npm Package Compare versions

Comparing version 1.4.6 to 1.4.7

lib/index.js

32

package.json
{
"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) {

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