itty-router 5.0.0 → 5.0.1

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 (183) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. package/.eslintrc +0 -28
  4. package/.github/FUNDING.yml +0 -12
  5. package/.github/ISSUE_TEMPLATE/issue_template.md +0 -52
  6. package/.github/ISSUE_TEMPLATE/question.md +0 -16
  7. package/.github/pull_request_template.md +0 -17
  8. package/.github/workflows/coveralls.yml +0 -20
  9. package/.github/workflows/lint.yml +0 -21
  10. package/.github/workflows/verify.yml +0 -22
  11. package/.nyc_output/17f58b46-7631-4765-9ac8-c567ad984881.json +0 -1
  12. package/.nyc_output/37b99878-3734-4671-b7ad-9716c334e6da.json +0 -1
  13. package/.nyc_output/522b1502-594a-4786-90b9-0b52ce677765.json +0 -1
  14. package/.nyc_output/5ad76e3a-7bd8-4131-b761-9eda43350422.json +0 -1
  15. package/.nyc_output/8518a247-c46c-4288-b558-73a9da27d039.json +0 -1
  16. package/.nyc_output/8cdba743-d03a-4ae0-80a9-be1698a6621a.json +0 -1
  17. package/.nyc_output/a5a529a4-8c20-4fc6-8e19-68f85c854251.json +0 -1
  18. package/.nyc_output/a9e151d4-d47a-4440-885b-1ab50a6ac1a0.json +0 -1
  19. package/.nyc_output/bfc97de7-26ae-4d9c-a9a6-2021b608d83b.json +0 -1
  20. package/.nyc_output/c26290ed-5973-4907-a3f1-29678d97224a.json +0 -1
  21. package/.nyc_output/c6b55c94-7cf5-4f08-86e7-ce60b0d7064c.json +0 -1
  22. package/.nyc_output/e2b16e51-822d-4c53-ad21-bb54668ec04d.json +0 -1
  23. package/.nyc_output/e548baf2-1d0a-4dc2-abe4-4a52ae914581.json +0 -1
  24. package/.nyc_output/processinfo/17f58b46-7631-4765-9ac8-c567ad984881.json +0 -16
  25. package/.nyc_output/processinfo/37b99878-3734-4671-b7ad-9716c334e6da.json +0 -19
  26. package/.nyc_output/processinfo/522b1502-594a-4786-90b9-0b52ce677765.json +0 -16
  27. package/.nyc_output/processinfo/5ad76e3a-7bd8-4131-b761-9eda43350422.json +0 -16
  28. package/.nyc_output/processinfo/8518a247-c46c-4288-b558-73a9da27d039.json +0 -17
  29. package/.nyc_output/processinfo/8cdba743-d03a-4ae0-80a9-be1698a6621a.json +0 -16
  30. package/.nyc_output/processinfo/a5a529a4-8c20-4fc6-8e19-68f85c854251.json +0 -17
  31. package/.nyc_output/processinfo/a9e151d4-d47a-4440-885b-1ab50a6ac1a0.json +0 -20
  32. package/.nyc_output/processinfo/bfc97de7-26ae-4d9c-a9a6-2021b608d83b.json +0 -16
  33. package/.nyc_output/processinfo/c26290ed-5973-4907-a3f1-29678d97224a.json +0 -16
  34. package/.nyc_output/processinfo/c6b55c94-7cf5-4f08-86e7-ce60b0d7064c.json +0 -16
  35. package/.nyc_output/processinfo/e2b16e51-822d-4c53-ad21-bb54668ec04d.json +0 -17
  36. package/.nyc_output/processinfo/e548baf2-1d0a-4dc2-abe4-4a52ae914581.json +0 -16
  37. package/.nyc_output/processinfo/index.json +0 -70
  38. package/.prettierignore +0 -1
  39. package/.prettierrc +0 -4
  40. package/CHANGELOG.md +0 -78
  41. package/CODE_OF_CONDUCT.md +0 -128
  42. package/CONTRIBUTING.md +0 -92
  43. package/dist/LICENSE +0 -21
  44. package/example/bun-autorouter-advanced.ts +0 -35
  45. package/example/bun-autorouter.ts +0 -30
  46. package/example/bun-router.ts +0 -26
  47. package/example/bun.ts +0 -15
  48. package/example/cors-types.ts +0 -92
  49. package/example/custom-router-props.ts +0 -11
  50. package/example/index.ts +0 -57
  51. package/example/node-import.js +0 -20
  52. package/example/node-require.js +0 -20
  53. package/example/request-types.ts +0 -101
  54. package/example/runtimes/bun.ts +0 -15
  55. package/example/runtimes/express.js +0 -16
  56. package/example/runtimes/node.js +0 -20
  57. package/example/types/content.ts +0 -22
  58. package/example/types/extra-props.ts +0 -13
  59. package/example/types/global-and-route-level-request.ts +0 -17
  60. package/example/types/global-request.ts +0 -16
  61. package/example/types/middleware.ts +0 -41
  62. package/example/types/requestlike.ts +0 -11
  63. package/example/types/route-level-request.ts +0 -16
  64. package/example/types/router.ts +0 -8
  65. package/lib/index.ts +0 -72
  66. package/rollup.config.mjs +0 -68
  67. package/tsconfig.json +0 -28
  68. package/vitest.config.ts +0 -20
  69. package/yarn-error.log +0 -4335
  70. /package/{dist/AutoRouter.d.ts → AutoRouter.d.ts} +0 -0
  71. /package/{dist/AutoRouter.js → AutoRouter.js} +0 -0
  72. /package/{dist/AutoRouter.js.map → AutoRouter.js.map} +0 -0
  73. /package/{dist/AutoRouter.mjs → AutoRouter.mjs} +0 -0
  74. /package/{dist/AutoRouter.mjs.map → AutoRouter.mjs.map} +0 -0
  75. /package/{dist/IttyRouter.d.ts → IttyRouter.d.ts} +0 -0
  76. /package/{dist/IttyRouter.js → IttyRouter.js} +0 -0
  77. /package/{dist/IttyRouter.js.map → IttyRouter.js.map} +0 -0
  78. /package/{dist/IttyRouter.mjs → IttyRouter.mjs} +0 -0
  79. /package/{dist/IttyRouter.mjs.map → IttyRouter.mjs.map} +0 -0
  80. /package/{dist/Router.d.ts → Router.d.ts} +0 -0
  81. /package/{dist/Router.js → Router.js} +0 -0
  82. /package/{dist/Router.js.map → Router.js.map} +0 -0
  83. /package/{dist/Router.mjs → Router.mjs} +0 -0
  84. /package/{dist/Router.mjs.map → Router.mjs.map} +0 -0
  85. /package/{dist/StatusError.d.ts → StatusError.d.ts} +0 -0
  86. /package/{dist/StatusError.js → StatusError.js} +0 -0
  87. /package/{dist/StatusError.js.map → StatusError.js.map} +0 -0
  88. /package/{dist/StatusError.mjs → StatusError.mjs} +0 -0
  89. /package/{dist/StatusError.mjs.map → StatusError.mjs.map} +0 -0
  90. /package/{dist/cors.d.ts → cors.d.ts} +0 -0
  91. /package/{dist/cors.js → cors.js} +0 -0
  92. /package/{dist/cors.js.map → cors.js.map} +0 -0
  93. /package/{dist/cors.mjs → cors.mjs} +0 -0
  94. /package/{dist/cors.mjs.map → cors.mjs.map} +0 -0
  95. /package/{dist/createResponse.d.ts → createResponse.d.ts} +0 -0
  96. /package/{dist/createResponse.js → createResponse.js} +0 -0
  97. /package/{dist/createResponse.js.map → createResponse.js.map} +0 -0
  98. /package/{dist/createResponse.mjs → createResponse.mjs} +0 -0
  99. /package/{dist/createResponse.mjs.map → createResponse.mjs.map} +0 -0
  100. /package/{dist/error.d.ts → error.d.ts} +0 -0
  101. /package/{dist/error.js → error.js} +0 -0
  102. /package/{dist/error.js.map → error.js.map} +0 -0
  103. /package/{dist/error.mjs → error.mjs} +0 -0
  104. /package/{dist/error.mjs.map → error.mjs.map} +0 -0
  105. /package/{dist/html.d.ts → html.d.ts} +0 -0
  106. /package/{dist/html.js → html.js} +0 -0
  107. /package/{dist/html.js.map → html.js.map} +0 -0
  108. /package/{dist/html.mjs → html.mjs} +0 -0
  109. /package/{dist/html.mjs.map → html.mjs.map} +0 -0
  110. /package/{dist/index.d.ts → index.d.ts} +0 -0
  111. /package/{dist/index.js → index.js} +0 -0
  112. /package/{dist/index.js.map → index.js.map} +0 -0
  113. /package/{dist/index.mjs → index.mjs} +0 -0
  114. /package/{dist/index.mjs.map → index.mjs.map} +0 -0
  115. /package/{dist/jpeg.d.ts → jpeg.d.ts} +0 -0
  116. /package/{dist/jpeg.js → jpeg.js} +0 -0
  117. /package/{dist/jpeg.js.map → jpeg.js.map} +0 -0
  118. /package/{dist/jpeg.mjs → jpeg.mjs} +0 -0
  119. /package/{dist/jpeg.mjs.map → jpeg.mjs.map} +0 -0
  120. /package/{dist/json.d.ts → json.d.ts} +0 -0
  121. /package/{dist/json.js → json.js} +0 -0
  122. /package/{dist/json.js.map → json.js.map} +0 -0
  123. /package/{dist/json.mjs → json.mjs} +0 -0
  124. /package/{dist/json.mjs.map → json.mjs.map} +0 -0
  125. /package/{dist/png.d.ts → png.d.ts} +0 -0
  126. /package/{dist/png.js → png.js} +0 -0
  127. /package/{dist/png.js.map → png.js.map} +0 -0
  128. /package/{dist/png.mjs → png.mjs} +0 -0
  129. /package/{dist/png.mjs.map → png.mjs.map} +0 -0
  130. /package/{dist/status.d.ts → status.d.ts} +0 -0
  131. /package/{dist/status.js → status.js} +0 -0
  132. /package/{dist/status.js.map → status.js.map} +0 -0
  133. /package/{dist/status.mjs → status.mjs} +0 -0
  134. /package/{dist/status.mjs.map → status.mjs.map} +0 -0
  135. /package/{dist/text.d.ts → text.d.ts} +0 -0
  136. /package/{dist/text.js → text.js} +0 -0
  137. /package/{dist/text.js.map → text.js.map} +0 -0
  138. /package/{dist/text.mjs → text.mjs} +0 -0
  139. /package/{dist/text.mjs.map → text.mjs.map} +0 -0
  140. /package/{dist/types → types}/AutoRouterOptions.d.ts +0 -0
  141. /package/{dist/types → types}/CustomRoutes.d.ts +0 -0
  142. /package/{dist/types → types}/ErrorFormatter.d.ts +0 -0
  143. /package/{dist/types → types}/ErrorHandler.d.ts +0 -0
  144. /package/{dist/types → types}/GenericTraps.d.ts +0 -0
  145. /package/{dist/types → types}/HasContent.d.ts +0 -0
  146. /package/{dist/types → types}/IRequest.d.ts +0 -0
  147. /package/{dist/types → types}/IRequestStrict.d.ts +0 -0
  148. /package/{dist/types → types}/IttyRouterOptions.d.ts +0 -0
  149. /package/{dist/types → types}/IttyRouterType.d.ts +0 -0
  150. /package/{dist/types → types}/RequestHandler.d.ts +0 -0
  151. /package/{dist/types → types}/RequestLike.d.ts +0 -0
  152. /package/{dist/types → types}/ResponseFormatter.d.ts +0 -0
  153. /package/{dist/types → types}/ResponseHandler.d.ts +0 -0
  154. /package/{dist/types → types}/Route.d.ts +0 -0
  155. /package/{dist/types → types}/RouteEntry.d.ts +0 -0
  156. /package/{dist/types → types}/RouterOptions.d.ts +0 -0
  157. /package/{dist/types → types}/RouterType.d.ts +0 -0
  158. /package/{dist/types.d.ts → types.d.ts} +0 -0
  159. /package/{dist/webp.d.ts → webp.d.ts} +0 -0
  160. /package/{dist/webp.js → webp.js} +0 -0
  161. /package/{dist/webp.js.map → webp.js.map} +0 -0
  162. /package/{dist/webp.mjs → webp.mjs} +0 -0
  163. /package/{dist/webp.mjs.map → webp.mjs.map} +0 -0
  164. /package/{dist/websocket.d.ts → websocket.d.ts} +0 -0
  165. /package/{dist/websocket.js → websocket.js} +0 -0
  166. /package/{dist/websocket.js.map → websocket.js.map} +0 -0
  167. /package/{dist/websocket.mjs → websocket.mjs} +0 -0
  168. /package/{dist/websocket.mjs.map → websocket.mjs.map} +0 -0
  169. /package/{dist/withContent.d.ts → withContent.d.ts} +0 -0
  170. /package/{dist/withContent.js → withContent.js} +0 -0
  171. /package/{dist/withContent.js.map → withContent.js.map} +0 -0
  172. /package/{dist/withContent.mjs → withContent.mjs} +0 -0
  173. /package/{dist/withContent.mjs.map → withContent.mjs.map} +0 -0
  174. /package/{dist/withCookies.d.ts → withCookies.d.ts} +0 -0
  175. /package/{dist/withCookies.js → withCookies.js} +0 -0
  176. /package/{dist/withCookies.js.map → withCookies.js.map} +0 -0
  177. /package/{dist/withCookies.mjs → withCookies.mjs} +0 -0
  178. /package/{dist/withCookies.mjs.map → withCookies.mjs.map} +0 -0
  179. /package/{dist/withParams.d.ts → withParams.d.ts} +0 -0
  180. /package/{dist/withParams.js → withParams.js} +0 -0
  181. /package/{dist/withParams.js.map → withParams.js.map} +0 -0
  182. /package/{dist/withParams.mjs → withParams.mjs} +0 -0
  183. /package/{dist/withParams.mjs.map → withParams.mjs.map} +0 -0
