Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump and dedupe @swc and babel packages #28066

Draft
wants to merge 3 commits into
base: jl/bump-provider-17.2.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .yarn/patches/@babel-core-npm-7.23.2-b93f586907.patch

This file was deleted.

12 changes: 12 additions & 0 deletions .yarn/patches/@babel-core-npm-7.25.9-4ae3bff7f3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/index.js b/lib/index.js
index 55b58e10eef589ff80ae33ebd1f1efe488b01153..e919c190d33ab9563f1364667fb4f5894bb6435d 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -211,7 +211,6 @@ var _transform = require("./transform.js");
var _transformFile = require("./transform-file.js");
var _transformAst = require("./transform-ast.js");
var _parse = require("./parse.js");
-var thisFile = require("./index.js");
;
const version = exports.version = "7.25.9";
const resolvePlugin = (name, dirname) => resolvers.resolvePlugin(name, dirname, false).filepath;
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
diff --git a/helpers/construct.js b/helpers/construct.js
index 771e1d7952e80f11619424fbabb3744b959ffa49..5fe152bc1129bd8c8b7bb217ca1972ac4e089051 100644
index aee8e70448824f509d6605e2dfa4455167442f21..00a69eba8d4c15a1f9aa318a50abb96c2ec447d9 100644
--- a/helpers/construct.js
+++ b/helpers/construct.js
@@ -1,10 +1,21 @@
@@ -1,10 +1,22 @@
var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
-var setPrototypeOf = require("./setPrototypeOf.js");
-var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
-function _construct(t, e, r) {
- if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
- var o = [null];
Expand Down
61 changes: 2 additions & 59 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2340,11 +2340,6 @@
"lodash": true
}
},
"@metamask/smart-transactions-controller>@babel/runtime": {
"globals": {
"regeneratorRuntime": "write"
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
Expand Down Expand Up @@ -2407,9 +2402,9 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/rpc-errors": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/utils": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"bn.js": true,
"browserify>buffer": true,
"eth-method-registry": true,
"fast-json-patch": true,
"lodash": true,
"uuid": true,
Expand Down Expand Up @@ -2481,58 +2476,6 @@
"semver": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": {
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": {
"packages": {
"@metamask/ethjs>ethjs-abi": true,
"@metamask/ethjs>js-sha3": true,
"@metamask/smart-transactions-controller>@babel/runtime": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": {
"globals": {
"clearInterval": true,
"setInterval": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": {
"packages": {
"@metamask/ethjs>@metamask/ethjs-util>is-hex-prefixed": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"browserify>buffer": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": {
"globals": {
"console": true
},
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": {
"packages": {
"@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"@metamask/ethjs>@metamask/number-to-bn": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": {
"packages": {
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>bignumber.js": {
"globals": {
"crypto": true,
Expand Down Expand Up @@ -5108,10 +5051,10 @@
"document": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-dom": true,
"react-redux>@babel/runtime": true,
"react-redux>hoist-non-react-statics": true,
"react-redux>react-is": true
}
Expand Down
61 changes: 2 additions & 59 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2340,11 +2340,6 @@
"lodash": true
}
},
"@metamask/smart-transactions-controller>@babel/runtime": {
"globals": {
"regeneratorRuntime": "write"
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
Expand Down Expand Up @@ -2407,9 +2402,9 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/rpc-errors": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/utils": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"bn.js": true,
"browserify>buffer": true,
"eth-method-registry": true,
"fast-json-patch": true,
"lodash": true,
"uuid": true,
Expand Down Expand Up @@ -2481,58 +2476,6 @@
"semver": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": {
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": {
"packages": {
"@metamask/ethjs>ethjs-abi": true,
"@metamask/ethjs>js-sha3": true,
"@metamask/smart-transactions-controller>@babel/runtime": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": {
"globals": {
"clearInterval": true,
"setInterval": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": {
"packages": {
"@metamask/ethjs>@metamask/ethjs-util>is-hex-prefixed": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"browserify>buffer": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": {
"globals": {
"console": true
},
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": {
"packages": {
"@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"@metamask/ethjs>@metamask/number-to-bn": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": {
"packages": {
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>bignumber.js": {
"globals": {
"crypto": true,
Expand Down Expand Up @@ -5108,10 +5051,10 @@
"document": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-dom": true,
"react-redux>@babel/runtime": true,
"react-redux>hoist-non-react-statics": true,
"react-redux>react-is": true
}
Expand Down
61 changes: 2 additions & 59 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2340,11 +2340,6 @@
"lodash": true
}
},
"@metamask/smart-transactions-controller>@babel/runtime": {
"globals": {
"regeneratorRuntime": "write"
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
Expand Down Expand Up @@ -2407,9 +2402,9 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/rpc-errors": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@metamask/utils": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"bn.js": true,
"browserify>buffer": true,
"eth-method-registry": true,
"fast-json-patch": true,
"lodash": true,
"uuid": true,
Expand Down Expand Up @@ -2481,58 +2476,6 @@
"semver": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": {
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract": {
"packages": {
"@metamask/ethjs>ethjs-abi": true,
"@metamask/ethjs>js-sha3": true,
"@metamask/smart-transactions-controller>@babel/runtime": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-filter": {
"globals": {
"clearInterval": true,
"setInterval": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": {
"packages": {
"@metamask/ethjs>@metamask/ethjs-util>is-hex-prefixed": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"browserify>buffer": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query": {
"globals": {
"console": true
},
"packages": {
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": true,
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-format": {
"packages": {
"@metamask/ethjs-query>@metamask/ethjs-format>ethjs-schema": true,
"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix": true,
"@metamask/ethjs>@metamask/number-to-bn": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-contract>@metamask/ethjs-util": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry>@metamask/ethjs-query>@metamask/ethjs-rpc": {
"packages": {
"promise-to-callback": true
}
},
"@metamask/smart-transactions-controller>bignumber.js": {
"globals": {
"crypto": true,
Expand Down Expand Up @@ -5108,10 +5051,10 @@
"document": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-dom": true,
"react-redux>@babel/runtime": true,
"react-redux>hoist-non-react-statics": true,
"react-redux>react-is": true
}
Expand Down
Loading
Loading