@sapphire/event-iterator 1.6.2-next.ebaa54d.0 → 1.6.2-next.f426ee3.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 +134 -0
- package/package.json +61 -55
- package/LICENSE.md +0 -24
- package/dist/index.d.ts.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.6.1](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.6.0...@sapphire/event-iterator@1.6.1) (2022-04-01)
|
|
6
|
+
|
|
7
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
8
|
+
|
|
9
|
+
# [1.6.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.5.0...@sapphire/event-iterator@1.6.0) (2022-03-06)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- allow module: NodeNext ([#306](https://github.com/sapphiredev/utilities/issues/306)) ([9dc6dd6](https://github.com/sapphiredev/utilities/commit/9dc6dd619efab879bb2b0b3c9e64304e10a67ed6))
|
|
14
|
+
- **ts-config:** add multi-config structure ([#281](https://github.com/sapphiredev/utilities/issues/281)) ([b5191d7](https://github.com/sapphiredev/utilities/commit/b5191d7f2416dc5838590c4ff221454925553e37))
|
|
15
|
+
|
|
16
|
+
# [1.5.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.4.0...@sapphire/event-iterator@1.5.0) (2022-01-28)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- change build system to tsup ([#270](https://github.com/sapphiredev/utilities/issues/270)) ([365a53a](https://github.com/sapphiredev/utilities/commit/365a53a5517a01a0926cf28a83c96b63f32ed9f8))
|
|
21
|
+
|
|
22
|
+
# [1.4.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.3.3...@sapphire/event-iterator@1.4.0) (2022-01-10)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- **event-iterator:** do not bundle for browsers ([#237](https://github.com/sapphiredev/utilities/issues/237)) ([c922e61](https://github.com/sapphiredev/utilities/commit/c922e613bacdfb1dd428cc174c0742b24642827e))
|
|
27
|
+
|
|
28
|
+
## [1.3.3](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.3.2...@sapphire/event-iterator@1.3.3) (2021-11-06)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
31
|
+
|
|
32
|
+
## [1.3.2](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.3.1...@sapphire/event-iterator@1.3.2) (2021-10-17)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- allow more node & npm versions in engines field ([5977d2a](https://github.com/sapphiredev/utilities/commit/5977d2a30a4b2cfdf84aff3f33af03ffde1bbec5))
|
|
37
|
+
|
|
38
|
+
## [1.3.1](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.3.0...@sapphire/event-iterator@1.3.1) (2021-10-11)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
41
|
+
|
|
42
|
+
# [1.3.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.2.4...@sapphire/event-iterator@1.3.0) (2021-10-04)
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- **event-iterator:** set minimum NodeJS to v14 ([57110ee](https://github.com/sapphiredev/utilities/commit/57110ee1a25879d7cde62b4cfc4d9e128886bd54))
|
|
47
|
+
|
|
48
|
+
## [1.2.4](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.2.3...@sapphire/event-iterator@1.2.4) (2021-06-27)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
51
|
+
|
|
52
|
+
## [1.2.3](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.2.2...@sapphire/event-iterator@1.2.3) (2021-06-06)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
- remove peer deps, update dev deps, update READMEs ([#124](https://github.com/sapphiredev/utilities/issues/124)) ([67256ed](https://github.com/sapphiredev/utilities/commit/67256ed43b915b02a8b5c68230ba82d6210c5032))
|
|
57
|
+
|
|
58
|
+
## [1.2.2](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.2.1...@sapphire/event-iterator@1.2.2) (2021-05-20)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
- **event-iterator:** mark package as side effect free ([780129d](https://github.com/sapphiredev/utilities/commit/780129d1c8d16bb39f80cb70f70074229106bae7))
|
|
63
|
+
|
|
64
|
+
## [1.2.1](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.2.0...@sapphire/event-iterator@1.2.1) (2021-05-02)
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
|
|
68
|
+
- drop the `www.` from the SapphireJS URL ([494d89f](https://github.com/sapphiredev/utilities/commit/494d89ffa04f78c195b93d7905b3232884f7d7e2))
|
|
69
|
+
- update all the SapphireJS URLs from `.com` to `.dev` ([f59b46d](https://github.com/sapphiredev/utilities/commit/f59b46d1a0ebd39cad17b17d71cd3b9da808d5fd))
|
|
70
|
+
|
|
71
|
+
# [1.2.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.8...@sapphire/event-iterator@1.2.0) (2021-04-21)
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
- add @sapphire/embed-jsx ([#100](https://github.com/sapphiredev/utilities/issues/100)) ([7277a23](https://github.com/sapphiredev/utilities/commit/7277a236015236ed8e81b7882875410facc4ce17))
|
|
76
|
+
|
|
77
|
+
## [1.1.8](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.7...@sapphire/event-iterator@1.1.8) (2021-04-19)
|
|
78
|
+
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- 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))
|
|
82
|
+
|
|
83
|
+
## [1.1.7](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.6...@sapphire/event-iterator@1.1.7) (2021-04-03)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
86
|
+
|
|
87
|
+
## [1.1.6](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.5...@sapphire/event-iterator@1.1.6) (2021-03-16)
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
- remove terser from all packages ([#79](https://github.com/sapphiredev/utilities/issues/79)) ([1cfe4e7](https://github.com/sapphiredev/utilities/commit/1cfe4e7c804e62c142495686d2b83b81d0026c02))
|
|
92
|
+
|
|
93
|
+
## [1.1.5](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.4...@sapphire/event-iterator@1.1.5) (2021-02-16)
|
|
94
|
+
|
|
95
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
96
|
+
|
|
97
|
+
## [1.1.4](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.3...@sapphire/event-iterator@1.1.4) (2021-01-16)
|
|
98
|
+
|
|
99
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
100
|
+
|
|
101
|
+
## [1.1.3](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.2...@sapphire/event-iterator@1.1.3) (2021-01-01)
|
|
102
|
+
|
|
103
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
104
|
+
|
|
105
|
+
## [1.1.2](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.1...@sapphire/event-iterator@1.1.2) (2020-12-26)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
108
|
+
|
|
109
|
+
## [1.1.1](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.1.0...@sapphire/event-iterator@1.1.1) (2020-12-22)
|
|
110
|
+
|
|
111
|
+
**Note:** Version bump only for package @sapphire/event-iterator
|
|
112
|
+
|
|
113
|
+
# [1.1.0](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.0.1...@sapphire/event-iterator@1.1.0) (2020-11-15)
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
- **event-iterator:** pass keep_classnames to terser ([d903fe6](https://github.com/sapphiredev/utilities/commit/d903fe60d6ea3705b88e39c3dd9e7d0f60fea8a0))
|
|
118
|
+
- **event-iterator:** pass keep_fnames to terser ([d1398cd](https://github.com/sapphiredev/utilities/commit/d1398cd7c1f5c0445e141551dc3fe8ba4800cbad))
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
- added time-utilities package ([#26](https://github.com/sapphiredev/utilities/issues/26)) ([f17a333](https://github.com/sapphiredev/utilities/commit/f17a3339667a452e8745fad7884272176e5d65e8))
|
|
123
|
+
|
|
124
|
+
## [1.0.1](https://github.com/sapphiredev/utilities/compare/@sapphire/event-iterator@1.0.0...@sapphire/event-iterator@1.0.1) (2020-11-04)
|
|
125
|
+
|
|
126
|
+
### Bug Fixes
|
|
127
|
+
|
|
128
|
+
- **event-iterator:** properly specify ESM and CommonJS exports ([ee0c114](https://github.com/sapphiredev/utilities/commit/ee0c114b09c9d003cce79a5899d4b109a04bdf6b))
|
|
129
|
+
|
|
130
|
+
# 1.0.0 (2020-10-11)
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
- added event-iterator package ([#19](https://github.com/sapphiredev/utilities/issues/19)) ([8c80a76](https://github.com/sapphiredev/utilities/commit/8c80a76f81069429a882550589f43d4b4f8a4bcb))
|
package/package.json
CHANGED
|
@@ -1,56 +1,62 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
2
|
+
"name": "@sapphire/event-iterator",
|
|
3
|
+
"version": "1.6.2-next.f426ee3.0",
|
|
4
|
+
"description": "Turns event emitter events into async iterators.",
|
|
5
|
+
"author": "@sapphire",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.mjs",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/event-iterator",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"lint": "eslint src tests --ext ts --fix -c ../../.eslintrc",
|
|
20
|
+
"build": "tsup && tsc -b src",
|
|
21
|
+
"prepublish": "yarn build",
|
|
22
|
+
"bump": "cliff-jumper",
|
|
23
|
+
"check-update": "cliff-jumper --dry-run"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"tslib": "^2.3.1"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/sapphiredev/utilities.git",
|
|
31
|
+
"directory": "packages/event-iterator"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist/**/*.js*",
|
|
35
|
+
"dist/**/*.mjs*",
|
|
36
|
+
"dist/**/*.d*"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=v14.0.0",
|
|
40
|
+
"npm": ">=7.0.0"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"@sapphire/event-iterator",
|
|
44
|
+
"bot",
|
|
45
|
+
"typescript",
|
|
46
|
+
"ts",
|
|
47
|
+
"yarn",
|
|
48
|
+
"discord",
|
|
49
|
+
"sapphire",
|
|
50
|
+
"standalone"
|
|
51
|
+
],
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/sapphiredev/utilities/issues"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"tsup": "^5.12.5",
|
|
60
|
+
"typescript": "^4.6.3"
|
|
61
|
+
}
|
|
62
|
+
}
|
package/LICENSE.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright © `2020` `The Sapphire Community and its contributors`
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person
|
|
6
|
-
obtaining a copy of this software and associated documentation
|
|
7
|
-
files (the “Software”), to deal in the Software without
|
|
8
|
-
restriction, including without limitation the rights to use,
|
|
9
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the
|
|
11
|
-
Software is furnished to do so, subject to the following
|
|
12
|
-
conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be
|
|
15
|
-
included in all copies or substantial portions of the Software.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
19
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
20
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
21
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
22
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
23
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
24
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;GAEG;AACH,oBAAY,mBAAmB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,qBAAa,aAAa,CAAC,CAAC,SAAS,OAAO,EAAE,CAAE,YAAW,qBAAqB,CAAC,CAAC,CAAC;;IAClF;;OAEG;IACH,SAAgB,OAAO,EAAE,YAAY,CAAC;IAEtC;;OAEG;IACH,SAAgB,KAAK,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACI,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAqCtC;;;;;OAKG;gBACgB,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,oBAAoB,CAAC,CAAC,CAAM;IAmB9F;;OAEG;IACH,IAAW,KAAK,IAAI,OAAO,CAE1B;IAED;;OAEG;IACI,GAAG,IAAI,IAAI;IAWlB;;OAEG;IACU,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAsC/C;;OAEG;IACI,MAAM,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAK3C;;OAEG;IACI,KAAK,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAK1C;;OAEG;IACI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC;IAIzD;;OAEG;IACH,SAAS,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,IAAI;CAGjC"}
|