liudong
2023-05-29 340f156319b863525e50e900c58e59b86ecb3d5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
  "_from": "async-mutex@0.3.2",
  "_id": "async-mutex@0.3.2",
  "_inBundle": false,
  "_integrity": "sha512-HuTK7E7MT7jZEh1P9GtRW9+aTWiDWWi9InbZ5hjxrnRa39KS4BW04+xLBhYNS2aXhHUIKZSw3gj4Pn1pj+qGAA==",
  "_location": "/async-mutex",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "async-mutex@0.3.2",
    "name": "async-mutex",
    "escapedName": "async-mutex",
    "rawSpec": "0.3.2",
    "saveSpec": null,
    "fetchSpec": "0.3.2"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.3.2.tgz",
  "_shasum": "1485eda5bda1b0ec7c8df1ac2e815757ad1831df",
  "_spec": "async-mutex@0.3.2",
  "_where": "/home/l/plc/node-red",
  "author": {
    "name": "Christian Speckner",
    "email": "cnspeckn@googlemail.com",
    "url": "https://github.com/DirtyHairy/"
  },
  "bugs": {
    "url": "https://github.com/DirtyHairy/async-mutex/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "tslib": "^2.3.1"
  },
  "deprecated": false,
  "description": "A mutex for guarding async workflows",
  "devDependencies": {
    "@sinonjs/fake-timers": "^7.1.2",
    "@types/mocha": "^9.0.0",
    "@types/node": "^16.7.8",
    "@types/sinonjs__fake-timers": "^6.0.3",
    "@typescript-eslint/eslint-plugin": "^4.30.0",
    "@typescript-eslint/parser": "^4.30.0",
    "coveralls": "^3.1.1",
    "eslint": "^7.32.0",
    "import-sort-style-eslint": "^6.0.0",
    "mocha": "^9.1.1",
    "nyc": "^15.1.0",
    "prettier": "^2.3.2",
    "prettier-plugin-import-sort": "^0.0.7",
    "rollup": "^2.56.3",
    "ts-node": "^10.2.1",
    "typescript": "^4.4.2"
  },
  "eslintConfig": {
    "root": true,
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint"
    ],
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
      "eqeqeq": "error",
      "@typescript-eslint/no-namespace": "off",
      "no-async-promise-executor": "off"
    }
  },
  "exports": {
    ".": {
      "import": "./index.mjs",
      "require": "./lib/index.js",
      "default": "./lib/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "lib",
    "es6",
    "index.mjs"
  ],
  "homepage": "https://github.com/DirtyHairy/async-mutex#readme",
  "importSort": {
    ".js, .jsx, .ts, .tsx": {
      "style": "eslint",
      "parser": "typescript"
    }
  },
  "keywords": [
    "mutex",
    "async"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "module": "es6/index.js",
  "name": "async-mutex",
  "prettier": {
    "printWidth": 120,
    "tabWidth": 4,
    "singleQuote": true,
    "parser": "typescript"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DirtyHairy/async-mutex.git"
  },
  "scripts": {
    "build": "tsc && tsc -p tsconfig.es6.json && tsc -p tsconfig.mjs.json && rollup -o index.mjs mjs/index.js",
    "coveralls": "cat ./coverage/lcov.info | coveralls",
    "lint": "eslint src/**/*.ts test/**/*.ts",
    "prepublishOnly": "yarn test && yarn build",
    "test": "yarn lint && nyc --reporter=text --reporter=html --reporter=lcov mocha test/*.ts"
  },
  "types": "lib/index.d.ts",
  "version": "0.3.2"
}