Commit Graph

47 Commits

Author SHA1 Message Date
Matt Bierner
2e81391ad3 Adopt esbuild instead of webpack for a few more extensions
Adopting for configuration-editing, emmet, grunt, jake, and npm
2026-02-12 12:31:13 -08:00
Matt Bierner
f7912a436b Remove bower package intellisense from core
Fixes ##26149
2025-08-13 10:49:25 -07:00
Alex Ross
789d5fe04e Use shell: true only on Windows (#224597) 2024-08-05 01:46:45 -07:00
Alex Ross
331b772a5e Add shell: true to execFile for npm hover (#224583)
Fixes #224510
2024-08-02 16:59:39 +02:00
Martin Aeschlimann
027fce3efd Polish the code that sets env in packageJSONContribution.ts (#213306) 2024-05-23 11:45:56 +02:00
Frank
59d84c5c8c disable corepack auto pin feature when executing npm view (#210601) 2024-04-18 01:28:08 +00:00
Martin Aeschlimann
21276bad51 fix npm view exploits 2023-09-12 20:11:45 +02:00
Christof Marti
7a4092f1b0 Package hover: Show when last published (#177634) 2023-03-20 09:41:52 +01:00
Matt Bierner
952bbb6720 Adopt l10n for npm package (#165527)
For #164438
2022-11-04 13:56:39 -07:00
Martin Aeschlimann
c1dd46c2f4 [npm] package.json latest vue version incorrect (#159315)
[npm] package.json latest vue version incorrect. FIxes #158850
2022-08-29 15:49:48 +02:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann
23c58d4176 update request-light 2021-07-13 09:16:43 +02:00
Johannes Rieken
14704a7e92 adopt API changes in tests and extensions 2021-06-22 14:35:32 +02:00
Johannes Rieken
b5da2d0f10 extract MarkdownString from MarkedString type, fyi @mjvbz 2021-06-16 14:53:42 +02:00
Martin Aeschlimann
f0a344a76e npm: use which (#121209) 2021-04-13 19:34:43 +02:00
Martin Aeschlimann
e7e15984bc package.json completion: fetch on every key (always incomplete) 2021-04-06 19:26:35 +02:00
Joël
13e5c93740 refactor npm extension to only use npm 2021-04-01 10:06:12 +02:00
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