discordeno 21.0.1-next.fca0b40 → 22.0.1-next.01a591e
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "discordeno",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"types": "./dist/types/index.d.ts",
|
|
6
|
-
"exports": {
|
|
7
|
-
"types": "./dist/types/index.d.ts",
|
|
8
|
-
"import": "./dist/esm/index.js",
|
|
9
|
-
"require": "./dist/cjs/index.cjs"
|
|
10
|
-
},
|
|
3
|
+
"version": "22.0.1-next.01a591e",
|
|
4
|
+
"exports": "./dist/index.js",
|
|
11
5
|
"type": "module",
|
|
12
6
|
"license": "Apache-2.0",
|
|
13
7
|
"repository": {
|
|
@@ -19,11 +13,10 @@
|
|
|
19
13
|
"!dist/.tsbuildinfo"
|
|
20
14
|
],
|
|
21
15
|
"scripts": {
|
|
22
|
-
"build": "swc src --strip-leading-paths
|
|
23
|
-
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist
|
|
16
|
+
"build": "swc src --strip-leading-paths src --out-dir dist",
|
|
17
|
+
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
24
18
|
"release-build": "yarn build && yarn build:type",
|
|
25
|
-
"
|
|
26
|
-
"lint": "biome lint --write",
|
|
19
|
+
"check": "biome check --write",
|
|
27
20
|
"test:unit-coverage": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
|
|
28
21
|
"test:unit": "c8 --r lcov mocha --no-warnings 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js discordeno",
|
|
29
22
|
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
|
|
@@ -33,24 +26,24 @@
|
|
|
33
26
|
"test:test-type": "tsc --project tests/tsconfig.json"
|
|
34
27
|
},
|
|
35
28
|
"dependencies": {
|
|
36
|
-
"@discordeno/bot": "
|
|
37
|
-
"@discordeno/gateway": "
|
|
38
|
-
"@discordeno/rest": "
|
|
39
|
-
"@discordeno/types": "
|
|
40
|
-
"@discordeno/utils": "
|
|
29
|
+
"@discordeno/bot": "22.0.1-next.01a591e",
|
|
30
|
+
"@discordeno/gateway": "22.0.1-next.01a591e",
|
|
31
|
+
"@discordeno/rest": "22.0.1-next.01a591e",
|
|
32
|
+
"@discordeno/types": "22.0.1-next.01a591e",
|
|
33
|
+
"@discordeno/utils": "22.0.1-next.01a591e"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "2.
|
|
44
|
-
"@swc/cli": "^0.
|
|
45
|
-
"@swc/core": "^1.
|
|
46
|
-
"@types/chai": "^5.2.
|
|
36
|
+
"@biomejs/biome": "2.3.8",
|
|
37
|
+
"@swc/cli": "^0.7.9",
|
|
38
|
+
"@swc/core": "^1.15.5",
|
|
39
|
+
"@types/chai": "^5.2.3",
|
|
47
40
|
"@types/mocha": "^10.0.10",
|
|
48
|
-
"@types/node": "^
|
|
41
|
+
"@types/node": "^25.0.3",
|
|
49
42
|
"c8": "^10.1.3",
|
|
50
|
-
"chai": "^
|
|
51
|
-
"mocha": "
|
|
43
|
+
"chai": "^6.2.1",
|
|
44
|
+
"mocha": "^11.7.5",
|
|
52
45
|
"ts-node": "^10.9.2",
|
|
53
46
|
"tsconfig": "*",
|
|
54
|
-
"typescript": "^5.
|
|
47
|
+
"typescript": "^5.9.3"
|
|
55
48
|
}
|
|
56
49
|
}
|
package/dist/cjs/index.cjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
_export_star(require("@discordeno/bot"), exports);
|
|
6
|
-
function _export_star(from, to) {
|
|
7
|
-
Object.keys(from).forEach(function(k) {
|
|
8
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
9
|
-
Object.defineProperty(to, k, {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function() {
|
|
12
|
-
return from[k];
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
return from;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAZGlzY29yZGVuby9ib3QnXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBYyJ9
|
package/dist/esm/index.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from '@discordeno/bot';
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAZGlzY29yZGVuby9ib3QnXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBaUIifQ==
|
|
File without changes
|