@sapphire/ratelimits 2.4.4 β 2.4.5-next.8eefb1e.0
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 +213 -0
- package/dist/index.global.js +789 -6
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +63 -58
- package/LICENSE.md +0 -24
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [2.4.4](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.4.3...@sapphire/ratelimits@2.4.4) (2022-04-01)
|
|
6
|
+
|
|
7
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
8
|
+
|
|
9
|
+
## [2.4.3](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.4.2...@sapphire/ratelimits@2.4.3) (2022-03-20)
|
|
10
|
+
|
|
11
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
12
|
+
|
|
13
|
+
## [2.4.2](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.4.1...@sapphire/ratelimits@2.4.2) (2022-03-20)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
16
|
+
|
|
17
|
+
## [2.4.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.4.0...@sapphire/ratelimits@2.4.1) (2022-03-11)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
20
|
+
|
|
21
|
+
# [2.4.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.3.1...@sapphire/ratelimits@2.4.0) (2022-03-06)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- allow module: NodeNext ([#306](https://github.com/sapphiredev/utilities/issues/306)) ([9dc6dd6](https://github.com/sapphiredev/utilities/commit/9dc6dd619efab879bb2b0b3c9e64304e10a67ed6))
|
|
26
|
+
|
|
27
|
+
## [2.3.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.3.0...@sapphire/ratelimits@2.3.1) (2022-02-18)
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
- **RateLimit:** add default type to `RateLimit`'s type parameter to match its usage in `RateLimitManager` ([#296](https://github.com/sapphiredev/utilities/issues/296)) ([b6799a7](https://github.com/sapphiredev/utilities/commit/b6799a7c5a420f416ca9972c9abf3ba0a95f7974))
|
|
32
|
+
|
|
33
|
+
# [2.3.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.2.0...@sapphire/ratelimits@2.3.0) (2022-02-03)
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
- **ts-config:** add multi-config structure ([#281](https://github.com/sapphiredev/utilities/issues/281)) ([b5191d7](https://github.com/sapphiredev/utilities/commit/b5191d7f2416dc5838590c4ff221454925553e37))
|
|
38
|
+
|
|
39
|
+
# [2.2.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.12...@sapphire/ratelimits@2.2.0) (2022-01-28)
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
- change build system to tsup ([#270](https://github.com/sapphiredev/utilities/issues/270)) ([365a53a](https://github.com/sapphiredev/utilities/commit/365a53a5517a01a0926cf28a83c96b63f32ed9f8))
|
|
44
|
+
|
|
45
|
+
## [2.1.12](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.11...@sapphire/ratelimits@2.1.12) (2022-01-21)
|
|
46
|
+
|
|
47
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
48
|
+
|
|
49
|
+
## [2.1.11](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.10...@sapphire/ratelimits@2.1.11) (2022-01-10)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
52
|
+
|
|
53
|
+
## [2.1.10](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.9...@sapphire/ratelimits@2.1.10) (2021-11-29)
|
|
54
|
+
|
|
55
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
56
|
+
|
|
57
|
+
## [2.1.9](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.8...@sapphire/ratelimits@2.1.9) (2021-11-19)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
60
|
+
|
|
61
|
+
## [2.1.8](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.7...@sapphire/ratelimits@2.1.8) (2021-11-15)
|
|
62
|
+
|
|
63
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
64
|
+
|
|
65
|
+
## [2.1.7](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.6...@sapphire/ratelimits@2.1.7) (2021-11-06)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
68
|
+
|
|
69
|
+
## [2.1.6](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.5...@sapphire/ratelimits@2.1.6) (2021-10-28)
|
|
70
|
+
|
|
71
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
72
|
+
|
|
73
|
+
## [2.1.5](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.4...@sapphire/ratelimits@2.1.5) (2021-10-26)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
76
|
+
|
|
77
|
+
## [2.1.4](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.3...@sapphire/ratelimits@2.1.4) (2021-10-17)
|
|
78
|
+
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- allow more node & npm versions in engines field ([5977d2a](https://github.com/sapphiredev/utilities/commit/5977d2a30a4b2cfdf84aff3f33af03ffde1bbec5))
|
|
82
|
+
|
|
83
|
+
## [2.1.3](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.2...@sapphire/ratelimits@2.1.3) (2021-10-11)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
86
|
+
|
|
87
|
+
## [2.1.2](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.1...@sapphire/ratelimits@2.1.2) (2021-10-08)
|
|
88
|
+
|
|
89
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
90
|
+
|
|
91
|
+
## [2.1.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.1.0...@sapphire/ratelimits@2.1.1) (2021-10-04)
|
|
92
|
+
|
|
93
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
94
|
+
|
|
95
|
+
# [2.1.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.0.1...@sapphire/ratelimits@2.1.0) (2021-10-04)
|
|
96
|
+
|
|
97
|
+
### Bug Fixes
|
|
98
|
+
|
|
99
|
+
- **ratelimits:** fixed docs in readme ([#170](https://github.com/sapphiredev/utilities/issues/170)) ([f6bcb67](https://github.com/sapphiredev/utilities/commit/f6bcb67f453e8167237bf0b6c03514b14092fda7))
|
|
100
|
+
|
|
101
|
+
### Features
|
|
102
|
+
|
|
103
|
+
- **ratelimits:** set minimum NodeJS to v14 ([5c2fb29](https://github.com/sapphiredev/utilities/commit/5c2fb29a8db614a2a7583b74948ca99c193039de))
|
|
104
|
+
|
|
105
|
+
## [2.0.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@2.0.0...@sapphire/ratelimits@2.0.1) (2021-07-20)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
108
|
+
|
|
109
|
+
# [2.0.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.5...@sapphire/ratelimits@2.0.0) (2021-07-17)
|
|
110
|
+
|
|
111
|
+
### Code Refactoring
|
|
112
|
+
|
|
113
|
+
- **rateLimits:** rewrite all of it ([#130](https://github.com/sapphiredev/utilities/issues/130)) ([320778c](https://github.com/sapphiredev/utilities/commit/320778ca65cbf3591bd1ce0b1f2eb430693eef9a))
|
|
114
|
+
|
|
115
|
+
### BREAKING CHANGES
|
|
116
|
+
|
|
117
|
+
- **rateLimits:** Removed `Bucket`
|
|
118
|
+
|
|
119
|
+
## [1.2.5](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.4...@sapphire/ratelimits@1.2.5) (2021-06-27)
|
|
120
|
+
|
|
121
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
122
|
+
|
|
123
|
+
## [1.2.4](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.3...@sapphire/ratelimits@1.2.4) (2021-06-27)
|
|
124
|
+
|
|
125
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
126
|
+
|
|
127
|
+
## [1.2.3](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.2...@sapphire/ratelimits@1.2.3) (2021-06-06)
|
|
128
|
+
|
|
129
|
+
### Bug Fixes
|
|
130
|
+
|
|
131
|
+
- remove peer deps, update dev deps, update READMEs ([#124](https://github.com/sapphiredev/utilities/issues/124)) ([67256ed](https://github.com/sapphiredev/utilities/commit/67256ed43b915b02a8b5c68230ba82d6210c5032))
|
|
132
|
+
|
|
133
|
+
## [1.2.2](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.1...@sapphire/ratelimits@1.2.2) (2021-05-20)
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
- **ratelimits:** mark package as side effect free ([22334e1](https://github.com/sapphiredev/utilities/commit/22334e1b1786b29d2b4c90dbdb3fc5e988f90e5b))
|
|
138
|
+
|
|
139
|
+
## [1.2.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.2.0...@sapphire/ratelimits@1.2.1) (2021-05-02)
|
|
140
|
+
|
|
141
|
+
### Bug Fixes
|
|
142
|
+
|
|
143
|
+
- drop the `www.` from the SapphireJS URL ([494d89f](https://github.com/sapphiredev/utilities/commit/494d89ffa04f78c195b93d7905b3232884f7d7e2))
|
|
144
|
+
- update all the SapphireJS URLs from `.com` to `.dev` ([f59b46d](https://github.com/sapphiredev/utilities/commit/f59b46d1a0ebd39cad17b17d71cd3b9da808d5fd))
|
|
145
|
+
|
|
146
|
+
# [1.2.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.8...@sapphire/ratelimits@1.2.0) (2021-04-21)
|
|
147
|
+
|
|
148
|
+
### Features
|
|
149
|
+
|
|
150
|
+
- add @sapphire/embed-jsx ([#100](https://github.com/sapphiredev/utilities/issues/100)) ([7277a23](https://github.com/sapphiredev/utilities/commit/7277a236015236ed8e81b7882875410facc4ce17))
|
|
151
|
+
|
|
152
|
+
## [1.1.8](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.7...@sapphire/ratelimits@1.1.8) (2021-04-19)
|
|
153
|
+
|
|
154
|
+
### Bug Fixes
|
|
155
|
+
|
|
156
|
+
- change all Sapphire URLs from "project"->"community" & use our domain where applicable π¨βπΎπ ([#102](https://github.com/sapphiredev/utilities/issues/102)) ([835b408](https://github.com/sapphiredev/utilities/commit/835b408e8e57130c3787aca2e32613346ff23e4d))
|
|
157
|
+
|
|
158
|
+
## [1.1.7](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.6...@sapphire/ratelimits@1.1.7) (2021-04-03)
|
|
159
|
+
|
|
160
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
161
|
+
|
|
162
|
+
## [1.1.6](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.5...@sapphire/ratelimits@1.1.6) (2021-03-16)
|
|
163
|
+
|
|
164
|
+
### Bug Fixes
|
|
165
|
+
|
|
166
|
+
- remove terser from all packages ([#79](https://github.com/sapphiredev/utilities/issues/79)) ([1cfe4e7](https://github.com/sapphiredev/utilities/commit/1cfe4e7c804e62c142495686d2b83b81d0026c02))
|
|
167
|
+
|
|
168
|
+
## [1.1.5](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.4...@sapphire/ratelimits@1.1.5) (2021-02-16)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
171
|
+
|
|
172
|
+
## [1.1.4](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.3...@sapphire/ratelimits@1.1.4) (2021-01-16)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
175
|
+
|
|
176
|
+
## [1.1.3](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.2...@sapphire/ratelimits@1.1.3) (2021-01-01)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
179
|
+
|
|
180
|
+
## [1.1.2](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.1...@sapphire/ratelimits@1.1.2) (2020-12-26)
|
|
181
|
+
|
|
182
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
183
|
+
|
|
184
|
+
## [1.1.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.1.0...@sapphire/ratelimits@1.1.1) (2020-12-22)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @sapphire/ratelimits
|
|
187
|
+
|
|
188
|
+
# [1.1.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.0.1...@sapphire/ratelimits@1.1.0) (2020-11-15)
|
|
189
|
+
|
|
190
|
+
### Bug Fixes
|
|
191
|
+
|
|
192
|
+
- **ratelimits:** pass keep_classnames to terser ([83cd79f](https://github.com/sapphiredev/utilities/commit/83cd79fe0347d443d1ca7abf0d89169b848363dc))
|
|
193
|
+
- **ratelimits:** pass keep_fnames to terser ([f69d2d1](https://github.com/sapphiredev/utilities/commit/f69d2d1eb3211c40f00150bb113b2c1e34fd1c48))
|
|
194
|
+
|
|
195
|
+
### Features
|
|
196
|
+
|
|
197
|
+
- added time-utilities package ([#26](https://github.com/sapphiredev/utilities/issues/26)) ([f17a333](https://github.com/sapphiredev/utilities/commit/f17a3339667a452e8745fad7884272176e5d65e8))
|
|
198
|
+
|
|
199
|
+
## [1.0.1](https://github.com/sapphiredev/utilities/compare/@sapphire/ratelimits@1.0.0...@sapphire/ratelimits@1.0.1) (2020-11-04)
|
|
200
|
+
|
|
201
|
+
### Bug Fixes
|
|
202
|
+
|
|
203
|
+
- **ratelimits:** properly specify ESM and CommonJS exports ([6355d3e](https://github.com/sapphiredev/utilities/commit/6355d3e5876cf64e3c71e89f213e66c8990778ae))
|
|
204
|
+
|
|
205
|
+
# 1.0.0 (2020-10-11)
|
|
206
|
+
|
|
207
|
+
### Bug Fixes
|
|
208
|
+
|
|
209
|
+
- **ratelimits,snowflake,utilities:** fixed esm output target ([9fdab3f](https://github.com/sapphiredev/utilities/commit/9fdab3fca283c8c0b47cc32661c5cf8e0a5e583c))
|
|
210
|
+
|
|
211
|
+
### Features
|
|
212
|
+
|
|
213
|
+
- added ratelimits package ([#15](https://github.com/sapphiredev/utilities/issues/15)) ([e0ae18c](https://github.com/sapphiredev/utilities/commit/e0ae18c5e1d0ae4e68a982829f1cf251fddfc80d))
|