Skip to content

Commit

Permalink
fix: fastify static (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mararok committed Jun 29, 2024
1 parent 039e42a commit 0db5ac5
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.16.2] - 2024-06-29

### Fixed

- added @fastify/static back

## [0.16.1] - 2024-06-28

### Changed
Expand Down Expand Up @@ -141,7 +147,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- many changes

[unreleased] https://github.com/hexancore/core/compare/0.16.1...HEAD
[unreleased] https://github.com/hexancore/core/compare/0.16.2...HEAD
[0.16.2] https://github.com/hexancore/core/compare/0.16.1...0.16.2
[0.16.1] https://github.com/hexancore/core/compare/0.16.0...0.16.1
[0.16.0] https://github.com/hexancore/core/compare/0.15.4...0.16.0
[0.15.4] https://github.com/hexancore/core/compare/0.15.3...0.15.4
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hexancore/core",
"version": "0.16.1",
"version": "0.16.2",
"engines": {
"node": ">=22"
},
Expand Down Expand Up @@ -71,6 +71,7 @@
"@fastify/cors": "^9.0.1",
"@fastify/middie": "^8.3.0",
"@fastify/multipart": "^8.3.0",
"@fastify/static": "^7.0.4",
"@fastify/swagger": "^8.14.0",
"class-transformer": "^0.5.1",
"deep-equal": "^2.2.3",
Expand Down
137 changes: 134 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,13 @@ __metadata:
languageName: node
linkType: hard

"@fastify/accept-negotiator@npm:^1.0.0":
version: 1.1.0
resolution: "@fastify/accept-negotiator@npm:1.1.0"
checksum: 10c0/1cb9a298c992b812869158ddc6093557a877b30e5f77618a7afea985a0667c50bc7113593bf0f7f9dc9b82b94c16e8ab127a0afc3efde6677fd645539f6d08e5
languageName: node
linkType: hard

"@fastify/ajv-compiler@npm:^3.5.0":
version: 3.5.0
resolution: "@fastify/ajv-compiler@npm:3.5.0"
Expand Down Expand Up @@ -624,6 +631,33 @@ __metadata:
languageName: node
linkType: hard

"@fastify/send@npm:^2.0.0":
version: 2.1.0
resolution: "@fastify/send@npm:2.1.0"
dependencies:
"@lukeed/ms": "npm:^2.0.1"
escape-html: "npm:~1.0.3"
fast-decode-uri-component: "npm:^1.0.1"
http-errors: "npm:2.0.0"
mime: "npm:^3.0.0"
checksum: 10c0/0e1c10022660fa1f1959b7c414d1be2c47ab42be1da8e21cd72a4df3104c516fdf7b590ee67f897037dd4c85b716fac63929e894d7699623549646604f6db14b
languageName: node
linkType: hard

"@fastify/static@npm:^7.0.4":
version: 7.0.4
resolution: "@fastify/static@npm:7.0.4"
dependencies:
"@fastify/accept-negotiator": "npm:^1.0.0"
"@fastify/send": "npm:^2.0.0"
content-disposition: "npm:^0.5.3"
fastify-plugin: "npm:^4.0.0"
fastq: "npm:^1.17.0"
glob: "npm:^10.3.4"
checksum: 10c0/4ca29a37226880fcc8e711b4a3b93858d4e23dd0458a9f65373b63b3df4768610c8cfbd9e51b749ab52d65b9139142a5c69571740265c9ace1660e268ebb38f6
languageName: node
linkType: hard

"@fastify/swagger@npm:^8.14.0":
version: 8.14.0
resolution: "@fastify/swagger@npm:8.14.0"
Expand Down Expand Up @@ -663,6 +697,7 @@ __metadata:
"@fastify/cors": "npm:^9.0.1"
"@fastify/middie": "npm:^8.3.0"
"@fastify/multipart": "npm:^8.3.0"
"@fastify/static": "npm:^7.0.4"
"@fastify/swagger": "npm:^8.14.0"
"@hexancore/common": "npm:^0.15.0"
"@hexancore/mocker": "npm:^1.1.2"
Expand Down Expand Up @@ -1099,6 +1134,13 @@ __metadata:
languageName: node
linkType: hard

