TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Leaked Tokens in VSCode Extensions

43 点作者 phil294将近 3 年前

4 条评论

RobertWHurst将近 3 年前
I think this just comes down the sloppy programming. As a software engineer you will always have the opportunity to do something stupid or insecure, unless we force all our tools to nanny us. Frankly I suspect such tools would cause more problems then they are worth. That said I wouldn't scoff at a solution that makes this less likely without getting in your way. I think the key a lot of the time is rather than blaming thr tool, we should make sure we understand how the tool works.
qwery将近 3 年前
&gt; This command [`vsce package`] <i>includes all files in the current directory</i><p>Why does it do this? Is it trying to include code or some other assets?<p>Is this normal outside of C&#x2F;C++ (or similar) build systems? Tools like cmake, premake, scons, etc. tend to expect you to tell the tool what to do. e.g. which files you want to compile.
评论 #31553649 未加载
Dayshine将近 3 年前
Interesting. I think this is only a problem because npm made the &quot;files&quot; attribute optional.<p>To be honest, I can&#x27;t see why you would ever want an include by default approach to package building not explicit inclusion.
popcalc将近 3 年前
Yikes.