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.
Files changed (100) hide show
  1. package/README.md +9 -3
  2. package/dist/config/index.d.ts +2 -0
  3. package/dist/config/module.d.ts +8 -0
  4. package/dist/config/type.d.ts +34 -0
  5. package/dist/constants.d.ts +39 -0
  6. package/dist/handler/index.d.ts +0 -1
  7. package/dist/handler/utils.d.ts +1 -2
  8. package/dist/helpers/index.d.ts +3 -0
  9. package/dist/helpers/request/body.d.ts +5 -0
  10. package/dist/helpers/request/cache.d.ts +2 -0
  11. package/dist/helpers/request/cookie.d.ts +8 -0
  12. package/dist/helpers/request/env.d.ts +6 -0
  13. package/dist/helpers/request/header-accept-charset.d.ts +3 -0
  14. package/dist/helpers/request/header-accept-encoding.d.ts +4 -0
  15. package/dist/helpers/request/header-accept-language.d.ts +3 -0
  16. package/dist/helpers/request/header-accept.d.ts +3 -0
  17. package/dist/helpers/request/header-content-type.d.ts +2 -0
  18. package/dist/helpers/request/header.d.ts +5 -0
  19. package/dist/helpers/request/hostname.d.ts +7 -0
  20. package/dist/helpers/request/index.d.ts +18 -0
  21. package/dist/helpers/request/ip.d.ts +7 -0
  22. package/dist/helpers/request/mount-path.d.ts +3 -0
  23. package/dist/helpers/request/negotiator.d.ts +3 -0
  24. package/dist/helpers/request/params.d.ts +5 -0
  25. package/dist/helpers/request/path.d.ts +2 -0
  26. package/dist/helpers/request/protocol.d.ts +8 -0
  27. package/dist/helpers/request/query.d.ts +8 -0
  28. package/dist/helpers/response/cache.d.ts +7 -0
  29. package/dist/helpers/response/header-attachment.d.ts +2 -0
  30. package/dist/helpers/response/header-content-type.d.ts +2 -0
  31. package/dist/helpers/response/header.d.ts +5 -0
  32. package/dist/helpers/response/index.d.ts +12 -0
  33. package/dist/helpers/response/send-accepted.d.ts +2 -0
  34. package/dist/helpers/response/send-created.d.ts +2 -0
  35. package/dist/helpers/response/send-file.d.ts +9 -0
  36. package/dist/helpers/response/send-format.d.ts +6 -0
  37. package/dist/helpers/response/send-redirect.d.ts +2 -0
  38. package/dist/helpers/response/send-stream.d.ts +4 -0
  39. package/dist/helpers/response/send.d.ts +2 -0
  40. package/dist/helpers/response/utils.d.ts +3 -0
  41. package/dist/helpers/type.d.ts +3 -0
  42. package/dist/index.cjs +1085 -35
  43. package/dist/index.cjs.map +1 -1
  44. package/dist/index.d.ts +3 -2
  45. package/dist/index.mjs +991 -4
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/layer/index.d.ts +0 -1
  48. package/dist/layer/module.d.ts +1 -3
  49. package/dist/layer/type.d.ts +0 -1
  50. package/dist/layer/utils.d.ts +0 -1
  51. package/dist/path/index.d.ts +0 -1
  52. package/dist/path/matcher.d.ts +0 -1
  53. package/dist/path/type.d.ts +0 -1
  54. package/dist/route/index.d.ts +0 -1
  55. package/dist/route/module.d.ts +2 -4
  56. package/dist/route/type.d.ts +0 -1
  57. package/dist/route/utils.d.ts +0 -1
  58. package/dist/router/index.d.ts +0 -1
  59. package/dist/router/module.d.ts +1 -3
  60. package/dist/router/type.d.ts +0 -1
  61. package/dist/type.d.ts +9 -1
  62. package/dist/utils/etag/index.d.ts +2 -0
  63. package/dist/utils/etag/module.d.ts +12 -0
  64. package/dist/utils/etag/type.d.ts +16 -0
  65. package/dist/utils/etag/utils.d.ts +2 -0
  66. package/dist/utils/index.d.ts +5 -1
  67. package/dist/utils/is-instance.d.ts +0 -1
  68. package/dist/utils/mime.d.ts +2 -0
  69. package/dist/utils/object.d.ts +1 -0
  70. package/dist/utils/path.d.ts +0 -1
  71. package/dist/utils/promise.d.ts +0 -1
  72. package/dist/utils/request.d.ts +1 -2
  73. package/dist/utils/trust-proxy/index.d.ts +2 -0
  74. package/dist/utils/trust-proxy/module.d.ts +2 -0
  75. package/dist/utils/trust-proxy/type.d.ts +2 -0
  76. package/dist/utils/url.d.ts +7 -0
  77. package/package.json +30 -13
  78. package/dist/handler/index.d.ts.map +0 -1
  79. package/dist/handler/utils.d.ts.map +0 -1
  80. package/dist/index.d.ts.map +0 -1
  81. package/dist/layer/index.d.ts.map +0 -1
  82. package/dist/layer/module.d.ts.map +0 -1
  83. package/dist/layer/type.d.ts.map +0 -1
  84. package/dist/layer/utils.d.ts.map +0 -1
  85. package/dist/path/index.d.ts.map +0 -1
  86. package/dist/path/matcher.d.ts.map +0 -1
  87. package/dist/path/type.d.ts.map +0 -1
  88. package/dist/route/index.d.ts.map +0 -1
  89. package/dist/route/module.d.ts.map +0 -1
  90. package/dist/route/type.d.ts.map +0 -1
  91. package/dist/route/utils.d.ts.map +0 -1
  92. package/dist/router/index.d.ts.map +0 -1
  93. package/dist/router/module.d.ts.map +0 -1
  94. package/dist/router/type.d.ts.map +0 -1
  95. package/dist/type.d.ts.map +0 -1
  96. package/dist/utils/index.d.ts.map +0 -1
  97. package/dist/utils/is-instance.d.ts.map +0 -1
  98. package/dist/utils/path.d.ts.map +0 -1
  99. package/dist/utils/promise.d.ts.map +0 -1
  100. 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;
