@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.
@@ -1,11 +1,12 @@
1
- const require_chunk = require('../chunk-CbDLau6x.cjs');
1
+ const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.cjs");
2
2
  let axios = require("axios");
3
- axios = require_chunk.__toESM(axios);
4
-
3
+ axios = require_rolldown_runtime.__toESM(axios, 1);
5
4
  module.exports = axios.default;
6
- Object.keys(axios).forEach(function (k) {
7
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
8
- enumerable: true,
9
- get: function () { return axios[k]; }
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
  });
@@ -1,5 +1,3 @@
1
1
  import axios_default from "axios";
2
-
3
- export * from "axios"
4
-
5
- export { axios_default as default };
2
+ export * from "axios";
3
+ export { axios_default as default };
@@ -1,9 +1,9 @@
1
-
2
-
3
1
  var chalk = require("chalk");
4
- Object.keys(chalk).forEach(function (k) {
5
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
- enumerable: true,
7
- get: function () { return chalk[k]; }
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
  });
@@ -1,3 +1,2 @@
1
- export * from "chalk"
2
-
3
- export { };
1
+ export * from "chalk";
2
+ export {};
@@ -1,5 +1,4 @@
1
- const require_chunk = require('../chunk-CbDLau6x.cjs');
1
+ const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.cjs");
2
2
  let express = require("express");
3
- express = require_chunk.__toESM(express);
4
-
5
- module.exports = express.default;
3
+ express = require_rolldown_runtime.__toESM(express, 1);
4
+ module.exports = express.default;
@@ -1,3 +1,2 @@
1
1
  import express_default from "express";
2
-
3
- export { express_default as default };
2
+ export { express_default as default };
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
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
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
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
- Object.defineProperty(exports, '__toESM', {
30
- enumerable: true,
31
- get: function () {
32
- return __toESM;
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.1.2",
3
+ "version": "6.2.0",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
- "douyin",
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
- "license": "GPL-3.0-only",
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
- "main": "dist/default/index.cjs",
47
- "module": "dist/default/index.mjs",
48
- "types": "dist/default/index.d.ts",
49
- "files": [
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.13.2",
61
+ "axios": "^1.18.1",
58
62
  "chalk": "5.6.2",
59
63
  "express": "^5.2.1",
60
- "protobufjs": "8.0.0",
61
- "zod": "4.3.5"
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
  }