Skip to content

Commit

Permalink
Merge pull request #108 from snyk-tech-services/feat/bump-deps
Browse files Browse the repository at this point in the history
feat: bump all prod deps to latest
  • Loading branch information
lili2311 authored Oct 13, 2022
2 parents 4dd1c16 + e9a23e2 commit 1d2d43d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@
],
"homepage": "https://github.com/snyk-tech-services/snyk-licenses-texts#readme",
"dependencies": {
"@snyk/configstore": "^3.2.0-rc1",
"cheerio": "1.0.0-rc.3",
"@snyk/configstore": "3.2.0-rc1",
"cheerio": "1.0.0-rc.12",
"debug": "4.3.4",
"handlebars": "4.7.7",
"lodash": "4.17.21",
"node-fetch": "2.6.7",
"p-map": "4.0.0",
"puppeteer": "5.4.1",
"snyk-api-ts-client": "1.8.1",
"snyk-config": "4.0.0",
"snyk-request-manager": "1.5.0",
"source-map-support": "^0.5.16",
"p-map": "5.5.0",
"puppeteer": "18.2.1",
"snyk-api-ts-client": "1.10.0",
"snyk-config": "5.1.0",
"snyk-request-manager": "1.8.0",
"source-map-support": "0.5.21",
"tslib": "2.4.0",
"yargs": "16.2.0"
"yargs": "17.6.0"
},
"devDependencies": {
"@types/cheerio": "0.22.23",
"@types/jest": "26.0.13",
"@types/lodash": "4.14.161",
"@types/node": "14.6.3",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"@types/cheerio": "0.22.31",
"@types/jest": "29.1.2",
"@types/lodash": "4.14.186",
"@types/node": "18.8.4",
"@typescript-eslint/eslint-plugin": "5.40.0",
"@typescript-eslint/parser": "5.40.0",
"cpx": "1.5.0",
"eslint": "8.18.0",
"jest": "26.4.2",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/generate-report/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ async function compileTemplate(
);
}

function readFile(filePath: string, encoding: string): Promise<string> {
function readFile(filePath: string, encoding: BufferEncoding): Promise<string> {
return new Promise<string>((resolve, reject) => {
fs.readFile(filePath, encoding, (err, data) => {
fs.readFile(filePath, { encoding }, (err, data) => {
if (err) {
reject(err);
}
Expand Down

0 comments on commit 1d2d43d

Please sign in to comment.