Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update lavamoat to a version with more diff-friendly policy ordering #29311

Merged
merged 9 commits into from
Dec 18, 2024
9 changes: 6 additions & 3 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@
"@zxing/library>ts-custom-error": true
}
},
"extension-port-stream>readable-stream>abort-controller": {
"@lavamoat/lavapack>readable-stream>abort-controller": {
"globals": {
"AbortController": true
}
Expand Down Expand Up @@ -4889,11 +4889,14 @@
"extension-port-stream>readable-stream": {
"globals": {
"AbortController": true,
"AbortSignal": true,
"AggregateError": true,
"Blob": true
"Blob": true,
"ERR_INVALID_ARG_TYPE": true,
"queueMicrotask": true
},
"packages": {
"extension-port-stream>readable-stream>abort-controller": true,
"@lavamoat/lavapack>readable-stream>abort-controller": true,
"browserify>buffer": true,
"webpack>events": true,
"process": true,
Expand Down
9 changes: 6 additions & 3 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@
"@zxing/library>ts-custom-error": true
}
},
"extension-port-stream>readable-stream>abort-controller": {
"@lavamoat/lavapack>readable-stream>abort-controller": {
"globals": {
"AbortController": true
}
Expand Down Expand Up @@ -4889,11 +4889,14 @@
"extension-port-stream>readable-stream": {
"globals": {
"AbortController": true,
"AbortSignal": true,
"AggregateError": true,
"Blob": true
"Blob": true,
"ERR_INVALID_ARG_TYPE": true,
"queueMicrotask": true
},
"packages": {
"extension-port-stream>readable-stream>abort-controller": true,
"@lavamoat/lavapack>readable-stream>abort-controller": true,
"browserify>buffer": true,
"webpack>events": true,
"process": true,
Expand Down
9 changes: 6 additions & 3 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@
"@zxing/library>ts-custom-error": true
}
},
"extension-port-stream>readable-stream>abort-controller": {
"@lavamoat/lavapack>readable-stream>abort-controller": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these browserify policies should have changed, so let's explore why these changes are trivial:

  • the path to abort-controller changed because packages got rearranged in the tree and this is now the shortest path to it.
  • readable-stream got deduplicated into a newer version that uses AbortSignal directly etc.

"globals": {
"AbortController": true
}
Expand Down Expand Up @@ -4889,11 +4889,14 @@
"extension-port-stream>readable-stream": {
"globals": {
"AbortController": true,
"AbortSignal": true,
"AggregateError": true,
"Blob": true
"Blob": true,
"ERR_INVALID_ARG_TYPE": true,
"queueMicrotask": true
},
"packages": {
"extension-port-stream>readable-stream>abort-controller": true,
"@lavamoat/lavapack>readable-stream>abort-controller": true,
"browserify>buffer": true,
"webpack>events": true,
"process": true,
Expand Down
9 changes: 6 additions & 3 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2785,7 +2785,7 @@
"@zxing/library>ts-custom-error": true
}
},
"extension-port-stream>readable-stream>abort-controller": {
"@lavamoat/lavapack>readable-stream>abort-controller": {
"globals": {
"AbortController": true
}
Expand Down Expand Up @@ -4981,11 +4981,14 @@
"extension-port-stream>readable-stream": {
"globals": {
"AbortController": true,
"AbortSignal": true,
"AggregateError": true,
"Blob": true
"Blob": true,
"ERR_INVALID_ARG_TYPE": true,
"queueMicrotask": true
},
"packages": {
"extension-port-stream>readable-stream>abort-controller": true,
"@lavamoat/lavapack>readable-stream>abort-controller": true,
"browserify>buffer": true,
"webpack>events": true,
"process": true,
Expand Down
Loading
Loading