diff --git a/package-lock.json b/package-lock.json index 45756dd3..df70a1db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -460,7 +460,7 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, + "dev": true, "requires": { "file-uri-to-path": "1.0.0" } @@ -966,7 +966,7 @@ "version": "0.1.16", "resolved": "https://registry.npmjs.org/deasync/-/deasync-0.1.16.tgz", "integrity": "sha512-FNCjDwxGbhK+Ye8fmE3p2ahIjERhkbuwX+WVGZPtSbAh9LfE1Saa2p0l+f0t11sIlk9D8W+Bym+cDp6r5yghAQ==", - "optional": true, + "dev": true, "requires": { "bindings": "^1.5.0", "node-addon-api": "^1.7.1" @@ -1295,7 +1295,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "optional": true + "dev": true }, "fill-range": { "version": "7.0.1", @@ -2519,7 +2519,7 @@ "version": "1.7.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.1.tgz", "integrity": "sha512-2+DuKodWvwRTrCfKOeR24KIc5unKjOh8mz17NCzVnHWfjAdDqbfbjqh7gUT+BkXBRQM52+xCHciKWonJ3CbJMQ==", - "optional": true + "dev": true }, "node-environment-flags": { "version": "1.0.5", diff --git a/package.json b/package.json index 02d0333c..8b58635c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "ono": "^5.0.1", "path-to-regexp": "^6.0.0" }, - "optionalDependencies": { + "peerDependencies": { "deasync": "^0.1.16" }, "devDependencies": { @@ -52,6 +52,7 @@ "codacy-coverage": "^3.4.0", "cookie-parser": "^1.4.4", "coveralls": "^3.0.5", + "deasync": "^0.1.16", "express": "^4.17.1", "mocha": "^6.2.0", "morgan": "^1.9.1",