Skip to content

Commit

Permalink
remove globalthis polyfill (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat authored Feb 5, 2024
1 parent 80c4dfc commit b1d022f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ const filesFromPackages = [
),
filename: 'design-tokens.css',
},
{
source: require.resolve('globalthis/dist/browser.js'),
filename: 'globalthis.js',
},
{
source: minifiedLockdownSource,
filename: 'lockdown-install.js',
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@metamask/object-multiplex": "^2.0.0",
"@metamask/post-message-stream": "^8.0.0",
"eth-phishing-detect": "^1.2.0",
"globalthis": "1.0.1",
"punycode": "^2.3.1",
"readable-stream": "^3.6.2",
"ses": "^1.1.0"
Expand Down
5 changes: 0 additions & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
}
</script>
<title>MetaMask Phishing Detection</title>
<script
src="./globalthis.js"
type="text/javascript"
charset="utf-8"
></script>
<script
src="./lockdown-install.js"
type="text/javascript"
Expand Down
10 changes: 0 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,6 @@ __metadata:
eth-phishing-detect: ^1.2.0
exorcist: ^2.0.0
fs-extra: ^11.1.1
globalthis: 1.0.1
http-server: ^14.1.1
minify-stream: ^2.1.0
playwright: ~1.33.0
Expand Down Expand Up @@ -4260,15 +4259,6 @@ __metadata:
languageName: node
linkType: hard

"globalthis@npm:1.0.1":
version: 1.0.1
resolution: "globalthis@npm:1.0.1"
dependencies:
define-properties: ^1.1.3
checksum: d80d625355ebd1174144290766ce96a1465966370d35a05897e3fb96e031493b2c117fb92b55a94dba2f33031e498b5776d03437965ed4514815e6122c78d18c
languageName: node
linkType: hard

"globby@npm:10.0.0":
version: 10.0.0
resolution: "globby@npm:10.0.0"
Expand Down

0 comments on commit b1d022f

Please sign in to comment.