Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
Closes #581
coderbyheart committed Jan 25, 2021
1 parent 6e483ea commit 2c3f63d
Showing 4 changed files with 1,197 additions and 352 deletions.
1,518 changes: 1,181 additions & 337 deletions package-lock.json

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -26,27 +26,27 @@
},
"homepage": "https://github.com/bifravst/package-layered-lambdas#readme",
"dependencies": {
"@aws-sdk/client-cloudformation": "^3.1.0",
"@aws-sdk/client-lambda": "^3.1.0",
"@aws-sdk/client-s3": "^3.1.0",
"ansi-escapes": "^4.3.1",
"aws-lambda": "^1.0.6",
"chalk": "^4.1.0",
"@aws-sdk/client-cloudformation": "3.3.0",
"@aws-sdk/client-lambda": "3.3.0",
"@aws-sdk/client-s3": "3.3.0",
"ansi-escapes": "4.3.1",
"aws-lambda": "1.0.6",
"chalk": "4.1.0",
"dependency-tree": "8.0.0",
"glob": "^7.1.6",
"glob": "7.1.6",
"snyk": "1.439.0",
"table": "6.0.7",
"tmp": "^0.2.1",
"tmp": "0.2.1",
"ts-loader": "8.0.14",
"webpack": "5.17.0",
"webpack-node-externals": "^2.5.2",
"yazl": "^2.5.1"
"webpack-node-externals": "2.5.2",
"yazl": "2.5.1"
},
"devDependencies": {
"@aws-cdk/aws-lambda": "1.86.0",
"@aws-cdk/aws-s3": "1.86.0",
"@aws-cdk/core": "1.86.0",
"@bifravst/cloudformation-helpers": "5.0.0",
"@bifravst/cloudformation-helpers": "5.0.2",
"@bifravst/code-style": "8.0.134",
"@bifravst/eslint-config-typescript": "5.0.89",
"@commitlint/cli": "11.0.0",
@@ -66,7 +66,8 @@
"eslint": "7.18.0",
"husky": "4.3.8",
"lint-staged": "10.5.3",
"prettier": "2.2.1"
"prettier": "2.2.1",
"typescript": "4.1.3"
},
"files": [
"package-lock.json",
4 changes: 2 additions & 2 deletions src/packBaseLayer.ts
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ export const packBaseLayer = async ({
`${installDir}${path.sep}package.json`,
)

await new Promise((resolve, reject) => {
await new Promise<void>((resolve, reject) => {
progress('Installing dependencies')
const [cmd, ...args] = installCommand ?? [
'npm',
@@ -122,7 +122,7 @@ export const packBaseLayer = async ({
})
})

await new Promise((resolve) => {
await new Promise<void>((resolve) => {
progress('Creating archive')
const zipfile = new yazl.ZipFile()
const files = glob.sync(`${tempDir}${path.sep}**${path.sep}*`)
2 changes: 1 addition & 1 deletion src/packLambda.ts
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ export const packLambda = async (args: {
}

progress?.('Packing')
await new Promise<string>((resolve, reject) =>
await new Promise<void>((resolve, reject) =>
webpack(
{
entry: [src],

0 comments on commit 2c3f63d

Please sign in to comment.