From 96db42a34ed112b259dc23f911a10360ed547b8a Mon Sep 17 00:00:00 2001 From: Dan Rose Date: Tue, 11 Jun 2024 16:35:49 -0500 Subject: [PATCH] move deasync to peer dependencies --- package.json | 9 ++++++++- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 35dac669..1c653e44 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "@types/which": "^2.0.1", "benchmark": "^2.1.4", "chai": "^4.3.7", - "deasync": "^0.1.29", "downlevel-dts": "^0.11.0", "electron-mocha": "^11.0.2", "eslint-config-atomic": "^1.18.1", @@ -54,6 +53,14 @@ "typescript": "~4.9.3", "which": "^3.0.0" }, + "peerDependencies": { + "deasync": "^0.1.30" + }, + "peerDependenciesMeta": { + "deasync": { + "optional": true + } + }, "pnpm": { "overrides": { "typescript": "~4.9.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 773b963c..f98f7583 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,6 +15,9 @@ dependencies: cross-env: specifier: ^7.0.3 version: 7.0.3 + deasync: + specifier: ^0.1.30 + version: 0.1.30 node-addon-api: specifier: ^8.0.0 version: 8.0.0 @@ -53,9 +56,6 @@ devDependencies: chai: specifier: ^4.3.7 version: 4.3.7 - deasync: - specifier: ^0.1.29 - version: 0.1.30 downlevel-dts: specifier: ^0.11.0 version: 0.11.0 @@ -1155,7 +1155,7 @@ packages: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} dependencies: file-uri-to-path: 1.0.0 - dev: true + dev: false /bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} @@ -1711,7 +1711,7 @@ packages: dependencies: bindings: 1.5.0 node-addon-api: 1.7.2 - dev: true + dev: false /debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} @@ -2643,7 +2643,7 @@ packages: /file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - dev: true + dev: false /filename-reserved-regex@2.0.0: resolution: {integrity: sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==} @@ -3980,7 +3980,7 @@ packages: /node-addon-api@1.7.2: resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==} - dev: true + dev: false /node-addon-api@8.0.0: resolution: {integrity: sha512-ipO7rsHEBqa9STO5C5T10fj732ml+5kLN1cAG8/jdHd56ldQeGj3Q7+scUS+VHK/qy1zLEwC4wMK5+yM0btPvw==}