Skip to content

Commit c89f4e4

Browse files
committed
Update dependencies
1 parent f966f1b commit c89f4e4

4 files changed

Lines changed: 363 additions & 295 deletions

File tree

esbuild.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const watch = process.argv.indexOf('--watch') !== -1;
6363
bundle: true,
6464
sourcemap: true,
6565
minify,
66-
watch,
6766
platform: 'node',
6867
target: 'node14.17.0',
6968
external: ['vscode-dev-containers'],
@@ -78,15 +77,18 @@ const watch = process.argv.indexOf('--watch') !== -1;
7877
*--------------------------------------------------------------------------------------------*/
7978
`.trimStart()
8079
},
81-
};
82-
83-
await esbuild.build({
84-
...options,
8580
entryPoints: [
8681
'./src/spec-node/devContainersSpecCLI.ts',
8782
],
8883
tsconfig: 'tsconfig.json',
8984
outbase: 'src',
90-
});
85+
};
86+
87+
if (watch) {
88+
(await esbuild.context(options))
89+
.watch();
90+
} else {
91+
await esbuild.build(options);
92+
}
9193

9294
})().catch(() => process.exit(1));

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,35 +63,35 @@
6363
"@types/js-yaml": "^4.0.5",
6464
"@types/mocha": "^10.0.1",
6565
"@types/ncp": "^2.0.5",
66-
"@types/node": "^18.11.11",
66+
"@types/node": "^18.15.3",
6767
"@types/pull-stream": "^3.6.2",
6868
"@types/recursive-readdir": "^2.2.1",
6969
"@types/semver": "^7.3.13",
7070
"@types/shell-quote": "^1.7.1",
71-
"@types/tar": "^6.1.3",
72-
"@types/yargs": "^17.0.16",
73-
"@typescript-eslint/eslint-plugin": "^5.45.1",
74-
"@typescript-eslint/experimental-utils": "^5.45.1",
75-
"@typescript-eslint/parser": "^5.45.1",
71+
"@types/tar": "^6.1.4",
72+
"@types/yargs": "^17.0.22",
73+
"@typescript-eslint/eslint-plugin": "^5.55.0",
74+
"@typescript-eslint/experimental-utils": "^5.55.0",
75+
"@typescript-eslint/parser": "^5.55.0",
7676
"chai": "^4.3.7",
7777
"copyfiles": "^2.4.1",
78-
"esbuild": "^0.16.1",
79-
"eslint": "^8.29.0",
78+
"esbuild": "^0.17.12",
79+
"eslint": "^8.36.0",
8080
"event-stream": "^4.0.1",
8181
"gulp-eslint": "^6.0.0",
8282
"gulp-filter": "^7.0.0",
83-
"mocha": "^10.1.0",
83+
"mocha": "^10.2.0",
8484
"npm-run-all": "^4.1.5",
8585
"p-all": "^4.0.0",
86-
"rimraf": "^3.0.2",
86+
"rimraf": "^4.4.0",
8787
"ts-node": "^10.9.1",
88-
"typescript": "^4.9.3",
88+
"typescript": "^5.0.2",
8989
"typescript-formatter": "^7.2.2",
9090
"vinyl": "^3.0.0",
9191
"vinyl-fs": "^3.0.3"
9292
},
9393
"dependencies": {
94-
"chalk": "^4.1.2",
94+
"chalk": "^5.2.0",
9595
"follow-redirects": "^1.15.2",
9696
"js-yaml": "^4.1.0",
9797
"jsonc-parser": "^3.2.0",
@@ -101,11 +101,11 @@
101101
"pull-stream": "^3.7.0",
102102
"recursive-readdir": "^2.2.3",
103103
"semver": "^7.3.8",
104-
"shell-quote": "^1.7.4",
104+
"shell-quote": "^1.8.0",
105105
"stream-to-pull-stream": "^1.7.3",
106-
"tar": "^6.1.12",
106+
"tar": "^6.1.13",
107107
"vscode-dev-containers": "https://github.com/microsoft/vscode-dev-containers/releases/download/v0.245.2/vscode-dev-containers-0.245.2.tgz",
108-
"vscode-uri": "^3.0.6",
109-
"yargs": "~17.6.2"
108+
"vscode-uri": "^3.0.7",
109+
"yargs": "~17.7.1"
110110
}
111111
}

src/spec-node/containerFeatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ async function getFeaturesBuildOptions(params: DockerResolverParameters, devCont
268268
hasConfigure: await hasConfigure,
269269
};
270270
return map;
271-
}, Promise.resolve({}) as Promise<Record<string, { hasAcquire: boolean; hasConfigure: boolean } | undefined>>) : Promise.resolve({})));
271+
}, Promise.resolve({}) as Promise<Record<string, { hasAcquire: boolean; hasConfigure: boolean } | undefined>>) : Promise.resolve({} as Record<string, { hasAcquire: boolean; hasConfigure: boolean } | undefined>)));
272272

273273
// With Buildkit (0.8.0 or later), we can supply an additional build context to provide access to
274274
// the container-features content.

0 commit comments

Comments
 (0)