保存进度!
This commit is contained in:
		
							
								
								
									
										3
									
								
								code/ts/后端辅助工具/.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								code/ts/后端辅助工具/.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
{
 | 
			
		||||
    "typescript.tsdk": "node_modules/typescript/lib"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										28
									
								
								code/ts/后端辅助工具/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										28
									
								
								code/ts/后端辅助工具/package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "utils",
 | 
			
		||||
    "name": "后端辅助工具",
 | 
			
		||||
    "lockfileVersion": 3,
 | 
			
		||||
    "requires": true,
 | 
			
		||||
    "packages": {
 | 
			
		||||
@@ -367,12 +367,12 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/asynckit": {
 | 
			
		||||
            "version": "0.4.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
 | 
			
		||||
            "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/axios": {
 | 
			
		||||
            "version": "1.3.2",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/axios/-/axios-1.3.2.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.2.tgz",
 | 
			
		||||
            "integrity": "sha512-1M3O703bYqYuPhbHeya5bnhpYVsDDRyQSabNja04mZtboLNSuZ4YrltestrLXfHgmzua4TpUqRiVKbiQuo2epw==",
 | 
			
		||||
            "dependencies": {
 | 
			
		||||
                "follow-redirects": "^1.15.0",
 | 
			
		||||
@@ -450,7 +450,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/combined-stream": {
 | 
			
		||||
            "version": "1.0.8",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
 | 
			
		||||
            "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
 | 
			
		||||
            "dependencies": {
 | 
			
		||||
                "delayed-stream": "~1.0.0"
 | 
			
		||||
@@ -504,7 +504,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/delayed-stream": {
 | 
			
		||||
            "version": "1.0.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
 | 
			
		||||
            "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
 | 
			
		||||
            "engines": {
 | 
			
		||||
                "node": ">=0.4.0"
 | 
			
		||||
@@ -814,8 +814,14 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/follow-redirects": {
 | 
			
		||||
            "version": "1.15.2",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
 | 
			
		||||
            "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
 | 
			
		||||
            "funding": [
 | 
			
		||||
                {
 | 
			
		||||
                    "type": "individual",
 | 
			
		||||
                    "url": "https://github.com/sponsors/RubenVerborgh"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "engines": {
 | 
			
		||||
                "node": ">=4.0"
 | 
			
		||||
            },
 | 
			
		||||
@@ -827,7 +833,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/form-data": {
 | 
			
		||||
            "version": "4.0.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
 | 
			
		||||
            "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
 | 
			
		||||
            "dependencies": {
 | 
			
		||||
                "asynckit": "^0.4.0",
 | 
			
		||||
@@ -1106,7 +1112,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/mime-db": {
 | 
			
		||||
            "version": "1.52.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
 | 
			
		||||
            "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
 | 
			
		||||
            "engines": {
 | 
			
		||||
                "node": ">= 0.6"
 | 
			
		||||
@@ -1114,7 +1120,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/mime-types": {
 | 
			
		||||
            "version": "2.1.35",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
 | 
			
		||||
            "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
 | 
			
		||||
            "dependencies": {
 | 
			
		||||
                "mime-db": "1.52.0"
 | 
			
		||||
@@ -1205,7 +1211,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/pako": {
 | 
			
		||||
            "version": "2.1.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/pako/-/pako-2.1.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz",
 | 
			
		||||
            "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug=="
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/parent-module": {
 | 
			
		||||
@@ -1276,7 +1282,7 @@
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/proxy-from-env": {
 | 
			
		||||
            "version": "1.1.0",
 | 
			
		||||
            "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
 | 
			
		||||
            "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
 | 
			
		||||
            "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
 | 
			
		||||
        },
 | 
			
		||||
        "node_modules/punycode": {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										21
									
								
								code/ts/后端辅助工具/src/DataType/Function.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								code/ts/后端辅助工具/src/DataType/Function.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-13 23:08:34
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 23:15:33
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/DataType/Function.ts
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
function f(x: number, y: number): number 
 | 
			
		||||
{
 | 
			
		||||
    return x + y;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
f.version = "1.0.0";
 | 
			
		||||
 | 
			
		||||
const func: {
 | 
			
		||||
    (x: number, y: number): void,
 | 
			
		||||
    version: string,
 | 
			
		||||
} = f;
 | 
			
		||||
@@ -4,8 +4,8 @@
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 15:46:17
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/axios/AxiosTest.js
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
import axios from "axios";
 | 
			
		||||
// import axios from "axios";
 | 
			
		||||
@@ -2,18 +2,18 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-13 15:53:45
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 15:56:26
 | 
			
		||||
 * @LastEditTime: 2023-02-13 22:41:50
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/axios/request.ts
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
import axios, { AxiosInstance } from "axios";
 | 
			
		||||
import axios, {AxiosInstance, AxiosRequestConfig, AxiosResponse} from 'axios';
 | 
			
		||||
 | 
			
		||||
const service = axios.create({
 | 
			
		||||
    baseURL: "",
 | 
			
		||||
    timeout: 10000,
 | 
			
		||||
    timeoutErrorMessage: "请求超时!",
 | 
			
		||||
});
 | 
			
		||||
// const service = axios.create({
 | 
			
		||||
//     baseURL: "",
 | 
			
		||||
//     timeout: 10000,
 | 
			
		||||
//     timeoutErrorMessage: "请求超时!",
 | 
			
		||||
// });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,58 +0,0 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-10 15:08:53
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 10:04:33
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/DataType/DataType.ts
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
/*eslint no-unused-vars: "off" */
 | 
			
		||||
/*eslint @typescript-eslint/no-unused-vars: "off" */
 | 
			
		||||
exports.__esModule = true;
 | 
			
		||||
exports.dataTypes = void 0;
 | 
			
		||||
//Tuple
 | 
			
		||||
function dataTypes() {
 | 
			
		||||
    var tu = [1, 1, 2,];
 | 
			
		||||
    var toArray = [1, 2, "3",];
 | 
			
		||||
    var v1 = toArray;
 | 
			
		||||
    var s1 = "string";
 | 
			
		||||
    console.log(typeof s1);
 | 
			
		||||
    var point;
 | 
			
		||||
    point = { x: 0, y: 0 };
 | 
			
		||||
    function addOne(x, y) {
 | 
			
		||||
        if (y === void 0) { y = 1; }
 | 
			
		||||
        return x + y;
 | 
			
		||||
    }
 | 
			
		||||
    console.log(addOne(1));
 | 
			
		||||
    function allParams(x, y) {
 | 
			
		||||
        var z = x + y;
 | 
			
		||||
    }
 | 
			
		||||
    //剩余参数,数组形式
 | 
			
		||||
    function overplusArgusWithArray(x) {
 | 
			
		||||
        var argus = [];
 | 
			
		||||
        for (var _i = 1; _i < arguments.length; _i++) {
 | 
			
		||||
            argus[_i - 1] = arguments[_i];
 | 
			
		||||
        }
 | 
			
		||||
        return argus.length;
 | 
			
		||||
    }
 | 
			
		||||
    function overplusArugsWithTuple(x) {
 | 
			
		||||
        var argus = [];
 | 
			
		||||
        for (var _i = 1; _i < arguments.length; _i++) {
 | 
			
		||||
            argus[_i - 1] = arguments[_i];
 | 
			
		||||
        }
 | 
			
		||||
        console.log("\u5143\u7EC4\u5F62\u5F0F\u7684\u53C2\u6570\u8868".concat(argus, ",\u5269\u4F59\u53C2\u6570\u7684\u6570\u91CF").concat(argus.length, "\u3002"));
 | 
			
		||||
        console.log(argus[2]);
 | 
			
		||||
        return argus.length;
 | 
			
		||||
    }
 | 
			
		||||
    overplusArugsWithTuple(1, 2, 3, "test");
 | 
			
		||||
    console.log(overplusArgusWithArray(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));
 | 
			
		||||
    //测试null
 | 
			
		||||
    var nulltest = null;
 | 
			
		||||
    var var_2 = { x: "test" };
 | 
			
		||||
    // var_2 = null;
 | 
			
		||||
}
 | 
			
		||||
exports.dataTypes = dataTypes;
 | 
			
		||||
//# sourceMappingURL=DataType.js.map
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"DataType.js","sourceRoot":"","sources":["../../src/DataType/DataType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;AACH,iCAAiC;AACjC,oDAAoD;;;AAGpD,OAAO;AACP,SAAS,SAAS;IAEd,IAAM,EAAE,GAAsC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;IAEzD,IAAM,OAAO,GAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC;IACvD,IAAM,EAAE,GAAwB,OAAO,CAAC;IAExC,IAAM,EAAE,GAAG,QAAQ,CAAC;IAEpB,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IAGvB,IAAI,KAGH,CAAC;IACF,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAG,CAAC;IAExB,SAAS,MAAM,CAAC,CAAS,EAAE,CAAa;QAAb,kBAAA,EAAA,KAAa;QAEpC,OAAO,CAAC,GAAG,CAAC,CAAC;IACjB,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAEvB,SAAS,SAAS,CAAC,CAAS,EAAE,CAAS;QAEnC,IAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,CAAC;IAED,WAAW;IACX,SAAS,sBAAsB,CAAC,CAAS;QAAE,eAAkB;aAAlB,UAAkB,EAAlB,qBAAkB,EAAlB,IAAkB;YAAlB,8BAAkB;;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC;IACxB,CAAC;IAED,SAAS,sBAAsB,CAAC,CAAS;QAAE,eAAkC;aAAlC,UAAkC,EAAlC,qBAAkC,EAAlC,IAAkC;YAAlC,8BAAkC;;QAGzE,OAAO,CAAC,GAAG,CAAC,0DAAW,KAAK,wDAAW,KAAK,CAAC,MAAM,WAAG,CAAC,CAAC;QACxD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAEtB,OAAO,KAAK,CAAC,MAAM,CAAC;IACxB,CAAC;IAED,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC;IAExC,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAEnE,QAAQ;IACR,IAAM,QAAQ,GAAS,IAAI,CAAC;IAC5B,IAAI,KAAK,GAAmB,EAAE,CAAC,EAAE,MAAM,EAAG,CAAC;IAE3C,gBAAgB;AACpB,CAAC;AAGQ,8BAAS"}
 | 
			
		||||
@@ -1,3 +0,0 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
exports.__esModule = true;
 | 
			
		||||
//# sourceMappingURL=AxiosTest.js.map
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"AxiosTest.js","sourceRoot":"","sources":["../../src/axios/AxiosTest.ts"],"names":[],"mappings":""}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
exports.__esModule = true;
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-13 15:53:45
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 15:56:26
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/axios/request.ts
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
var axios_1 = require("axios");
 | 
			
		||||
var service = axios_1["default"].create({
 | 
			
		||||
    baseURL: "",
 | 
			
		||||
    timeout: 10000,
 | 
			
		||||
    timeoutErrorMessage: "请求超时!"
 | 
			
		||||
});
 | 
			
		||||
//# sourceMappingURL=request.js.map
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/axios/request.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;GASG;AACH,+BAA6C;AAE7C,IAAM,OAAO,GAAG,kBAAK,CAAC,MAAM,CAAC;IACzB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,KAAK;IACd,mBAAmB,EAAE,OAAO;CAC/B,CAAC,CAAC"}
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"PakoTest.js","sourceRoot":"","sources":["../../src/gzip/PakoTest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,6BAAwC;AACxC,wDAAgF;AAEhF,SAAS,QAAQ;IAEb,IAAM,QAAQ,GAAW,45MAA4pI,CAAC;IACtrI,IAAM,OAAO,GAAG,IAAA,kCAAkB,EAAC,QAAQ,CAAC,CAAC;IAE7C,IAAM,UAAU,GAAG,IAAA,cAAO,EAAC,OAAO,CAAC,CAAC;IACpC,IAAM,YAAY,GAAG,IAAA,kCAAkB,EAAC,IAAA,cAAO,EAAC,UAAU,CAAC,CAAC,CAAC;IAE7D,OAAO,CAAC,GAAG,CAAC,8CAAS,UAAU,CAAE,CAAC,CAAC;IACnC,uCAAuC;AAC3C,CAAC;AAEQ,4BAAQ"}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-09 22:14:30
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 15:59:43
 | 
			
		||||
 * @FilePath: /后端辅助工具/src/main.ts
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
exports.__esModule = true;
 | 
			
		||||
var PakoTest_1 = require("./gzip/PakoTest");
 | 
			
		||||
var greetings = "hello, this is kane's typescript!";
 | 
			
		||||
console.log(greetings);
 | 
			
		||||
console.log("all");
 | 
			
		||||
//dataTypes();
 | 
			
		||||
(0, PakoTest_1.pakoTest)();
 | 
			
		||||
//# sourceMappingURL=main.js.map
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAGH,4CAA2C;AAE3C,IAAM,SAAS,GAAG,mCAAmC,CAAC;AAEtD,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACvB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAEnB,cAAc;AACd,IAAA,mBAAQ,GAAE,CAAC"}
 | 
			
		||||
@@ -1,31 +0,0 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-13 14:54:46
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 14:55:19
 | 
			
		||||
 * @FilePath: /pako/src/utils/StringConverter.js
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
exports.__esModule = true;
 | 
			
		||||
exports.stringToUint8Array = exports.Uint8ArrayToString = void 0;
 | 
			
		||||
function Uint8ArrayToString(fileData) {
 | 
			
		||||
    var dataString = "";
 | 
			
		||||
    for (var i = 0; i < fileData.length; i++) {
 | 
			
		||||
        dataString += String.fromCharCode(fileData[i]);
 | 
			
		||||
    }
 | 
			
		||||
    return dataString;
 | 
			
		||||
}
 | 
			
		||||
exports.Uint8ArrayToString = Uint8ArrayToString;
 | 
			
		||||
function stringToUint8Array(str) {
 | 
			
		||||
    var arr = [];
 | 
			
		||||
    for (var i = 0, j = str.length; i < j; ++i) {
 | 
			
		||||
        arr.push(str.charCodeAt(i));
 | 
			
		||||
    }
 | 
			
		||||
    var tmpUint8Array = new Uint8Array(arr);
 | 
			
		||||
    return tmpUint8Array;
 | 
			
		||||
}
 | 
			
		||||
exports.stringToUint8Array = stringToUint8Array;
 | 
			
		||||
//# sourceMappingURL=StringConvert.js.map
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
{"version":3,"file":"StringConvert.js","sourceRoot":"","sources":["../../src/utils/StringConvert.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,SAAS,kBAAkB,CAAC,QAAoB;IAE5C,IAAI,UAAU,GAAW,EAAE,CAAC;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EACxC;QACI,UAAU,IAAI,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;KAClD;IAED,OAAO,UAAU,CAAC;AACtB,CAAC;AAgBQ,gDAAkB;AAd3B,SAAS,kBAAkB,CAAC,GAAW;IAEnC,IAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,EAC1C;QACI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAM,aAAa,GAAe,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;IAEtD,OAAO,aAAa,CAAC;AACzB,CAAC;AAE4B,gDAAkB"}
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-09 15:24:20
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-13 15:58:39
 | 
			
		||||
 * @LastEditTime: 2023-02-13 22:47:10
 | 
			
		||||
 * @FilePath: /后端辅助工具/tsconfig.json
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
@@ -14,6 +14,9 @@
 | 
			
		||||
        "strict": false,
 | 
			
		||||
        "strictNullChecks": true,
 | 
			
		||||
        "sourceMap": true,
 | 
			
		||||
        "moduleResolution": "node",
 | 
			
		||||
        "module": "CommonJS",
 | 
			
		||||
        "target": "ES2015"
 | 
			
		||||
    },
 | 
			
		||||
    // "files": [
 | 
			
		||||
    //     "./src/main.ts",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user