From cd9901c3dd60dbad387e2a7ec318d84b0fa15024 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Thu, 24 Oct 2024 05:19:32 +0000 Subject: [PATCH] chore: update lavamoat policies --- lavamoat/browserify/beta/policy.json | 34 ++++++++++----------------- lavamoat/browserify/flask/policy.json | 34 ++++++++++----------------- lavamoat/browserify/main/policy.json | 34 ++++++++++----------------- lavamoat/browserify/mmi/policy.json | 34 ++++++++++----------------- 4 files changed, 48 insertions(+), 88 deletions(-) diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json index d5c71923eebf..cb78ea51f04f 100644 --- a/lavamoat/browserify/beta/policy.json +++ b/lavamoat/browserify/beta/policy.json @@ -1276,6 +1276,17 @@ "@metamask/utils": true } }, + "@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, "@metamask/keyring-api": { "globals": { "URL": true @@ -2538,11 +2549,11 @@ "setTimeout": true }, "packages": { + "@metamask/json-rpc-middleware-stream": true, "@metamask/object-multiplex": true, "@metamask/post-message-stream": true, "@metamask/snaps-controllers>@metamask/base-controller": true, "@metamask/snaps-controllers>@metamask/json-rpc-engine": true, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": true, "@metamask/snaps-controllers>@metamask/permission-controller": true, "@metamask/snaps-controllers>@metamask/rpc-errors": true, "@metamask/snaps-controllers>@xstate/fsm": true, @@ -2582,17 +2593,6 @@ "@metamask/utils": true } }, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "@metamask/utils": true, - "readable-stream": true - } - }, "@metamask/snaps-controllers>@metamask/permission-controller": { "globals": { "console.error": true @@ -4582,16 +4582,6 @@ "stream-http": true } }, - "json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "readable-stream": true - } - }, "koa>content-disposition>safe-buffer": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index d5c71923eebf..cb78ea51f04f 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -1276,6 +1276,17 @@ "@metamask/utils": true } }, + "@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, "@metamask/keyring-api": { "globals": { "URL": true @@ -2538,11 +2549,11 @@ "setTimeout": true }, "packages": { + "@metamask/json-rpc-middleware-stream": true, "@metamask/object-multiplex": true, "@metamask/post-message-stream": true, "@metamask/snaps-controllers>@metamask/base-controller": true, "@metamask/snaps-controllers>@metamask/json-rpc-engine": true, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": true, "@metamask/snaps-controllers>@metamask/permission-controller": true, "@metamask/snaps-controllers>@metamask/rpc-errors": true, "@metamask/snaps-controllers>@xstate/fsm": true, @@ -2582,17 +2593,6 @@ "@metamask/utils": true } }, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "@metamask/utils": true, - "readable-stream": true - } - }, "@metamask/snaps-controllers>@metamask/permission-controller": { "globals": { "console.error": true @@ -4582,16 +4582,6 @@ "stream-http": true } }, - "json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "readable-stream": true - } - }, "koa>content-disposition>safe-buffer": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json index d5c71923eebf..cb78ea51f04f 100644 --- a/lavamoat/browserify/main/policy.json +++ b/lavamoat/browserify/main/policy.json @@ -1276,6 +1276,17 @@ "@metamask/utils": true } }, + "@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, "@metamask/keyring-api": { "globals": { "URL": true @@ -2538,11 +2549,11 @@ "setTimeout": true }, "packages": { + "@metamask/json-rpc-middleware-stream": true, "@metamask/object-multiplex": true, "@metamask/post-message-stream": true, "@metamask/snaps-controllers>@metamask/base-controller": true, "@metamask/snaps-controllers>@metamask/json-rpc-engine": true, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": true, "@metamask/snaps-controllers>@metamask/permission-controller": true, "@metamask/snaps-controllers>@metamask/rpc-errors": true, "@metamask/snaps-controllers>@xstate/fsm": true, @@ -2582,17 +2593,6 @@ "@metamask/utils": true } }, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "@metamask/utils": true, - "readable-stream": true - } - }, "@metamask/snaps-controllers>@metamask/permission-controller": { "globals": { "console.error": true @@ -4582,16 +4582,6 @@ "stream-http": true } }, - "json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "readable-stream": true - } - }, "koa>content-disposition>safe-buffer": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/mmi/policy.json b/lavamoat/browserify/mmi/policy.json index 230d55331aae..f0af5a124e57 100644 --- a/lavamoat/browserify/mmi/policy.json +++ b/lavamoat/browserify/mmi/policy.json @@ -1368,6 +1368,17 @@ "@metamask/utils": true } }, + "@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, "@metamask/keyring-api": { "globals": { "URL": true @@ -2630,11 +2641,11 @@ "setTimeout": true }, "packages": { + "@metamask/json-rpc-middleware-stream": true, "@metamask/object-multiplex": true, "@metamask/post-message-stream": true, "@metamask/snaps-controllers>@metamask/base-controller": true, "@metamask/snaps-controllers>@metamask/json-rpc-engine": true, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": true, "@metamask/snaps-controllers>@metamask/permission-controller": true, "@metamask/snaps-controllers>@metamask/rpc-errors": true, "@metamask/snaps-controllers>@xstate/fsm": true, @@ -2674,17 +2685,6 @@ "@metamask/utils": true } }, - "@metamask/snaps-controllers>@metamask/json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "@metamask/utils": true, - "readable-stream": true - } - }, "@metamask/snaps-controllers>@metamask/permission-controller": { "globals": { "console.error": true @@ -4674,16 +4674,6 @@ "stream-http": true } }, - "json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/safe-event-emitter": true, - "readable-stream": true - } - }, "koa>content-disposition>safe-buffer": { "packages": { "browserify>buffer": true