@@ -0,0 +1,2 @@
1
+ import type { EtagFn, EtagOptions } from './type';
2
+ export declare function buildEtagFn(input?: boolean | EtagOptions | EtagFn): EtagFn;
@@ -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
- //# sourceMappingURL=index.d.ts.map
9
+ export * from './url';
@@ -1,2 +1 @@
1
1
  export declare function isInstance(input: unknown, name: string): boolean;
2
- //# sourceMappingURL=is-instance.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function getMimeType(type: string): string | undefined;
2
+ export declare function getCharsetForMimeType(type: string): string | undefined;
@@ -0,0 +1 @@
1
+ export declare function isObject(item: unknown): item is Record<string, any>;
@@ -1,3 +1,2 @@
1
1
  import type { Path } from '../type';
2
2
  export declare function isPath(input: unknown): input is Path;
3
- //# sourceMappingURL=path.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function isPromise(p: unknown): p is Promise<unknown>;
2
- //# sourceMappingURL=promise.d.ts.map
@@ -1,3 +1,2 @@
1
- import type { Next, Response } from '@routup/core';
1
+ import type { Next, Response } from '../type';
2
2
  export declare function createRequestTimeout(res: Response, timeout: number, done?: Next): void;
3
- //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './module';
2
+ export * from './type';
@@ -0,0 +1,2 @@
1
+ import type { TrustProxyFn } from './type';
2
+ export declare function buildTrustProxyFn(input?: boolean | number | string | string[] | TrustProxyFn): TrustProxyFn;
@@ -0,0 +1,2 @@
1
+ export type TrustProxyFn = (address: string, hop: number) => boolean;
2
+ export type TrustProxyInput = boolean | number | string | string[] | TrustProxyFn;
@@ -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.14.2",
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.build.json",
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/Tada5hi/routup.git"
46
+ "url": "git+https://github.com/routup/routup.git"
47
47
  },
48
48
  "bugs": {
49
- "url": "https://github.com/Tada5hi/routup/issues"
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
- "smob": "^1.0.0"
58
+ "proxy-addr": "^2.0.7",
59
+ "smob": "^1.0.0",
60
+ "zod": "^3.21.4"
59
61
  },
60
62
  "devDependencies": {
61
- "@routup/core": "^0.8.2",
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
- "supertest": "^6.3.3"
64
- },
65
- "gitHead": "5b80df350663c97bc578708fe9ce97e6f0d34f0c"
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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -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,cAA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AAI;IAEtC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,IAAI;IAExC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,GAAI,IAAI;CAuChD"}
@@ -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"}
@@ -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"}
@@ -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"}