Skip to content

Commit

Permalink
fix(deps): move webextension-polyfill to peerDeps + devDeps (#319)
Browse files Browse the repository at this point in the history
* fix(deps): move webextension-polyfill to peerDeps + devDeps

It is only used once for tests and assumed in environment.

peerDependencies version aligning with already used transitive
via extension-port-stream.

* peerDeps: constrain upper range of webextension-polyfill to ^0.12.0
  • Loading branch information
legobeat authored May 30, 2024
1 parent 616c55f commit 6711497
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
"extension-port-stream": "^3.0.0",
"fast-deep-equal": "^3.1.3",
"is-stream": "^2.0.0",
"readable-stream": "^3.6.2",
"webextension-polyfill": "^0.10.0"
"readable-stream": "^3.6.2"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.0",
Expand Down Expand Up @@ -105,7 +104,11 @@
"ts-node": "^10.7.0",
"tsup": "^7.2.0",
"typedoc": "^0.23.15",
"typescript": "~4.8.4"
"typescript": "~4.8.4",
"webextension-polyfill": "^0.12.0"
},
"peerDependencies": {
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
12 changes: 7 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,9 @@ __metadata:
tsup: ^7.2.0
typedoc: ^0.23.15
typescript: ~4.8.4
webextension-polyfill: ^0.10.0
webextension-polyfill: ^0.12.0
peerDependencies:
webextension-polyfill: ^0.10.0 || ^0.11.0 || ^0.12.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -7978,10 +7980,10 @@ __metadata:
languageName: node
linkType: hard

"webextension-polyfill@npm:>=0.10.0 <1.0, webextension-polyfill@npm:^0.10.0":
version: 0.10.0
resolution: "webextension-polyfill@npm:0.10.0"
checksum: 4a59036bda571360c2c0b2fb03fe1dc244f233946bcf9a6766f677956c40fd14d270aaa69cdba95e4ac521014afbe4008bfa5959d0ac39f91c990eb206587f91
"webextension-polyfill@npm:>=0.10.0 <1.0, webextension-polyfill@npm:^0.12.0":
version: 0.12.0
resolution: "webextension-polyfill@npm:0.12.0"
checksum: fc2166c8c9d3f32d7742727394092ff1a1eb19cbc4e5a73066d57f9bff1684e38342b90fabd23981e7295e904c536e8509552a64e989d217dae5de6ddca73532
languageName: node
linkType: hard

Expand Down

0 comments on commit 6711497

Please sign in to comment.