From 861c30de299cfe5d3c43c043a588ace37e1d0a6a Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Thu, 17 Aug 2023 20:50:07 +0530 Subject: [PATCH] Updating blockaid related packages (#20480) --- lavamoat/browserify/flask/policy.json | 1 + package.json | 4 ++-- yarn.lock | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index e725d3af4..d56789b6a 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -2013,6 +2013,7 @@ }, "@metamask/ppom-validator": { "globals": { + "URL": true, "clearInterval": true, "console.error": true, "setInterval": true diff --git a/package.json b/package.json index 9b4589258..5e7113b42 100644 --- a/package.json +++ b/package.json @@ -205,7 +205,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.9", - "@blockaid/ppom": "^1.0.2", + "@blockaid/ppom": "^1.1.1", "@download/blockies": "^1.0.3", "@ensdomains/content-hash": "^2.5.6", "@ethereumjs/common": "^3.1.1", @@ -258,7 +258,7 @@ "@metamask/permission-controller": "^4.0.0", "@metamask/phishing-controller": "^6.0.0", "@metamask/post-message-stream": "^6.0.0", - "@metamask/ppom-validator": "^0.2.0", + "@metamask/ppom-validator": "^0.3.0", "@metamask/providers": "^11.1.0", "@metamask/rate-limit-controller": "^3.0.0", "@metamask/rpc-methods": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index c79fe20af..cd2739145 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1619,10 +1619,10 @@ __metadata: languageName: node linkType: hard -"@blockaid/ppom@npm:^1.0.2": - version: 1.0.2 - resolution: "@blockaid/ppom@npm:1.0.2" - checksum: d288117f19400108b0177df63d6accc3e06a60f203d36b9e3b1d8cabc55e167674cb000d1fe50971a7fe73662ca55659211682a0d20e676c66ccba112043d9fb +"@blockaid/ppom@npm:^1.1.1": + version: 1.1.1 + resolution: "@blockaid/ppom@npm:1.1.1" + checksum: d12ae3ee9e91ce8719381f828834b9dc438671482608fc39a82c854e203be327b5d7feaaac378b7eb8132e0596e202a699f889bbf863ae26f45fa4d44512b4b3 languageName: node linkType: hard @@ -4589,16 +4589,16 @@ __metadata: languageName: node linkType: hard -"@metamask/ppom-validator@npm:^0.2.0": - version: 0.2.0 - resolution: "@metamask/ppom-validator@npm:0.2.0" +"@metamask/ppom-validator@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ppom-validator@npm:0.3.0" dependencies: "@metamask/base-controller": "npm:^3.0.0" "@metamask/controller-utils": "npm:^4.0.0" await-semaphore: "npm:^0.1.3" elliptic: "npm:^6.5.4" json-rpc-random-id: "npm:^1.0.1" - checksum: c86e3d2aa8321347ffaf45290d9c8b0d4f3a594c88dc2090933b6159a604c2f574360462faba7cbda7fa1f32f730d159f90847bdd47badb0dc0cd027be0db9e8 + checksum: 669d92799d1f143e48a887e4a6213d25f1fd0cc64445a7445ac2c04ac9ef92f62f954e7323a0ebd5276e8752d10d83c174328f412edfe09e8b33cf21fb5325c9 languageName: node linkType: hard @@ -24221,7 +24221,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.16.7" "@babel/register": "npm:^7.5.5" "@babel/runtime": "npm:^7.18.9" - "@blockaid/ppom": "npm:^1.0.2" + "@blockaid/ppom": "npm:^1.1.1" "@download/blockies": "npm:^1.0.3" "@ensdomains/content-hash": "npm:^2.5.6" "@ethereumjs/common": "npm:^3.1.1" @@ -24284,7 +24284,7 @@ __metadata: "@metamask/phishing-controller": "npm:^6.0.0" "@metamask/phishing-warning": "npm:^2.1.0" "@metamask/post-message-stream": "npm:^6.0.0" - "@metamask/ppom-validator": "npm:^0.2.0" + "@metamask/ppom-validator": "npm:^0.3.0" "@metamask/providers": "npm:^11.1.0" "@metamask/rate-limit-controller": "npm:^3.0.0" "@metamask/rpc-methods": "npm:^1.0.1"