node-web-gpio 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -196,7 +196,7 @@ class GPIOPort extends node_events_1.EventEmitter {
|
|
|
196
196
|
// biome-ignore lint/suspicious/noExplicitAny:
|
|
197
197
|
}
|
|
198
198
|
catch (error) {
|
|
199
|
-
if (this._exportRetry
|
|
199
|
+
if (this._exportRetry < 10) {
|
|
200
200
|
await sleep(100);
|
|
201
201
|
console.warn('May be the first time port access. Retry..');
|
|
202
202
|
++this._exportRetry;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-web-gpio",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "GPIO access with Node.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"author": "Kohei Watanabe <kou029w@gmail.com>",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@biomejs/biome": "
|
|
18
|
-
"@types/node": "
|
|
19
|
-
"husky": "
|
|
20
|
-
"lint-staged": "
|
|
21
|
-
"prettier": "
|
|
22
|
-
"typedoc": "
|
|
23
|
-
"typescript": "
|
|
17
|
+
"@biomejs/biome": "1.9.3",
|
|
18
|
+
"@types/node": "22.7.4",
|
|
19
|
+
"husky": "9.1.6",
|
|
20
|
+
"lint-staged": "15.2.10",
|
|
21
|
+
"prettier": "3.3.3",
|
|
22
|
+
"typedoc": "0.26.7",
|
|
23
|
+
"typescript": "5.6.2"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsc",
|