@ikenxuan/amagi 6.1.2 → 6.2.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/README.md +3 -2
- package/dist/default/index.cjs +1073 -971
- package/dist/default/index.d.ts +17601 -16590
- package/dist/default/index.mjs +1063 -963
- package/dist/exports/axios.cjs +9 -8
- package/dist/exports/axios.mjs +2 -4
- package/dist/exports/chalk.cjs +7 -7
- package/dist/exports/chalk.mjs +2 -3
- package/dist/exports/express.cjs +3 -4
- package/dist/exports/express.mjs +1 -2
- package/dist/{chunk-CbDLau6x.cjs → rolldown-runtime-D6vf50IK.cjs} +13 -19
- package/package.json +21 -21
package/dist/exports/axios.cjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.cjs");
|
|
2
2
|
let axios = require("axios");
|
|
3
|
-
axios =
|
|
4
|
-
|
|
3
|
+
axios = require_rolldown_runtime.__toESM(axios, 1);
|
|
5
4
|
module.exports = axios.default;
|
|
6
|
-
Object.keys(axios).forEach(function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
Object.keys(axios).forEach(function(k) {
|
|
6
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return axios[k];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
11
12
|
});
|
package/dist/exports/axios.mjs
CHANGED
package/dist/exports/chalk.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
var chalk = require("chalk");
|
|
4
|
-
Object.keys(chalk).forEach(function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
Object.keys(chalk).forEach(function(k) {
|
|
3
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
4
|
+
enumerable: true,
|
|
5
|
+
get: function() {
|
|
6
|
+
return chalk[k];
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
9
|
});
|
package/dist/exports/chalk.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from "chalk"
|
|
2
|
-
|
|
3
|
-
export { };
|
|
1
|
+
export * from "chalk";
|
|
2
|
+
export {};
|
package/dist/exports/express.cjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.cjs");
|
|
2
2
|
let express = require("express");
|
|
3
|
-
express =
|
|
4
|
-
|
|
5
|
-
module.exports = express.default;
|
|
3
|
+
express = require_rolldown_runtime.__toESM(express, 1);
|
|
4
|
+
module.exports = express.default;
|
package/dist/exports/express.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -6,16 +6,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
19
15
|
}
|
|
20
16
|
return to;
|
|
21
17
|
};
|
|
@@ -23,12 +19,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
19
|
value: mod,
|
|
24
20
|
enumerable: true
|
|
25
21
|
}) : target, mod));
|
|
26
|
-
|
|
27
22
|
//#endregion
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
});
|
|
23
|
+
Object.defineProperty(exports, "__toESM", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return __toESM;
|
|
27
|
+
}
|
|
28
|
+
});
|
package/package.json
CHANGED
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikenxuan/amagi",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"api",
|
|
7
7
|
"bilibili",
|
|
8
|
+
"douyin",
|
|
8
9
|
"kuaishou",
|
|
9
|
-
"xiaohongshu"
|
|
10
|
-
"api"
|
|
10
|
+
"xiaohongshu"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://github.com/ikenxuan/amagi",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/ikenxuan/amagi/issues"
|
|
15
15
|
},
|
|
16
|
+
"license": "GPL-3.0-only",
|
|
16
17
|
"repository": {
|
|
17
18
|
"type": "git",
|
|
18
19
|
"url": "git+https://github.com/ikenxuan/amagi.git",
|
|
19
20
|
"directory": "packages/core"
|
|
20
21
|
},
|
|
21
|
-
"
|
|
22
|
+
"files": [
|
|
23
|
+
"dist/*",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"package.json",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
22
28
|
"type": "module",
|
|
29
|
+
"main": "dist/default/index.cjs",
|
|
30
|
+
"module": "dist/default/index.mjs",
|
|
31
|
+
"types": "dist/default/index.d.ts",
|
|
23
32
|
"exports": {
|
|
24
33
|
".": {
|
|
25
34
|
"types": "./dist/default/index.d.ts",
|
|
@@ -43,26 +52,17 @@
|
|
|
43
52
|
"require": "./dist/exports/chalk.cjs"
|
|
44
53
|
}
|
|
45
54
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"dist/*",
|
|
51
|
-
"LICENSE",
|
|
52
|
-
"package.json",
|
|
53
|
-
"README.md"
|
|
54
|
-
],
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public",
|
|
57
|
+
"registry": "https://registry.npmjs.org"
|
|
58
|
+
},
|
|
55
59
|
"dependencies": {
|
|
56
60
|
"@ikenxuan/xhshow-ts": "^1.0.6",
|
|
57
|
-
"axios": "^1.
|
|
61
|
+
"axios": "^1.18.1",
|
|
58
62
|
"chalk": "5.6.2",
|
|
59
63
|
"express": "^5.2.1",
|
|
60
|
-
"protobufjs": "8.
|
|
61
|
-
"zod": "4.3
|
|
62
|
-
},
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public",
|
|
65
|
-
"registry": "https://registry.npmjs.org"
|
|
64
|
+
"protobufjs": "8.6.5",
|
|
65
|
+
"zod": "4.4.3"
|
|
66
66
|
},
|
|
67
67
|
"timestamp": "2026-04-08T05:13:54.305Z"
|
|
68
68
|
}
|