@discordeno/rest 21.0.0-next.ceec87f → 21.0.0-next.e2d7b5b

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":"manager.d.ts","sourceRoot":"","sources":["../../src/manager.ts"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAA4B,wBAAwB,EAAsB,WAAW,EAAsB,MAAM,YAAY,CAAA;AAEzI,eAAO,MAAM,mBAAmB,KAAK,CAAA;AACrC,eAAO,MAAM,eAAe,4BAA4B,CAAA;AAExD,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D,eAAO,MAAM,2BAA2B,0BAA0B,CAAA;AAClE,eAAO,MAAM,6BAA6B,4BAA4B,CAAA;AACtE,eAAO,MAAM,wBAAwB,uBAAuB,CAAA;AAC5D,eAAO,MAAM,wBAAwB,uBAAuB,CAAA;AAC5D,eAAO,MAAM,uBAAuB,sBAAsB,CAAA;AAC1D,eAAO,MAAM,uBAAuB,sBAAsB,CAAA;AAE1D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,WAAW,CA+mDhF"}
1
+ {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/manager.ts"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAA4B,wBAAwB,EAAsB,WAAW,EAAsB,MAAM,YAAY,CAAA;AAEzI,eAAO,MAAM,mBAAmB,KAAK,CAAA;AACrC,eAAO,MAAM,eAAe,4BAA4B,CAAA;AAExD,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D,eAAO,MAAM,2BAA2B,0BAA0B,CAAA;AAClE,eAAO,MAAM,6BAA6B,4BAA4B,CAAA;AACtE,eAAO,MAAM,wBAAwB,uBAAuB,CAAA;AAC5D,eAAO,MAAM,wBAAwB,uBAAuB,CAAA;AAC5D,eAAO,MAAM,uBAAuB,sBAAsB,CAAA;AAC1D,eAAO,MAAM,uBAAuB,sBAAsB,CAAA;AAE1D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,WAAW,CAwmDhF"}
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "@discordeno/rest",
3
- "version": "21.0.0-next.ceec87f",
3
+ "version": "21.0.0-next.e2d7b5b",
4
4
  "main": "./dist/esm/index.js",
5
+ "types": "./dist/types/index.d.ts",
5
6
  "exports": {
7
+ "types": "./dist/types/index.d.ts",
6
8
  "import": "./dist/esm/index.js",
7
- "require": "./dist/cjs/index.cjs",
8
- "types": "./dist/types/index.d.ts"
9
+ "require": "./dist/cjs/index.cjs"
9
10
  },
10
- "types": "./dist/types/index.d.ts",
11
11
  "type": "module",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/discordeno/discordeno.git"
15
+ "url": "git+https://github.com/discordeno/discordeno.git"
16
16
  },
17
+ "files": [
18
+ "dist/**",
19
+ "!dist/.tsbuildinfo"
20
+ ],
17
21
  "scripts": {
18
22
  "build": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist/esm && swc --strip-leading-paths --delete-dir-on-start src --out-dir dist/cjs -C module.type=commonjs && node ../../scripts/fixCjsExtension.js",
19
23
  "build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
@@ -22,31 +26,31 @@
22
26
  "lint": "biome lint --write",
23
27
  "test:unit-coverage": "c8 mocha --no-warnings 'tests/unit/**/*.spec.ts'",
24
28
  "test:unit": "c8 --r lcov mocha --no-warnings 'tests/unit/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
25
- "test:deno-unit": "swc tests --strip-leading-paths --delete-dir-on-start --out-dir denoTestsDist && node ../../scripts/fixDenoTestExtension.js && deno test -A --import-map ../../denoImportMap.json denoTestsDist/unit",
26
- "test:bun-unit": "node ../../scripts/fixBunTestExtension.js && bun test bunTestsDist/unit",
27
- "test:e2e": "c8 --r lcov mocha --exit --no-warnings --jobs 1 --t 30000 'tests/e2e/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
28
29
  "test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/unit/**/*.spec.ts'",
30
+ "test:deno-unit": "deno -A ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/unit/**/*.spec.ts'",
31
+ "test:bun-unit": "bun ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/unit/**/*.spec.ts'",
32
+ "test:e2e": "c8 --r lcov mocha --exit --no-warnings --jobs 1 --t 30000 'tests/e2e/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
29
33
  "test:type": "tsc --noEmit",
30
34
  "test:test-type": "tsc --project tests/tsconfig.json"
31
35
  },
32
36
  "dependencies": {
33
- "@discordeno/types": "21.0.0-next.ceec87f",
34
- "@discordeno/utils": "21.0.0-next.ceec87f"
37
+ "@discordeno/types": "21.0.0-next.e2d7b5b",
38
+ "@discordeno/utils": "21.0.0-next.e2d7b5b"
35
39
  },
36
40
  "devDependencies": {
37
41
  "@biomejs/biome": "^1.9.4",
38
- "@swc/cli": "^0.5.1",
39
- "@swc/core": "^1.10.2",
42
+ "@swc/cli": "^0.5.2",
43
+ "@swc/core": "^1.10.4",
40
44
  "@types/chai": "^5.0.1",
41
45
  "@types/chai-as-promised": "^8.0.1",
42
46
  "@types/mocha": "^10.0.10",
43
- "@types/node": "^22.10.2",
47
+ "@types/node": "^22.10.3",
44
48
  "@types/sinon": "^17.0.3",
45
- "c8": "^10.1.2",
49
+ "c8": "^10.1.3",
46
50
  "chai": "^5.1.2",
47
51
  "chai-as-promised": "^8.0.1",
48
- "dotenv": "^16.4.5",
49
- "mocha": "^10.8.2",
52
+ "dotenv": "^16.4.7",
53
+ "mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
50
54
  "sinon": "^19.0.2",
51
55
  "ts-node": "^10.9.2",
52
56
  "tsconfig": "*",