fix(tsconfig): remove `skipLibCheck` (#1201)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Yusuke Wada · committed by GitHub · parent 4b2dfb8 · Browse files · 6 files·+18 added−91 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+18 added−91 removed
- other:+18 added−91 removed
Provenance
- Commit
ee5929b- Tree
e0864c7- Author
Yusuke Wada <yusuke@kamawada.com>- Committer
GitHub <noreply@github.com>- Parent
4b2dfb8
6 files changed+18 added−91 removed
modified:deno_dist/adapter/deno/serve-static.ts+5 added-1 removed
1234567891011121321 unmodified lines3536373835394041424314 unmodified linesimport type { Context } from '../../context.ts'import type { Next } from '../../types.ts'import { getFilePath } from '../../utils/filepath.ts'import { getMimeType } from '../../utils/mime.ts'
// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreconst { readFile } = Deno
export type ServeStaticOptions = { root?: string path?: string rewriteRequestPath?: (path: string) => string21 unmodified lines
let content
try { content = await Deno.readFile(path) content = await readFile(path) } catch (e) { console.warn(`${e}`) }
14 unmodified linesmodified:src/adapter/aws-lambda/handler.ts+1 added-1 removed
4 unmodified lines5 import { encodeBase64 } from '../../utils/encode'6 7 // eslint-disable-next-line @typescript-eslint/ban-ts-comment8 // @ts-ignore9-globalThis.crypto = crypto9+globalThis.crypto ??= crypto10 11 // When calling Lambda directly through function urls12 interface APIGatewayProxyEventV2 {13 httpMethod: string141 unmodified linesmodified:src/adapter/deno/serve-static.ts+5 added-1 removed
1234567891011121321 unmodified lines3536373835394041424314 unmodified linesimport type { Context } from '../../context'import type { Next } from '../../types'import { getFilePath } from '../../utils/filepath'import { getMimeType } from '../../utils/mime'
// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreconst { readFile } = Deno
export type ServeStaticOptions = { root?: string path?: string rewriteRequestPath?: (path: string) => string21 unmodified lines
let content
try { content = await Deno.readFile(path) content = await readFile(path) } catch (e) { console.warn(`${e}`) }
14 unmodified linesmodified:package.json+1 added-1 removed
348 unmodified lines349 "nodejs"350 ],351 "devDependencies": {352 "@cloudflare/workers-types": "^4.20221111.1",353- "@hono/node-server": "^0.2.3",353+ "@hono/node-server": "^1.0.2",354 "@types/crypto-js": "^4.1.1",355 "@types/glob": "^8.0.0",356 "@types/jest": "^29.4.0",357 "@types/node": "^17.0.29",38 unmodified linesmodified:tsconfig.json+1 added-4 removed
5 unmodified lines6789101011121314151314151611 unmodified lines5 unmodified lines "outDir": "./dist", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "skipLibCheck": false, "noUnusedLocals": false, "noUnusedParameters": false, "lib": [ "WebWorker" ], "types": [ "jest", "node" ],11 unmodified linesmodified:yarn.lock+5 added-83 removed
696 unmodified lines697 integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==698 dependencies:699 "@hapi/hoek" "^9.0.0"700 701-"@hono/node-server@^0.2.3":702- version "0.2.3"703- resolved "https://registry.yarnpkg.com/@hono/node-server/-/node-server-0.2.3.tgz#d73146da1c0b4bc47f26d03418a4ef6da0ba520c"704- integrity sha512-cG1xEkj+ZAK3L1tl/JJXRXzYUhijIScKeYZ+qsqQM8MM6kK71zierpEHUMkpYa4nsTzsq84fGnlGiM8+pXM/kg==705- dependencies:706- "@remix-run/web-fetch" "^4.3.2"707- "@remix-run/web-file" "^3.0.2"708- "@remix-run/web-stream" "^1.0.3"701+"@hono/node-server@^1.0.2":702+ version "1.0.2"703+ resolved "https://registry.yarnpkg.com/@hono/node-server/-/node-server-1.0.2.tgz#0a3cea255b89b49f00c36a11d2a8c7de617af850"704+ integrity sha512-j8oduBujeGN2+Zx8G1dp3yhiLrqCs/dMJp1wKSlXmMeAxpjVgUtYLaUjhY69lPVDyTjoBb3fmHXCX6e2iIgB9A==705 706 "@humanwhocodes/config-array@^0.11.8":707 version "0.11.8"708 resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9"818 unmodified lines1527 picocolors "^1.0.0"1528 tiny-glob "^0.2.9"1529 tslib "^2.4.0"1530 1535-"@remix-run/web-blob@^3.0.3", "@remix-run/web-blob@^3.0.4":1536- version "3.0.4"1537- resolved "https://registry.yarnpkg.com/@remix-run/web-blob/-/web-blob-3.0.4.tgz#99c67b9d0fb641bd0c07d267fd218ae5aa4ae5ed"1538- integrity sha512-AfegzZvSSDc+LwnXV+SwROTrDtoLiPxeFW+jxgvtDAnkuCX1rrzmVJ6CzqZ1Ai0bVfmJadkG5GxtAfYclpPmgw==1539- dependencies:1540- "@remix-run/web-stream" "^1.0.0"1541- web-encoding "1.1.5"1542-1543-"@remix-run/web-fetch@^4.3.2":1544- version "4.3.2"1545- resolved "https://registry.yarnpkg.com/@remix-run/web-fetch/-/web-fetch-4.3.2.tgz#193758bb7a301535540f0e3a86c743283f81cf56"1546- integrity sha512-aRNaaa0Fhyegv/GkJ/qsxMhXvyWGjPNgCKrStCvAvV1XXphntZI0nQO/Fl02LIQg3cGL8lDiOXOS1gzqDOlG5w==1547- dependencies:1548- "@remix-run/web-blob" "^3.0.4"1549- "@remix-run/web-form-data" "^3.0.3"1550- "@remix-run/web-stream" "^1.0.3"1551- "@web3-storage/multipart-parser" "^1.0.0"1552- abort-controller "^3.0.0"1553- data-uri-to-buffer "^3.0.1"1554- mrmime "^1.0.0"1555-1556-"@remix-run/web-file@^3.0.2":1557- version "3.0.2"1558- resolved "https://registry.yarnpkg.com/@remix-run/web-file/-/web-file-3.0.2.tgz#1a6cc0900a1310ede4bc96abad77ac6eb27a2131"1559- integrity sha512-eFC93Onh/rZ5kUNpCQersmBtxedGpaXK2/gsUl49BYSGK/DvuPu3l06vmquEDdcPaEuXcsdGP0L7zrmUqrqo4A==1560- dependencies:1561- "@remix-run/web-blob" "^3.0.3"1562-1563-"@remix-run/web-form-data@^3.0.3":1564- version "3.0.4"1565- resolved "https://registry.yarnpkg.com/@remix-run/web-form-data/-/web-form-data-3.0.4.tgz#18c5795edaffbc88c320a311766dc04644125bab"1566- integrity sha512-UMF1jg9Vu9CLOf8iHBdY74Mm3PUvMW8G/XZRJE56SxKaOFWGSWlfxfG+/a3boAgHFLTkP7K4H1PxlRugy1iQtw==1567- dependencies:1568- web-encoding "1.1.5"1569-1570-"@remix-run/web-stream@^1.0.0", "@remix-run/web-stream@^1.0.3":1571- version "1.0.3"1572- resolved "https://registry.yarnpkg.com/@remix-run/web-stream/-/web-stream-1.0.3.tgz#3284a6a45675d1455c4d9c8f31b89225c9006438"1573- integrity sha512-wlezlJaA5NF6SsNMiwQnnAW6tnPzQ5I8qk0Y0pSohm0eHKa2FQ1QhEKLVVcDDu02TmkfHgnux0igNfeYhDOXiA==1574- dependencies:1575- web-streams-polyfill "^3.1.1"1576-1531 "@samverschueren/stream-to-observable@^0.3.0", "@samverschueren/stream-to-observable@^0.3.1":1532 version "0.3.1"1533 resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301"1534 integrity sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ==427 unmodified lines1962 dependencies:1963 "@typescript-eslint/types" "5.59.2"1964 eslint-visitor-keys "^3.3.0"1965 2012-"@web3-storage/multipart-parser@^1.0.0":2013- version "1.0.0"2014- resolved "https://registry.yarnpkg.com/@web3-storage/multipart-parser/-/multipart-parser-1.0.0.tgz#6b69dc2a32a5b207ba43e556c25cc136a56659c4"2015- integrity sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==2016-1966 "@xmldom/xmldom@^0.8.3":1967 version "0.8.6"1968 resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.6.tgz#8a1524eb5bd5e965c1e3735476f0262469f71440"1969 integrity sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg==2 unmodified lines1972 version "0.9.0"1973 resolved "https://registry.yarnpkg.com/@zxing/text-encoding/-/text-encoding-0.9.0.tgz#fb50ffabc6c7c66a0c96b4c03e3d9be74864b70b"1974 integrity sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==1975 2027-abort-controller@^3.0.0:2028- version "3.0.0"2029- resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"2030- integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==2031- dependencies:2032- event-target-shim "^5.0.0"2033-1976 acorn-jsx@^5.3.2:1977 version "5.3.2"1978 resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"1979 integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==782 unmodified lines2762 version "2.0.0"2763 resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"2764 integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==2765 2824-data-uri-to-buffer@^3.0.1:2825- version "3.0.1"2826- resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636"2827- integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==2828-2766 date-fns@^1.27.2:2767 version "1.30.1"2768 resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"2769 integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==785 unmodified lines3555 split "0.3"3556 stream-combiner "~0.0.4"3557 through "~2.3.1"3558 3622-event-target-shim@^5.0.0:3623- version "5.0.1"3624- resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"3625- integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==3626-3559 events@^3.3.0:3560 version "3.3.0"3561 resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"3562 integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==2245 unmodified lines5808 version "1.2.0"5809 resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b"5810 integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==5811 5880-mrmime@^1.0.0:5881- version "1.0.1"5882- resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-1.0.1.tgz#5f90c825fad4bdd41dc914eff5d1a8cfdaf24f27"5883- integrity sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==5884-5812 ms@2.1.2:5813 version "2.1.2"5814 resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"5815 integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==1884 unmodified lines7700 integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==7701 dependencies:7702 defaults "^1.0.3"7703 7777-web-encoding@1.1.5, web-encoding@^1.1.5:7704+web-encoding@^1.1.5:7705 version "1.1.5"7706 resolved "https://registry.yarnpkg.com/web-encoding/-/web-encoding-1.1.5.tgz#fc810cf7667364a6335c939913f5051d3e0c4864"7707 integrity sha512-HYLeVCdJ0+lBYV2FvNZmv3HJ2Nt0QYXqZojk3d9FJOLkwnuhzM9tmamh8d7HPM8QqjKH8DeHkFTx+CFlWpZZDA==7708 dependencies:7709 util "^0.12.3"7710 optionalDependencies:7711 "@zxing/text-encoding" "0.9.0"7712 7786-web-streams-polyfill@^3.1.1:7787- version "3.2.1"7788- resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6"7789- integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==7790-7713 webidl-conversions@^3.0.0:7714 version "3.0.1"7715 resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"7716 integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==186 unmodified lines