diff --git a/.depcheckrc.yml b/.depcheckrc.yml
index 04887ebd118a..cb90e46df5a2 100644
--- a/.depcheckrc.yml
+++ b/.depcheckrc.yml
@@ -11,13 +11,10 @@ ignores:
- 'react-compiler-runtime'
- '@fortawesome/fontawesome-free'
- 'punycode'
- # peer deps of @mui/material v5, consumed internally by MUI (not imported directly)
+ # peer deps of @mui/material v5; no direct imports in app source (MUI resolves them)
- '@emotion/react'
- '@emotion/styled'
- # v5 pre-installed ahead of migration from @material-ui/core (v4 path);
- # imports switch to @mui/material in the migration branch
- - '@mui/material'
- # future use for Snaps date pickers; v7 supports React 17 + MUI v5
+ # present for upcoming date-picker migration; not imported yet — depcheck would flag unused
- '@mui/x-date-pickers'
#
@@ -116,8 +113,6 @@ ignores:
- '@metamask/institutional-wallet-snap'
- '@metamask/gator-permissions-snap'
- '@metamask/permissions-kernel-snap'
- # perps poc
- - '@metamask/perps-controller'
# files depcheck should not parse
ignorePatterns:
diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json
index dba6bcd9a3e3..f77b1388c4ef 100644
--- a/lavamoat/browserify/beta/policy.json
+++ b/lavamoat/browserify/beta/policy.json
@@ -15,6 +15,79 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document": false
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/utils": {
+ "globals": {
+ "document": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
@@ -711,7 +784,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2672,6 +2744,102 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/private-theming": {
+ "globals": {
+ "console.error": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "console.warn": true,
+ "document": true,
+ "getComputedStyle": true,
+ "localStorage.getItem": true,
+ "localStorage.setItem": true,
+ "matchMedia": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system>@mui/private-theming": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@keystonehq/alias-sampling": true,
@@ -5446,23 +5614,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "define": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
@@ -6389,6 +6540,11 @@
"react-markdown>style-to-object>inline-style-parser": true
}
},
+ "@emotion/react>@emotion/cache>stylis": {
+ "globals": {
+ "define": true
+ }
+ },
"@metamask/snaps-controllers>tar-stream": {
"packages": {
"@metamask/snaps-controllers>tar-stream>b4a": true,
diff --git a/lavamoat/browserify/experimental/policy.json b/lavamoat/browserify/experimental/policy.json
index dba6bcd9a3e3..f77b1388c4ef 100644
--- a/lavamoat/browserify/experimental/policy.json
+++ b/lavamoat/browserify/experimental/policy.json
@@ -15,6 +15,79 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document": false
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/utils": {
+ "globals": {
+ "document": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
@@ -711,7 +784,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2672,6 +2744,102 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/private-theming": {
+ "globals": {
+ "console.error": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "console.warn": true,
+ "document": true,
+ "getComputedStyle": true,
+ "localStorage.getItem": true,
+ "localStorage.setItem": true,
+ "matchMedia": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system>@mui/private-theming": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@keystonehq/alias-sampling": true,
@@ -5446,23 +5614,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "define": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
@@ -6389,6 +6540,11 @@
"react-markdown>style-to-object>inline-style-parser": true
}
},
+ "@emotion/react>@emotion/cache>stylis": {
+ "globals": {
+ "define": true
+ }
+ },
"@metamask/snaps-controllers>tar-stream": {
"packages": {
"@metamask/snaps-controllers>tar-stream>b4a": true,
diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json
index dba6bcd9a3e3..f77b1388c4ef 100644
--- a/lavamoat/browserify/flask/policy.json
+++ b/lavamoat/browserify/flask/policy.json
@@ -15,6 +15,79 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document": false
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/utils": {
+ "globals": {
+ "document": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
@@ -711,7 +784,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2672,6 +2744,102 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/private-theming": {
+ "globals": {
+ "console.error": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "console.warn": true,
+ "document": true,
+ "getComputedStyle": true,
+ "localStorage.getItem": true,
+ "localStorage.setItem": true,
+ "matchMedia": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system>@mui/private-theming": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@keystonehq/alias-sampling": true,
@@ -5446,23 +5614,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "define": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
@@ -6389,6 +6540,11 @@
"react-markdown>style-to-object>inline-style-parser": true
}
},
+ "@emotion/react>@emotion/cache>stylis": {
+ "globals": {
+ "define": true
+ }
+ },
"@metamask/snaps-controllers>tar-stream": {
"packages": {
"@metamask/snaps-controllers>tar-stream>b4a": true,
diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json
index dba6bcd9a3e3..f77b1388c4ef 100644
--- a/lavamoat/browserify/main/policy.json
+++ b/lavamoat/browserify/main/policy.json
@@ -15,6 +15,79 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document": false
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "globals": {
+ "document": true
+ },
+ "packages": {
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/utils": {
+ "globals": {
+ "document": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
@@ -711,7 +784,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2672,6 +2744,102 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/private-theming": {
+ "globals": {
+ "console.error": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "console.warn": true,
+ "document": true,
+ "getComputedStyle": true,
+ "localStorage.getItem": true,
+ "localStorage.setItem": true,
+ "matchMedia": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system>@mui/private-theming": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@keystonehq/alias-sampling": true,
@@ -5446,23 +5614,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "define": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
@@ -6389,6 +6540,11 @@
"react-markdown>style-to-object>inline-style-parser": true
}
},
+ "@emotion/react>@emotion/cache>stylis": {
+ "globals": {
+ "define": true
+ }
+ },
"@metamask/snaps-controllers>tar-stream": {
"packages": {
"@metamask/snaps-controllers>tar-stream>b4a": true,
diff --git a/lavamoat/browserify/policy-override.json b/lavamoat/browserify/policy-override.json
index 56073cdfd74e..14593dd5b4fd 100644
--- a/lavamoat/browserify/policy-override.json
+++ b/lavamoat/browserify/policy-override.json
@@ -145,6 +145,13 @@
"WorkerGlobalScope": false,
"importScripts": false
}
+ },
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document": false,
+ "document.head": true,
+ "document.querySelectorAll": true
+ }
}
}
}
diff --git a/lavamoat/webpack/mv2/beta/policy.json b/lavamoat/webpack/mv2/beta/policy.json
index 49c5d7b67ce9..a2df7bde7fd4 100644
--- a/lavamoat/webpack/mv2/beta/policy.json
+++ b/lavamoat/webpack/mv2/beta/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"Buffer.from": true,
@@ -655,7 +718,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2414,6 +2476,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -5213,22 +5355,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv2/experimental/policy.json b/lavamoat/webpack/mv2/experimental/policy.json
index 49c5d7b67ce9..a2df7bde7fd4 100644
--- a/lavamoat/webpack/mv2/experimental/policy.json
+++ b/lavamoat/webpack/mv2/experimental/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"Buffer.from": true,
@@ -655,7 +718,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2414,6 +2476,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -5213,22 +5355,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv2/flask/policy.json b/lavamoat/webpack/mv2/flask/policy.json
index 49c5d7b67ce9..a2df7bde7fd4 100644
--- a/lavamoat/webpack/mv2/flask/policy.json
+++ b/lavamoat/webpack/mv2/flask/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"Buffer.from": true,
@@ -655,7 +718,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2414,6 +2476,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -5213,22 +5355,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv2/main/policy.json b/lavamoat/webpack/mv2/main/policy.json
index 49c5d7b67ce9..a2df7bde7fd4 100644
--- a/lavamoat/webpack/mv2/main/policy.json
+++ b/lavamoat/webpack/mv2/main/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ensdomains/content-hash": {
"globals": {
"Buffer.from": true,
@@ -655,7 +718,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -2414,6 +2476,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -5213,22 +5355,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv3/beta/policy.json b/lavamoat/webpack/mv3/beta/policy.json
index 805ec8f2f330..5ab89509e81a 100644
--- a/lavamoat/webpack/mv3/beta/policy.json
+++ b/lavamoat/webpack/mv3/beta/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
@@ -572,7 +635,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -1428,6 +1490,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -3689,22 +3831,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv3/experimental/policy.json b/lavamoat/webpack/mv3/experimental/policy.json
index 805ec8f2f330..5ab89509e81a 100644
--- a/lavamoat/webpack/mv3/experimental/policy.json
+++ b/lavamoat/webpack/mv3/experimental/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
@@ -572,7 +635,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -1428,6 +1490,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -3689,22 +3831,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv3/flask/policy.json b/lavamoat/webpack/mv3/flask/policy.json
index 805ec8f2f330..5ab89509e81a 100644
--- a/lavamoat/webpack/mv3/flask/policy.json
+++ b/lavamoat/webpack/mv3/flask/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
@@ -572,7 +635,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -1428,6 +1490,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -3689,22 +3831,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/lavamoat/webpack/mv3/main/policy.json b/lavamoat/webpack/mv3/main/policy.json
index 805ec8f2f330..5ab89509e81a 100644
--- a/lavamoat/webpack/mv3/main/policy.json
+++ b/lavamoat/webpack/mv3/main/policy.json
@@ -15,6 +15,69 @@
"luxon": true
}
},
+ "@emotion/react>@emotion/cache": {
+ "globals": {
+ "document.head": true,
+ "document.querySelectorAll": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/cache>@emotion/sheet": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "@emotion/react>@emotion/cache>stylis": true
+ }
+ },
+ "@emotion/styled>@emotion/is-prop-valid": {
+ "packages": {
+ "@emotion/react>@emotion/cache>@emotion/memoize": true
+ }
+ },
+ "@emotion/react": {
+ "globals": {
+ "HTMLElement": true,
+ "document.querySelector": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "@emotion/react>@emotion/weak-memoize": true,
+ "react-redux>hoist-non-react-statics": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/serialize": {
+ "packages": {
+ "@emotion/react>@emotion/serialize>@emotion/hash": true,
+ "@emotion/react>@emotion/cache>@emotion/memoize": true,
+ "@emotion/react>@emotion/serialize>@emotion/unitless": true
+ }
+ },
+ "@emotion/react>@emotion/cache>@emotion/sheet": {
+ "globals": {
+ "document.createElement": true,
+ "document.createTextNode": true,
+ "document.styleSheets": true
+ }
+ },
+ "@emotion/styled": {
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/styled>@emotion/is-prop-valid": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": true,
+ "@emotion/react>@emotion/utils": true,
+ "react": true
+ }
+ },
+ "@emotion/react>@emotion/use-insertion-effect-with-fallbacks": {
+ "packages": {
+ "react": true
+ }
+ },
"@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
@@ -572,7 +635,6 @@
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
- "@material-ui/core>popper.js": true,
"prop-types": true,
"react": true,
"react-dom": true,
@@ -1428,6 +1490,86 @@
"semver": true
}
},
+ "@mui/material": {
+ "globals": {
+ "DocumentFragment": true,
+ "ResizeObserver": true,
+ "addEventListener": true,
+ "cancelAnimationFrame": true,
+ "clearInterval": true,
+ "console.error": true,
+ "console.warn": true,
+ "document.addEventListener": true,
+ "document.body": true,
+ "document.removeEventListener": true,
+ "getSelection": true,
+ "navigator": true,
+ "performance.now": true,
+ "removeEventListener": true,
+ "requestAnimationFrame": true,
+ "setInterval": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@mui/material>@mui/system": true,
+ "@mui/material>@mui/utils": true,
+ "@popperjs/core": true,
+ "clsx": true,
+ "prop-types": true,
+ "react": true,
+ "react-dom": true,
+ "@mui/material>react-is": true,
+ "react-transition-group": true
+ }
+ },
+ "@mui/material>@mui/system>@mui/styled-engine": {
+ "globals": {
+ "console.error": true,
+ "document": true
+ },
+ "packages": {
+ "@emotion/react>@emotion/cache": true,
+ "@emotion/react": true,
+ "@emotion/react>@emotion/serialize": true,
+ "@emotion/styled": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/system": {
+ "globals": {
+ "console.error": true,
+ "console.warn": true
+ },
+ "meta": {
+ "webpack-optimization": [
+ "Dependency '@mui/material>@mui/system>@mui/styled-engine' reexports from '@emotion/react' and webpack collapsed that to a direct import."
+ ]
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "@emotion/react": true,
+ "@mui/material>@mui/system>@mui/styled-engine": true,
+ "@mui/material>@mui/utils": true,
+ "prop-types": true,
+ "react": true
+ }
+ },
+ "@mui/material>@mui/utils": {
+ "globals": {
+ "clearTimeout": true,
+ "console.error": true,
+ "document": true,
+ "innerWidth": true,
+ "setTimeout": true
+ },
+ "packages": {
+ "@babel/runtime": true,
+ "clsx": true,
+ "react": true,
+ "@mui/material>@mui/utils>react-is": true
+ }
+ },
"@ngraveio/bc-ur": {
"globals": {
"Buffer.alloc": true,
@@ -3689,22 +3831,6 @@
"@ngraveio/bc-ur>sha.js>to-buffer": true
}
},
- "@material-ui/core>popper.js": {
- "globals": {
- "MSInputMethodContext": true,
- "Node.DOCUMENT_POSITION_FOLLOWING": true,
- "cancelAnimationFrame": true,
- "console.warn": true,
- "devicePixelRatio": true,
- "document": true,
- "getComputedStyle": true,
- "innerHeight": true,
- "innerWidth": true,
- "navigator": true,
- "requestAnimationFrame": true,
- "setTimeout": true
- }
- },
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
diff --git a/test/jest/console-baseline-unit.json b/test/jest/console-baseline-unit.json
index 1bb2af5d4f4b..f79b52bec0eb 100644
--- a/test/jest/console-baseline-unit.json
+++ b/test/jest/console-baseline-unit.json
@@ -530,9 +530,6 @@
"ui/components/ui/qr-code-view/qr-code-view.test.tsx": {
"React: DOM nesting violations": 1
},
- "ui/components/ui/slider/slider.component.test.js": {
- "Material-UI: JSS warnings": 4
- },
"ui/components/ui/survey-toast/survey-toast.test.tsx": {
"MetaMask: Background connection not initialized": 1
},
diff --git a/ui/components/app/cancel-button/cancel-button.js b/ui/components/app/cancel-button/cancel-button.js
index 387c48bc679b..dc82c886a4d3 100644
--- a/ui/components/app/cancel-button/cancel-button.js
+++ b/ui/components/app/cancel-button/cancel-button.js
@@ -1,4 +1,4 @@
-import Tooltip from '@material-ui/core/Tooltip';
+import Tooltip from '@mui/material/Tooltip';
import React from 'react';
import PropTypes from 'prop-types';
import { useSelector } from 'react-redux';
@@ -47,7 +47,7 @@ export default function CancelButton({