Add type definitions for serve-static.

This commit is contained in:
Dillon Kearns 2021-05-04 09:46:49 -07:00
parent 9139321601
commit 25d0b44b6c
2 changed files with 35 additions and 1 deletions

33
package-lock.json generated
View File

@ -30,6 +30,7 @@
"@types/jest": "^25.2.2",
"@types/micromatch": "^4.0.1",
"@types/node": "^12.7.7",
"@types/serve-static": "^1.13.9",
"elm-review": "^2.5.0",
"elm-test": "^0.19.1-revision6",
"elm-tooling": "^1.3.0",
@ -999,6 +1000,12 @@
"@types/braces": "*"
}
},
"node_modules/@types/mime": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
"integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==",
"dev": true
},
"node_modules/@types/node": {
"version": "12.20.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.7.tgz",
@ -1026,6 +1033,16 @@
"@types/node": "*"
}
},
"node_modules/@types/serve-static": {
"version": "1.13.9",
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.9.tgz",
"integrity": "sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA==",
"dev": true,
"dependencies": {
"@types/mime": "^1",
"@types/node": "*"
}
},
"node_modules/@types/stack-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz",
@ -8975,6 +8992,12 @@
"@types/braces": "*"
}
},
"@types/mime": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
"integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==",
"dev": true
},
"@types/node": {
"version": "12.20.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.7.tgz",
@ -9002,6 +9025,16 @@
"@types/node": "*"
}
},
"@types/serve-static": {
"version": "1.13.9",
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.9.tgz",
"integrity": "sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA==",
"dev": true,
"requires": {
"@types/mime": "^1",
"@types/node": "*"
}
},
"@types/stack-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz",

View File

@ -39,6 +39,7 @@
"@types/jest": "^25.2.2",
"@types/micromatch": "^4.0.1",
"@types/node": "^12.7.7",
"@types/serve-static": "^1.13.9",
"elm-review": "^2.5.0",
"elm-test": "^0.19.1-revision6",
"elm-tooling": "^1.3.0",
@ -52,4 +53,4 @@
"bin": {
"elm-pages": "generator/src/cli.js"
}
}
}