@metamask-previews/rate-limit-controller 6.0.0-preview-9d310688 → 6.0.1-preview-e34879fb

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.0.1]
11
+
12
+ ### Changed
13
+
14
+ - Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#4516](https://github.com/MetaMask/core/pull/4516), [#4529](https://github.com/MetaMask/core/pull/4529))
15
+ - Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#4516](https://github.com/MetaMask/core/pull/4516))
16
+ - Bump TypeScript from `~4.9.5` to `~5.2.2` and set `moduleResolution` option to `Node16` ([#3645](https://github.com/MetaMask/core/pull/3645), [#4576](https://github.com/MetaMask/core/pull/4576), [#4584](https://github.com/MetaMask/core/pull/4584))
17
+
18
+ ### Fixed
19
+
20
+ - Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
21
+ - Previously, this package shipped with only one variant of type declaration
22
+ files, and these files were only CommonJS-compatible, and the `exports`
23
+ field in `package.json` linked to these files. This is an anti-pattern and
24
+ was rightfully flagged by the
25
+ ["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
26
+ ["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
27
+ All of the ATTW checks now pass.
28
+ - Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
29
+ - Previously, the build tool we used to generate JavaScript files extracted
30
+ common code to "chunk" files. While this was intended to make this package
31
+ more tree-shakeable, it also made debugging more difficult for our
32
+ development teams. These chunk files are no longer present.
33
+
10
34
  ## [6.0.0]
11
35
 
12
36
  ### Changed
@@ -137,7 +161,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
137
161
 
138
162
  All changes listed after this point were applied to this package following the monorepo conversion.
139
163
 
140
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@6.0.0...HEAD
164
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@6.0.1...HEAD
165
+ [6.0.1]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@6.0.0...@metamask/rate-limit-controller@6.0.1
141
166
  [6.0.0]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@5.0.2...@metamask/rate-limit-controller@6.0.0
142
167
  [5.0.2]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@5.0.1...@metamask/rate-limit-controller@5.0.2
143
168
  [5.0.1]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@5.0.0...@metamask/rate-limit-controller@5.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/rate-limit-controller",
3
- "version": "6.0.0-preview-9d310688",
3
+ "version": "6.0.1-preview-e34879fb",
4
4
  "description": "Contains logic for rate-limiting API endpoints by requesting origin",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -47,7 +47,7 @@
47
47
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
48
48
  },
49
49
  "dependencies": {
50
- "@metamask/base-controller": "^7.0.0",
50
+ "@metamask/base-controller": "^7.0.1",
51
51
  "@metamask/rpc-errors": "^6.3.1",
52
52
  "@metamask/utils": "^9.1.0"
53
53
  },