Skip to content

Commit d18fbb2

Browse files
committed
regen lavamoat policies
1 parent 249f4ea commit d18fbb2

File tree

6 files changed

+300
-0
lines changed

6 files changed

+300
-0
lines changed

packages/snaps-execution-environments/lavamoat/browserify/iframe/policy.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,20 @@
178178
"browserify>process": true
179179
}
180180
},
181+
"@metamask/snaps-utils>is-svg": {
182+
"packages": {
183+
"@metamask/snaps-utils>is-svg>fast-xml-parser": true
184+
}
185+
},
186+
"@metamask/snaps-utils>is-svg>fast-xml-parser": {
187+
"globals": {
188+
"entityName": true,
189+
"val": true
190+
},
191+
"packages": {
192+
"@metamask/snaps-utils>is-svg>fast-xml-parser>strnum": true
193+
}
194+
},
181195
"@metamask/utils": {
182196
"globals": {
183197
"TextDecoder": true,
@@ -294,11 +308,47 @@
294308
"eth-rpc-errors>fast-safe-stringify": true
295309
}
296310
},
311+
"external:../snaps-ui/src/builder.ts": {
312+
"packages": {
313+
"@metamask/utils": true,
314+
"external:../snaps-ui/src/nodes.ts": true
315+
}
316+
},
317+
"external:../snaps-ui/src/index.ts": {
318+
"packages": {
319+
"external:../snaps-ui/src/builder.ts": true,
320+
"external:../snaps-ui/src/nodes.ts": true,
321+
"external:../snaps-ui/src/validation.ts": true
322+
}
323+
},
324+
"external:../snaps-ui/src/nodes.ts": {
325+
"packages": {
326+
"@metamask/snaps-utils>is-svg": true,
327+
"external:../snaps-ui/src/validation.ts": true,
328+
"superstruct": true
329+
}
330+
},
331+
"external:../snaps-ui/src/validation.ts": {
332+
"globals": {
333+
"URL": true
334+
},
335+
"packages": {
336+
"@metamask/utils": true,
337+
"external:../snaps-ui/src/nodes.ts": true,
338+
"superstruct": true
339+
}
340+
},
297341
"external:../snaps-utils/src/errors.ts": {
298342
"packages": {
299343
"@metamask/utils": true
300344
}
301345
},
346+
"external:../snaps-utils/src/handlers.ts": {
347+
"packages": {
348+
"external:../snaps-ui/src/index.ts": true,
349+
"superstruct": true
350+
}
351+
},
302352
"external:../snaps-utils/src/icon.ts": {
303353
"builtin": {
304354
"buffer": true

packages/snaps-execution-environments/lavamoat/browserify/node-process/policy.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,20 @@
244244
"fs": true
245245
}
246246
},
247+
"@metamask/snaps-utils>is-svg": {
248+
"packages": {
249+
"@metamask/snaps-utils>is-svg>fast-xml-parser": true
250+
}
251+
},
252+
"@metamask/snaps-utils>is-svg>fast-xml-parser": {
253+
"globals": {
254+
"entityName": true,
255+
"val": true
256+
},
257+
"packages": {
258+
"@metamask/snaps-utils>is-svg>fast-xml-parser>strnum": true
259+
}
260+
},
247261
"@metamask/utils": {
248262
"builtin": {
249263
"buffer.Buffer": true
@@ -360,11 +374,47 @@
360374
"eth-rpc-errors>fast-safe-stringify": true
361375
}
362376
},
377+
"external:../snaps-ui/src/builder.ts": {
378+
"packages": {
379+
"@metamask/utils": true,
380+
"external:../snaps-ui/src/nodes.ts": true
381+
}
382+
},
383+
"external:../snaps-ui/src/index.ts": {
384+
"packages": {
385+
"external:../snaps-ui/src/builder.ts": true,
386+
"external:../snaps-ui/src/nodes.ts": true,
387+
"external:../snaps-ui/src/validation.ts": true
388+
}
389+
},
390+
"external:../snaps-ui/src/nodes.ts": {
391+
"packages": {
392+
"@metamask/snaps-utils>is-svg": true,
393+
"external:../snaps-ui/src/validation.ts": true,
394+
"superstruct": true
395+
}
396+
},
397+
"external:../snaps-ui/src/validation.ts": {
398+
"globals": {
399+
"URL": true
400+
},
401+
"packages": {
402+
"@metamask/utils": true,
403+
"external:../snaps-ui/src/nodes.ts": true,
404+
"superstruct": true
405+
}
406+
},
363407
"external:../snaps-utils/src/errors.ts": {
364408
"packages": {
365409
"@metamask/utils": true
366410
}
367411
},
412+
"external:../snaps-utils/src/handlers.ts": {
413+
"packages": {
414+
"external:../snaps-ui/src/index.ts": true,
415+
"superstruct": true
416+
}
417+
},
368418
"external:../snaps-utils/src/icon.ts": {
369419
"builtin": {
370420
"buffer": true

packages/snaps-execution-environments/lavamoat/browserify/node-thread/policy.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,20 @@
244244
"fs": true
245245
}
246246
},
247+
"@metamask/snaps-utils>is-svg": {
248+
"packages": {
249+
"@metamask/snaps-utils>is-svg>fast-xml-parser": true
250+
}
251+
},
252+
"@metamask/snaps-utils>is-svg>fast-xml-parser": {
253+
"globals": {
254+
"entityName": true,
255+
"val": true
256+
},
257+
"packages": {
258+
"@metamask/snaps-utils>is-svg>fast-xml-parser>strnum": true
259+
}
260+
},
247261
"@metamask/utils": {
248262
"builtin": {
249263
"buffer.Buffer": true
@@ -360,11 +374,47 @@
360374
"eth-rpc-errors>fast-safe-stringify": true
361375
}
362376
},
377+
"external:../snaps-ui/src/builder.ts": {
378+
"packages": {
379+
"@metamask/utils": true,
380+
"external:../snaps-ui/src/nodes.ts": true
381+
}
382+
},
383+
"external:../snaps-ui/src/index.ts": {
384+
"packages": {
385+
"external:../snaps-ui/src/builder.ts": true,
386+
"external:../snaps-ui/src/nodes.ts": true,
387+
"external:../snaps-ui/src/validation.ts": true
388+
}
389+
},
390+
"external:../snaps-ui/src/nodes.ts": {
391+
"packages": {
392+
"@metamask/snaps-utils>is-svg": true,
393+
"external:../snaps-ui/src/validation.ts": true,
394+
"superstruct": true
395+
}
396+
},
397+
"external:../snaps-ui/src/validation.ts": {
398+
"globals": {
399+
"URL": true
400+
},
401+
"packages": {
402+
"@metamask/utils": true,
403+
"external:../snaps-ui/src/nodes.ts": true,
404+
"superstruct": true
405+
}
406+
},
363407
"external:../snaps-utils/src/errors.ts": {
364408
"packages": {
365409
"@metamask/utils": true
366410
}
367411
},
412+
"external:../snaps-utils/src/handlers.ts": {
413+
"packages": {
414+
"external:../snaps-ui/src/index.ts": true,
415+
"superstruct": true
416+
}
417+
},
368418
"external:../snaps-utils/src/icon.ts": {
369419
"builtin": {
370420
"buffer": true

packages/snaps-execution-environments/lavamoat/browserify/offscreen/policy.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@
3939
"superstruct": true
4040
}
4141
},
42+
"@metamask/snaps-utils>is-svg": {
43+
"packages": {
44+
"@metamask/snaps-utils>is-svg>fast-xml-parser": true
45+
}
46+
},
47+
"@metamask/snaps-utils>is-svg>fast-xml-parser": {
48+
"globals": {
49+
"entityName": true,
50+
"val": true
51+
},
52+
"packages": {
53+
"@metamask/snaps-utils>is-svg>fast-xml-parser>strnum": true
54+
}
55+
},
4256
"@metamask/utils": {
4357
"globals": {
4458
"TextDecoder": true,
@@ -122,11 +136,47 @@
122136
"eslint>debug>ms": true
123137
}
124138
},
139+
"external:../snaps-ui/src/builder.ts": {
140+
"packages": {
141+
"@metamask/utils": true,
142+
"external:../snaps-ui/src/nodes.ts": true
143+
}
144+
},
145+
"external:../snaps-ui/src/index.ts": {
146+
"packages": {
147+
"external:../snaps-ui/src/builder.ts": true,
148+
"external:../snaps-ui/src/nodes.ts": true,
149+
"external:../snaps-ui/src/validation.ts": true
150+
}
151+
},
152+
"external:../snaps-ui/src/nodes.ts": {
153+
"packages": {
154+
"@metamask/snaps-utils>is-svg": true,
155+
"external:../snaps-ui/src/validation.ts": true,
156+
"superstruct": true
157+
}
158+
},
159+
"external:../snaps-ui/src/validation.ts": {
160+
"globals": {
161+
"URL": true
162+
},
163+
"packages": {
164+
"@metamask/utils": true,
165+
"external:../snaps-ui/src/nodes.ts": true,
166+
"superstruct": true
167+
}
168+
},
125169
"external:../snaps-utils/src/errors.ts": {
126170
"packages": {
127171
"@metamask/utils": true
128172
}
129173
},
174+
"external:../snaps-utils/src/handlers.ts": {
175+
"packages": {
176+
"external:../snaps-ui/src/index.ts": true,
177+
"superstruct": true
178+
}
179+
},
130180
"external:../snaps-utils/src/icon.ts": {
131181
"builtin": {
132182
"buffer": true

packages/snaps-execution-environments/lavamoat/browserify/worker-executor/policy.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,20 @@
178178
"browserify>process": true
179179
}
180180
},
181+
"@metamask/snaps-utils>is-svg": {
182+
"packages": {
183+
"@metamask/snaps-utils>is-svg>fast-xml-parser": true
184+
}
185+
},
186+
"@metamask/snaps-utils>is-svg>fast-xml-parser": {
187+
"globals": {
188+
"entityName": true,
189+
"val": true
190+
},
191+
"packages": {
192+
"@metamask/snaps-utils>is-svg>fast-xml-parser>strnum": true
193+
}
194+
},
181195
"@metamask/utils": {
182196
"globals": {
183197
"TextDecoder": true,
@@ -294,11 +308,47 @@
294308
"eth-rpc-errors>fast-safe-stringify": true
295309
}
296310
},
311+
"external:../snaps-ui/src/builder.ts": {
312+
"packages": {
313+
"@metamask/utils": true,
314+
"external:../snaps-ui/src/nodes.ts": true
315+
}
316+
},
317+
"external:../snaps-ui/src/index.ts": {
318+
"packages": {
319+
"external:../snaps-ui/src/builder.ts": true,
320+
"external:../snaps-ui/src/nodes.ts": true,
321+
"external:../snaps-ui/src/validation.ts": true
322+
}
323+
},
324+
"external:../snaps-ui/src/nodes.ts": {
325+
"packages": {
326+
"@metamask/snaps-utils>is-svg": true,
327+
"external:../snaps-ui/src/validation.ts": true,
328+
"superstruct": true
329+
}
330+
},
331+
"external:../snaps-ui/src/validation.ts": {
332+
"globals": {
333+
"URL": true
334+
},
335+
"packages": {
336+
"@metamask/utils": true,
337+
"external:../snaps-ui/src/nodes.ts": true,
338+
"superstruct": true
339+
}
340+
},
297341
"external:../snaps-utils/src/errors.ts": {
298342
"packages": {
299343
"@metamask/utils": true
300344
}
301345
},
346+
"external:../snaps-utils/src/handlers.ts": {
347+
"packages": {
348+
"external:../snaps-ui/src/index.ts": true,
349+
"superstruct": true
350+
}
351+
},
302352
"external:../snaps-utils/src/icon.ts": {
303353
"builtin": {
304354
"buffer": true

0 commit comments

Comments
 (0)