routup 0.14.2 → 1.0.0-alpha.2
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 +9 -3
- package/dist/config/index.d.ts +2 -0
- package/dist/config/module.d.ts +8 -0
- package/dist/config/type.d.ts +34 -0
- package/dist/constants.d.ts +39 -0
- package/dist/handler/index.d.ts +0 -1
- package/dist/handler/utils.d.ts +1 -2
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/request/body.d.ts +5 -0
- package/dist/helpers/request/cache.d.ts +2 -0
- package/dist/helpers/request/cookie.d.ts +8 -0
- package/dist/helpers/request/env.d.ts +6 -0
- package/dist/helpers/request/header-accept-charset.d.ts +3 -0
- package/dist/helpers/request/header-accept-encoding.d.ts +4 -0
- package/dist/helpers/request/header-accept-language.d.ts +3 -0
- package/dist/helpers/request/header-accept.d.ts +3 -0
- package/dist/helpers/request/header-content-type.d.ts +2 -0
- package/dist/helpers/request/header.d.ts +5 -0
- package/dist/helpers/request/hostname.d.ts +7 -0
- package/dist/helpers/request/index.d.ts +18 -0
- package/dist/helpers/request/ip.d.ts +7 -0
- package/dist/helpers/request/mount-path.d.ts +3 -0
- package/dist/helpers/request/negotiator.d.ts +3 -0
- package/dist/helpers/request/params.d.ts +5 -0
- package/dist/helpers/request/path.d.ts +2 -0
- package/dist/helpers/request/protocol.d.ts +8 -0
- package/dist/helpers/request/query.d.ts +8 -0
- package/dist/helpers/response/cache.d.ts +7 -0
- package/dist/helpers/response/header-attachment.d.ts +2 -0
- package/dist/helpers/response/header-content-type.d.ts +2 -0
- package/dist/helpers/response/header.d.ts +5 -0
- package/dist/helpers/response/index.d.ts +12 -0
- package/dist/helpers/response/send-accepted.d.ts +2 -0
- package/dist/helpers/response/send-created.d.ts +2 -0
- package/dist/helpers/response/send-file.d.ts +9 -0
- package/dist/helpers/response/send-format.d.ts +6 -0
- package/dist/helpers/response/send-redirect.d.ts +2 -0
- package/dist/helpers/response/send-stream.d.ts +4 -0
- package/dist/helpers/response/send.d.ts +2 -0
- package/dist/helpers/response/utils.d.ts +3 -0
- package/dist/helpers/type.d.ts +3 -0
- package/dist/index.cjs +1085 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +991 -4
- package/dist/index.mjs.map +1 -1
- package/dist/layer/index.d.ts +0 -1
- package/dist/layer/module.d.ts +1 -3
- package/dist/layer/type.d.ts +0 -1
- package/dist/layer/utils.d.ts +0 -1
- package/dist/path/index.d.ts +0 -1
- package/dist/path/matcher.d.ts +0 -1
- package/dist/path/type.d.ts +0 -1
- package/dist/route/index.d.ts +0 -1
- package/dist/route/module.d.ts +2 -4
- package/dist/route/type.d.ts +0 -1
- package/dist/route/utils.d.ts +0 -1
- package/dist/router/index.d.ts +0 -1
- package/dist/router/module.d.ts +1 -3
- package/dist/router/type.d.ts +0 -1
- package/dist/type.d.ts +9 -1
- package/dist/utils/etag/index.d.ts +2 -0
- package/dist/utils/etag/module.d.ts +12 -0
- package/dist/utils/etag/type.d.ts +16 -0
- package/dist/utils/etag/utils.d.ts +2 -0
- package/dist/utils/index.d.ts +5 -1
- package/dist/utils/is-instance.d.ts +0 -1
- package/dist/utils/mime.d.ts +2 -0
- package/dist/utils/object.d.ts +1 -0
- package/dist/utils/path.d.ts +0 -1
- package/dist/utils/promise.d.ts +0 -1
- package/dist/utils/request.d.ts +1 -2
- package/dist/utils/trust-proxy/index.d.ts +2 -0
- package/dist/utils/trust-proxy/module.d.ts +2 -0
- package/dist/utils/trust-proxy/type.d.ts +2 -0
- package/dist/utils/url.d.ts +7 -0
- package/package.json +30 -13
- package/dist/handler/index.d.ts.map +0 -1
- package/dist/handler/utils.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/layer/index.d.ts.map +0 -1
- package/dist/layer/module.d.ts.map +0 -1
- package/dist/layer/type.d.ts.map +0 -1
- package/dist/layer/utils.d.ts.map +0 -1
- package/dist/path/index.d.ts.map +0 -1
- package/dist/path/matcher.d.ts.map +0 -1
- package/dist/path/type.d.ts.map +0 -1
- package/dist/route/index.d.ts.map +0 -1
- package/dist/route/module.d.ts.map +0 -1
- package/dist/route/type.d.ts.map +0 -1
- package/dist/route/utils.d.ts.map +0 -1
- package/dist/router/index.d.ts.map +0 -1
- package/dist/router/module.d.ts.map +0 -1
- package/dist/router/type.d.ts.map +0 -1
- package/dist/type.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/is-instance.d.ts.map +0 -1
- package/dist/utils/path.d.ts.map +0 -1
- package/dist/utils/promise.d.ts.map +0 -1
- package/dist/utils/request.d.ts.map +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { Stats } from 'node:fs';
|
|
4
|
+
import type { EtagOptions } from './type';
|
|
5
|
+
/**
|
|
6
|
+
* Generate an ETag.
|
|
7
|
+
*/
|
|
8
|
+
export declare function generateETag(input: string | Buffer | Stats): string;
|
|
9
|
+
/**
|
|
10
|
+
* Create a simple ETag.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createEtag(input: string | Buffer | Stats, options?: EtagOptions): string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export type EtagOptions = {
|
|
3
|
+
/**
|
|
4
|
+
* Create a weak ETag?
|
|
5
|
+
* Output is prefixed with: /W
|
|
6
|
+
*/
|
|
7
|
+
weak?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Threshold of bytes from which an etag is generated.
|
|
10
|
+
*
|
|
11
|
+
* default: undefined
|
|
12
|
+
*/
|
|
13
|
+
threshold?: number;
|
|
14
|
+
};
|
|
15
|
+
export type EtagFn = (body: any, encoding?: BufferEncoding, size?: number) => string | undefined;
|
|
16
|
+
export type EtagInput = boolean | EtagOptions | EtagFn;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * from './etag';
|
|
2
|
+
export * from './trust-proxy';
|
|
1
3
|
export * from './is-instance';
|
|
4
|
+
export * from './mime';
|
|
5
|
+
export * from './object';
|
|
2
6
|
export * from './path';
|
|
3
7
|
export * from './promise';
|
|
4
8
|
export * from './request';
|
|
5
|
-
|
|
9
|
+
export * from './url';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isObject(item: unknown): item is Record<string, any>;
|
package/dist/utils/path.d.ts
CHANGED
package/dist/utils/promise.d.ts
CHANGED
package/dist/utils/request.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function hasTrailingSlash(input?: string, queryParams?: boolean): boolean;
|
|
2
|
+
export declare function withoutTrailingSlash(input?: string, queryParams?: boolean): string;
|
|
3
|
+
export declare function withTrailingSlash(input?: string, queryParams?: boolean): string;
|
|
4
|
+
export declare function hasLeadingSlash(input?: string): boolean;
|
|
5
|
+
export declare function withoutLeadingSlash(input?: string): string;
|
|
6
|
+
export declare function withLeadingSlash(input?: string): string;
|
|
7
|
+
export declare function cleanDoubleSlashes(input?: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "routup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "Routup is a minimalistic http based routing framework.",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist/"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build:types": "tsc --emitDeclarationOnly -p tsconfig.
|
|
20
|
+
"build:types": "tsc --emitDeclarationOnly -p tsconfig.json",
|
|
21
21
|
"build:js": "rollup -c",
|
|
22
22
|
"build": "rimraf ./dist && cross-env NODE_ENV=production npm run build:js && npm run build:types",
|
|
23
23
|
"test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",
|
|
@@ -43,24 +43,41 @@
|
|
|
43
43
|
],
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
|
46
|
-
"url": "git+https://github.com/
|
|
46
|
+
"url": "git+https://github.com/routup/routup.git"
|
|
47
47
|
},
|
|
48
48
|
"bugs": {
|
|
49
|
-
"url": "https://github.com/
|
|
50
|
-
},
|
|
51
|
-
"homepage": "https://github.com/Tada5hi/routup#readme",
|
|
52
|
-
"peerDependencies": {
|
|
53
|
-
"@routup/core": ">=0.8.0 <1.0.0"
|
|
49
|
+
"url": "https://github.com/routup/routup/issues"
|
|
54
50
|
},
|
|
51
|
+
"homepage": "https://github.com/routup/routup#readme",
|
|
55
52
|
"dependencies": {
|
|
56
53
|
"@ebec/http": "^1.0.0",
|
|
54
|
+
"continu": "^1.3.1",
|
|
55
|
+
"mime-explorer": "^1.0.0",
|
|
56
|
+
"negotiator": "^0.6.3",
|
|
57
57
|
"path-to-regexp": "^6.2.1",
|
|
58
|
-
"
|
|
58
|
+
"proxy-addr": "^2.0.7",
|
|
59
|
+
"smob": "^1.0.0",
|
|
60
|
+
"zod": "^3.21.4"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
|
-
"@
|
|
63
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
64
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
65
|
+
"@swc/core": "^1.3.57",
|
|
66
|
+
"@swc/jest": "^0.2.26",
|
|
67
|
+
"@tada5hi/commitlint-config": "^1.0.2",
|
|
68
|
+
"@tada5hi/eslint-config-typescript": "^1.1.8",
|
|
69
|
+
"@tada5hi/semantic-release": "^0.1.0",
|
|
70
|
+
"@tada5hi/tsconfig": "^0.4.0",
|
|
71
|
+
"@types/jest": "^29.5.1",
|
|
72
|
+
"@types/negotiator": "^0.6.1",
|
|
73
|
+
"@types/proxy-addr": "^2.0.0",
|
|
62
74
|
"@types/supertest": "^2.0.12",
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
75
|
+
"cross-env": "^7.0.3",
|
|
76
|
+
"jest": "^29.5.0",
|
|
77
|
+
"rimraf": "^5.0.0",
|
|
78
|
+
"rollup": "^3.21.6",
|
|
79
|
+
"semantic-release": "^21.0.2",
|
|
80
|
+
"supertest": "^6.3.3",
|
|
81
|
+
"typescript": "5.0.4"
|
|
82
|
+
}
|
|
66
83
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handler/index.ts"],"names":[],"mappings":"AAOA,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/handler/utils.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAInD,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,QAiBxF"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layer/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/layer/module.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAQ,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG5D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EACR,cAAc,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,qBAAa,KAAK;IACd,QAAQ,CAAC,aAAa,SAAuB;IAE7C,SAAS,CAAC,EAAE,EAAG,gBAAgB,CAAC;IAEhC,SAAS,CAAC,WAAW,EAAG,WAAW,CAAC;gBAKhC,OAAO,EAAE,YAAY,EACrB,EAAE,EAAE,gBAAgB;IAQxB,OAAO;IAMP,QAAQ,CACJ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,gBAAgB,GACtB,IAAI;IAER,QAAQ,CACJ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,gBAAgB,EACtB,GAAG,EAAE,KAAK,GACV,IAAI;IA6DR,SAAS,CAAC,IAAI,EAAE,MAAM,GAAI,OAAO;IAIjC,IAAI,CAAC,IAAI,EAAE,MAAM;CAGpB"}
|
package/dist/layer/type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/layer/type.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC;IAEX,WAAW,EAAE,kBAAkB,CAAA;CAClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/layer/utils.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAI,KAAK,IAAI,KAAK,CAE/D"}
|
package/dist/path/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/path/index.ts"],"names":[],"mappings":"AAOA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"matcher.d.ts","sourceRoot":"","sources":["../../src/path/matcher.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAWxE,qBAAa,WAAW;IACpB,IAAI,EAAE,IAAI,CAAC;IAEX,MAAM,EAAG,MAAM,CAAC;IAEhB,UAAU,EAAG,GAAG,EAAE,CAAM;IAExB,aAAa,EAAE,kBAAkB,CAAC;gBAEtB,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAWpD,IAAI,CAAC,IAAI,EAAE,MAAM;IASjB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAI,qBAAqB,GAAG,SAAS;CA2CzD"}
|
package/dist/path/type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/path/type.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,GAAG,YAAY,CAAC;AAEtE,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/route/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/route/module.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACR,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EACnC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EACR,cAAc,EACd,IAAI,EACP,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,qBAAa,KAAK;IACd,QAAQ,CAAC,aAAa,SAAuB;IAEtC,IAAI,EAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,WAAW,EAAG,WAAW,CAAC;IAEpC,SAAS,CAAC,kBAAkB,EAAG,kBAAkB,CAAC;IAElD,SAAS,CAAC,MAAM,EAAG,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAM;gBAIpC,OAAO,EAAE,YAAY;IAajC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAI,OAAO;IAIjC,WAAW,CAAC,MAAM,EAAE,MAAM,GAAI,OAAO;IAerC,UAAU,IAAK,MAAM,EAAE;IAevB,QAAQ,CACJ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,IAAI,GACV,IAAI;IAiER,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,GAAG,QAAQ,EAAE,OAAO,EAAE;IAgBpD,GAAG,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI1B,IAAI,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI3B,GAAG,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI1B,KAAK,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI5B,MAAM,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI7B,IAAI,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAI3B,OAAO,CAAC,GAAG,QAAQ,EAAE,OAAO,EAAE;IAM9B,OAAO,CAAC,YAAY;CAIvB"}
|
package/dist/route/type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/route/type.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC1E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC;IAEX,WAAW,EAAE,qBAAqB,GAAG,YAAY,CAAA;CACpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/route/utils.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAI,KAAK,IAAI,KAAK,CAE/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/router/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/router/module.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/router/type.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,MAAM,aAAa,GAAG;IACxB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ;;;;OAIG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAA;IAEhC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
package/dist/type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnC,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAOA,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-instance.d.ts","sourceRoot":"","sources":["../../src/utils/is-instance.ts"],"names":[],"mappings":"AAOA,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAMtD"}
|
package/dist/utils/path.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../src/utils/path.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAI,KAAK,IAAI,IAAI,CAErD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promise.d.ts","sourceRoot":"","sources":["../../src/utils/promise.ts"],"names":[],"mappings":"AASA,wBAAgB,SAAS,CAAC,CAAC,EAAE,OAAO,GAAI,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAQ5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/utils/request.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGnD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,QAuB/E"}
|