@metamask-previews/utils 11.12.1-preview-4bb3dbb → 12.0.0-preview-1a1783a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,15 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [12.0.0]
|
|
11
|
+
|
|
10
12
|
### Changed
|
|
11
13
|
|
|
12
14
|
- **BREAKING:** Bump TypeScript target to ES2022 ([#332](https://github.com/MetaMask/utils/pull/332))
|
|
13
15
|
- This package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume.
|
|
14
16
|
- **BREAKING:** Drop support for Node 18 and 20 ([#328](https://github.com/MetaMask/utils/pull/328))
|
|
15
|
-
- **BREAKING:**
|
|
16
|
-
-
|
|
17
|
-
- `require()` continues to work on the supported Node.js versions, which load ES modules from CommonJS natively. Toolchains that do not support that will need to `import` instead.
|
|
18
|
-
- Consumers already using `import` are unaffected.
|
|
17
|
+
- **BREAKING:** Drop CommonJS support ([#9536](https://github.com/MetaMask/core/pull/9536))
|
|
18
|
+
- This package is now ESM-only, but can still be used in CommonJS projects via `require(esm)` in modern Node.js versions (22+), or dynamic imports in older Node.js versions.
|
|
19
19
|
- Bump `@ethereumjs/tx` from `^4.2.0` to `^5.4.0` ([#321](https://github.com/MetaMask/utils/pull/321))
|
|
20
20
|
- The deprecated `Keyring.signTransaction` now returns `LegacyTxData` rather than `TxData`. These describe the same shape: `@ethereumjs/tx@5` repurposed the name `TxData` for a map keyed by transaction type and renamed the old meaning to `LegacyTxData`. Implementations do not need changing.
|
|
21
21
|
- Bump `@metamask/scure-bip39` from `^2.0.3` to `^2.1.1` ([#311](https://github.com/MetaMask/utils/pull/311))
|
|
@@ -525,7 +525,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
525
525
|
|
|
526
526
|
- Initial release
|
|
527
527
|
|
|
528
|
-
[Unreleased]: https://github.com/MetaMask/utils/compare/
|
|
528
|
+
[Unreleased]: https://github.com/MetaMask/utils/compare/v12.0.0...HEAD
|
|
529
|
+
[12.0.0]: https://github.com/MetaMask/utils/compare/v11.12.1...v12.0.0
|
|
529
530
|
[11.12.1]: https://github.com/MetaMask/utils/compare/v11.12.0...v11.12.1
|
|
530
531
|
[11.12.0]: https://github.com/MetaMask/utils/compare/v11.11.0...v11.12.0
|
|
531
532
|
[11.11.0]: https://github.com/MetaMask/utils/compare/v11.10.0...v11.11.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0-preview-1a1783a",
|
|
4
4
|
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase",
|
|
5
5
|
"homepage": "https://github.com/MetaMask/utils#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"lint:eslint": "eslint . --cache",
|
|
46
46
|
"lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies:fix && yarn lint:changelog",
|
|
47
47
|
"lint:misc": "oxfmt --ignore-path .gitignore",
|
|
48
|
-
"lint:tsc": "tsc --
|
|
48
|
+
"lint:tsc": "tsc --project tsconfig.lint.json",
|
|
49
49
|
"test": "yarn test:source && yarn test:types",
|
|
50
50
|
"test:source": "jest && jest-it-up --config jest.config.cjs",
|
|
51
51
|
"test:types": "tsd --files 'src/*.test-d.ts'",
|