@discordjs/collection 0.6.0 → 0.7.0-dev.1650413395-585169f

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 +64 -0
  2. package/package.json +75 -74
package/CHANGELOG.md ADDED
@@ -0,0 +1,64 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ # [0.6.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.5.0...@discordjs/collection@0.6.0) (2022-04-17)
6
+
7
+ ## Features
8
+
9
+ - Add support for module: NodeNext in TS and ESM (#7598) ([8f1986a](https://github.com/discordjs/discord.js/commit/8f1986a6aa98365e09b00e84ad5f9f354ab61f3d))
10
+ - **builders:** Add attachment command option type (#7203) ([ae0f35f](https://github.com/discordjs/discord.js/commit/ae0f35f51d68dfa5a7dc43d161ef9365171debdb))
11
+ - **Collection:** Add merging functions (#7299) ([e4bd07b](https://github.com/discordjs/discord.js/commit/e4bd07b2394f227ea06b72eb6999de9ab3127b25))
12
+
13
+ ## Refactor
14
+
15
+ - Make `intersect` perform a true intersection (#7211) ([d8efba2](https://github.com/discordjs/discord.js/commit/d8efba24e09aa2a8dbf028fc57a561a56e7833fd))
16
+
17
+ ## Typings
18
+
19
+ - Add `ReadonlyCollection` (#7245) ([db25f52](https://github.com/discordjs/discord.js/commit/db25f529b26d7c819c1c42ad3e26c2263ea2da0e))
20
+ - **Collection:** Union types on `intersect` and `difference` (#7196) ([1f9b922](https://github.com/discordjs/discord.js/commit/1f9b9225f2066e9cc66c3355417139fd25cc403c))
21
+
22
+ # [0.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/collection@0.4.0...@discordjs/collection@0.5.0) (2021-12-08)
23
+
24
+ ## Refactor
25
+
26
+ - Make `intersect` perform a true intersection (#7211) ([d8efba2](https://github.com/discordjs/discord.js/commit/d8efba24e09aa2a8dbf028fc57a561a56e7833fd))
27
+
28
+ ## Typings
29
+
30
+ - Add `ReadonlyCollection` (#7245) ([db25f52](https://github.com/discordjs/discord.js/commit/db25f529b26d7c819c1c42ad3e26c2263ea2da0e))
31
+ - **Collection:** Union types on `intersect` and `difference` (#7196) ([1f9b922](https://github.com/discordjs/discord.js/commit/1f9b9225f2066e9cc66c3355417139fd25cc403c))
32
+
33
+ # [0.4.0](https://github.com/discordjs/collection/compare/v0.3.2...v0.4.0) (2021-12-24)
34
+
35
+ ## Features
36
+
37
+ - add #reverse ([#48](https://github.com/discordjs/collection/issues/48)) ([8bcb5e2](https://github.com/discordjs/collection/commit/8bcb5e21bcc15f5b77612d8ff03dec6c37f4d449))
38
+ - add Collection#ensure ([#52](https://github.com/discordjs/collection/issues/52)) ([3809eb4](https://github.com/discordjs/collection/commit/3809eb4d18e70459355d310919a3f57747eee3dd))
39
+
40
+ # [0.3.2](https://github.com/discordjs/collection/compare/v0.3.1...v0.3.2) (2021-10-29)
41
+
42
+ ## Bug Fixes
43
+
44
+ - update doc engine ([4c0e24f](https://github.com/discordjs/collection/commit/4c0e24fae0323db9de1991db9cfacc093d529abc))
45
+
46
+ # [0.3.0](https://github.com/discordjs/collection/compare/v0.2.4...v0.3.0) (2021-10-29)
47
+
48
+ ## Features
49
+
50
+ - add Collection#at() and Collection#keyAt() ([#46](https://github.com/discordjs/collection/issues/46)) ([66b30b9](https://github.com/discordjs/collection/commit/66b30b91069502493383c059cc38e27c152bf541))
51
+ - improve documentation and resolve [#49](https://github.com/discordjs/collection/issues/49) ([aec01c6](https://github.com/discordjs/collection/commit/aec01c6ae3ff50b0b5f7c070bff10f01bf98d803))
52
+ - ts-docgen ([463b131](https://github.com/discordjs/collection/commit/463b1314e60f2debc526454a6ccd7ce8a9a4ae8a))
53
+
54
+ # [0.2.4](https://github.com/discordjs/collection/compare/v0.2.3...v0.2.4) (2021-10-27)
55
+
56
+ ## Bug Fixes
57
+
58
+ - minification of names ([bd2fe2a](https://github.com/discordjs/collection/commit/bd2fe2a47c38f634b0334fe6e89f30f6f6a0b1f5))
59
+
60
+ # [0.2.3](https://github.com/discordjs/collection/compare/v0.2.2...v0.2.3) (2021-10-27)
61
+
62
+ ### Bug Fixes
63
+
64
+ - building with useDefineForClassFields false ([2a571d5](https://github.com/discordjs/collection/commit/2a571d5a2c90ed8b708c3c5c017e2f225cd494e9))
package/package.json CHANGED
@@ -1,75 +1,76 @@
1
1
  {
2
- "name": "@discordjs/collection",
3
- "version": "0.6.0",
4
- "description": "Utility data structure used in discord.js",
5
- "scripts": {
6
- "test": "jest --pass-with-no-tests",
7
- "build": "tsup",
8
- "lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
9
- "format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
10
- "docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
11
- "prepublishOnly": "yarn build && yarn lint && yarn test",
12
- "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/collection/*'"
13
- },
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.mjs",
16
- "types": "./dist/index.d.ts",
17
- "exports": {
18
- "import": "./dist/index.mjs",
19
- "require": "./dist/index.js",
20
- "types": "./dist/index.d.ts"
21
- },
22
- "directories": {
23
- "lib": "src",
24
- "test": "__tests__"
25
- },
26
- "files": [
27
- "dist"
28
- ],
29
- "contributors": [
30
- "Crawl <icrawltogo@gmail.com>",
31
- "Amish Shah <amishshah.2k@gmail.com>",
32
- "SpaceEEC <spaceeec@yahoo.com>",
33
- "Vlad Frangu <kingdgrizzle@gmail.com>",
34
- "Antonio Roman <kyradiscord@gmail.com>"
35
- ],
36
- "license": "Apache-2.0",
37
- "keywords": [
38
- "map",
39
- "collection",
40
- "utility"
41
- ],
42
- "repository": {
43
- "type": "git",
44
- "url": "git+https://github.com/discordjs/discord.js.git"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/discordjs/discord.js/issues"
48
- },
49
- "homepage": "https://discord.js.org",
50
- "devDependencies": {
51
- "@babel/core": "^7.17.9",
52
- "@babel/preset-env": "^7.16.11",
53
- "@babel/preset-typescript": "^7.16.7",
54
- "@discordjs/ts-docgen": "^0.4.1",
55
- "@types/jest": "^27.4.1",
56
- "@types/node": "^16.11.27",
57
- "@typescript-eslint/eslint-plugin": "^5.19.0",
58
- "@typescript-eslint/parser": "^5.19.0",
59
- "eslint": "^8.13.0",
60
- "eslint-config-marine": "^9.4.1",
61
- "eslint-config-prettier": "^8.5.0",
62
- "eslint-plugin-import": "^2.26.0",
63
- "jest": "^27.5.1",
64
- "prettier": "^2.6.2",
65
- "tsup": "^5.12.5",
66
- "typedoc": "^0.22.15",
67
- "typescript": "^4.6.3"
68
- },
69
- "engines": {
70
- "node": ">=16.9.0"
71
- },
72
- "publishConfig": {
73
- "access": "public"
74
- }
75
- }
2
+ "name": "@discordjs/collection",
3
+ "version": "0.7.0-dev.1650413395-585169f",
4
+ "description": "Utility data structure used in discord.js",
5
+ "scripts": {
6
+ "test": "jest --pass-with-no-tests",
7
+ "build": "tsup",
8
+ "lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
9
+ "format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
10
+ "docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
11
+ "prepublishOnly": "yarn build && yarn lint && yarn test",
12
+ "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/collection/*'"
13
+ },
14
+ "main": "./dist/index.js",
15
+ "module": "./dist/index.mjs",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ "import": "./dist/index.mjs",
19
+ "require": "./dist/index.js",
20
+ "types": "./dist/index.d.ts"
21
+ },
22
+ "directories": {
23
+ "lib": "src",
24
+ "test": "__tests__"
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "contributors": [
30
+ "Crawl <icrawltogo@gmail.com>",
31
+ "Amish Shah <amishshah.2k@gmail.com>",
32
+ "SpaceEEC <spaceeec@yahoo.com>",
33
+ "Vlad Frangu <kingdgrizzle@gmail.com>",
34
+ "Antonio Roman <kyradiscord@gmail.com>"
35
+ ],
36
+ "license": "Apache-2.0",
37
+ "keywords": [
38
+ "map",
39
+ "collection",
40
+ "utility"
41
+ ],
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/discordjs/discord.js.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/discordjs/discord.js/issues"
48
+ },
49
+ "homepage": "https://discord.js.org",
50
+ "devDependencies": {
51
+ "@babel/core": "^7.17.9",
52
+ "@babel/preset-env": "^7.16.11",
53
+ "@babel/preset-typescript": "^7.16.7",
54
+ "@discordjs/ts-docgen": "^0.4.1",
55
+ "@types/jest": "^27.4.1",
56
+ "@types/node": "^16.11.27",
57
+ "@typescript-eslint/eslint-plugin": "^5.19.0",
58
+ "@typescript-eslint/parser": "^5.19.0",
59
+ "eslint": "^8.13.0",
60
+ "eslint-config-marine": "^9.4.1",
61
+ "eslint-config-prettier": "^8.5.0",
62
+ "eslint-plugin-import": "^2.26.0",
63
+ "jest": "^27.5.1",
64
+ "prettier": "^2.6.2",
65
+ "tsup": "^5.12.5",
66
+ "typedoc": "^0.22.15",
67
+ "typescript": "^4.6.3"
68
+ },
69
+ "engines": {
70
+ "node": ">=16.9.0"
71
+ },
72
+ "publishConfig": {
73
+ "access": "public"
74
+ },
75
+ "stableVersion": "0.7.0-dev"
76
+ }