Commit 3ad10050743fa4fc11332205b3bd335b5a630243

Authored by Adhidarma Hadiwinoto
1 parent 18a34834c4
Exists in master

Move systemd-notify to optional dep and remove which from dep

Showing 2 changed files with 10 additions and 47 deletions Side-by-side Diff

... ... @@ -37,18 +37,17 @@
37 37 "tektrans-logger": "^1.2.5",
38 38 "uniqid": "^4.1.1",
39 39 "url-join": "^4.0.1",
40   - "uuid": "^9.0.0",
41   - "which": "^4.0.0"
  40 + "uuid": "^9.0.0"
42 41 },
43 42 "devDependencies": {
44 43 "auto-changelog": "^2.4.0",
45 44 "eslint": "^8.6.0",
46 45 "eslint-config-airbnb-base": "^15.0.0",
47   - "eslint-plugin-import": "^2.25.4",
48   - "systemd-notify": "^1.0.0"
  46 + "eslint-plugin-import": "^2.25.4"
49 47 },
50 48 "optionalDependencies": {
51   - "sd-notify": "^2.8.0"
  49 + "sd-notify": "^2.8.0",
  50 + "systemd-notify": "^1.0.0"
52 51 }
53 52 },
54 53 "node_modules/@cloudcmd/copy-file": {
... ... @@ -2116,14 +2115,6 @@
2116 2115 "url": "https://github.com/sponsors/ljharb"
2117 2116 }
2118 2117 },
2119   - "node_modules/isexe": {
2120   - "version": "3.1.1",
2121   - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
2122   - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
2123   - "engines": {
2124   - "node": ">=16"
2125   - }
2126   - },
2127 2118 "node_modules/isstream": {
2128 2119 "version": "0.1.2",
2129 2120 "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
... ... @@ -3290,7 +3281,7 @@
3290 3281 "version": "1.0.0",
3291 3282 "resolved": "https://registry.npmjs.org/systemd-notify/-/systemd-notify-1.0.0.tgz",
3292 3283 "integrity": "sha512-KP/Qn747dzdOgc7BEk3qd3EZWauwJ+aupqo3Upz134r4WZQJhU+qyJFnGMsMzj/NQf7XfPFq/LQogpqZuZmNXA==",
3293   - "dev": true
  3284 + "optional": true
3294 3285 },
3295 3286 "node_modules/tektrans-logger": {
3296 3287 "version": "1.2.5",
... ... @@ -3552,20 +3543,6 @@
3552 3543 "webidl-conversions": "^3.0.0"
3553 3544 }
3554 3545 },
3555   - "node_modules/which": {
3556   - "version": "4.0.0",
3557   - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
3558   - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
3559   - "dependencies": {
3560   - "isexe": "^3.1.1"
3561   - },
3562   - "bin": {
3563   - "node-which": "bin/which.js"
3564   - },
3565   - "engines": {
3566   - "node": "^16.13.0 || >=18.0.0"
3567   - }
3568   - },
3569 3546 "node_modules/which-boxed-primitive": {
3570 3547 "version": "1.0.2",
3571 3548 "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
... ... @@ -5236,11 +5213,6 @@
5236 5213 "call-bind": "^1.0.2"
5237 5214 }
5238 5215 },
5239   - "isexe": {
5240   - "version": "3.1.1",
5241   - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
5242   - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ=="
5243   - },
5244 5216 "isstream": {
5245 5217 "version": "0.1.2",
5246 5218 "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
... ... @@ -6102,7 +6074,7 @@
6102 6074 "version": "1.0.0",
6103 6075 "resolved": "https://registry.npmjs.org/systemd-notify/-/systemd-notify-1.0.0.tgz",
6104 6076 "integrity": "sha512-KP/Qn747dzdOgc7BEk3qd3EZWauwJ+aupqo3Upz134r4WZQJhU+qyJFnGMsMzj/NQf7XfPFq/LQogpqZuZmNXA==",
6105   - "dev": true
  6077 + "optional": true
6106 6078 },
6107 6079 "tektrans-logger": {
6108 6080 "version": "1.2.5",
... ... @@ -6312,14 +6284,6 @@
6312 6284 "webidl-conversions": "^3.0.0"
6313 6285 }
6314 6286 },
6315   - "which": {
6316   - "version": "4.0.0",
6317   - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
6318   - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
6319   - "requires": {
6320   - "isexe": "^3.1.1"
6321   - }
6322   - },
6323 6287 "which-boxed-primitive": {
6324 6288 "version": "1.0.2",
6325 6289 "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
... ... @@ -48,17 +48,16 @@
48 48 "tektrans-logger": "^1.2.5",
49 49 "uniqid": "^4.1.1",
50 50 "url-join": "^4.0.1",
51   - "uuid": "^9.0.0",
52   - "which": "^4.0.0"
  51 + "uuid": "^9.0.0"
53 52 },
54 53 "devDependencies": {
55 54 "auto-changelog": "^2.4.0",
56 55 "eslint": "^8.6.0",
57 56 "eslint-config-airbnb-base": "^15.0.0",
58   - "eslint-plugin-import": "^2.25.4",
59   - "systemd-notify": "^1.0.0"
  57 + "eslint-plugin-import": "^2.25.4"
60 58 },
61 59 "optionalDependencies": {
62   - "sd-notify": "^2.8.0"
  60 + "sd-notify": "^2.8.0",
  61 + "systemd-notify": "^1.0.0"
63 62 }
64 63 }