Commit Graph

29 Commits

Author SHA1 Message Date
Martin Aeschlimann
3ceea17846 npm: use project dir when using npm 2020-11-25 11:53:14 +01:00
Martin Aeschlimann
8d29dde51c package.json dependency completion: npm command not used on windows. Fixes #108605 2020-10-13 17:05:57 +02:00
Martin Aeschlimann
42ddf0fd65 fix isValidNPMName 2020-10-13 09:57:28 +02:00
Justin Steven
e8ceafb07a Fix a bypass for CVE-2020-16881
Fixes #107951

Uses child_process.execFile() rather than child_process.exec() to more
effectively resolve the command injection vulnerability.
2020-10-02 17:21:51 +10:00
Martin Aeschlimann
88664e267a npm: avoid invalid lookups 2020-08-24 16:58:36 +02:00
Martin Aeschlimann
4899592904 npm.fetchOnlinePackageInfo is not respected in latest build. Fixes #103540 2020-08-12 11:59:56 +02:00
Martin Aeschlimann
e32da59d30 [npm] support serverless & cleanup 2020-06-19 21:58:54 +02:00
Johannes Rieken
430de16fef fix compilos and adopt proposed api usage, #10266 2020-01-16 17:52:18 +01:00
Martin Aeschlimann
5f1b81b497 [css/html/json] provide replace & insert proposals 2019-12-02 21:43:59 +01:00
Martin Aeschlimann
bae6f5f1a5 [json] "Fetch Online Package Info" feature doesn't work when npm is not present. Fixes #77066 2019-09-30 16:59:34 +02:00
Martin Aeschlimann
9bc4699da4 package.json suggestions stopped working - skimdb is being retired. Fixes #75274 2019-06-13 17:30:10 +02:00
Martin Aeschlimann
4284a8ff20 use --json 2019-06-13 16:58:34 +02:00
Jonas Kemper
d78e970375 remove logs 2019-04-23 16:58:00 +02:00
Jonas Kemper
12e287dc3d implement npm view for version completions and hover suggestions 2019-04-23 16:34:35 +02:00
Jonas Kemper
6740eba07a merge packageJSONContribution to latest master 2019-04-23 15:04:21 +02:00
Martin Aeschlimann
54adadd72c fix lgtm warnings 2019-01-17 20:53:18 +01:00
Martin Aeschlimann
20906c33c4 [json] IntelliSense doesn't work for scoped packages in package.json. Fixes #62377 2019-01-08 17:42:52 +01:00
Matt Bierner
c109d319fe Second pass converting for index based looping to for-of loops
More manual conversion of index based for loops to for-of loops
2019-01-04 12:03:23 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
936742b5d1 Onboard npm to use shared tsconfig 2018-10-01 16:43:18 -07:00
Erich Gamma
3fd4c7f4bd Use webpack for all big extensions #57680 2018-09-12 20:31:47 +02:00
Martin Aeschlimann
9a03a86c0a improve npm.fetchOnlinePackageInfo handling 2018-08-16 16:39:07 +02:00
atompkins
30254a8e25 Use npm view to populate info box 2018-08-08 15:43:49 -07:00
Ramya Rao
f51c30d8f4 Allow users to opt-out of features that send online requests in the background (#55097) 2018-07-27 15:42:17 -07:00
Callum Isitt
6d25151513 Add link to package homepage in package.json files
Displayed at the bottom of the box that appears when hovering over a package name
2018-05-17 15:15:40 +01:00
Erich Gamma
0911fb867d Change document selector to include the schema explicitly 2018-04-18 11:44:58 -07:00
Matt Bierner
ac5ed16ece Move package-json extension to npm extesion
#44166
2018-02-23 13:29:52 -08:00