Skip to content

Commit

Permalink
API: Pin dicer to v0.3.1
Browse files Browse the repository at this point in the history
Current fix required to edit the lock file by hand.
This commit adds a "resolutions" key to the package.json file.
This pins this specific dependency to version 0.3.1 without using dubious hacks.

More info about this feature:
https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/
  • Loading branch information
XeR authored and JJ-8 committed Aug 24, 2022
1 parent 9a83a24 commit 44d9f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.7.4"
},
"resolutions": {
"graphql-upload/busboy/dicer": "0.3.1"
}
}
2 changes: 1 addition & 1 deletion api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ destroy@1.2.0:
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015"
integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==

dicer@0.3.1:
dicer@0.3.0, dicer@0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/dicer/-/dicer-0.3.1.tgz#abf28921e3475bc5e801e74e0159fd94f927ba97"
integrity sha512-ObioMtXnmjYs3aRtpIJt9rgQSPCIhKVkFPip+E9GUDyWl8N435znUxK/JfNwGZJ2wnn5JKQ7Ly3vOK5Q5dylGA==
Expand Down

0 comments on commit 44d9f22

Please sign in to comment.