"@lukeed/ms@npm:^2.0.1":
version: 2.0.2
resolution: "@lukeed/ms@npm:2.0.2"
checksum: 10c0/843b922717313bcde4943f478145d8bc13115b9b91d83bbaed53739b5644122984412310aed574792f4e6b492f2cbda178175f601856d310f67e14834c3f17a0
languageName: node
linkType: hard

"@microsoft/tsdoc@npm:^0.14.2":
version: 0.14.2
resolution: "@microsoft/tsdoc@npm:0.14.2"
Expand Down Expand Up @@ -2731,6 +2773,15 @@ __metadata:
languageName: node
linkType: hard

"content-disposition@npm:^0.5.3":
version: 0.5.4
resolution: "content-disposition@npm:0.5.4"
dependencies:
safe-buffer: "npm:5.2.1"
checksum: 10c0/bac0316ebfeacb8f381b38285dc691c9939bf0a78b0b7c2d5758acadad242d04783cee5337ba7d12a565a19075af1b3c11c728e1e4946de73c6ff7ce45f3f1bb
languageName: node
linkType: hard

"convert-source-map@npm:^2.0.0":
version: 2.0.0
resolution: "convert-source-map@npm:2.0.0"
Expand Down Expand Up @@ -2920,6 +2971,13 @@ __metadata:
languageName: node
linkType: hard

"depd@npm:2.0.0":
version: 2.0.0
resolution: "depd@npm:2.0.0"
checksum: 10c0/58bd06ec20e19529b06f7ad07ddab60e504d9e0faca4bd23079fac2d279c3594334d736508dc350e06e510aba5e22e4594483b3a6562ce7c17dd797f4cc4ad2c
languageName: node
linkType: hard

"detect-newline@npm:^3.0.0":
version: 3.1.0
resolution: "detect-newline@npm:3.1.0"
Expand Down Expand Up @@ -3107,6 +3165,13 @@ __metadata:
languageName: node
linkType: hard

"escape-html@npm:~1.0.3":
version: 1.0.3
resolution: "escape-html@npm:1.0.3"
checksum: 10c0/524c739d776b36c3d29fa08a22e03e8824e3b2fd57500e5e44ecf3cc4707c34c60f9ca0781c0e33d191f2991161504c295e98f68c78fe7baa6e57081ec6ac0a3
languageName: node
linkType: hard

"escape-string-regexp@npm:^1.0.5":
version: 1.0.5
resolution: "escape-string-regexp@npm:1.0.5"
Expand Down Expand Up @@ -3516,7 +3581,7 @@ __metadata:
languageName: node
linkType: hard

"fastq@npm:^1.17.1, fastq@npm:^1.6.0":
"fastq@npm:^1.17.0, fastq@npm:^1.17.1, fastq@npm:^1.6.0":
version: 1.17.1
resolution: "fastq@npm:1.17.1"
dependencies:
Expand Down Expand Up @@ -3886,6 +3951,22 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^10.3.4":
version: 10.4.2
resolution: "glob@npm:10.4.2"
dependencies:
foreground-child: "npm:^3.1.0"
jackspeak: "npm:^3.1.2"
minimatch: "npm:^9.0.4"
minipass: "npm:^7.1.2"
package-json-from-dist: "npm:^1.0.0"
path-scurry: "npm:^1.11.1"
bin:
glob: dist/esm/bin.mjs
checksum: 10c0/2c7296695fa75a935f3ad17dc62e4e170a8bb8752cf64d328be8992dd6ad40777939003754e10e9741ff8fbe43aa52fba32d6930d0ffa0e3b74bc3fb5eebaa2f
languageName: node
linkType: hard

"glob@npm:^7.0.0, glob@npm:^7.1.3, glob@npm:^7.1.4":
version: 7.2.3
resolution: "glob@npm:7.2.3"
Expand Down Expand Up @@ -4055,6 +4136,19 @@ __metadata:
languageName: node
linkType: hard

