Commit Graph

409 Commits

Author SHA1 Message Date
Johannes Rieken
dff4173df4 Add WindowIdleValue and GlobalIdleValue, likewise runWhenGlobalIdle and runWhenWindowIdle. (#197721)
* Add WindowIdleValue and GlobalIdleValue, likewise runWhenGlobalIdle and runWhenWindowIdle.

Define window things inside dom.ts for more clarity and more correct layering.

Duplicate API definition for idle so that things compile standalone

fixes https://github.com/microsoft/vscode/issues/197661

* fix compile errors

* make treeshaker happy, use correct types
2023-11-08 15:20:40 +01:00
Matt Bierner
2c52e4ca35 Alias Thenable to PromiseLike (#192456)
Fixes #192385

This fixes some typing issues with `Thenable` that were hiding potential bugs
2023-09-13 10:50:40 -07:00
Johannes Rieken
69cd1439e5 from ESM land bring over amdX-util and bring over one of its usages (#186748)
* from ESM land bring over amdX-util and bring over one of its usages

* fix tsec violation

* one more exemption

* grrrr

* last try, fingers crossed
2023-06-30 09:05:06 -07:00
Raymond Zhao
13e7d80fcd Bump windows-process-tree (#184759)
Fixes https://github.com/microsoft/vscode/issues/179697
2023-06-12 11:36:56 -07:00
Raymond Zhao
d81ca6dfca Bump windows-registry to 1.1.0 (#184741) 2023-06-09 13:02:58 -07:00
Raymond Zhao
06ae4b61c2 Bump windows-mutex to 0.4.4 (#184366)
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Raymond Zhao
22ed59eb3d Bump windows-process-tree with workaround for typings (#179649) 2023-04-11 10:05:56 -07:00
Raymond Zhao
84ac780186 Revert "Bump windows-process-tree" (#179508)
Revert "Bump windows-process-tree (#179176)"

This reverts commit 15cb6b36f8.
2023-04-08 00:47:57 +01:00
Raymond Zhao
15cb6b36f8 Bump windows-process-tree (#179176)
* Bump windows-process-tree

* Fix compile error

* Add explanation to source

* Add that the types package has been deprecated
2023-04-05 20:51:26 +02:00
Raymond Zhao
226690c6af Explain separate windows-mutex typings file (#179291) 2023-04-05 10:58:54 -07:00
Raymond Zhao
a1694a8628 Bump windows-mutex (#179196) 2023-04-04 23:36:05 +02:00
João Moreno
5f9bbf37c1 Revert "adopt new module locations (#177472)"
This reverts commit 5b6cd9c3c7.
2023-03-17 18:55:13 +01:00
João Moreno
5b6cd9c3c7 adopt new module locations (#177472)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-03-17 15:34:17 +01:00
Johannes
380ac1ef48 have two files to declare globals, allow monaco-edt to see one of them 2022-11-18 09:42:05 +01:00
Johannes
bcffe19e5e deprecate and scrary message for __$__nodeRequire 2022-11-18 09:41:58 +01:00
Johannes
8dd8d214d8 don't use __$__nodeRequire to fetch product configuration 2022-11-18 09:41:51 +01:00
Johannes
2d6ad4be88 * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Raymond Zhao
9feaed8f51 Revert "joh/representative canidae" (#166641) 2022-11-17 13:53:17 -08:00
Johannes
a0f314404e have two files to declare globals, allow monaco-edt to see one of them 2022-11-17 16:10:52 +01:00
Johannes
3c372cf160 deprecate and scrary message for __$__nodeRequire 2022-11-17 15:47:18 +01:00
Johannes
93c3f3202b don't use __$__nodeRequire to fetch product configuration 2022-11-17 15:41:23 +01:00
Johannes
0824db3bad * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-17 12:09:14 +01:00
Alex Dima
f46738bc47 Extract usage of require to separate function which can be tree-shaken by the monaco editor build and thus ignored by webpack 2022-11-09 09:39:20 +01:00
SteVen Batten
5699e3891a add typings 2022-01-07 14:53:04 -08:00
Akat
77905c850e fix some typo in comments, renaming few methods (#130470) 2021-08-11 17:57:48 -07:00
Alexandru Dima
0e2a0f9013 Prompt when there is an AMD module cycle 2020-12-21 22:12:26 +01:00
Benjamin Pasero
c6b7be39af typings - remove manifest json that no longer seems to be required 2020-10-06 08:54:30 +02:00
Johannes Rieken
e584897dd8 use trusted types definitions from definitely typed, https://github.com/microsoft/vscode/issues/106396 2020-10-05 12:28:35 +02:00
Benjamin Pasero
7f035b4be7 debt - introduce and adopt FileAccess
deprecate amd.ts and require.toUrl methods
2020-09-25 14:11:05 +02:00
Johannes Rieken
133d95e618 adopt new amd loader with support for TrustedScriptURL, add typings for TrustedTypesFactory et al, https://github.com/microsoft/vscode/issues/106396 2020-09-11 17:59:23 +02:00
Benjamin Pasero
f922e8b757 debt - remove lib.array-ext.d.ts and support Array.includes (fix #102566) (#105404) 2020-08-26 13:07:30 +02:00
Benjamin Pasero
88c6e7b448 debt - remove node.processEnv.ext.d.ts
We will probably need to find a different solution for sandbox and should reduce exposure so that not everyone is seeing this hack
2020-08-18 09:56:55 +02:00
Ikko Ashimine
259f4d28da Fix typo 'enviroment' to 'environment'
* comment
2020-08-04 01:10:05 +09:00
Alex Dima
4deff1a75b Load loader.js via a <script> tag 2020-06-24 17:19:19 +02:00
Johannes Rieken
1bccecab0a remove more files from typings for which we have lib.*.d.ts files 2020-03-02 14:36:25 +01:00
Johannes Rieken
1da42812e8 remove custom d.ts-files, update tsconfig-files, fix new compile errors 2020-02-14 11:27:45 +01:00
Matt Bierner
af9dddd0fc Require second parameter for Map.set
Converts cover the was relying on the old signature to either use delete or have the correct types
2020-01-06 11:41:38 -08:00
Yuki Ueda
3f6ca94279 replace 'declare var' with 'declare const' 2019-12-26 17:12:23 +09:00
Benjamin Pasero
2581000750 add types for windows-registry (fix #83421) 2019-12-18 15:12:17 +01:00
Matt Bierner
ee0960b25b Update to use node 12 typings (#85578)
* Update to use node 12 typings

Fixes #82514

* Revert es6 promise changes

This gets us back to having the duplicate indentifier errors

* exclude es6-promise from vscode compile
2019-12-17 13:40:04 -08:00
Benjamin Pasero
b43a377710 debt - remove windows-mutex.d.ts 2019-12-16 16:34:53 +01:00
Benjamin Pasero
93f58e063e add types for electron.d.ts (#86721) 2019-12-11 09:39:39 +01:00
Andre Weinand
53f41560a6 remove vs da 2019-12-10 16:36:39 +01:00
Sandeep Somavarapu
3c06d9d008 #83421 remove semver-umd.d.ts from src/typings 2019-12-10 09:08:57 +01:00
Rob Lourens
709e1732aa Delete unneeded vscode-ripgrep.d.ts
#83421
2019-12-01 12:50:59 -08:00
Robo
64ca1bb8ba chore: Bump electron@6.1.5 (#85266) 2019-11-21 01:56:54 -08:00
Alex Dima
c2a19905fb Remove .d.ts from typings folder (#83421) 2019-11-21 10:01:21 +01:00
Alex Dima
6ae16bde2e Remove .d.ts from typings folder (#83421) 2019-11-21 10:01:20 +01:00
Alex Dima
b63e626066 Remove .d.ts from typings folder (#83421) 2019-11-21 09:38:30 +01:00
Alex Dima
8e1f429d85 Move __GDPR__FRAGMENT__ out of .d.ts (#83421) 2019-11-21 09:16:42 +01:00