package/README.md CHANGED
@@ -51,10 +51,10 @@ An ultra-tiny API microrouter, for use when [size matters](https://github.com/Ti
51
51
 
52
52
  - Tiny. Routers from [~450 bytes](https://itty.dev/itty-router/routers/ittyrouter) to a [~970 bytes](https://itty.dev/itty-router/routers/autorouter) batteries-included version (~240-500x smaller than Express.js).
53
53
  - [TypeScript](https://itty.dev/itty-router/typescript). Powerfully (and flexibly) typed for any environment.
54
- - [Route-parsing](https://itty.dev/itty-router/route-patterns) & [query parsing](https://itty.dev/itty-router/route-patterns#query).
54
+ - [Route-parsing](https://itty.dev/itty-router/route-patterns) & [query parsing](https://itty.dev/itty-router/query-params).
55
55
  - [Middleware](https://itty.dev/itty-router/middleware). Use ours or write your own.
56
56
  - [100% Test Coverage](https://coveralls.io/github/kwhitley/itty-router?branch=v5.x). Bulletproof for production peace-of-mind.
57
- - Web Standards. Use it [anywhere, in any environment](https://itty.dev/itty-router/runtimes).
57
+ - Designed specifically for serverless (but works anywhere)
58
58
  - No assumptions. Return anything; pass in anything.
59
59
  - Future-proof. HTTP methods not-yet-invented already work with it.
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itty-router",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "A tiny, zero-dependency router, designed to make beautiful APIs in any environment.",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
package/.eslintrc DELETED
@@ -1,28 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2021": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended",
9
- "prettier"
10
- ],
11
- "overrides": [],
12
- "parser": "@typescript-eslint/parser",
13
- "parserOptions": {
14
- "ecmaVersion": "latest",
15
- "sourceType": "module"
16
- },
17
- "plugins": ["@typescript-eslint"],
18
- "rules": {
19
- "@typescript-eslint/no-empty-function": "off",
20
- "@typescript-eslint/no-explicit-any": "off",
21
- "@typescript-eslint/ban-types": "off",
22
- "@typescript-eslint/ban-ts-comment": "off",
23
- "linebreak-style": ["error", "unix"],
24
- "prefer-const": "off",
25
- "quotes": ["error", "single", { "allowTemplateLiterals": true }],
26
- "semi": ["error", "never"]
27
- }
28
- }
@@ -1,12 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: kwhitley
4
- open_collective: kevinrwhitley
5
- # patreon: # Replace with a single Patreon username
6
- # ko_fi: # Replace with a single Ko-fi username
7
- # tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
- # community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- # liberapay: # Replace with a single Liberapay username
10
- # issuehunt: # Replace with a single IssueHunt username
11
- # otechie: # Replace with a single Otechie username
12
- # custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -1,52 +0,0 @@
1
- ---
2
- name: New Issue
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
- ---
8
-
9
- ## Describe the Issue
10
-
11
- A clear and concise description of what the issue is.
12
-
13
- ## Example Router Code
14
-
15
- Please provide the itty-router code related to the issue. If possible, create a minimal, reproducible example.
16
-
17
- ```ts
18
- // your code here
19
- ```
20
-
21
- ## Request Details
22
-
23
- - Method: [e.g., GET, POST, PUT, DELETE]
24
- - URL: [e.g., /api/v1/users]
25
- - Request Body: If applicable, include the request body.
26
- - Request Headers: If applicable, include the request headers.
27
-
28
- ## Steps to Reproduce
29
-
30
- Steps to reproduce the behavior:
31
-
32
- 1. Run '...'
33
- 2. Send request to '....'
34
- 3. See error
35
-
36
- ## Expected Behavior
37
-
38
- A clear and concise description of what you expected to happen.
39
-
40
- ## Actual Behavior
41
-
42
- A clear and concise description of what actually happens. Include any error messages or unexpected responses.
43
-
44
- ## Environment (please complete the following information):
45
-
46
- - Environment: [e.g., Node, Bun, Cloudflare Workers, Service Workers, Browser]
47
- - itty-router Version: [e.g., 1.0.0]
48
- - Other Relevant Libraries and their versions: [e.g., node 14.0.0]
49
-
50
- ## Additional Context
51
-
52
- Add any other context about the problem here.
@@ -1,16 +0,0 @@
1
- ---
2
- name: Question
3
- about: Have a question or something to discuss?
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
- ---
8
-
9
- ## Questions & Discussion
10
-
11
- To cut down on long-standing topics that are discussion-based, rather than actual issues, please opt for one of the following paths, when possible. These have the benefit of potentially helping others after the issue (here) would have been closed.
12
-
13
- 1. [Create a Discussion Topic](https://github.com/kwhitley/itty-router/discussions/new/choose)
14
- 2. [Discuss on Discord](https://discord.com/channels/832353585802903572)
15
-
16
- Cheers!
@@ -1,17 +0,0 @@
1
- ### Description
2
- Please explain the changes you made here.
3
-
4
- ### Related Issue
5
- Link to the related issue:
6
-
7
- ### Type of Change (select one and follow subtasks)
8
- - [ ] Documentation (README.md)
9
- - [ ] Maintenance or repo-level work (e.g. linting, build, tests, refactoring, etc.)
10
- - [ ] Bug fix (non-breaking change which fixes an issue)
11
- - [ ] New feature (non-breaking change which adds functionality)
12
- - [ ] I have included test coverage
13
- - [ ] Breaking change (fix or feature that would cause existing functionality/userland code to not work as expected)
14
- - [ ] Explain why a breaking change is necessary:
15
- - [ ] This change requires (or is) a documentation update
16
- - [ ] I have added necessary local documentation (if appropriate)
17
- - [ ] I have added necessary [itty.dev](https://github.com/kwhitley/itty.dev) documentation (if appropriate)
@@ -1,20 +0,0 @@
1
- on: ['push', 'pull_request']
2
-
3
- name: Coveralls
4
-
5
- jobs:
6
- build:
7
- name: Build
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: actions/checkout@v1
11
- - name: Use Node.js 20.x
12
- uses: actions/setup-node@v3
13
- with:
14
- node-version: 20.x
15
- - name: Install Dependencies
16
- run: yarn
17
- - name: Test & Generate Coverage
18
- run: yarn coverage
19
- - name: Coveralls
20
- uses: coverallsapp/github-action@v2
@@ -1,21 +0,0 @@
1
- name: lint
2
-
3
- on:
4
- push:
5
- branches: [v4.x]
6
- pull_request:
7
- branches: [v4.x]
8
-
9
- jobs:
10
- build:
11
- runs-on: ubuntu-latest
12
-
13
- steps:
14
- - uses: actions/checkout@v2
15
- - name: Use Node.js 20.x
16
- uses: actions/setup-node@v1
17
- with:
18
- node-version: '20.x'
19
- - name: Install dependencies
20
- run: yarn
21
- - run: yarn lint
@@ -1,22 +0,0 @@
1
- name: build
2
-
3
- on:
4
- push:
5
- branches: [v4.x]
6
- pull_request:
7
- branches: [v4.x]
8
-
9
- jobs:
10
- build:
11
- runs-on: ubuntu-latest
12
-
13
- steps:
14
- - uses: actions/checkout@v2
15
- - name: Use Node.js 20.x
16
- uses: actions/setup-node@v1
17
- with:
18
- node-version: '20.x'
19
- - name: Install dependencies
20
- run: yarn
21
- - name: Verify
22
- run: yarn verify
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51992,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894739,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/17f58b46-7631-4765-9ac8-c567ad984881.json",
13
- "externalId": "",
14
- "uuid": "17f58b46-7631-4765-9ac8-c567ad984881",
15
- "files": []
16
- }
@@ -1,19 +0,0 @@
1
- {
2
- "parent": "e2b16e51-822d-4c53-ad21-bb54668ec04d",
3
- "pid": 51983,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/.bin/jest",
7
- "--verbose",
8
- "--coverage",
9
- "src"
10
- ],
11
- "execArgv": [],
12
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
13
- "time": 1664080893646,
14
- "ppid": 51979,
15
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/37b99878-3734-4671-b7ad-9716c334e6da.json",
16
- "externalId": "",
17
- "uuid": "37b99878-3734-4671-b7ad-9716c334e6da",
18
- "files": []
19
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51984,
4
- "argv": ["/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node"],
5
- "execArgv": [
6
- "--eval",
7
- "import(\"node:fs\").then(() => console.log(true), () => console.log(false));"
8
- ],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080893846,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/522b1502-594a-4786-90b9-0b52ce677765.json",
13
- "externalId": "",
14
- "uuid": "522b1502-594a-4786-90b9-0b52ce677765",
15
- "files": []
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51991,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894703,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/5ad76e3a-7bd8-4131-b761-9eda43350422.json",
13
- "externalId": "",
14
- "uuid": "5ad76e3a-7bd8-4131-b761-9eda43350422",
15
- "files": []
16
- }
@@ -1,17 +0,0 @@
1
- {
2
- "parent": "e2b16e51-822d-4c53-ad21-bb54668ec04d",
3
- "pid": 51980,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/usr/local/Cellar/yarn/1.22.19/libexec/bin/yarn.js",
7
- "lint"
8
- ],
9
- "execArgv": [],
10
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
11
- "time": 1664080892483,
12
- "ppid": 51979,
13
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/8518a247-c46c-4288-b558-73a9da27d039.json",
14
- "externalId": "",
15
- "uuid": "8518a247-c46c-4288-b558-73a9da27d039",
16
- "files": []
17
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51990,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894712,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/8cdba743-d03a-4ae0-80a9-be1698a6621a.json",
13
- "externalId": "",
14
- "uuid": "8cdba743-d03a-4ae0-80a9-be1698a6621a",
15
- "files": []
16
- }
@@ -1,17 +0,0 @@
1
- {
2
- "parent": "a9e151d4-d47a-4440-885b-1ab50a6ac1a0",
3
- "pid": 51982,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/.bin/eslint",
7
- "src"
8
- ],
9
- "execArgv": [],
10
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
11
- "time": 1664080892958,
12
- "ppid": 51981,
13
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/a5a529a4-8c20-4fc6-8e19-68f85c854251.json",
14
- "externalId": "",
15
- "uuid": "a5a529a4-8c20-4fc6-8e19-68f85c854251",
16
- "files": []
17
- }
@@ -1,20 +0,0 @@
1
- {
2
- "parent": "8518a247-c46c-4288-b558-73a9da27d039",
3
- "pid": 51981,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/lib/node_modules/npm/bin/npm-cli.js",
7
- "exec",
8
- "--",
9
- "eslint",
10
- "src"
11
- ],
12
- "execArgv": [],
13
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
14
- "time": 1664080892683,
15
- "ppid": 51980,
16
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/a9e151d4-d47a-4440-885b-1ab50a6ac1a0.json",
17
- "externalId": "",
18
- "uuid": "a9e151d4-d47a-4440-885b-1ab50a6ac1a0",
19
- "files": []
20
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51993,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894720,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/bfc97de7-26ae-4d9c-a9a6-2021b608d83b.json",
13
- "externalId": "",
14
- "uuid": "bfc97de7-26ae-4d9c-a9a6-2021b608d83b",
15
- "files": []
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51994,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894736,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/c26290ed-5973-4907-a3f1-29678d97224a.json",
13
- "externalId": "",
14
- "uuid": "c26290ed-5973-4907-a3f1-29678d97224a",
15
- "files": []
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51989,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894701,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/c6b55c94-7cf5-4f08-86e7-ce60b0d7064c.json",
13
- "externalId": "",
14
- "uuid": "c6b55c94-7cf5-4f08-86e7-ce60b0d7064c",
15
- "files": []
16
- }
@@ -1,17 +0,0 @@
1
- {
2
- "parent": null,
3
- "pid": 51978,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/usr/local/Cellar/yarn/1.22.19/libexec/bin/yarn.js",
7
- "test"
8
- ],
9
- "execArgv": [],
10
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
11
- "time": 1664080892285,
12
- "ppid": 51977,
13
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/e2b16e51-822d-4c53-ad21-bb54668ec04d.json",
14
- "externalId": "",
15
- "uuid": "e2b16e51-822d-4c53-ad21-bb54668ec04d",
16
- "files": []
17
- }
@@ -1,16 +0,0 @@
1
- {
2
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
3
- "pid": 51988,
4
- "argv": [
5
- "/Users/kevinwhitley/.nvm/versions/node/v16.15.1/bin/node",
6
- "/Users/kevinwhitley/dev/kwhitley/itty-router/node_modules/jest-worker/build/workers/processChild.js"
7
- ],
8
- "execArgv": [],
9
- "cwd": "/Users/kevinwhitley/dev/kwhitley/itty-router",
10
- "time": 1664080894718,
11
- "ppid": 51983,
12
- "coverageFilename": "/Users/kevinwhitley/dev/kwhitley/itty-router/.nyc_output/e548baf2-1d0a-4dc2-abe4-4a52ae914581.json",
13
- "externalId": "",
14
- "uuid": "e548baf2-1d0a-4dc2-abe4-4a52ae914581",
15
- "files": []
16
- }
@@ -1,70 +0,0 @@
1
- {
2
- "processes": {
3
- "17f58b46-7631-4765-9ac8-c567ad984881": {
4
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
5
- "children": []
6
- },
7
- "37b99878-3734-4671-b7ad-9716c334e6da": {
8
- "parent": "e2b16e51-822d-4c53-ad21-bb54668ec04d",
9
- "children": [
10
- "17f58b46-7631-4765-9ac8-c567ad984881",
11
- "522b1502-594a-4786-90b9-0b52ce677765",
12
- "5ad76e3a-7bd8-4131-b761-9eda43350422",
13
- "8cdba743-d03a-4ae0-80a9-be1698a6621a",
14
- "bfc97de7-26ae-4d9c-a9a6-2021b608d83b",
15
- "c26290ed-5973-4907-a3f1-29678d97224a",
16
- "c6b55c94-7cf5-4f08-86e7-ce60b0d7064c",
17
- "e548baf2-1d0a-4dc2-abe4-4a52ae914581"
18
- ]
19
- },
20
- "522b1502-594a-4786-90b9-0b52ce677765": {
21
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
22
- "children": []
23
- },
24
- "5ad76e3a-7bd8-4131-b761-9eda43350422": {
25
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
26
- "children": []
27
- },
28
- "8518a247-c46c-4288-b558-73a9da27d039": {
29
- "parent": "e2b16e51-822d-4c53-ad21-bb54668ec04d",
30
- "children": ["a9e151d4-d47a-4440-885b-1ab50a6ac1a0"]
31
- },
32
- "8cdba743-d03a-4ae0-80a9-be1698a6621a": {
33
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
34
- "children": []
35
- },
36
- "a5a529a4-8c20-4fc6-8e19-68f85c854251": {
37
- "parent": "a9e151d4-d47a-4440-885b-1ab50a6ac1a0",
38
- "children": []
39
- },
40
- "a9e151d4-d47a-4440-885b-1ab50a6ac1a0": {
41
- "parent": "8518a247-c46c-4288-b558-73a9da27d039",
42
- "children": ["a5a529a4-8c20-4fc6-8e19-68f85c854251"]
43
- },
44
- "bfc97de7-26ae-4d9c-a9a6-2021b608d83b": {
45
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
46
- "children": []
47
- },
48
- "c26290ed-5973-4907-a3f1-29678d97224a": {
49
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
50
- "children": []
51
- },
52
- "c6b55c94-7cf5-4f08-86e7-ce60b0d7064c": {
53
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
54
- "children": []
55
- },
56
- "e2b16e51-822d-4c53-ad21-bb54668ec04d": {
57
- "parent": null,
58
- "children": [
59
- "37b99878-3734-4671-b7ad-9716c334e6da",
60
- "8518a247-c46c-4288-b558-73a9da27d039"
61
- ]
62
- },
63
- "e548baf2-1d0a-4dc2-abe4-4a52ae914581": {
64
- "parent": "37b99878-3734-4671-b7ad-9716c334e6da",
65
- "children": []
66
- }
67
- },
68
- "files": {},
69
- "externalIds": {}
70
- }
package/.prettierignore DELETED
@@ -1 +0,0 @@
1
- src/Router.ts
package/.prettierrc DELETED
@@ -1,4 +0,0 @@
1
- trailingComma: 'es5'
2
- tabWidth: 2
3
- semi: false
4
- singleQuote: true