"http-errors@npm:2.0.0":
version: 2.0.0
resolution: "http-errors@npm:2.0.0"
dependencies:
depd: "npm:2.0.0"
inherits: "npm:2.0.4"
setprototypeof: "npm:1.2.0"
statuses: "npm:2.0.1"
toidentifier: "npm:1.0.1"
checksum: 10c0/fc6f2715fe188d091274b5ffc8b3657bd85c63e969daa68ccb77afb05b071a4b62841acb7a21e417b5539014dff2ebf9550f0b14a9ff126f2734a7c1387f8e19
languageName: node
linkType: hard

"http-proxy-agent@npm:^7.0.0":
version: 7.0.2
resolution: "http-proxy-agent@npm:7.0.2"
Expand Down Expand Up @@ -4160,7 +4254,7 @@ __metadata:
languageName: node
linkType: hard

"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4":
"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.3, inherits@npm:^2.0.4":
version: 2.0.4
resolution: "inherits@npm:2.0.4"
checksum: 10c0/4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2
Expand Down Expand Up @@ -5496,6 +5590,15 @@ __metadata:
languageName: node
linkType: hard

"mime@npm:^3.0.0":
version: 3.0.0
resolution: "mime@npm:3.0.0"
bin:
mime: cli.js
checksum: 10c0/402e792a8df1b2cc41cb77f0dcc46472b7944b7ec29cb5bbcd398624b6b97096728f1239766d3fdeb20551dd8d94738344c195a6ea10c4f906eb0356323b0531
languageName: node
linkType: hard

"mimic-fn@npm:^2.1.0":
version: 2.1.0
resolution: "mimic-fn@npm:2.1.0"
Expand Down Expand Up @@ -5983,6 +6086,13 @@ __metadata:
languageName: node
linkType: hard

"package-json-from-dist@npm:^1.0.0":
version: 1.0.0
resolution: "package-json-from-dist@npm:1.0.0"
checksum: 10c0/e3ffaf6ac1040ab6082a658230c041ad14e72fabe99076a2081bb1d5d41210f11872403fc09082daf4387fc0baa6577f96c9c0e94c90c394fd57794b66aa4033
languageName: node
linkType: hard

"parent-module@npm:^1.0.0":
version: 1.0.1
resolution: "parent-module@npm:1.0.1"
Expand Down Expand Up @@ -6541,7 +6651,7 @@ __metadata:
languageName: node
linkType: hard

"safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0":
"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
checksum: 10c0/6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3
Expand Down Expand Up @@ -6649,6 +6759,13 @@ __metadata:
languageName: node
linkType: hard

"setprototypeof@npm:1.2.0":
version: 1.2.0
resolution: "setprototypeof@npm:1.2.0"
checksum: 10c0/68733173026766fa0d9ecaeb07f0483f4c2dc70ca376b3b7c40b7cda909f94b0918f6c5ad5ce27a9160bdfb475efaa9d5e705a11d8eaae18f9835d20976028bc
languageName: node
linkType: hard

"shebang-command@npm:^2.0.0":
version: 2.0.0
resolution: "shebang-command@npm:2.0.0"
Expand Down Expand Up @@ -6838,6 +6955,13 @@ __metadata:
languageName: node
linkType: hard

"statuses@npm:2.0.1":
version: 2.0.1
resolution: "statuses@npm:2.0.1"
checksum: 10c0/34378b207a1620a24804ce8b5d230fea0c279f00b18a7209646d5d47e419d1cc23e7cbf33a25a1e51ac38973dc2ac2e1e9c647a8e481ef365f77668d72becfd0
languageName: node
linkType: hard

"stop-iteration-iterator@npm:^1.0.0":
version: 1.0.0
resolution: "stop-iteration-iterator@npm:1.0.0"
Expand Down Expand Up @@ -7157,6 +7281,13 @@ __metadata:
languageName: node
linkType: hard

"toidentifier@npm:1.0.1":
version: 1.0.1
resolution: "toidentifier@npm:1.0.1"
checksum: 10c0/93937279934bd66cc3270016dd8d0afec14fb7c94a05c72dc57321f8bd1fa97e5bea6d1f7c89e728d077ca31ea125b78320a616a6c6cd0e6b9cb94cb864381c1
languageName: node
linkType: hard

"token-types@npm:^4.1.1":
version: 4.2.1
resolution: "token-types@npm:4.2.1"
Expand Down

0 comments on commit 0db5ac5

Please sign in to comment.