diff --git a/patched-vscode/.devcontainer/Dockerfile b/patched-vscode/.devcontainer/Dockerfile
index 7c686b12..31d67db5 100644
--- a/patched-vscode/.devcontainer/Dockerfile
+++ b/patched-vscode/.devcontainer/Dockerfile
@@ -6,7 +6,9 @@ RUN /root/install-vscode.sh
RUN git config --system codespaces-theme.hide-status 1
USER node
+RUN npm install -g node-gyp
RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE"
+RUN echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc
USER root
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf
diff --git a/patched-vscode/.devcontainer/README.md b/patched-vscode/.devcontainer/README.md
index a5bde90d..44965693 100644
--- a/patched-vscode/.devcontainer/README.md
+++ b/patched-vscode/.devcontainer/README.md
@@ -1,56 +1,112 @@
# Code - OSS Development Container
-This dev container includes configuration for a development container for working with Code - OSS in a local container. For using [GitHub Codespaces](https://github.com/features/codespaces) follow the [prebuilt setup](prebuilt/README.md) which installs VNC for displaying the application window.
+[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode)
-> **Note:** You will need X11's `DISPLAY` or Wayland's `WAYLAND_DISPLAY` environment variable set locally to allow for the Code - OSS window to display. See [Running GUI app on WSL](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps) for Windows and [Quartz](https://www.xquartz.org) for Mac.
+This repository includes configuration for a development container for working with Code - OSS in a local container or using [GitHub Codespaces](https://github.com/features/codespaces).
-## Quick start
+> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` and a web client is available on port `6080`.
+
+## Quick start - local
+
+If you already have VS Code and Docker installed, you can click the badge above or [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)
2. **Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build with **9 GB of RAM** being recommended. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.
- > **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
+ > **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Dev Containers](https://aka.ms/vscode-remote/download/containers) extension.
- 
+ 
+
+ > **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
+
+4. Press Ctrl/Cmd + Shift + P or F1 and select **Dev Containers: Clone Repository in Container Volume...**.
- > **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
+ > **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend using the WSL filesystem on Windows or the "clone repository in container" approach on Windows and macOS instead since it uses "named volume" rather than the local filesystem.
-4. Due to the size of the repository we strongly recommend cloning it on a Linux filesystem for better bind mount performance. On macOS we recommend using a Docker volume (press F1 and select **Dev Containers: Clone Repository in Container Volume...**) and on Windows we recommend using a WSL folder:
+5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press Enter.
-- Make sure you are running a recent WSL version to get X11 and Wayland support.
-- Use the WSL extension for VS Code to open the cloned folder in WSL.
-- Press F1 and select **Dev Containers: Reopen in Container**.
+6. After the container is running:
+ 1. If you have the `DISPLAY` or `WAYLAND_DISPLAY` environment variables set locally (or in WSL on Windows), desktop apps in the container will be shown in local windows.
+ 2. If these are not set, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password. Anything you start in VS Code, or the integrated terminal, will appear here.
+
+Next: **[Try it out!](#try-it)**
+
+## Quick start - GitHub Codespaces
+
+1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and then click on **New codespace**. If prompted, select the **Standard** machine size (which is also the default).
+
+ > **Note:** You will not see these options within GitHub if you are not in the Codespaces beta.
+
+2. After the codespace is up and running in your browser, press Ctrl/Cmd + Shift + P or F1 and select **Ports: Focus on Ports View**.
+
+3. You should see **VNC web client (6080)** under in the list of ports. Select the line and click on the globe icon to open it in a browser tab.
+
+ > **Tip:** If you do not see the port, Ctrl/Cmd + Shift + P or F1, select **Forward a Port** and enter port `6080`.
+
+4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.
+
+Anything you start in VS Code, or the integrated terminal, will appear here.
+
+Next: **[Try it out!](#try-it)**
+
+### Using VS Code with GitHub Codespaces
+
+You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer][def]. Here's how to do it.
+
+1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
+
+ > **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
+
+2. After the VS Code is up and running, press Ctrl/Cmd + Shift + P or F1, choose **Codespaces: Create New Codespace**, and use the following settings:
+
+- `microsoft/vscode` for the repository.
+- Select any branch (e.g. **main**) - you can select a different one later.
+- Choose **Standard** (4-core, 8GB) as the size.
+
+3. After you have connected to the codespace, you can use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password.
+
+ > **Tip:** You may also need change your VNC client's **Picture Quality** setting to **High** to get a full color desktop.
+
+4. Anything you start in VS Code, or the integrated terminal, will appear here.
Next: **[Try it out!](#try-it)**
## Try it
+This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
+
+ > **Note:** You can also set the resolution from the command line by typing `set-resolution`.
+
To start working with Code - OSS, follow these steps:
1. In your local VS Code client, open a terminal (Ctrl/Cmd + Shift + \`) and type the following commands:
- ```bash
- yarn install
- bash scripts/code.sh
- ```
+ ```bash
+ yarn install
+ bash scripts/code.sh
+ ```
+
+2. After the build is complete, open a web browser or a [VNC Viewer][def] to connect to the desktop environment as described in the quick start and enter `vscode` as the password.
-2. You should now see Code - OSS!
+3. You should now see Code - OSS!
Next, let's try debugging.
-1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window.
+1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press F5).
- > **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
+ > **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `./scripts/code.sh` first will set up Electron which will usually solve timeout issues.
3. After a bit, Code - OSS will appear with the debugger attached!
Enjoy!
-## Notes
+### Notes
The container comes with VS Code Insiders installed. To run it from an Integrated Terminal use `VSCODE_IPC_HOOK_CLI= /usr/bin/code-insiders .`.
+
+[def]: https://www.realvnc.com/en/connect/download/viewer/
diff --git a/patched-vscode/.devcontainer/devcontainer-lock.json b/patched-vscode/.devcontainer/devcontainer-lock.json
new file mode 100644
index 00000000..cbcde9bb
--- /dev/null
+++ b/patched-vscode/.devcontainer/devcontainer-lock.json
@@ -0,0 +1,9 @@
+{
+ "features": {
+ "ghcr.io/devcontainers/features/desktop-lite:1": {
+ "version": "1.0.8",
+ "resolved": "ghcr.io/devcontainers/features/desktop-lite@sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7",
+ "integrity": "sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7"
+ }
+ }
+}
\ No newline at end of file
diff --git a/patched-vscode/.devcontainer/devcontainer.json b/patched-vscode/.devcontainer/devcontainer.json
index 58c0cebd..f5adc4e1 100644
--- a/patched-vscode/.devcontainer/devcontainer.json
+++ b/patched-vscode/.devcontainer/devcontainer.json
@@ -1,8 +1,14 @@
{
- "name": "Code - OSS with X11/Wayland",
+ "name": "Code - OSS",
"build": {
"dockerfile": "Dockerfile"
},
+ "features": {
+ "ghcr.io/devcontainers/features/desktop-lite:1": {}
+ },
+ "containerEnv": {
+ "DISPLAY": "" // Allow the Dev Containers extension to set DISPLAY, post-create.sh will add it back in ~/.bashrc and ~/.zshrc if not set.
+ },
"overrideCommand": false,
"privileged": true,
"mounts": [
@@ -12,11 +18,35 @@
"type": "volume"
}
],
+ "postCreateCommand": "./.devcontainer/post-create.sh",
"customizations": {
"vscode": {
+ "settings": {
+ "resmon.show.battery": false,
+ "resmon.show.cpufreq": false
+ },
"extensions": [
+ "dbaeumer.vscode-eslint",
+ "EditorConfig.EditorConfig",
+ "GitHub.vscode-pull-request-github",
+ "ms-vscode.vscode-github-issue-notebooks",
+ "ms-vscode.vscode-selfhost-test-provider",
"mutantdino.resourcemonitor"
]
}
+ },
+ "forwardPorts": [6080, 5901],
+ "portsAttributes": {
+ "6080": {
+ "label": "VNC web client (noVNC)",
+ "onAutoForward": "silent"
+ },
+ "5901": {
+ "label": "VNC TCP port",
+ "onAutoForward": "silent"
+ }
+ },
+ "hostRequirements": {
+ "memory": "9gb"
}
}
diff --git a/patched-vscode/.devcontainer/post-create.sh b/patched-vscode/.devcontainer/post-create.sh
new file mode 100755
index 00000000..5b2deee6
--- /dev/null
+++ b/patched-vscode/.devcontainer/post-create.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+yarn install --network-timeout 180000
+yarn electron
diff --git a/patched-vscode/.devcontainer/prebuilt/README.md b/patched-vscode/.devcontainer/prebuilt/README.md
deleted file mode 100644
index 2ca4619c..00000000
--- a/patched-vscode/.devcontainer/prebuilt/README.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# Code - OSS Development Container
-
-[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode)
-
-This repository includes configuration for a development container for working with Code - OSS in a local container or using [GitHub Codespaces](https://github.com/features/codespaces).
-
-> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` and a web client is available on port `6080`.
-
-## Quick start - local
-
-If you already have VS Code and Docker installed, you can click the badge above or [here](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode) to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
-
-1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)
-
-2. **Important**: Docker needs at least **4 Cores and 8 GB of RAM** to run a full build with **9 GB of RAM** being recommended. If you are on macOS, or are using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item and going to **Preferences/Settings > Resources > Advanced**.
-
- > **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
-
-3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Dev Containers](https://aka.ms/vscode-remote/download/containers) extension.
-
- 
-
- > **Note:** The Dev Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
-
-4. Press Ctrl/Cmd + Shift + P or F1 and select **Dev Containers: Clone Repository in Container Volume...**.
-
- > **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or when using the Hyper-V engine on Windows. We recommend the "clone repository in container" approach instead since it uses "named volume" rather than the local filesystem.
-
-5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press Enter.
-
-6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080), or use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password.
-
-Anything you start in VS Code, or the integrated terminal, will appear here.
-
-Next: **[Try it out!](#try-it)**
-
-## Quick start - GitHub Codespaces
-
-1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and then click on **New codespace**. If prompted, select the **Standard** machine size (which is also the default).
-
- > **Note:** You will not see these options within GitHub if you are not in the Codespaces beta.
-
-2. After the codespace is up and running in your browser, press Ctrl/Cmd + Shift + P or F1 and select **Ports: Focus on Ports View**.
-
-3. You should see **VNC web client (6080)** under in the list of ports. Select the line and click on the globe icon to open it in a browser tab.
-
- > **Tip:** If you do not see the port, Ctrl/Cmd + Shift + P or F1, select **Forward a Port** and enter port `6080`.
-
-4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.
-
-Anything you start in VS Code, or the integrated terminal, will appear here.
-
-Next: **[Try it out!](#try-it)**
-
-### Using VS Code with GitHub Codespaces
-
-You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer][def]. Here's how to do it.
-
-1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
-
- > **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
-
-2. After the VS Code is up and running, press Ctrl/Cmd + Shift + P or F1, choose **Codespaces: Create New Codespace**, and use the following settings:
-
-- `microsoft/vscode` for the repository.
-- Select any branch (e.g. **main**) - you can select a different one later.
-- Choose **Standard** (4-core, 8GB) as the size.
-
-3. After you have connected to the codespace, you can use a [VNC Viewer][def] to connect to `localhost:5901` and enter `vscode` as the password.
-
- > **Tip:** You may also need change your VNC client's **Picture Quality** setting to **High** to get a full color desktop.
-
-4. Anything you start in VS Code, or the integrated terminal, will appear here.
-
-Next: **[Try it out!](#try-it)**
-
-## Try it
-
-This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
-
- > **Note:** You can also set the resolution from the command line by typing `set-resolution`.
-
-To start working with Code - OSS, follow these steps:
-
-1. In your local VS Code client, open a terminal (Ctrl/Cmd + Shift + \`) and type the following commands:
-
- ```bash
- yarn install
- bash scripts/code.sh
- ```
-
-2. After the build is complete, open a web browser or a [VNC Viewer][def] to connect to the desktop environment as described in the quick start and enter `vscode` as the password.
-
-3. You should now see Code - OSS!
-
-Next, let's try debugging.
-
-1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
-
-2. Go to your local VS Code client, and use the **Run / Debug** view to launch the **VS Code** configuration. (Typically the default, so you can likely just press F5).
-
- > **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
-
-3. After a bit, Code - OSS will appear with the debugger attached!
-
-Enjoy!
-
-[def]: https://www.realvnc.com/en/connect/download/viewer/
diff --git a/patched-vscode/.devcontainer/prebuilt/cache/before-cache.sh b/patched-vscode/.devcontainer/prebuilt/cache/before-cache.sh
deleted file mode 100755
index 78511d27..00000000
--- a/patched-vscode/.devcontainer/prebuilt/cache/before-cache.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-# This file establishes a basline for the repository before any steps in the "prepare.sh"
-# are run. Its just a find command that filters out a few things we don't need to watch.
-
-set -e
-SOURCE_FOLDER="${1:-"."}"
-CACHE_FOLDER="${2:-"$HOME/.devcontainer-cache"}"
-
-cd "${SOURCE_FOLDER}"
-echo "[$(date)] Generating ""before"" manifest..."
-mkdir -p "${CACHE_FOLDER}"
-find -L . -not -path "*/.git/*" -and -not -path "${CACHE_FOLDER}/*.manifest" -type f > "${CACHE_FOLDER}/before.manifest"
-echo "[$(date)] Done!"
-
diff --git a/patched-vscode/.devcontainer/prebuilt/cache/build-cache-image.sh b/patched-vscode/.devcontainer/prebuilt/cache/build-cache-image.sh
deleted file mode 100755
index 96767f07..00000000
--- a/patched-vscode/.devcontainer/prebuilt/cache/build-cache-image.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-# This file simply wraps the docker build command to build an image that includes
-# a cache.tar file with the result of "prepare.sh" inside of it. See cache.Dockerfile
-# for the steps that are actually taken to do this.
-
-set -e
-
-SCRIPT_PATH="$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)"
-CONTAINER_IMAGE_REPOSITORY="$1"
-BRANCH="${2:-"main"}"
-
-if [ "${CONTAINER_IMAGE_REPOSITORY}" = "" ]; then
- echo "Container repository not specified!"
- exit 1
-fi
-
-TAG="branch-${BRANCH//\//-}"
-echo "[$(date)] ${BRANCH} => ${TAG}"
-cd "${SCRIPT_PATH}/../../.."
-
-echo "[$(date)] Starting image build and push..."
-export DOCKER_BUILDKIT=1
-docker buildx create --use --name vscode-dev-containers
-docker run --privileged --rm tonistiigi/binfmt --install all
-docker buildx build --push --platform linux/amd64,linux/arm64 -t ${CONTAINER_IMAGE_REPOSITORY}:"${TAG}" -f "${SCRIPT_PATH}/cache.Dockerfile" .
-
-echo "[$(date)] Done!"
diff --git a/patched-vscode/.devcontainer/prebuilt/cache/cache-diff.sh b/patched-vscode/.devcontainer/prebuilt/cache/cache-diff.sh
deleted file mode 100755
index c2444b8f..00000000
--- a/patched-vscode/.devcontainer/prebuilt/cache/cache-diff.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-# This file is used to archive off a copy of any differences in the source tree into another location
-# in the image. Once the codespace / container is up, this will be restored into its proper location.
-
-set -e
-
-SOURCE_FOLDER="${1:-"."}"
-CACHE_FOLDER="${2:-"$HOME/.devcontainer-cache"}"
-
-if [ ! -d "${CACHE_FOLDER}" ]; then
- echo "No cache folder found. Be sure to run before-cache.sh to set one up."
- exit 1
-fi
-
-echo "[$(date)] Starting cache operation..."
-cd "${SOURCE_FOLDER}"
-echo "[$(date)] Determining diffs..."
-find -L . -not -path "*/.git/*" -and -not -path "${CACHE_FOLDER}/*.manifest" -type f > "${CACHE_FOLDER}/after.manifest"
-grep -Fxvf "${CACHE_FOLDER}/before.manifest" "${CACHE_FOLDER}/after.manifest" > "${CACHE_FOLDER}/cache.manifest"
-echo "[$(date)] Archiving diffs..."
-tar -cf "${CACHE_FOLDER}/cache.tar" --totals --files-from "${CACHE_FOLDER}/cache.manifest"
-echo "[$(date)] Done! $(du -h "${CACHE_FOLDER}/cache.tar")"
diff --git a/patched-vscode/.devcontainer/prebuilt/cache/cache.Dockerfile b/patched-vscode/.devcontainer/prebuilt/cache/cache.Dockerfile
deleted file mode 100644
index 26dbc46f..00000000
--- a/patched-vscode/.devcontainer/prebuilt/cache/cache.Dockerfile
+++ /dev/null
@@ -1,24 +0,0 @@
-# This dockerfile is used to build up from a base image to create an image a cache.tar file containing the results of running "prepare.sh".
-# Other image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
-
-# This first stage generates cache.tar
-FROM mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:dev as cache
-ARG USERNAME=node
-ARG CACHE_FOLDER="/home/${USERNAME}/.devcontainer-cache"
-COPY --chown=${USERNAME}:${USERNAME} . /repo-source-tmp/
-RUN mkdir -p ${CACHE_FOLDER} && chown ${USERNAME} ${CACHE_FOLDER} /repo-source-tmp \
- && su ${USERNAME} -c "\
- cd /repo-source-tmp \
- && .devcontainer/prebuilt/cache/before-cache.sh . ${CACHE_FOLDER} \
- && .devcontainer/prebuilt/prepare.sh . ${CACHE_FOLDER} \
- && .devcontainer/prebuilt/cache/cache-diff.sh . ${CACHE_FOLDER}"
-
-# This second stage starts fresh and just copies in cache.tar from the previous stage. The related
-# devcontainer.json file is then setup to have postCreateCommand fire restore-diff.sh to expand it.
-FROM mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:dev as dev-container
-ARG USERNAME=node
-ARG CACHE_FOLDER="/home/${USERNAME}/.devcontainer-cache"
-RUN mkdir -p "${CACHE_FOLDER}" \
- && chown "${USERNAME}:${USERNAME}" "${CACHE_FOLDER}" \
- && su ${USERNAME} -c "git config --global codespaces-theme.hide-status 1"
-COPY --from=cache ${CACHE_FOLDER}/cache.tar ${CACHE_FOLDER}/
diff --git a/patched-vscode/.devcontainer/prebuilt/cache/restore-diff.sh b/patched-vscode/.devcontainer/prebuilt/cache/restore-diff.sh
deleted file mode 100755
index e8ea93f3..00000000
--- a/patched-vscode/.devcontainer/prebuilt/cache/restore-diff.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-# This file expands the cache.tar file in the image that contains the results of "prepare.sh"
-# on top of the source tree. It runs as a postCreateCommand which runs after the container/codespace
-# is already up where you would typically run a command like "yarn install".
-
-set -e
-SOURCE_FOLDER="$(cd "${1:-"."}" && pwd)"
-CACHE_FOLDER="${2:-"$HOME/.devcontainer-cache"}"
-
-if [ ! -d "${CACHE_FOLDER}" ]; then
- echo "No cache folder found."
- exit 0
-fi
-
-echo "[$(date)] Expanding $(du -h "${CACHE_FOLDER}/cache.tar") file to ${SOURCE_FOLDER}..."
-cd "${SOURCE_FOLDER}"
-# Ensure user/group is correct if the UID/GID was changed for some reason
-echo "+1000 +$(id -u)" > "${CACHE_FOLDER}/cache-owner-map"
-echo "+1000 +$(id -g)" > "${CACHE_FOLDER}/cache-group-map"
-# Untar to workspace folder, preserving permissions and order, but mapping GID/UID if required
-tar --owner-map="${CACHE_FOLDER}/cache-owner-map" --group-map="${CACHE_FOLDER}/cache-group-map" -xpsf "${CACHE_FOLDER}/cache.tar"
-rm -rf "${CACHE_FOLDER}"
-echo "[$(date)] Done!"
-
-# Change ownership of chrome-sandbox
-sudo chown root .build/electron/chrome-sandbox
-sudo chmod 4755 .build/electron/chrome-sandbox
-
diff --git a/patched-vscode/.devcontainer/prebuilt/devcontainer.json b/patched-vscode/.devcontainer/prebuilt/devcontainer.json
deleted file mode 100644
index 079b8de6..00000000
--- a/patched-vscode/.devcontainer/prebuilt/devcontainer.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "Code - OSS with VNC",
-
- // Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
- "image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
- "overrideCommand": false,
- "runArgs": [ "--init", "--security-opt", "seccomp=unconfined", "--shm-size=1g"],
-
- // VS Code extensions and settings
- "customizations": {
- "vscode": {
- "settings": {
- "resmon.show.battery": false,
- "resmon.show.cpufreq": false
- },
- "extensions": [
- "dbaeumer.vscode-eslint",
- "mutantdino.resourcemonitor"
- ]
- }
- },
-
- // noVNC, VNC
- "forwardPorts": [6080, 5901],
- "portsAttributes": {
- "6080": {
- "label": "VNC web client (noVNC)",
- "onAutoForward": "silent"
- },
- "5901": {
- "label": "VNC TCP port",
- "onAutoForward": "silent"
- }
- },
-
- // Optionally loads a cached yarn install for the repo
- "postCreateCommand": ".devcontainer/prebuilt/cache/restore-diff.sh",
-
- "remoteUser": "node",
-
- "hostRequirements": {
- "memory": "9gb"
- }
-}
diff --git a/patched-vscode/.devcontainer/prebuilt/prepare.sh b/patched-vscode/.devcontainer/prebuilt/prepare.sh
deleted file mode 100755
index 3f82462c..00000000
--- a/patched-vscode/.devcontainer/prebuilt/prepare.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-# This file contains the steps that should be run when building a "cache" image with contents that should be
-# layered directly **on top of the source tree** once a dev container is created. This avoids having to run long
-# running commands like "yarn install" from the ground up. Developers (and should) still run these commands
-# after the actual dev container is created, but only differences will be processed.
-
-yarn install --network-timeout 180000
-yarn electron
diff --git a/patched-vscode/.eslintignore b/patched-vscode/.eslintignore
index 7bbd3778..12da4a43 100644
--- a/patched-vscode/.eslintignore
+++ b/patched-vscode/.eslintignore
@@ -33,3 +33,4 @@
**/test/unit/assert.js
**/test/automation/out/**
**/typings/**
+!.vscode
diff --git a/patched-vscode/.eslintplugin/code-ensure-no-disposables-leak-in-test.ts b/patched-vscode/.eslintplugin/code-ensure-no-disposables-leak-in-test.ts
new file mode 100644
index 00000000..ae308903
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-ensure-no-disposables-leak-in-test.ts
@@ -0,0 +1,38 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+import { Node } from 'estree';
+
+export = new class EnsureNoDisposablesAreLeakedInTestSuite implements eslint.Rule.RuleModule {
+
+ readonly meta: eslint.Rule.RuleMetaData = {
+ type: 'problem',
+ messages: {
+ ensure: 'Suites should include a call to `ensureNoDisposablesAreLeakedInTestSuite()` to ensure no disposables are leaked in tests.'
+ }
+ };
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ const config = <{ exclude: string[] }>context.options[0];
+
+ const needle = context.getFilename().replace(/\\/g, '/');
+ if (config.exclude.some((e) => needle.endsWith(e))) {
+ return {};
+ }
+
+ return {
+ [`Program > ExpressionStatement > CallExpression[callee.name='suite']`]: (node: Node) => {
+ const src = context.getSourceCode().getText(node)
+ if (!src.includes('ensureNoDisposablesAreLeakedInTestSuite(')) {
+ context.report({
+ node,
+ messageId: 'ensure',
+ });
+ }
+ },
+ };
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-must-use-result.ts b/patched-vscode/.eslintplugin/code-must-use-result.ts
new file mode 100644
index 00000000..2127206f
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-must-use-result.ts
@@ -0,0 +1,35 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+import { TSESTree } from '@typescript-eslint/experimental-utils';
+
+const VALID_USES = new Set([
+ TSESTree.AST_NODE_TYPES.AwaitExpression,
+ TSESTree.AST_NODE_TYPES.VariableDeclarator,
+]);
+
+export = new class MustUseResults implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+
+ const config = <{ message: string, functions: string[] }[]>context.options[0];
+ const listener: eslint.Rule.RuleListener = {};
+
+ for (const { message, functions } of config) {
+ for (const fn of functions) {
+ const query = `CallExpression[callee.property.name='${fn}'], CallExpression[callee.name='${fn}']`
+ listener[query] = (node: any) => {
+ const cast: TSESTree.CallExpression = node;
+ if (!VALID_USES.has(cast.parent?.type)) {
+ context.report({ node, message });
+ }
+ }
+ }
+ }
+
+ return listener;
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-must-use-super-dispose.ts b/patched-vscode/.eslintplugin/code-must-use-super-dispose.ts
new file mode 100644
index 00000000..4f7f9646
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-must-use-super-dispose.ts
@@ -0,0 +1,33 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+
+export = new class NoAsyncSuite implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ function doesCallSuperDispose(node: any) {
+
+ if (!node.override) {
+ return;
+ }
+
+ const body = context.getSourceCode().getText(node)
+
+ if (body.includes('super.dispose')) {
+ return;
+ }
+
+ context.report({
+ node,
+ message: 'dispose() should call super.dispose()'
+ });
+ }
+
+ return {
+ ['MethodDefinition[override][key.name="dispose"]']: doesCallSuperDispose,
+ };
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-no-dangerous-type-assertions.ts b/patched-vscode/.eslintplugin/code-no-dangerous-type-assertions.ts
new file mode 100644
index 00000000..eecd4048
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-no-dangerous-type-assertions.ts
@@ -0,0 +1,40 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+import { TSESTree } from '@typescript-eslint/experimental-utils';
+
+export = new class NoDangerousTypeAssertions implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ // Disable in tests for now
+ if (context.getFilename().includes('.test')) {
+ return {};
+ }
+
+ return {
+ // Disallow type assertions on object literals: { ... } or {} as T
+ ['TSTypeAssertion > ObjectExpression, TSAsExpression > ObjectExpression']: (node: any) => {
+ const objectNode = node as TSESTree.Node;
+
+ const parent = objectNode.parent as TSESTree.TSTypeAssertion | TSESTree.TSAsExpression;
+ if (
+ // Allow `as const` assertions
+ (parent.typeAnnotation.type === 'TSTypeReference' && parent.typeAnnotation.typeName.type === 'Identifier' && parent.typeAnnotation.typeName.name === 'const')
+
+ // For also now still allow `any` casts
+ || (parent.typeAnnotation.type === 'TSAnyKeyword')
+ ) {
+ return;
+ }
+
+ context.report({
+ node,
+ message: "Don't use type assertions for creating objects as this can hide type errors."
+ });
+ },
+ };
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-no-global-document-listener.ts b/patched-vscode/.eslintplugin/code-no-global-document-listener.ts
new file mode 100644
index 00000000..6b3e83fe
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-no-global-document-listener.ts
@@ -0,0 +1,30 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+
+export = new class NoGlobalDocumentListener implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ return {
+ CallExpression(node: any) {
+ if (
+ (
+ node.callee.name === 'addDisposableListener' ||
+ node.callee.property?.name === 'addDisposableListener'
+ ) &&
+ node.arguments.length > 0 &&
+ node.arguments[0].type === 'Identifier' &&
+ node.arguments[0].name === 'document'
+ ) {
+ context.report({
+ node,
+ message: 'Use .document to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant.',
+ });
+ }
+ },
+ }
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-no-potentially-unsafe-disposables.ts b/patched-vscode/.eslintplugin/code-no-potentially-unsafe-disposables.ts
new file mode 100644
index 00000000..69976275
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-no-potentially-unsafe-disposables.ts
@@ -0,0 +1,37 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+
+/**
+ * Checks for potentially unsafe usage of `DisposableStore` / `MutableDisposable`.
+ *
+ * These have been the source of leaks in the past.
+ */
+export = new class implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ function checkVariableDeclaration(inNode: any) {
+ context.report({
+ node: inNode,
+ message: `Use const for 'DisposableStore' to avoid leaks by accidental reassignment.`
+ });
+ }
+
+ function checkProperty(inNode: any) {
+ context.report({
+ node: inNode,
+ message: `Use readonly for DisposableStore/MutableDisposable to avoid leaks through accidental reassignment.`
+ });
+ }
+
+ return {
+ 'VariableDeclaration[kind!="const"] NewExpression[callee.name="DisposableStore"]': checkVariableDeclaration,
+
+ 'PropertyDefinition[readonly!=true][typeAnnotation.typeAnnotation.typeName.name=/DisposableStore|MutableDisposable/]': checkProperty,
+ 'PropertyDefinition[readonly!=true] NewExpression[callee.name=/DisposableStore|MutableDisposable/]': checkProperty,
+ };
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-no-runtime-import.ts b/patched-vscode/.eslintplugin/code-no-runtime-import.ts
new file mode 100644
index 00000000..61597236
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-no-runtime-import.ts
@@ -0,0 +1,66 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { TSESTree } from '@typescript-eslint/typescript-estree';
+import * as eslint from 'eslint';
+import { dirname, join, relative } from 'path';
+import minimatch from 'minimatch';
+import { createImportRuleListener } from './utils';
+
+export = new class implements eslint.Rule.RuleModule {
+
+ readonly meta: eslint.Rule.RuleMetaData = {
+ messages: {
+ layerbreaker: 'You are only allowed to import {{import}} from here using `import type ...`.'
+ },
+ schema: {
+ type: "array",
+ items: {
+ type: "object",
+ additionalProperties: {
+ type: "array",
+ items: {
+ type: "string"
+ }
+ }
+ }
+ }
+ };
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ let fileRelativePath = relative(dirname(__dirname), context.getFilename());
+ if (!fileRelativePath.endsWith('/')) {
+ fileRelativePath += '/';
+ }
+ const ruleArgs = >context.options[0];
+
+ const matchingKey = Object.keys(ruleArgs).find(key => fileRelativePath.startsWith(key) || minimatch(fileRelativePath, key));
+ if (!matchingKey) {
+ // nothing
+ return {};
+ }
+
+ const restrictedImports = ruleArgs[matchingKey];
+ return createImportRuleListener((node, path) => {
+ if (path[0] === '.') {
+ path = join(dirname(context.getFilename()), path);
+ }
+
+ if ((
+ restrictedImports.includes(path) || restrictedImports.some(restriction => minimatch(path, restriction))
+ ) && !(
+ (node.parent?.type === TSESTree.AST_NODE_TYPES.ImportDeclaration && node.parent.importKind === 'type') ||
+ (node.parent && 'exportKind' in node.parent && node.parent.exportKind === 'type'))) { // the export could be multiple types
+ context.report({
+ loc: node.parent!.loc,
+ messageId: 'layerbreaker',
+ data: {
+ import: path
+ }
+ });
+ }
+ });
+ }
+};
diff --git a/patched-vscode/.eslintplugin/code-no-unexternalized-strings.ts b/patched-vscode/.eslintplugin/code-no-unexternalized-strings.ts
index a4e6f830..17a8f900 100644
--- a/patched-vscode/.eslintplugin/code-no-unexternalized-strings.ts
+++ b/patched-vscode/.eslintplugin/code-no-unexternalized-strings.ts
@@ -142,6 +142,9 @@ export = new class NoUnexternalizedStrings implements eslint.Rule.RuleModule {
// localize(...)
['CallExpression[callee.type="MemberExpression"][callee.object.name="nls"][callee.property.name="localize"]:exit']: (node: any) => visitLocalizeCall(node),
+ // localize2(...)
+ ['CallExpression[callee.type="MemberExpression"][callee.object.name="nls"][callee.property.name="localize2"]:exit']: (node: any) => visitLocalizeCall(node),
+
// vscode.l10n.t(...)
['CallExpression[callee.type="MemberExpression"][callee.object.property.name="l10n"][callee.property.name="t"]:exit']: (node: any) => visitL10NCall(node),
@@ -149,6 +152,7 @@ export = new class NoUnexternalizedStrings implements eslint.Rule.RuleModule {
['CallExpression[callee.object.name="l10n"][callee.property.name="t"]:exit']: (node: any) => visitL10NCall(node),
['CallExpression[callee.name="localize"][arguments.length>=2]:exit']: (node: any) => visitLocalizeCall(node),
+ ['CallExpression[callee.name="localize2"][arguments.length>=2]:exit']: (node: any) => visitLocalizeCall(node),
['Program:exit']: reportBadStringsAndBadKeys,
};
}
diff --git a/patched-vscode/.eslintplugin/code-parameter-properties-must-have-explicit-accessibility.ts b/patched-vscode/.eslintplugin/code-parameter-properties-must-have-explicit-accessibility.ts
new file mode 100644
index 00000000..458afd5b
--- /dev/null
+++ b/patched-vscode/.eslintplugin/code-parameter-properties-must-have-explicit-accessibility.ts
@@ -0,0 +1,41 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as eslint from 'eslint';
+import { TSESTree } from '@typescript-eslint/experimental-utils';
+
+/**
+ * Enforces that all parameter properties have an explicit access modifier (public, protected, private).
+ *
+ * This catches a common bug where a service is accidentally made public by simply writing: `readonly prop: Foo`
+ */
+export = new class implements eslint.Rule.RuleModule {
+
+ create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
+ function check(inNode: any) {
+ const node: TSESTree.TSParameterProperty = inNode;
+
+ // For now, only apply to injected services
+ const firstDecorator = node.decorators?.at(0);
+ if (
+ firstDecorator?.expression.type !== 'Identifier'
+ || !firstDecorator.expression.name.endsWith('Service')
+ ) {
+ return;
+ }
+
+ if (!node.accessibility) {
+ context.report({
+ node: inNode,
+ message: 'Parameter properties must have an explicit access modifier.'
+ });
+ }
+ }
+
+ return {
+ ['TSParameterProperty']: check,
+ };
+ }
+};
diff --git a/patched-vscode/.eslintrc.json b/patched-vscode/.eslintrc.json
index f44673cd..4d5b300e 100644
--- a/patched-vscode/.eslintrc.json
+++ b/patched-vscode/.eslintrc.json
@@ -70,9 +70,13 @@
],
"local/code-translation-remind": "warn",
"local/code-no-native-private": "warn",
+ "local/code-parameter-properties-must-have-explicit-accessibility": "warn",
"local/code-no-nls-in-standalone-editor": "warn",
+ "local/code-no-potentially-unsafe-disposables": "warn",
+ "local/code-no-dangerous-type-assertions": "off",
"local/code-no-standalone-editor": "warn",
"local/code-no-unexternalized-strings": "warn",
+ "local/code-must-use-super-dispose": "warn",
"local/code-declare-service-brand": "warn",
"local/code-layering": [
"warn",
@@ -119,9 +123,56 @@
"**/*.test.ts"
],
"rules": {
+ "local/code-must-use-super-dispose": "off",
"local/code-no-test-only": "error",
"local/code-no-test-async-suite": "warn",
- "local/code-no-unexternalized-strings": "off"
+ "local/code-no-unexternalized-strings": "off",
+ "local/code-must-use-result": [
+ "warn",
+ [
+ {
+ "message": "Expression must be awaited",
+ "functions": [
+ "assertSnapshot",
+ "assertHeap"
+ ]
+ }
+ ]
+ ]
+ }
+ },
+ {
+ "files": [
+ "src/vs/**/*.test.ts"
+ ],
+ "rules": {
+ "local/code-ensure-no-disposables-leak-in-test": [
+ "warn",
+ {
+ // Files should (only) be removed from the list they adopt the leak detector
+ "exclude": [
+ "src/vs/editor/contrib/codeAction/test/browser/codeActionModel.test.ts",
+ "src/vs/platform/configuration/test/common/configuration.test.ts",
+ "src/vs/platform/opener/test/common/opener.test.ts",
+ "src/vs/platform/registry/test/common/platform.test.ts",
+ "src/vs/platform/workspace/test/common/workspace.test.ts",
+ "src/vs/platform/workspaces/test/electron-main/workspaces.test.ts",
+ "src/vs/workbench/api/test/browser/mainThreadConfiguration.test.ts",
+ "src/vs/workbench/api/test/node/extHostTunnelService.test.ts",
+ "src/vs/workbench/contrib/bulkEdit/test/browser/bulkCellEdits.test.ts",
+ "src/vs/workbench/contrib/chat/test/common/chatWordCounter.test.ts",
+ "src/vs/workbench/contrib/editSessions/test/browser/editSessions.test.ts",
+ "src/vs/workbench/contrib/extensions/test/common/extensionQuery.test.ts",
+ "src/vs/workbench/contrib/notebook/test/browser/notebookExecutionService.test.ts",
+ "src/vs/workbench/contrib/notebook/test/browser/notebookExecutionStateService.test.ts",
+ "src/vs/workbench/contrib/tasks/test/common/problemMatcher.test.ts",
+ "src/vs/workbench/contrib/tasks/test/common/taskConfiguration.test.ts",
+ "src/vs/workbench/services/commands/test/common/commandService.test.ts",
+ "src/vs/workbench/services/userActivity/test/browser/domActivityTracker.test.ts",
+ "src/vs/workbench/test/browser/quickAccess.test.ts"
+ ]
+ }
+ ]
}
},
{
@@ -245,6 +296,313 @@
"local/code-amd-node-module": "warn"
}
},
+ {
+ "files": [
+ "src/**/{browser,electron-sandbox}/**/*.ts"
+ ],
+ "rules": {
+ "local/code-no-global-document-listener": "warn",
+ "no-restricted-syntax": [
+ "warn",
+ {
+ "selector": "BinaryExpression[operator='instanceof'][right.name='MouseEvent']",
+ "message": "Use DOM.isMouseEvent() to support multi-window scenarios."
+ },
+ {
+ "selector": "BinaryExpression[operator='instanceof'][right.name=/^HTML\\w+/]",
+ "message": "Use DOM.isHTMLElement() and related methods to support multi-window scenarios."
+ },
+ {
+ "selector": "BinaryExpression[operator='instanceof'][right.name='KeyboardEvent']",
+ "message": "Use DOM.isKeyboardEvent() to support multi-window scenarios."
+ },
+ {
+ "selector": "BinaryExpression[operator='instanceof'][right.name='PointerEvent']",
+ "message": "Use DOM.isPointerEvent() to support multi-window scenarios."
+ },
+ {
+ "selector": "BinaryExpression[operator='instanceof'][right.name='DragEvent']",
+ "message": "Use DOM.isDragEvent() to support multi-window scenarios."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='activeElement']",
+ "message": "Use .document.activeElement to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='contains']",
+ "message": "Use .document.contains to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='styleSheets']",
+ "message": "Use .document.styleSheets to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='fullscreenElement']",
+ "message": "Use .document.fullscreenElement to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='body']",
+ "message": "Use .document.body to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='addEventListener']",
+ "message": "Use .document.addEventListener to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='removeEventListener']",
+ "message": "Use .document.removeEventListener to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='hasFocus']",
+ "message": "Use .document.hasFocus to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='head']",
+ "message": "Use .document.head to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='exitFullscreen']",
+ "message": "Use .document.exitFullscreen to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getElementById']",
+ "message": "Use .document.getElementById to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getElementsByClassName']",
+ "message": "Use .document.getElementsByClassName to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getElementsByName']",
+ "message": "Use .document.getElementsByName to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getElementsByTagName']",
+ "message": "Use .document.getElementsByTagName to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getElementsByTagNameNS']",
+ "message": "Use .document.getElementsByTagNameNS to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='getSelection']",
+ "message": "Use .document.getSelection to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='open']",
+ "message": "Use .document.open to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='close']",
+ "message": "Use .document.close to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='documentElement']",
+ "message": "Use .document.documentElement to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='visibilityState']",
+ "message": "Use .document.visibilityState to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='querySelector']",
+ "message": "Use .document.querySelector to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='querySelectorAll']",
+ "message": "Use .document.querySelectorAll to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='elementFromPoint']",
+ "message": "Use .document.elementFromPoint to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='elementsFromPoint']",
+ "message": "Use .document.elementsFromPoint to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='onkeydown']",
+ "message": "Use .document.onkeydown to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='onkeyup']",
+ "message": "Use .document.onkeyup to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='onmousedown']",
+ "message": "Use .document.onmousedown to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='onmouseup']",
+ "message": "Use .document.onmouseup to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "selector": "MemberExpression[object.name='document'][property.name='execCommand']",
+ "message": "Use .document.execCommand to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ }
+ ],
+ "no-restricted-globals": [
+ "warn",
+ "name",
+ "length",
+ "event",
+ "closed",
+ "external",
+ "status",
+ "origin",
+ "orientation",
+ "context",
+ {
+ "name": "setInterval",
+ "message": "Use .setInterval to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "clearInterval",
+ "message": "Use .clearInterval to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "requestAnimationFrame",
+ "message": "Use .requestAnimationFrame to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "cancelAnimationFrame",
+ "message": "Use .cancelAnimationFrame to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "requestIdleCallback",
+ "message": "Use .requestIdleCallback to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "cancelIdleCallback",
+ "message": "Use .cancelIdleCallback to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "window",
+ "message": "Use to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "addEventListener",
+ "message": "Use .addEventListener to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "removeEventListener",
+ "message": "Use .removeEventListener to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "getComputedStyle",
+ "message": "Use .getComputedStyle to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "focus",
+ "message": "Use .focus to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "blur",
+ "message": "Use .blur to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "close",
+ "message": "Use .close to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "dispatchEvent",
+ "message": "Use .dispatchEvent to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "getSelection",
+ "message": "Use .getSelection to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "matchMedia",
+ "message": "Use .matchMedia to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "open",
+ "message": "Use .open to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "parent",
+ "message": "Use .parent to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "postMessage",
+ "message": "Use .postMessage to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "devicePixelRatio",
+ "message": "Use .devicePixelRatio to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "frames",
+ "message": "Use .frames to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "frameElement",
+ "message": "Use .frameElement to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "innerHeight",
+ "message": "Use .innerHeight to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "innerWidth",
+ "message": "Use .innerWidth to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "outerHeight",
+ "message": "Use .outerHeight to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "outerWidth",
+ "message": "Use .outerWidth to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "opener",
+ "message": "Use .opener to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "origin",
+ "message": "Use .origin to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "screen",
+ "message": "Use .screen to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "screenLeft",
+ "message": "Use .screenLeft to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "screenTop",
+ "message": "Use .screenTop to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "screenX",
+ "message": "Use .screenX to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "screenY",
+ "message": "Use .screenY to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "scrollX",
+ "message": "Use .scrollX to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "scrollY",
+ "message": "Use .scrollY to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "top",
+ "message": "Use .top to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ },
+ {
+ "name": "visualViewport",
+ "message": "Use .visualViewport to support multi-window scenarios. Resolve targetWindow with DOM.getWindow(element) or DOM.getActiveWindow() or use the predefined mainWindow constant."
+ }
+ ]
+ }
+ },
{
"files": [
"src/**/*.ts"
@@ -309,14 +667,13 @@
"vscode-regexpp",
"vscode-textmate",
"worker_threads",
- "xterm",
- "xterm-addon-canvas",
- "xterm-addon-image",
- "xterm-addon-search",
- "xterm-addon-serialize",
- "xterm-addon-unicode11",
- "xterm-addon-webgl",
- "xterm-headless",
+ "@xterm/addon-image",
+ "@xterm/addon-search",
+ "@xterm/addon-serialize",
+ "@xterm/addon-unicode11",
+ "@xterm/addon-webgl",
+ "@xterm/headless",
+ "@xterm/xterm",
"yauzl",
"yazl",
"zlib"
@@ -496,7 +853,11 @@
}, // TODO@layers
"tas-client-umd", // node module allowed even in /common/
"vscode-textmate", // node module allowed even in /common/
- "@vscode/vscode-languagedetection" // node module allowed even in /common/
+ "@vscode/vscode-languagedetection", // node module allowed even in /common/
+ {
+ "when": "hasBrowser",
+ "pattern": "@xterm/xterm"
+ } // node module allowed even in /browser/
]
},
{
@@ -513,11 +874,11 @@
"vscode-notebook-renderer", // Type only import
{
"when": "hasBrowser",
- "pattern": "xterm"
+ "pattern": "@xterm/xterm"
}, // node module allowed even in /browser/
{
"when": "hasBrowser",
- "pattern": "xterm-addon-*"
+ "pattern": "@xterm/addon-*"
}, // node module allowed even in /browser/
{
"when": "hasBrowser",
@@ -542,11 +903,11 @@
"vscode-notebook-renderer", // Type only import
{
"when": "hasBrowser",
- "pattern": "xterm"
+ "pattern": "@xterm/xterm"
}, // node module allowed even in /browser/
{
"when": "hasBrowser",
- "pattern": "xterm-addon-*"
+ "pattern": "@xterm/addon-*"
}, // node module allowed even in /browser/
{
"when": "hasBrowser",
@@ -724,6 +1085,19 @@
}
]
}
+ },
+ {
+ "files": [
+ "src/vs/workbench/contrib/notebook/browser/view/renderers/*.ts"
+ ],
+ "rules": {
+ "local/code-no-runtime-import": [
+ "error",
+ {
+ "src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts": ["**/*"]
+ }
+ ]
+ }
}
]
}
diff --git a/patched-vscode/.git-blame-ignore b/patched-vscode/.git-blame-ignore-revs
similarity index 86%
rename from patched-vscode/.git-blame-ignore
rename to patched-vscode/.git-blame-ignore-revs
index 457d2604..c0c9a544 100644
--- a/patched-vscode/.git-blame-ignore
+++ b/patched-vscode/.git-blame-ignore-revs
@@ -1,4 +1,5 @@
# https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
+# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
# mjbvz: Fix spacing
13f4f052582bcec3d6c6c6a70d995c9dee2cac13
@@ -23,6 +24,5 @@ ae1452eea678f5266ef513f22dacebb90955d6c9
a3cb14be7f2cceadb17adf843675b1a59537dbbd
ee1655a82ebdfd38bf8792088a6602c69f7bbd94
-
# jrieken: new eslint-rule
4a130c40ed876644ed8af2943809d08221375408
diff --git a/patched-vscode/.github/CODEOWNERS b/patched-vscode/.github/CODEOWNERS
new file mode 100644
index 00000000..8da51487
--- /dev/null
+++ b/patched-vscode/.github/CODEOWNERS
@@ -0,0 +1,3 @@
+# ensure the API police is aware of changes to the vscode-dts file
+# this is only about the final API, not about proposed API changes
+src/vscode-dts/vscode.d.ts @jrieken @mjbvz
diff --git a/patched-vscode/.github/calendar.yml b/patched-vscode/.github/calendar.yml
deleted file mode 100644
index c1b5a256..00000000
--- a/patched-vscode/.github/calendar.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "2018-01-29 18:00, US/Pacific": "endgame",
- "2018-02-07 12:00, US/Pacific": "release", # 1.20.0
- "2018-02-12 12:00, US/Pacific": "development",
- "2018-02-14 16:00, Europe/Zurich": "release", # 1.20.1
- "2018-02-19 16:00, Europe/Zurich": "development",
- "2018-02-26 18:00, US/Pacific": "endgame",
- "2018-03-07 12:00, US/Pacific": "release", # 1.21.0
- "2018-03-12 12:00, US/Pacific": "development",
- "2018-03-15 12:00, US/Pacific": "release", # 1.21.1
- "2018-03-20 12:00, US/Pacific": "development",
- "2018-03-26 18:00, US/Pacific": "endgame",
- "2018-04-06 18:00, US/Pacific": "release", # 1.22.1
- "2018-04-11 18:00, US/Pacific": "development",
- "2018-04-12 12:00, US/Pacific": "release", # 1.22.2
- "2018-04-17 12:00, US/Pacific": "development",
- "2018-04-23 18:00, US/Pacific": "endgame",
- "2018-05-03 12:00, US/Pacific": "release", # 1.23.0
- "2018-05-08 12:00, US/Pacific": "development",
- "2018-05-10 12:00, US/Pacific": "release", # 1.23.1
- "2018-05-15 12:00, US/Pacific": "development",
- "2018-05-28 18:00, US/Pacific": "endgame",
- # 'release' not needed anymore, return to 'development' after releasing.
- "2018-06-06 12:00, US/Pacific": "development", # 1.24.0 released
- "2018-06-25 18:00, US/Pacific": "endgame",
- "2018-07-05 12:00, US/Pacific": "development", # 1.25.0 released
- "2018-07-30 18:00, US/Pacific": "endgame",
- "2018-08-13 12:00, US/Pacific": "development", # 1.26.0 released
- "2018-08-27 18:00, US/Pacific": "endgame",
- "2018-09-05 12:00, US/Pacific": "development", # 1.27.0 released
- "2018-09-24 18:00, US/Pacific": "endgame",
- "2018-10-08 09:00, US/Pacific": "development", # 1.28.0 released
- "2018-10-29 18:00, US/Pacific": "endgame",
- "2018-11-12 11:00, US/Pacific": "development", # 1.29.0 released
- "2018-12-03 18:00, US/Pacific": "endgame",
- "2018-12-12 13:00, US/Pacific": "development", # 1.30.0 released
-}
diff --git a/patched-vscode/.github/classifier.json b/patched-vscode/.github/classifier.json
index 6710c330..44514039 100644
--- a/patched-vscode/.github/classifier.json
+++ b/patched-vscode/.github/classifier.json
@@ -39,7 +39,7 @@
"editor-autoindent": {"assign": ["rebornix"]},
"editor-bracket-matching": {"assign": ["hediet"]},
"editor-clipboard": {"assign": ["alexdima", "rebornix"]},
- "editor-code-actions": {"assign": ["mjbvz"]},
+ "editor-code-actions": {"assign": ["mjbvz", "justschen"]},
"editor-color-picker": {"assign": ["aiday-mar"]},
"editor-columnselect": {"assign": ["alexdima"]},
"editor-commands": {"assign": ["alexdima"]},
@@ -111,7 +111,7 @@
"interactive-window": {"assign": ["amunger", "rebornix"]},
"ipc": {"assign": ["joaomoreno"]},
"issue-bot": {"assign": ["chrmarti"]},
- "issue-reporter": {"assign": ["TylerLeonhardt"]},
+ "issue-reporter": {"assign": ["justschen"]},
"javascript": {"assign": ["mjbvz"]},
"json": {"assign": ["aeschli"]},
"json-sorting": {"assign": ["aiday-mar"]},
@@ -253,6 +253,7 @@
"tokenization": {"assign": ["alexdima"]},
"touch/pointer": {"assign": []},
"trackpad/scroll": {"assign": []},
+ "tree-sticky-scroll": {"assign": ["benibenj"]},
"tree-views": {"assign": ["alexr00"]},
"tree-widget": {"assign": ["joaomoreno"]},
"typehierarchy": {"assign": ["jrieken"]},
@@ -272,6 +273,7 @@
"webview": {"assign": ["mjbvz"]},
"webview-views": {"assign": ["mjbvz"]},
"workbench-actions": {"assign": ["bpasero"]},
+ "workbench-auxwindow": {"assign": ["bpasero"]},
"workbench-banner": {"assign": ["lszomoru", "sbatten"]},
"workbench-cli": {"assign": ["bpasero"]},
"workbench-diagnostics": {"assign": ["Tyriar"]},
@@ -294,7 +296,7 @@
"workbench-run-as-admin": {"assign": ["bpasero"]},
"workbench-state": {"assign": ["bpasero"]},
"workbench-status": {"assign": ["bpasero"]},
- "workbench-tabs": {"assign": ["bpasero"]},
+ "workbench-tabs": {"assign": ["benibenj"]},
"workbench-touchbar": {"assign": ["bpasero"]},
"workbench-untitled-editors": {"assign": ["bpasero"]},
"workbench-views": {"assign": ["sbatten"]},
diff --git a/patched-vscode/.github/commands.json b/patched-vscode/.github/commands.json
index 9d2ac7d7..df9fc791 100644
--- a/patched-vscode/.github/commands.json
+++ b/patched-vscode/.github/commands.json
@@ -35,7 +35,7 @@
"name": "*dev-question",
"action": "close",
"reason": "not_planned",
- "comment": "We have a great extension developer community over on [GitHub discussions](https://github.com/microsoft/vscode-discussions/discussions) and [Slack](https://aka.ms/vscode-dev-community) where extension authors help each other. This is a great place for you to ask questions and find support.\n\nHappy Coding!"
+ "comment": "We have a great extension developer community over on [GitHub discussions](https://github.com/microsoft/vscode-discussions/discussions) and [Slack](https://vscode-dev-community.slack.com/) where extension authors help each other. This is a great place for you to ask questions and find support.\n\nHappy Coding!"
},
{
"type": "label",
@@ -58,6 +58,13 @@
"reason": "not_planned",
"comment": "We closed this issue because we [don't plan to address it](https://aka.ms/vscode-out-of-scope) in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.\n\nIf you wonder what we are up to, please see our [roadmap](https://aka.ms/vscoderoadmap) and [issue reporting guidelines](https://aka.ms/vscodeissuereporting).\n\nThanks for your understanding, and happy coding!"
},
+ {
+ "type": "label",
+ "name": "wont-fix",
+ "action": "close",
+ "reason": "not_planned",
+ "comment": "We closed this issue because we [don't plan to address it](https://github.com/microsoft/vscode/wiki/Issue-Grooming#wont-fix-bugs).\n\nThanks for your understanding, and happy coding!"
+ },
{
"type": "comment",
"name": "causedByExtension",
@@ -149,37 +156,6 @@
"addLabel": "confirmation-pending",
"removeLabel": "confirmed"
},
- {
- "type": "comment",
- "name": "needsMoreInfo",
- "allowUsers": [
- "cleidigh",
- "usernamehw",
- "gjsjohnmurray",
- "IllusionMH"
- ],
- "action": "updateLabels",
- "addLabel": "~info-needed"
- },
- {
- "type": "comment",
- "name": "needsPerfInfo",
- "allowUsers": [
- "cleidigh",
- "usernamehw",
- "gjsjohnmurray",
- "IllusionMH"
- ],
- "addLabel": "info-needed",
- "comment": "Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues \n\nHappy Coding!"
- },
- {
- "type": "comment",
- "name": "jsDebugLogs",
- "action": "updateLabels",
- "addLabel": "info-needed",
- "comment": "Please collect trace logs using the following instructions:\n\n> If you're able to, add `\"trace\": true` to your `launch.json` and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.\n>\n> âš ï¸ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to connor@xbox.com"
- },
{
"type": "comment",
"name": "closedWith",
@@ -193,30 +169,6 @@
"reason": "completed",
"addLabel": "unreleased"
},
- {
- "type": "label",
- "name": "~info-needed",
- "action": "updateLabels",
- "addLabel": "info-needed",
- "removeLabel": "~info-needed",
- "comment": "Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our [issue reporting guidelines](https://aka.ms/vscodeissuereporting). Please take the time to review these and update the issue.\n\nHappy Coding!"
- },
- {
- "type": "label",
- "name": "~version-info-needed",
- "action": "updateLabels",
- "addLabel": "info-needed",
- "removeLabel": "~version-info-needed",
- "comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting guidelines](https://aka.ms/vscodeissuereporting). Please take the time to review these and update the issue.\n\nHappy Coding!"
- },
- {
- "type": "label",
- "name": "~confirmation-needed",
- "action": "updateLabels",
- "addLabel": "info-needed",
- "removeLabel": "~confirmation-needed",
- "comment": "Please diagnose the root cause of the issue by running the command `F1 > Help: Troubleshoot Issue` and following the instructions. Once you have done that, please update the issue with the results.\n\nHappy Coding!"
- },
{
"type": "comment",
"name": "a11ymas",
@@ -462,32 +414,6 @@
"addLabel": "*caused-by-extension",
"comment": "It looks like this is caused by the Copilot extension. Please file the issue in the [Copilot Discussion Forum](https://github.com/community/community/discussions/categories/copilot). Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our [issue reporting guidelines](https://aka.ms/vscodeissuereporting) for more information.\n\nHappy Coding!"
},
- {
- "type": "comment",
- "name": "gifPlease",
- "allowUsers": [
- "cleidigh",
- "usernamehw",
- "gjsjohnmurray",
- "IllusionMH"
- ],
- "action": "comment",
- "addLabel": "info-needed",
- "comment": "Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, `.gif` files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.\n\nIf the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (`Developer: Toggle Screencast Mode` in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.\n\nHappy coding!"
- },
- {
- "type": "comment",
- "name": "confirmPlease",
- "allowUsers": [
- "cleidigh",
- "usernamehw",
- "gjsjohnmurray",
- "IllusionMH"
- ],
- "action": "comment",
- "addLabel": "info-needed",
- "comment": "Please diagnose the root cause of the issue by running the command `F1 > Help: Troubleshoot Issue` and following the instructions. Once you have done that, please update the issue with the results.\n\nHappy Coding!"
- },
{
"__comment__": "Allows folks on the team to label issues by commenting: `\\label My-Label` ",
"type": "comment",
diff --git a/patched-vscode/.github/subscribers.json b/patched-vscode/.github/subscribers.json
deleted file mode 100644
index 2c63c085..00000000
--- a/patched-vscode/.github/subscribers.json
+++ /dev/null
@@ -1,2 +0,0 @@
-{
-}
diff --git a/patched-vscode/.github/workflows/basic.yml b/patched-vscode/.github/workflows/basic.yml
index 3fd6daf0..8448d05c 100644
--- a/patched-vscode/.github/workflows/basic.yml
+++ b/patched-vscode/.github/workflows/basic.yml
@@ -29,7 +29,7 @@ jobs:
sudo update-rc.d xvfb defaults
sudo service xvfb start
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -38,7 +38,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -48,7 +48,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -61,7 +61,7 @@ jobs:
run: yarn --frozen-lockfile --network-timeout 180000
- name: Compile and Download
- run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64"
+ run: yarn npm-run-all --max-old-space-size=4095 -lp compile "electron x64"
- name: Run Unit Tests
id: electron-unit-tests
@@ -81,7 +81,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -90,7 +90,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -100,7 +100,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -143,7 +143,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -152,7 +152,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -162,7 +162,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
diff --git a/patched-vscode/.github/workflows/ci.yml b/patched-vscode/.github/workflows/ci.yml
index a598efa9..097bdcf8 100644
--- a/patched-vscode/.github/workflows/ci.yml
+++ b/patched-vscode/.github/workflows/ci.yml
@@ -23,11 +23,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
with:
python-version: "2.x"
@@ -36,7 +36,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node_modules archive
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ".build/node_modules_cache"
key: "${{ runner.os }}-cacheNodeModulesArchive-${{ steps.nodeModulesCacheKey.outputs.value }}"
@@ -49,7 +49,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -69,7 +69,7 @@ jobs:
7z.exe a .build/node_modules_cache/cache.7z -mx3 `@.build/node_modules_list.txt
- name: Compile and Download
- run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
+ run: yarn npm-run-all --max-old-space-size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn --cwd test/integration/browser compile
@@ -113,7 +113,7 @@ jobs:
sudo update-rc.d xvfb defaults
sudo service xvfb start
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -122,7 +122,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -132,7 +132,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -145,7 +145,7 @@ jobs:
run: yarn --frozen-lockfile --network-timeout 180000
- name: Compile and Download
- run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
+ run: yarn npm-run-all --max-old-space-size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn --cwd test/integration/browser compile
@@ -184,7 +184,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -193,7 +193,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesMacOS-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -203,7 +203,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -216,7 +216,7 @@ jobs:
run: yarn --frozen-lockfile --network-timeout 180000
- name: Compile and Download
- run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
+ run: yarn npm-run-all --max-old-space-size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn --cwd test/integration/browser compile
@@ -256,7 +256,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -265,7 +265,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModulesLinux-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -275,7 +275,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
diff --git a/patched-vscode/.github/workflows/deep-classifier-runner.yml b/patched-vscode/.github/workflows/deep-classifier-runner.yml
index 5ee7d048..81fd3516 100644
--- a/patched-vscode/.github/workflows/deep-classifier-runner.yml
+++ b/patched-vscode/.github/workflows/deep-classifier-runner.yml
@@ -1,4 +1,9 @@
name: "Deep Classifier: Runner"
+
+permissions:
+ id-token: write
+ contents: read
+
on:
schedule:
- cron: 0 * * * *
@@ -9,7 +14,13 @@ on:
jobs:
main:
runs-on: ubuntu-latest
+ environment: main
steps:
+ - uses: azure/login@v2
+ with:
+ client-id: ${{ vars.AZURE_CLIENT_ID }}
+ tenant-id: ${{ vars.AZURE_TENANT_ID }}
+ allow-no-subscriptions: true
- name: Checkout Actions
uses: actions/checkout@v4
with:
@@ -33,7 +44,7 @@ jobs:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
- name: Set up Python 3.7
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install dependencies
@@ -47,8 +58,4 @@ jobs:
with:
configPath: classifier
allowLabels: "info-needed|new release|error-telemetry|*english-please|translation-required"
- tenantId: ${{secrets.TOOLS_TENANT_ID}}
- clientId: ${{secrets.TOOLS_CLIENT_ID}}
- clientSecret: ${{secrets.TOOLS_CLIENT_SECRET}}
- clientScope: ${{secrets.TOOLS_CLIENT_SCOPE}}
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
diff --git a/patched-vscode/.github/workflows/devcontainer-cache.yml b/patched-vscode/.github/workflows/devcontainer-cache.yml
deleted file mode 100644
index 4e08944e..00000000
--- a/patched-vscode/.github/workflows/devcontainer-cache.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-name: VS Code Repo Dev Container Cache Image Generation
-
-on:
- workflow_dispatch:
- push:
- # Currently doing this for main, but could be done for PRs as well
- branches:
- - "main"
-
- # Only updates to these files result in changes to installed packages, so skip otherwise
- paths:
- - "**/package-lock.json"
- - "**/yarn.lock"
-
-jobs:
- devcontainer:
- name: Generate cache image
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- id: checkout
- uses: actions/checkout@v4
-
- - name: Azure CLI login
- id: az_login
- uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
- with:
- creds: ${{ secrets.AZ_ACR_CREDS }}
-
- - name: Build and push
- id: build_and_push
- run: |
- set -e
-
- ACR_REGISTRY_NAME=$(echo ${{ secrets.CONTAINER_IMAGE_REGISTRY }} | grep -oP '(.+)(?=\.azurecr\.io)')
- az acr login --name $ACR_REGISTRY_NAME
-
- GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')
- if [ "$GIT_BRANCH" == "" ]; then GIT_BRANCH=main; fi
-
- .devcontainer/prebuilt/cache/build-cache-image.sh "${{ secrets.CONTAINER_IMAGE_REGISTRY }}/public/vscode/devcontainers/repos/microsoft/vscode" "${GIT_BRANCH}"
diff --git a/patched-vscode/.github/workflows/monaco-editor.yml b/patched-vscode/.github/workflows/monaco-editor.yml
index eb263b33..8c8ae7b7 100644
--- a/patched-vscode/.github/workflows/monaco-editor.yml
+++ b/patched-vscode/.github/workflows/monaco-editor.yml
@@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-node@v3
+ - uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
@@ -29,7 +29,7 @@ jobs:
run: echo "value=$(node build/azure-pipelines/common/computeNodeModulesCacheKey.js)" >> $GITHUB_OUTPUT
- name: Cache node modules
id: cacheNodeModules
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-cacheNodeModules20-${{ steps.nodeModulesCacheKey.outputs.value }}
@@ -40,14 +40,16 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache yarn directory
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
key: ${{ runner.os }}-yarnCacheDir-${{ steps.nodeModulesCacheKey.outputs.value }}
restore-keys: ${{ runner.os }}-yarnCacheDir-
- name: Install libkrb5-dev
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
- run: sudo apt install -y libkrb5-dev
+ run: |
+ sudo apt update
+ sudo apt install -y libkrb5-dev
- name: Execute yarn
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
env:
@@ -63,8 +65,8 @@ jobs:
- name: Run Monaco Editor Checks
run: yarn monaco-compile-check
- - name: Editor Distro & ESM Bundle
- run: yarn gulp editor-esm-bundle
+ - name: Editor Distro & ESM
+ run: yarn gulp editor-esm
- name: Editor ESM sources check
working-directory: ./test/monaco
diff --git a/patched-vscode/.github/workflows/on-label.yml b/patched-vscode/.github/workflows/on-label.yml
index da80bb54..bf563734 100644
--- a/patched-vscode/.github/workflows/on-label.yml
+++ b/patched-vscode/.github/workflows/on-label.yml
@@ -37,14 +37,6 @@ jobs:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
config-path: commands
- # only here.
- - name: Run Subscribers
- uses: ./actions/topic-subscribe
- with:
- appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
- token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
- config-path: subscribers
-
# source of truth in ./feature-request.yml
- name: Run Feature Request Manager
if: contains(github.event.issue.labels.*.name, 'feature-request')
diff --git a/patched-vscode/.github/workflows/telemetry.yml b/patched-vscode/.github/workflows/telemetry.yml
index ab1559d8..d463a0e2 100644
--- a/patched-vscode/.github/workflows/telemetry.yml
+++ b/patched-vscode/.github/workflows/telemetry.yml
@@ -9,7 +9,7 @@ jobs:
steps:
- uses: 'actions/checkout@v4'
- - uses: 'actions/setup-node@v3'
+ - uses: 'actions/setup-node@v4'
with:
node-version: 'lts/*'
diff --git a/patched-vscode/.gitignore b/patched-vscode/.gitignore
index 0601e762..123b3567 100644
--- a/patched-vscode/.gitignore
+++ b/patched-vscode/.gitignore
@@ -4,6 +4,7 @@ npm-debug.log
Thumbs.db
node_modules/
.build/
+.vscode/extensions/**/out/
extensions/**/dist/
/out*/
/extensions/**/out/
@@ -19,3 +20,4 @@ vscode.db
/cli/openssl
product.overrides.json
*.snap.actual
+.vscode-test
diff --git a/patched-vscode/.nvmrc b/patched-vscode/.nvmrc
index bcaa3377..bc78e9f2 100644
--- a/patched-vscode/.nvmrc
+++ b/patched-vscode/.nvmrc
@@ -1 +1 @@
-18.17
\ No newline at end of file
+20.12.1
diff --git a/patched-vscode/.vscode-test.js b/patched-vscode/.vscode-test.js
new file mode 100644
index 00000000..f2db8d69
--- /dev/null
+++ b/patched-vscode/.vscode-test.js
@@ -0,0 +1,97 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+//@ts-check
+
+const path = require('path');
+const { defineConfig } = require('@vscode/test-cli');
+const os = require('os');
+
+/**
+ * A list of extension folders who have opted into tests, or configuration objects.
+ * Edit me to add more!
+ *
+ * @type {Array & { label: string })>}
+ */
+const extensions = [
+ {
+ label: 'markdown-language-features',
+ workspaceFolder: `extensions/markdown-language-features/test-workspace`,
+ mocha: { timeout: 60_000 }
+ },
+ {
+ label: 'ipynb',
+ workspaceFolder: path.join(os.tmpdir(), `ipynb-${Math.floor(Math.random() * 100000)}`),
+ mocha: { timeout: 60_000 }
+ },
+ {
+ label: 'notebook-renderers',
+ workspaceFolder: path.join(os.tmpdir(), `nbout-${Math.floor(Math.random() * 100000)}`),
+ mocha: { timeout: 60_000 }
+ },
+ {
+ label: 'vscode-colorize-tests',
+ workspaceFolder: `extensions/vscode-colorize-tests/test`,
+ mocha: { timeout: 60_000 }
+ },
+ {
+ label: 'configuration-editing',
+ workspaceFolder: path.join(os.tmpdir(), `confeditout-${Math.floor(Math.random() * 100000)}`),
+ mocha: { timeout: 60_000 }
+ },
+ {
+ label: 'github-authentication',
+ workspaceFolder: path.join(os.tmpdir(), `msft-auth-${Math.floor(Math.random() * 100000)}`),
+ mocha: { timeout: 60_000 }
+ }
+];
+
+
+const defaultLaunchArgs = process.env.API_TESTS_EXTRA_ARGS?.split(' ') || [
+ '--disable-telemetry', '--skip-welcome', '--skip-release-notes', `--crash-reporter-directory=${__dirname}/.build/crashes`, `--logsPath=${__dirname}/.build/logs/integration-tests`, '--no-cached-data', '--disable-updates', '--use-inmemory-secretstorage', '--disable-extensions', '--disable-workspace-trust'
+];
+
+module.exports = defineConfig(extensions.map(extension => {
+ /** @type {import('@vscode/test-cli').TestConfiguration} */
+ const config = typeof extension === 'object'
+ ? { files: `extensions/${extension.label}/out/**/*.test.js`, ...extension }
+ : { files: `extensions/${extension}/out/**/*.test.js`, label: extension };
+
+ config.mocha ??= {};
+ if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
+ let suite = '';
+ if (process.env.VSCODE_BROWSER) {
+ suite = `${process.env.VSCODE_BROWSER} Browser Integration ${config.label} tests`;
+ } else if (process.env.REMOTE_VSCODE) {
+ suite = `Remote Integration ${config.label} tests`;
+ } else {
+ suite = `Integration ${config.label} tests`;
+ }
+
+ config.mocha.reporter = 'mocha-multi-reporters';
+ config.mocha.reporterOptions = {
+ reporterEnabled: 'spec, mocha-junit-reporter',
+ mochaJunitReporterReporterOptions: {
+ testsuitesTitle: `${suite} ${process.platform}`,
+ mochaFile: path.join(process.env.BUILD_ARTIFACTSTAGINGDIRECTORY, `test-results/${process.platform}-${process.arch}-${suite.toLowerCase().replace(/[^\w]/g, '-')}-results.xml`)
+ }
+ };
+ }
+
+ if (!config.platform || config.platform === 'desktop') {
+ config.launchArgs = defaultLaunchArgs;
+ config.useInstallation = {
+ fromPath: process.env.INTEGRATION_TEST_ELECTRON_PATH || `${__dirname}/scripts/code.${process.platform === 'win32' ? 'bat' : 'sh'}`,
+ };
+ config.env = {
+ ...config.env,
+ VSCODE_SKIP_PRELAUNCH: '1',
+ };
+ } else {
+ // web configs not supported, yet
+ }
+
+ return config;
+}));
diff --git a/patched-vscode/.vscode/extensions.json b/patched-vscode/.vscode/extensions.json
index 0d3101d3..737efece 100644
--- a/patched-vscode/.vscode/extensions.json
+++ b/patched-vscode/.vscode/extensions.json
@@ -3,9 +3,10 @@
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
- "EditorConfig.EditorConfig",
- "GitHub.vscode-pull-request-github",
+ "editorconfig.editorconfig",
+ "github.vscode-pull-request-github",
"ms-vscode.vscode-github-issue-notebooks",
- "ms-vscode.vscode-selfhost-test-provider"
+ "ms-vscode.extension-test-runner",
+ "jrieken.vscode-pr-pinger"
]
}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/launch.json b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/launch.json
new file mode 100644
index 00000000..deb2c584
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/launch.json
@@ -0,0 +1,11 @@
+{
+ "configurations": [
+ {
+ "args": ["--extensionDevelopmentPath=${workspaceFolder}", "--enable-proposed-api=ms-vscode.vscode-selfhost-test-provider"],
+ "name": "Launch Extension",
+ "outFiles": ["${workspaceFolder}/out/**/*.js"],
+ "request": "launch",
+ "type": "extensionHost"
+ }
+ ]
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/settings.json b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/settings.json
new file mode 100644
index 00000000..e4429cae
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/.vscode/settings.json
@@ -0,0 +1,7 @@
+{
+ "editor.formatOnSave": true,
+ "editor.defaultFormatter": "vscode.typescript-language-features",
+ "editor.codeActionsOnSave": {
+ "source.organizeImports": "always"
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/icon.png b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/icon.png
new file mode 100644
index 00000000..46bf5e4d
Binary files /dev/null and b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/icon.png differ
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/package.json b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/package.json
new file mode 100644
index 00000000..f472098c
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/package.json
@@ -0,0 +1,88 @@
+{
+ "name": "vscode-selfhost-test-provider",
+ "displayName": "VS Code Selfhost Test Provider",
+ "description": "Test provider for the VS Code project",
+ "enabledApiProposals": [
+ "testObserver",
+ "attributableCoverage"
+ ],
+ "engines": {
+ "vscode": "^1.88.0"
+ },
+ "contributes": {
+ "commands": [
+ {
+ "command": "selfhost-test-provider.updateSnapshot",
+ "title": "Update Snapshot",
+ "category": "Testing",
+ "icon": "$(merge)"
+ },
+ {
+ "command": "selfhost-test-provider.openFailureLog",
+ "title": "Open Selfhost Failure Logs",
+ "category": "Testing",
+ "icon": "$(merge)"
+ }
+ ],
+ "menus": {
+ "commandPalette": [
+ {
+ "command": "selfhost-test-provider.updateSnapshot",
+ "when": "false"
+ }
+ ],
+ "testing/message/context": [
+ {
+ "command": "selfhost-test-provider.updateSnapshot",
+ "group": "inline@1",
+ "when": "testMessage == isSelfhostSnapshotMessage && !testResultOutdated"
+ }
+ ],
+ "testing/message/content": [
+ {
+ "command": "selfhost-test-provider.updateSnapshot",
+ "when": "testMessage == isSelfhostSnapshotMessage && !testResultOutdated"
+ }
+ ]
+ }
+ },
+ "icon": "icon.png",
+ "version": "0.4.0",
+ "publisher": "ms-vscode",
+ "categories": [
+ "Other"
+ ],
+ "activationEvents": [
+ "workspaceContains:src/vs/loader.js"
+ ],
+ "workspaceTrust": {
+ "request": "onDemand",
+ "description": "Trust is required to execute tests in the workspace."
+ },
+ "main": "./out/extension.js",
+ "prettier": {
+ "printWidth": 100,
+ "singleQuote": true,
+ "tabWidth": 2,
+ "arrowParens": "avoid"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/microsoft/vscode.git"
+ },
+ "license": "MIT",
+ "scripts": {
+ "compile": "gulp compile-extension:vscode-selfhost-test-provider",
+ "watch": "gulp watch-extension:vscode-selfhost-test-provider",
+ "test": "npx mocha --ui tdd 'out/*.test.js'"
+ },
+ "devDependencies": {
+ "@types/mocha": "^10.0.6",
+ "@types/node": "20.x"
+ },
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "ansi-styles": "^5.2.0",
+ "istanbul-to-vscode": "^2.0.1"
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/coverageProvider.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/coverageProvider.ts
new file mode 100644
index 00000000..7280782c
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/coverageProvider.ts
@@ -0,0 +1,157 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { IstanbulCoverageContext } from 'istanbul-to-vscode';
+import * as vscode from 'vscode';
+import { SourceLocationMapper, SourceMapStore } from './testOutputScanner';
+import { IScriptCoverage, OffsetToPosition, RangeCoverageTracker } from './v8CoverageWrangling';
+
+export const istanbulCoverageContext = new IstanbulCoverageContext();
+
+/**
+ * Tracks coverage in per-script coverage mode. There are two modes of coverage
+ * in this extension: generic istanbul reports, and reports from the runtime
+ * sent before and after each test case executes. This handles the latter.
+ */
+export class PerTestCoverageTracker {
+ private readonly scripts = new Map* script ID */ string, Script>();
+
+ constructor(private readonly maps: SourceMapStore) {}
+
+ public add(coverage: IScriptCoverage, test?: vscode.TestItem) {
+ const script = this.scripts.get(coverage.scriptId);
+ if (script) {
+ return script.add(coverage, test);
+ }
+ // ignore internals and node_modules
+ if (!coverage.url.startsWith('file://') || coverage.url.includes('node_modules')) {
+ return;
+ }
+ if (!coverage.source) {
+ throw new Error('expected to have source the first time a script is seen');
+ }
+
+ const src = new Script(vscode.Uri.parse(coverage.url), coverage.source, this.maps);
+ this.scripts.set(coverage.scriptId, src);
+ src.add(coverage, test);
+ }
+
+ public async report(run: vscode.TestRun) {
+ await Promise.all(Array.from(this.scripts.values()).map(s => s.report(run)));
+ }
+}
+
+class Script {
+ private converter: OffsetToPosition;
+
+ /** Tracking the overall coverage for the file */
+ private overall = new ScriptCoverageTracker();
+ /** Range tracking per-test item */
+ private readonly perItem = new Map();
+
+ constructor(
+ public readonly uri: vscode.Uri,
+ source: string,
+ private readonly maps: SourceMapStore
+ ) {
+ this.converter = new OffsetToPosition(source);
+ }
+
+ public add(coverage: IScriptCoverage, test?: vscode.TestItem) {
+ this.overall.add(coverage);
+ if (test) {
+ const p = new ScriptCoverageTracker();
+ p.add(coverage);
+ this.perItem.set(test, p);
+ }
+ }
+
+ public async report(run: vscode.TestRun) {
+ const mapper = await this.maps.getSourceLocationMapper(this.uri.toString());
+ const originalUri = (await this.maps.getSourceFile(this.uri.toString())) || this.uri;
+
+ run.addCoverage(this.overall.report(originalUri, this.converter, mapper));
+ for (const [test, projection] of this.perItem) {
+ run.addCoverage(projection.report(originalUri, this.converter, mapper, test));
+ }
+ }
+}
+
+class ScriptCoverageTracker {
+ private coverage = new RangeCoverageTracker();
+
+ public add(coverage: IScriptCoverage) {
+ for (const range of RangeCoverageTracker.initializeBlocks(coverage.functions)) {
+ this.coverage.setCovered(range.start, range.end, range.covered);
+ }
+ }
+
+ /**
+ * Generates the script's coverage for the test run.
+ *
+ * If a source location mapper is given, it assumes the `uri` is the mapped
+ * URI, and that any unmapped locations/outside the URI should be ignored.
+ */
+ public report(
+ uri: vscode.Uri,
+ convert: OffsetToPosition,
+ mapper: SourceLocationMapper | undefined,
+ item?: vscode.TestItem
+ ): V8CoverageFile {
+ const file = new V8CoverageFile(uri, item);
+
+ for (const range of this.coverage) {
+ if (range.start === range.end) {
+ continue;
+ }
+
+ const startCov = convert.toLineColumn(range.start);
+ let start = new vscode.Position(startCov.line, startCov.column);
+
+ const endCov = convert.toLineColumn(range.end);
+ let end = new vscode.Position(endCov.line, endCov.column);
+ if (mapper) {
+ const startMap = mapper(start.line, start.character);
+ const endMap = startMap && mapper(end.line, end.character);
+ if (!endMap || uri.toString().toLowerCase() !== endMap.uri.toString().toLowerCase()) {
+ continue;
+ }
+ start = startMap.range.start;
+ end = endMap.range.end;
+ }
+
+ for (let i = start.line; i <= end.line; i++) {
+ file.add(
+ new vscode.StatementCoverage(
+ range.covered,
+ new vscode.Range(
+ new vscode.Position(i, i === start.line ? start.character : 0),
+ new vscode.Position(i, i === end.line ? end.character : Number.MAX_SAFE_INTEGER)
+ )
+ )
+ );
+ }
+ }
+
+ return file;
+ }
+}
+
+export class V8CoverageFile extends vscode.FileCoverage {
+ public details: vscode.StatementCoverage[] = [];
+
+ constructor(uri: vscode.Uri, item?: vscode.TestItem) {
+ super(uri, { covered: 0, total: 0 });
+ (this as vscode.FileCoverage2).testItem = item;
+ }
+
+ public add(detail: vscode.StatementCoverage) {
+ this.details.push(detail);
+ this.statementCoverage.total++;
+ if (detail.executed) {
+ this.statementCoverage.covered++;
+ }
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/debounce.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/debounce.ts
new file mode 100644
index 00000000..fd5c087c
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/debounce.ts
@@ -0,0 +1,30 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+/**
+ * Debounces the function call for an interval.
+ */
+export function debounce(duration: number, fn: () => void): (() => void) & { clear: () => void } {
+ let timeout: NodeJS.Timeout | void;
+ const debounced = () => {
+ if (timeout !== undefined) {
+ clearTimeout(timeout);
+ }
+
+ timeout = setTimeout(() => {
+ timeout = undefined;
+ fn();
+ }, duration);
+ };
+
+ debounced.clear = () => {
+ if (timeout) {
+ clearTimeout(timeout);
+ timeout = undefined;
+ }
+ };
+
+ return debounced;
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/extension.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/extension.ts
new file mode 100644
index 00000000..960dbcf6
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/extension.ts
@@ -0,0 +1,345 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { randomBytes } from 'crypto';
+import { tmpdir } from 'os';
+import * as path from 'path';
+import * as vscode from 'vscode';
+import { V8CoverageFile } from './coverageProvider';
+import { FailingDeepStrictEqualAssertFixer } from './failingDeepStrictEqualAssertFixer';
+import { FailureTracker } from './failureTracker';
+import { registerSnapshotUpdate } from './snapshot';
+import { scanTestOutput } from './testOutputScanner';
+import {
+ TestCase,
+ TestFile,
+ clearFileDiagnostics,
+ guessWorkspaceFolder,
+ itemData,
+} from './testTree';
+import { BrowserTestRunner, PlatformTestRunner, VSCodeTestRunner } from './vscodeTestRunner';
+
+const TEST_FILE_PATTERN = 'src/vs/**/*.{test,integrationTest}.ts';
+
+const getWorkspaceFolderForTestFile = (uri: vscode.Uri) =>
+ (uri.path.endsWith('.test.ts') || uri.path.endsWith('.integrationTest.ts')) &&
+ uri.path.includes('/src/vs/')
+ ? vscode.workspace.getWorkspaceFolder(uri)
+ : undefined;
+
+const browserArgs: [name: string, arg: string][] = [
+ ['Chrome', 'chromium'],
+ ['Firefox', 'firefox'],
+ ['Webkit', 'webkit'],
+];
+
+type FileChangeEvent = { uri: vscode.Uri; removed: boolean };
+
+export async function activate(context: vscode.ExtensionContext) {
+ const ctrl = vscode.tests.createTestController('selfhost-test-controller', 'VS Code Tests');
+ const fileChangedEmitter = new vscode.EventEmitter();
+
+ context.subscriptions.push(vscode.tests.registerTestFollowupProvider({
+ async provideFollowup(_result, test, taskIndex, messageIndex, _token) {
+ return [{
+ title: '$(sparkle) Ask copilot for help',
+ command: 'github.copilot.tests.fixTestFailure',
+ arguments: [{ source: 'peekFollowup', test, message: test.taskStates[taskIndex].messages[messageIndex] }]
+ }];
+ },
+ }));
+
+
+ ctrl.resolveHandler = async test => {
+ if (!test) {
+ context.subscriptions.push(await startWatchingWorkspace(ctrl, fileChangedEmitter));
+ return;
+ }
+
+ const data = itemData.get(test);
+ if (data instanceof TestFile) {
+ // No need to watch this, updates will be triggered on file changes
+ // either by the text document or file watcher.
+ await data.updateFromDisk(ctrl, test);
+ }
+ };
+
+ guessWorkspaceFolder().then(folder => {
+ if (folder) {
+ context.subscriptions.push(new FailureTracker(context, folder.uri.fsPath));
+ }
+ });
+
+ const createRunHandler = (
+ runnerCtor: { new(folder: vscode.WorkspaceFolder): VSCodeTestRunner },
+ kind: vscode.TestRunProfileKind,
+ args: string[] = []
+ ) => {
+ const doTestRun = async (
+ req: vscode.TestRunRequest,
+ cancellationToken: vscode.CancellationToken
+ ) => {
+ const folder = await guessWorkspaceFolder();
+ if (!folder) {
+ return;
+ }
+
+ const runner = new runnerCtor(folder);
+ const map = await getPendingTestMap(ctrl, req.include ?? gatherTestItems(ctrl.items));
+ const task = ctrl.createTestRun(req);
+ for (const test of map.values()) {
+ task.enqueued(test);
+ }
+
+ let coverageDir: string | undefined;
+ let currentArgs = args;
+ if (kind === vscode.TestRunProfileKind.Coverage) {
+ // todo: browser runs currently don't support per-test coverage
+ if (args.includes('--browser')) {
+ coverageDir = path.join(
+ tmpdir(),
+ `vscode-test-coverage-${randomBytes(8).toString('hex')}`
+ );
+ currentArgs = [
+ ...currentArgs,
+ '--coverage',
+ '--coveragePath',
+ coverageDir,
+ '--coverageFormats',
+ 'json',
+ ];
+ } else {
+ currentArgs = [...currentArgs, '--per-test-coverage'];
+ }
+ }
+
+ return await scanTestOutput(
+ map,
+ task,
+ kind === vscode.TestRunProfileKind.Debug
+ ? await runner.debug(currentArgs, req.include)
+ : await runner.run(currentArgs, req.include),
+ coverageDir,
+ cancellationToken
+ );
+ };
+
+ return async (req: vscode.TestRunRequest, cancellationToken: vscode.CancellationToken) => {
+ if (!req.continuous) {
+ return doTestRun(req, cancellationToken);
+ }
+
+ const queuedFiles = new Set();
+ let debounced: NodeJS.Timeout | undefined;
+
+ const listener = fileChangedEmitter.event(({ uri, removed }) => {
+ clearTimeout(debounced);
+
+ if (req.include && !req.include.some(i => i.uri?.toString() === uri.toString())) {
+ return;
+ }
+
+ if (removed) {
+ queuedFiles.delete(uri.toString());
+ } else {
+ queuedFiles.add(uri.toString());
+ }
+
+ debounced = setTimeout(() => {
+ const include =
+ req.include?.filter(t => t.uri && queuedFiles.has(t.uri?.toString())) ??
+ [...queuedFiles]
+ .map(f => getOrCreateFile(ctrl, vscode.Uri.parse(f)))
+ .filter((f): f is vscode.TestItem => !!f);
+ queuedFiles.clear();
+
+ doTestRun(
+ new vscode.TestRunRequest(include, req.exclude, req.profile, true),
+ cancellationToken
+ );
+ }, 1000);
+ });
+
+ cancellationToken.onCancellationRequested(() => {
+ clearTimeout(debounced);
+ listener.dispose();
+ });
+ };
+ };
+
+ ctrl.createRunProfile(
+ 'Run in Electron',
+ vscode.TestRunProfileKind.Run,
+ createRunHandler(PlatformTestRunner, vscode.TestRunProfileKind.Run),
+ true,
+ undefined,
+ true
+ );
+
+ ctrl.createRunProfile(
+ 'Debug in Electron',
+ vscode.TestRunProfileKind.Debug,
+ createRunHandler(PlatformTestRunner, vscode.TestRunProfileKind.Debug),
+ true,
+ undefined,
+ true
+ );
+
+ const coverage = ctrl.createRunProfile(
+ 'Coverage in Electron',
+ vscode.TestRunProfileKind.Coverage,
+ createRunHandler(PlatformTestRunner, vscode.TestRunProfileKind.Coverage),
+ true,
+ undefined,
+ true
+ );
+
+ coverage.loadDetailedCoverage = async (_run, coverage) => {
+ if (coverage instanceof V8CoverageFile) {
+ return coverage.details;
+ }
+
+ return [];
+ };
+
+ for (const [name, arg] of browserArgs) {
+ const cfg = ctrl.createRunProfile(
+ `Run in ${name}`,
+ vscode.TestRunProfileKind.Run,
+ createRunHandler(BrowserTestRunner, vscode.TestRunProfileKind.Run, [' --browser', arg]),
+ undefined,
+ undefined,
+ true
+ );
+
+ cfg.configureHandler = () => vscode.window.showInformationMessage(`Configuring ${name}`);
+
+ ctrl.createRunProfile(
+ `Debug in ${name}`,
+ vscode.TestRunProfileKind.Debug,
+ createRunHandler(BrowserTestRunner, vscode.TestRunProfileKind.Debug, [
+ '--browser',
+ arg,
+ '--debug-browser',
+ ]),
+ undefined,
+ undefined,
+ true
+ );
+ }
+
+ function updateNodeForDocument(e: vscode.TextDocument) {
+ const node = getOrCreateFile(ctrl, e.uri);
+ const data = node && itemData.get(node);
+ if (data instanceof TestFile) {
+ data.updateFromContents(ctrl, e.getText(), node!);
+ }
+ }
+
+ for (const document of vscode.workspace.textDocuments) {
+ updateNodeForDocument(document);
+ }
+
+ context.subscriptions.push(
+ ctrl,
+ fileChangedEmitter.event(({ uri, removed }) => {
+ if (!removed) {
+ const node = getOrCreateFile(ctrl, uri);
+ if (node) {
+ ctrl.invalidateTestResults();
+ }
+ }
+ }),
+ vscode.workspace.onDidOpenTextDocument(updateNodeForDocument),
+ vscode.workspace.onDidChangeTextDocument(e => updateNodeForDocument(e.document)),
+ registerSnapshotUpdate(ctrl),
+ new FailingDeepStrictEqualAssertFixer()
+ );
+}
+
+export function deactivate() {
+ // no-op
+}
+
+function getOrCreateFile(
+ controller: vscode.TestController,
+ uri: vscode.Uri
+): vscode.TestItem | undefined {
+ const folder = getWorkspaceFolderForTestFile(uri);
+ if (!folder) {
+ return undefined;
+ }
+
+ const data = new TestFile(uri, folder);
+ const existing = controller.items.get(data.getId());
+ if (existing) {
+ return existing;
+ }
+
+ const file = controller.createTestItem(data.getId(), data.getLabel(), uri);
+ controller.items.add(file);
+ file.canResolveChildren = true;
+ itemData.set(file, data);
+
+ return file;
+}
+
+function gatherTestItems(collection: vscode.TestItemCollection) {
+ const items: vscode.TestItem[] = [];
+ collection.forEach(item => items.push(item));
+ return items;
+}
+
+async function startWatchingWorkspace(
+ controller: vscode.TestController,
+ fileChangedEmitter: vscode.EventEmitter
+) {
+ const workspaceFolder = await guessWorkspaceFolder();
+ if (!workspaceFolder) {
+ return new vscode.Disposable(() => undefined);
+ }
+
+ const pattern = new vscode.RelativePattern(workspaceFolder, TEST_FILE_PATTERN);
+ const watcher = vscode.workspace.createFileSystemWatcher(pattern);
+
+ watcher.onDidCreate(uri => {
+ getOrCreateFile(controller, uri);
+ fileChangedEmitter.fire({ removed: false, uri });
+ });
+ watcher.onDidChange(uri => fileChangedEmitter.fire({ removed: false, uri }));
+ watcher.onDidDelete(uri => {
+ fileChangedEmitter.fire({ removed: true, uri });
+ clearFileDiagnostics(uri);
+ controller.items.delete(uri.toString());
+ });
+
+ for (const file of await vscode.workspace.findFiles(pattern)) {
+ getOrCreateFile(controller, file);
+ }
+
+ return watcher;
+}
+
+async function getPendingTestMap(ctrl: vscode.TestController, tests: Iterable) {
+ const queue = [tests];
+ const titleMap = new Map();
+ while (queue.length) {
+ for (const item of queue.pop()!) {
+ const data = itemData.get(item);
+ if (data instanceof TestFile) {
+ if (!data.hasBeenRead) {
+ await data.updateFromDisk(ctrl, item);
+ }
+ queue.push(gatherTestItems(item.children));
+ } else if (data instanceof TestCase) {
+ titleMap.set(data.fullName, item);
+ } else {
+ queue.push(gatherTestItems(item.children));
+ }
+ }
+ }
+
+ return titleMap;
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failingDeepStrictEqualAssertFixer.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failingDeepStrictEqualAssertFixer.ts
new file mode 100644
index 00000000..17e65cbc
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failingDeepStrictEqualAssertFixer.ts
@@ -0,0 +1,254 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as ts from 'typescript';
+import {
+ commands,
+ Disposable,
+ languages,
+ Position,
+ Range,
+ TestMessage,
+ TestResultSnapshot,
+ TestRunResult,
+ tests,
+ TextDocument,
+ Uri,
+ workspace,
+ WorkspaceEdit,
+} from 'vscode';
+import { memoizeLast } from './memoize';
+import { getTestMessageMetadata } from './metadata';
+
+const enum Constants {
+ FixCommandId = 'selfhost-test.fix-test',
+}
+
+export class FailingDeepStrictEqualAssertFixer {
+ private disposables: Disposable[] = [];
+
+ constructor() {
+ this.disposables.push(
+ commands.registerCommand(Constants.FixCommandId, async (uri: Uri, position: Position) => {
+ const document = await workspace.openTextDocument(uri);
+
+ const failingAssertion = detectFailingDeepStrictEqualAssertion(document, position);
+ if (!failingAssertion) {
+ return;
+ }
+
+ const expectedValueNode = failingAssertion.assertion.expectedValue;
+ if (!expectedValueNode) {
+ return;
+ }
+
+ const start = document.positionAt(expectedValueNode.getStart());
+ const end = document.positionAt(expectedValueNode.getEnd());
+
+ const edit = new WorkspaceEdit();
+ edit.replace(uri, new Range(start, end), formatJsonValue(failingAssertion.actualJSONValue));
+ await workspace.applyEdit(edit);
+ })
+ );
+
+ this.disposables.push(
+ languages.registerCodeActionsProvider('typescript', {
+ provideCodeActions: (document, range) => {
+ const failingAssertion = detectFailingDeepStrictEqualAssertion(document, range.start);
+ if (!failingAssertion) {
+ return undefined;
+ }
+
+ return [
+ {
+ title: 'Fix Expected Value',
+ command: Constants.FixCommandId,
+ arguments: [document.uri, range.start],
+ },
+ ];
+ },
+ })
+ );
+ }
+
+ dispose() {
+ for (const d of this.disposables) {
+ d.dispose();
+ }
+ }
+}
+
+const identifierLikeRe = /^[$a-z_][a-z0-9_$]*$/i;
+
+const tsPrinter = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed });
+
+const formatJsonValue = (value: unknown) => {
+ if (typeof value !== 'object') {
+ return JSON.stringify(value);
+ }
+
+ const src = ts.createSourceFile('', `(${JSON.stringify(value)})`, ts.ScriptTarget.ES5, true);
+ const outerExpression = src.statements[0] as ts.ExpressionStatement;
+ const parenExpression = outerExpression.expression as ts.ParenthesizedExpression;
+
+ const unquoted = ts.transform(parenExpression, [
+ context => (node: ts.Node) => {
+ const visitor = (node: ts.Node): ts.Node =>
+ ts.isPropertyAssignment(node) &&
+ ts.isStringLiteralLike(node.name) &&
+ identifierLikeRe.test(node.name.text)
+ ? ts.factory.createPropertyAssignment(
+ ts.factory.createIdentifier(node.name.text),
+ ts.visitNode(node.initializer, visitor) as ts.Expression
+ )
+ : ts.isStringLiteralLike(node) && node.text === '[undefined]'
+ ? ts.factory.createIdentifier('undefined')
+ : ts.visitEachChild(node, visitor, context);
+
+ return ts.visitNode(node, visitor);
+ },
+ ]);
+
+ return tsPrinter.printNode(ts.EmitHint.Expression, unquoted.transformed[0], src);
+};
+
+/** Parses the source file, memoizing the last document so cursor moves are efficient */
+const parseSourceFile = memoizeLast((text: string) =>
+ ts.createSourceFile('', text, ts.ScriptTarget.ES5, true)
+);
+
+const assertionFailureMessageRe = /^Expected values to be strictly (deep-)?equal:/;
+
+/** Gets information about the failing assertion at the poisition, if any. */
+function detectFailingDeepStrictEqualAssertion(
+ document: TextDocument,
+ position: Position
+): { assertion: StrictEqualAssertion; actualJSONValue: unknown } | undefined {
+ const sf = parseSourceFile(document.getText());
+ const offset = document.offsetAt(position);
+ const assertion = StrictEqualAssertion.atPosition(sf, offset);
+ if (!assertion) {
+ return undefined;
+ }
+
+ const startLine = document.positionAt(assertion.offsetStart).line;
+ const messages = getAllTestStatusMessagesAt(document.uri, startLine);
+ const strictDeepEqualMessage = messages.find(m =>
+ assertionFailureMessageRe.test(typeof m.message === 'string' ? m.message : m.message.value)
+ );
+
+ if (!strictDeepEqualMessage) {
+ return undefined;
+ }
+
+ const metadata = getTestMessageMetadata(strictDeepEqualMessage);
+ if (!metadata) {
+ return undefined;
+ }
+
+ return {
+ assertion: assertion,
+ actualJSONValue: metadata.actualValue,
+ };
+}
+
+class StrictEqualAssertion {
+ /**
+ * Extracts the assertion at the current node, if it is one.
+ */
+ public static fromNode(node: ts.Node): StrictEqualAssertion | undefined {
+ if (!ts.isCallExpression(node)) {
+ return undefined;
+ }
+
+ const expr = node.expression.getText();
+ if (expr !== 'assert.deepStrictEqual' && expr !== 'assert.strictEqual') {
+ return undefined;
+ }
+
+ return new StrictEqualAssertion(node);
+ }
+
+ /**
+ * Gets the equals assertion at the given offset in the file.
+ */
+ public static atPosition(sf: ts.SourceFile, offset: number): StrictEqualAssertion | undefined {
+ let node = findNodeAt(sf, offset);
+
+ while (node.parent) {
+ const obj = StrictEqualAssertion.fromNode(node);
+ if (obj) {
+ return obj;
+ }
+ node = node.parent;
+ }
+
+ return undefined;
+ }
+
+ constructor(private readonly expression: ts.CallExpression) { }
+
+ /** Gets the expected value */
+ public get expectedValue(): ts.Expression | undefined {
+ return this.expression.arguments[1];
+ }
+
+ /** Gets the position of the assertion expression. */
+ public get offsetStart(): number {
+ return this.expression.getStart();
+ }
+}
+
+function findNodeAt(parent: ts.Node, offset: number): ts.Node {
+ for (const child of parent.getChildren()) {
+ if (child.getStart() <= offset && offset <= child.getEnd()) {
+ return findNodeAt(child, offset);
+ }
+ }
+ return parent;
+}
+
+function getAllTestStatusMessagesAt(uri: Uri, lineNumber: number): TestMessage[] {
+ if (tests.testResults.length === 0) {
+ return [];
+ }
+
+ const run = tests.testResults[0];
+ const snapshots = getTestResultsWithUri(run, uri);
+ const result: TestMessage[] = [];
+
+ for (const snapshot of snapshots) {
+ for (const m of snapshot.taskStates[0].messages) {
+ if (
+ m.location &&
+ m.location.range.start.line <= lineNumber &&
+ lineNumber <= m.location.range.end.line
+ ) {
+ result.push(m);
+ }
+ }
+ }
+
+ return result;
+}
+
+function getTestResultsWithUri(testRun: TestRunResult, uri: Uri): TestResultSnapshot[] {
+ const results: TestResultSnapshot[] = [];
+
+ const walk = (r: TestResultSnapshot) => {
+ for (const c of r.children) {
+ walk(c);
+ }
+ if (r.uri?.toString() === uri.toString()) {
+ results.push(r);
+ }
+ };
+
+ for (const r of testRun.results) {
+ walk(r);
+ }
+
+ return results;
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failureTracker.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failureTracker.ts
new file mode 100644
index 00000000..e04d4bee
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/failureTracker.ts
@@ -0,0 +1,151 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { spawn } from 'child_process';
+import { existsSync, mkdirSync, renameSync } from 'fs';
+import { readFile, writeFile } from 'fs/promises';
+import { dirname, join } from 'path';
+import * as vscode from 'vscode';
+
+interface IGitState {
+ commitId: string;
+ tracked: string;
+ untracked: Record;
+}
+
+interface ITrackedRemediation {
+ snapshot: vscode.TestResultSnapshot;
+ failing: IGitState;
+ passing: IGitState;
+}
+
+const MAX_FAILURES = 10;
+
+export class FailureTracker {
+ private readonly disposables: vscode.Disposable[] = [];
+ private readonly lastFailed = new Map<
+ string,
+ { snapshot: vscode.TestResultSnapshot; failing: IGitState }
+ >();
+
+ private readonly logFile: string;
+ private logs?: ITrackedRemediation[];
+
+ constructor(context: vscode.ExtensionContext, private readonly rootDir: string) {
+ this.logFile = join(context.globalStorageUri.fsPath, '.build/vscode-test-failures.json');
+ mkdirSync(dirname(this.logFile), { recursive: true });
+
+ const oldLogFile = join(rootDir, '.build/vscode-test-failures.json');
+ if (existsSync(oldLogFile)) {
+ try {
+ renameSync(oldLogFile, this.logFile);
+ } catch {
+ // ignore
+ }
+ }
+
+ this.disposables.push(
+ vscode.commands.registerCommand('selfhost-test-provider.openFailureLog', async () => {
+ const doc = await vscode.workspace.openTextDocument(this.logFile);
+ await vscode.window.showTextDocument(doc);
+ })
+ );
+
+ this.disposables.push(
+ vscode.tests.onDidChangeTestResults(() => {
+ const last = vscode.tests.testResults[0];
+ if (!last) {
+ return;
+ }
+
+ let gitState: Promise | undefined;
+ const getGitState = () => gitState ?? (gitState = this.captureGitState());
+
+ const queue = [last.results];
+ for (let i = 0; i < queue.length; i++) {
+ for (const snapshot of queue[i]) {
+ // only interested in states of leaf tests
+ if (snapshot.children.length) {
+ queue.push(snapshot.children);
+ continue;
+ }
+
+ const key = `${snapshot.uri}/${snapshot.id}`;
+ const prev = this.lastFailed.get(key);
+ if (snapshot.taskStates.some(s => s.state === vscode.TestResultState.Failed)) {
+ // unset the parent to avoid a circular JSON structure:
+ getGitState().then(s =>
+ this.lastFailed.set(key, {
+ snapshot: { ...snapshot, parent: undefined },
+ failing: s,
+ })
+ );
+ } else if (prev) {
+ this.lastFailed.delete(key);
+ getGitState().then(s => this.append({ ...prev, passing: s }));
+ }
+ }
+ }
+ })
+ );
+ }
+
+ private async append(log: ITrackedRemediation) {
+ if (!this.logs) {
+ try {
+ this.logs = JSON.parse(await readFile(this.logFile, 'utf-8'));
+ } catch {
+ this.logs = [];
+ }
+ }
+
+ const logs = this.logs!;
+ logs.push(log);
+ if (logs.length > MAX_FAILURES) {
+ logs.splice(0, logs.length - MAX_FAILURES);
+ }
+
+ await writeFile(this.logFile, JSON.stringify(logs, undefined, 2));
+ }
+
+ private async captureGitState() {
+ const [commitId, tracked, untracked] = await Promise.all([
+ this.exec('git', ['rev-parse', 'HEAD']),
+ this.exec('git', ['diff', 'HEAD']),
+ this.exec('git', ['ls-files', '--others', '--exclude-standard']).then(async output => {
+ const mapping: Record = {};
+ await Promise.all(
+ output
+ .trim()
+ .split('\n')
+ .map(async f => {
+ mapping[f] = await readFile(join(this.rootDir, f), 'utf-8');
+ })
+ );
+ return mapping;
+ }),
+ ]);
+ return { commitId, tracked, untracked };
+ }
+
+ public dispose() {
+ this.disposables.forEach(d => d.dispose());
+ }
+
+ private exec(command: string, args: string[]): Promise {
+ return new Promise((resolve, reject) => {
+ const child = spawn(command, args, { stdio: 'pipe', cwd: this.rootDir });
+ let output = '';
+ child.stdout.setEncoding('utf-8').on('data', b => (output += b));
+ child.stderr.setEncoding('utf-8').on('data', b => (output += b));
+ child.on('error', reject);
+ child.on('exit', code =>
+ code === 0
+ ? resolve(output)
+ : reject(new Error(`Failed with error code ${code}\n${output}`))
+ );
+ });
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/memoize.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/memoize.ts
new file mode 100644
index 00000000..df6c2e77
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/memoize.ts
@@ -0,0 +1,17 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+export const memoizeLast = (fn: (args: A) => T): ((args: A) => T) => {
+ let last: { arg: A; result: T } | undefined;
+ return arg => {
+ if (last && last.arg === arg) {
+ return last.result;
+ }
+
+ const result = fn(arg);
+ last = { arg, result };
+ return result;
+ };
+};
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/metadata.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/metadata.ts
new file mode 100644
index 00000000..8b44c52b
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/metadata.ts
@@ -0,0 +1,61 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+import { TestMessage } from 'vscode';
+
+export interface TestMessageMetadata {
+ expectedValue: unknown;
+ actualValue: unknown;
+}
+
+const cache = new Array<{ id: string; metadata: TestMessageMetadata }>();
+
+let id = 0;
+
+function getId(): string {
+ return `msg:${id++}:`;
+}
+
+const regexp = /msg:\d+:/;
+
+export function attachTestMessageMetadata(
+ message: TestMessage,
+ metadata: TestMessageMetadata
+): void {
+ const existingMetadata = getTestMessageMetadata(message);
+ if (existingMetadata) {
+ Object.assign(existingMetadata, metadata);
+ return;
+ }
+
+ const id = getId();
+
+ if (typeof message.message === 'string') {
+ message.message = `${message.message}\n${id}`;
+ } else {
+ message.message.appendText(`\n${id}`);
+ }
+
+ cache.push({ id, metadata });
+ while (cache.length > 100) {
+ cache.shift();
+ }
+}
+
+export function getTestMessageMetadata(message: TestMessage): TestMessageMetadata | undefined {
+ let value: string;
+ if (typeof message.message === 'string') {
+ value = message.message;
+ } else {
+ value = message.message.value;
+ }
+
+ const result = regexp.exec(value);
+ if (!result) {
+ return undefined;
+ }
+
+ const id = result[0];
+ return cache.find(c => c.id === id)?.metadata;
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/snapshot.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/snapshot.ts
new file mode 100644
index 00000000..5b3a6246
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/snapshot.ts
@@ -0,0 +1,23 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { promises as fs } from 'fs';
+import * as vscode from 'vscode';
+
+export const snapshotComment = '\n\n// Snapshot file: ';
+
+export const registerSnapshotUpdate = (ctrl: vscode.TestController) =>
+ vscode.commands.registerCommand('selfhost-test-provider.updateSnapshot', async args => {
+ const message: vscode.TestMessage = args.message;
+ const index = message.expectedOutput?.indexOf(snapshotComment);
+ if (!message.expectedOutput || !message.actualOutput || !index || index === -1) {
+ vscode.window.showErrorMessage('Could not find snapshot comment in message');
+ return;
+ }
+
+ const file = message.expectedOutput.slice(index + snapshotComment.length);
+ await fs.writeFile(file, message.actualOutput);
+ ctrl.invalidateTestResults(args.test);
+ });
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/sourceUtils.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/sourceUtils.ts
new file mode 100644
index 00000000..56b26caf
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/sourceUtils.ts
@@ -0,0 +1,68 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as ts from 'typescript';
+import * as vscode from 'vscode';
+import { TestCase, TestConstruct, TestSuite, VSCodeTest } from './testTree';
+
+const suiteNames = new Set(['suite', 'flakySuite']);
+
+export const enum Action {
+ Skip,
+ Recurse,
+}
+
+export const extractTestFromNode = (src: ts.SourceFile, node: ts.Node, parent: VSCodeTest) => {
+ if (!ts.isCallExpression(node)) {
+ return Action.Recurse;
+ }
+
+ let lhs = node.expression;
+ if (isSkipCall(lhs)) {
+ return Action.Skip;
+ }
+
+ if (isPropertyCall(lhs) && lhs.name.text === 'only') {
+ lhs = lhs.expression;
+ }
+
+ const name = node.arguments[0];
+ const func = node.arguments[1];
+ if (!name || !ts.isIdentifier(lhs) || !ts.isStringLiteralLike(name)) {
+ return Action.Recurse;
+ }
+
+ if (!func) {
+ return Action.Recurse;
+ }
+
+ const start = src.getLineAndCharacterOfPosition(name.pos);
+ const end = src.getLineAndCharacterOfPosition(func.end);
+ const range = new vscode.Range(
+ new vscode.Position(start.line, start.character),
+ new vscode.Position(end.line, end.character)
+ );
+
+ const cparent = parent instanceof TestConstruct ? parent : undefined;
+ if (lhs.escapedText === 'test') {
+ return new TestCase(name.text, range, cparent);
+ }
+
+ if (suiteNames.has(lhs.escapedText.toString())) {
+ return new TestSuite(name.text, range, cparent);
+ }
+
+ return Action.Recurse;
+};
+
+const isPropertyCall = (
+ lhs: ts.LeftHandSideExpression
+): lhs is ts.PropertyAccessExpression & { expression: ts.Identifier; name: ts.Identifier } =>
+ ts.isPropertyAccessExpression(lhs) &&
+ ts.isIdentifier(lhs.expression) &&
+ ts.isIdentifier(lhs.name);
+
+const isSkipCall = (lhs: ts.LeftHandSideExpression) =>
+ isPropertyCall(lhs) && suiteNames.has(lhs.expression.text) && lhs.name.text === 'skip';
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/streamSplitter.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/streamSplitter.ts
new file mode 100644
index 00000000..bb5bc5f2
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/streamSplitter.ts
@@ -0,0 +1,64 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+// DO NOT EDIT DIRECTLY: copied from src/vs/base/node/nodeStreams.ts
+
+import { Transform } from 'stream';
+
+/**
+ * A Transform stream that splits the input on the "splitter" substring.
+ * The resulting chunks will contain (and trail with) the splitter match.
+ * The last chunk when the stream ends will be emitted even if a splitter
+ * is not encountered.
+ */
+export class StreamSplitter extends Transform {
+ private buffer: Buffer | undefined;
+ private readonly splitter: number;
+ private readonly spitterLen: number;
+
+ constructor(splitter: string | number | Buffer) {
+ super();
+ if (typeof splitter === 'number') {
+ this.splitter = splitter;
+ this.spitterLen = 1;
+ } else {
+ throw new Error('not implemented here');
+ }
+ }
+
+ override _transform(
+ chunk: Buffer,
+ _encoding: string,
+ callback: (error?: Error | null, data?: any) => void
+ ): void {
+ if (!this.buffer) {
+ this.buffer = chunk;
+ } else {
+ this.buffer = Buffer.concat([this.buffer, chunk]);
+ }
+
+ let offset = 0;
+ while (offset < this.buffer.length) {
+ const index = this.buffer.indexOf(this.splitter, offset);
+ if (index === -1) {
+ break;
+ }
+
+ this.push(this.buffer.slice(offset, index + this.spitterLen));
+ offset = index + this.spitterLen;
+ }
+
+ this.buffer = offset === this.buffer.length ? undefined : this.buffer.slice(offset);
+ callback();
+ }
+
+ override _flush(callback: (error?: Error | null, data?: any) => void): void {
+ if (this.buffer) {
+ this.push(this.buffer);
+ }
+
+ callback();
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testOutputScanner.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testOutputScanner.ts
new file mode 100644
index 00000000..74013dcd
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testOutputScanner.ts
@@ -0,0 +1,604 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import {
+ decodedMappings,
+ GREATEST_LOWER_BOUND,
+ LEAST_UPPER_BOUND,
+ originalPositionFor,
+ TraceMap,
+} from '@jridgewell/trace-mapping';
+import * as styles from 'ansi-styles';
+import { ChildProcessWithoutNullStreams } from 'child_process';
+import * as vscode from 'vscode';
+import { istanbulCoverageContext, PerTestCoverageTracker } from './coverageProvider';
+import { attachTestMessageMetadata } from './metadata';
+import { snapshotComment } from './snapshot';
+import { StreamSplitter } from './streamSplitter';
+import { getContentFromFilesystem } from './testTree';
+import { IScriptCoverage } from './v8CoverageWrangling';
+
+export const enum MochaEvent {
+ Start = 'start',
+ TestStart = 'testStart',
+ Pass = 'pass',
+ Fail = 'fail',
+ End = 'end',
+
+ // custom events:
+ CoverageInit = 'coverageInit',
+ CoverageIncrement = 'coverageIncrement',
+}
+
+export interface IStartEvent {
+ total: number;
+}
+
+export interface ITestStartEvent {
+ title: string;
+ fullTitle: string;
+ file: string;
+ currentRetry: number;
+ speed: string;
+}
+
+export interface IPassEvent extends ITestStartEvent {
+ duration: number;
+}
+
+export interface IFailEvent extends IPassEvent {
+ err: string;
+ stack: string | null;
+ expected?: string;
+ actual?: string;
+ expectedJSON?: unknown;
+ actualJSON?: unknown;
+ snapshotPath?: string;
+}
+
+export interface IEndEvent {
+ suites: number;
+ tests: number;
+ passes: number;
+ pending: number;
+ failures: number;
+ start: string /* ISO date */;
+ end: string /* ISO date */;
+}
+
+export interface ITestCoverageCoverage {
+ file: string;
+ fullTitle: string;
+ coverage: { result: IScriptCoverage[] };
+}
+
+export type MochaEventTuple =
+ | [MochaEvent.Start, IStartEvent]
+ | [MochaEvent.TestStart, ITestStartEvent]
+ | [MochaEvent.Pass, IPassEvent]
+ | [MochaEvent.Fail, IFailEvent]
+ | [MochaEvent.End, IEndEvent]
+ | [MochaEvent.CoverageInit, { result: IScriptCoverage[] }]
+ | [MochaEvent.CoverageIncrement, ITestCoverageCoverage];
+
+const LF = '\n'.charCodeAt(0);
+
+export class TestOutputScanner implements vscode.Disposable {
+ protected mochaEventEmitter = new vscode.EventEmitter();
+ protected outputEventEmitter = new vscode.EventEmitter();
+ protected onExitEmitter = new vscode.EventEmitter();
+
+ /**
+ * Fired when a mocha event comes in.
+ */
+ public readonly onMochaEvent = this.mochaEventEmitter.event;
+
+ /**
+ * Fired when other output from the process comes in.
+ */
+ public readonly onOtherOutput = this.outputEventEmitter.event;
+
+ /**
+ * Fired when the process encounters an error, or exits.
+ */
+ public readonly onRunnerExit = this.onExitEmitter.event;
+
+ constructor(private readonly process: ChildProcessWithoutNullStreams, private args?: string[]) {
+ process.stdout.pipe(new StreamSplitter(LF)).on('data', this.processData);
+ process.stderr.pipe(new StreamSplitter(LF)).on('data', this.processData);
+ process.on('error', e => this.onExitEmitter.fire(e.message));
+ process.on('exit', code =>
+ this.onExitEmitter.fire(code ? `Test process exited with code ${code}` : undefined)
+ );
+ }
+
+ /**
+ * @override
+ */
+ public dispose() {
+ try {
+ this.process.kill();
+ } catch {
+ // ignored
+ }
+ }
+
+ protected readonly processData = (data: string | Buffer) => {
+ if (this.args) {
+ this.outputEventEmitter.fire(`./scripts/test ${this.args.join(' ')}`);
+ this.args = undefined;
+ }
+
+ data = data.toString();
+
+ try {
+ const parsed = JSON.parse(data.trim()) as unknown;
+ if (parsed instanceof Array && parsed.length === 2 && typeof parsed[0] === 'string') {
+ this.mochaEventEmitter.fire(parsed as MochaEventTuple);
+ } else {
+ this.outputEventEmitter.fire(data);
+ }
+ } catch {
+ this.outputEventEmitter.fire(data);
+ }
+ };
+}
+
+type QueuedOutput = string | [string, vscode.Location | undefined, vscode.TestItem | undefined];
+
+export async function scanTestOutput(
+ tests: Map,
+ task: vscode.TestRun,
+ scanner: TestOutputScanner,
+ coverageDir: string | undefined,
+ cancellation: vscode.CancellationToken
+): Promise {
+ const exitBlockers: Set> = new Set();
+ const skippedTests = new Set(tests.values());
+ const store = new SourceMapStore();
+ let outputQueue = Promise.resolve();
+ const enqueueOutput = (fn: QueuedOutput | (() => Promise)) => {
+ exitBlockers.delete(outputQueue);
+ outputQueue = outputQueue.finally(async () => {
+ const r = typeof fn === 'function' ? await fn() : fn;
+ typeof r === 'string' ? task.appendOutput(r) : task.appendOutput(...r);
+ });
+ exitBlockers.add(outputQueue);
+ return outputQueue;
+ };
+ const enqueueExitBlocker = (prom: Promise): Promise => {
+ exitBlockers.add(prom);
+ prom.finally(() => exitBlockers.delete(prom));
+ return prom;
+ };
+
+ let perTestCoverage: PerTestCoverageTracker | undefined;
+ let lastTest: vscode.TestItem | undefined;
+ let ranAnyTest = false;
+
+ try {
+ if (cancellation.isCancellationRequested) {
+ return;
+ }
+
+ await new Promise(resolve => {
+ cancellation.onCancellationRequested(() => {
+ resolve();
+ });
+
+ let currentTest: vscode.TestItem | undefined;
+
+ scanner.onRunnerExit(err => {
+ if (err) {
+ enqueueOutput(err + crlf);
+ }
+ resolve();
+ });
+
+ scanner.onOtherOutput(str => {
+ const match = spdlogRe.exec(str);
+ if (!match) {
+ enqueueOutput(str + crlf);
+ return;
+ }
+
+ const logLocation = store.getSourceLocation(match[2], Number(match[3]) - 1);
+ const logContents = replaceAllLocations(store, match[1]);
+ const test = currentTest;
+
+ enqueueOutput(() =>
+ Promise.all([logLocation, logContents]).then(([location, contents]) => [
+ contents + crlf,
+ location,
+ test,
+ ])
+ );
+ });
+
+ scanner.onMochaEvent(evt => {
+ switch (evt[0]) {
+ case MochaEvent.Start:
+ break; // no-op
+ case MochaEvent.TestStart:
+ currentTest = tests.get(evt[1].fullTitle);
+ if (!currentTest) {
+ console.warn(`Could not find test ${evt[1].fullTitle}`);
+ return;
+ }
+ skippedTests.delete(currentTest);
+ task.started(currentTest);
+ ranAnyTest = true;
+ break;
+ case MochaEvent.Pass:
+ {
+ const title = evt[1].fullTitle;
+ const tcase = tests.get(title);
+ enqueueOutput(` ${styles.green.open}√${styles.green.close} ${title}\r\n`);
+ if (tcase) {
+ lastTest = tcase;
+ task.passed(tcase, evt[1].duration);
+ }
+ }
+ break;
+ case MochaEvent.Fail:
+ {
+ const {
+ err,
+ stack,
+ duration,
+ expected,
+ expectedJSON,
+ actual,
+ actualJSON,
+ snapshotPath,
+ fullTitle: id,
+ } = evt[1];
+ let tcase = tests.get(id);
+ // report failures on hook to the last-seen test, or first test if none run yet
+ if (!tcase && (id.includes('hook for') || id.includes('hook in'))) {
+ tcase = lastTest ?? tests.values().next().value;
+ }
+
+ enqueueOutput(`${styles.red.open} x ${id}${styles.red.close}\r\n`);
+ const rawErr = stack || err;
+ const locationsReplaced = replaceAllLocations(store, forceCRLF(rawErr));
+ if (rawErr) {
+ enqueueOutput(async () => [await locationsReplaced, undefined, tcase]);
+ }
+
+ if (!tcase) {
+ return;
+ }
+
+ const hasDiff =
+ actual !== undefined &&
+ expected !== undefined &&
+ (expected !== '[undefined]' || actual !== '[undefined]');
+ const testFirstLine =
+ tcase.range &&
+ new vscode.Location(
+ tcase.uri!,
+ new vscode.Range(
+ tcase.range.start,
+ new vscode.Position(tcase.range.start.line, 100)
+ )
+ );
+
+ enqueueExitBlocker(
+ (async () => {
+ const location = await tryDeriveStackLocation(store, rawErr, tcase!);
+ let message: vscode.TestMessage;
+
+ if (hasDiff) {
+ message = new vscode.TestMessage(tryMakeMarkdown(err));
+ message.actualOutput = outputToString(actual);
+ message.expectedOutput = outputToString(expected);
+ if (snapshotPath) {
+ message.contextValue = 'isSelfhostSnapshotMessage';
+ message.expectedOutput += snapshotComment + snapshotPath;
+ }
+
+ attachTestMessageMetadata(message, {
+ expectedValue: expectedJSON,
+ actualValue: actualJSON,
+ });
+ } else {
+ message = new vscode.TestMessage(
+ stack ? await sourcemapStack(store, stack) : await locationsReplaced
+ );
+ }
+
+ message.location = location ?? testFirstLine;
+ task.failed(tcase!, message, duration);
+ })()
+ );
+ }
+ break;
+ case MochaEvent.End:
+ // no-op, we wait until the process exits to ensure coverage is written out
+ break;
+ case MochaEvent.CoverageInit:
+ perTestCoverage ??= new PerTestCoverageTracker(store);
+ for (const result of evt[1].result) {
+ perTestCoverage.add(result);
+ }
+ break;
+ case MochaEvent.CoverageIncrement: {
+ const { fullTitle, coverage } = evt[1];
+ const tcase = tests.get(fullTitle);
+ if (tcase) {
+ perTestCoverage ??= new PerTestCoverageTracker(store);
+ for (const result of coverage.result) {
+ perTestCoverage.add(result, tcase);
+ }
+ }
+ break;
+ }
+ }
+ });
+ });
+
+ if (perTestCoverage) {
+ enqueueExitBlocker(perTestCoverage.report(task));
+ }
+
+ await Promise.all([...exitBlockers]);
+
+ if (coverageDir) {
+ try {
+ await istanbulCoverageContext.apply(task, coverageDir, {
+ mapFileUri: uri => store.getSourceFile(uri.toString()),
+ mapLocation: (uri, position) =>
+ store.getSourceLocation(uri.toString(), position.line, position.character),
+ });
+ } catch (e) {
+ const msg = `Error loading coverage:\n\n${e}\n`;
+ task.appendOutput(msg.replace(/\n/g, crlf));
+ }
+ }
+
+ // no tests? Possible crash, show output:
+ if (!ranAnyTest) {
+ await vscode.commands.executeCommand('testing.showMostRecentOutput');
+ }
+ } catch (e) {
+ task.appendOutput((e as Error).stack || (e as Error).message);
+ } finally {
+ scanner.dispose();
+ for (const test of skippedTests) {
+ task.skipped(test);
+ }
+ task.end();
+ }
+}
+
+const spdlogRe = /"(.+)", source: (file:\/\/\/.*?)+ \(([0-9]+)\)/;
+const crlf = '\r\n';
+
+const forceCRLF = (str: string) => str.replace(/(? {
+ locationRe.lastIndex = 0;
+
+ const replacements = await Promise.all(
+ [...str.matchAll(locationRe)].map(async match => {
+ const location = await deriveSourceLocation(store, match);
+ if (!location) {
+ return;
+ }
+ return {
+ from: match[0],
+ to: location?.uri.with({
+ fragment: `L${location.range.start.line + 1}:${location.range.start.character + 1}`,
+ }),
+ };
+ })
+ );
+
+ for (const replacement of replacements) {
+ if (replacement) {
+ str = str.replace(replacement.from, replacement.to.toString(true));
+ }
+ }
+
+ return str;
+};
+
+const outputToString = (output: unknown) =>
+ typeof output === 'object' ? JSON.stringify(output, null, 2) : String(output);
+
+const tryMakeMarkdown = (message: string) => {
+ const lines = message.split('\n');
+ const start = lines.findIndex(l => l.includes('+ actual'));
+ if (start === -1) {
+ return message;
+ }
+
+ lines.splice(start, 1, '```diff');
+ lines.push('```');
+ return new vscode.MarkdownString(lines.join('\n'));
+};
+
+const inlineSourcemapRe = /^\/\/# sourceMappingURL=data:application\/json;base64,(.+)/m;
+const sourceMapBiases = [GREATEST_LOWER_BOUND, LEAST_UPPER_BOUND] as const;
+
+export type SourceLocationMapper = (line: number, col: number) => vscode.Location | undefined;
+
+export class SourceMapStore {
+ private readonly cache = new Map* file uri */ string, Promise>();
+
+ async getSourceLocationMapper(fileUri: string) {
+ const sourceMap = await this.loadSourceMap(fileUri);
+ return (line: number, col: number) => {
+ if (!sourceMap) {
+ return undefined;
+ }
+
+ let smLine = line + 1;
+
+ // if the range is after the end of mappings, adjust it to the last mapped line
+ const decoded = decodedMappings(sourceMap);
+ if (decoded.length <= line) {
+ smLine = decoded.length; // base 1, no -1 needed
+ col = Number.MAX_SAFE_INTEGER;
+ }
+
+ for (const bias of sourceMapBiases) {
+ const position = originalPositionFor(sourceMap, { column: col, line: smLine, bias });
+ if (position.line !== null && position.column !== null && position.source !== null) {
+ return new vscode.Location(
+ this.completeSourceMapUrl(sourceMap, position.source),
+ new vscode.Position(position.line - 1, position.column)
+ );
+ }
+ }
+
+ return undefined;
+ };
+ }
+
+ /** Gets an original location from a base 0 line and column */
+ async getSourceLocation(fileUri: string, line: number, col = 0) {
+ return this.getSourceLocationMapper(fileUri).then(m => m(line, col));
+ }
+
+ async getSourceFile(compiledUri: string) {
+ const sourceMap = await this.loadSourceMap(compiledUri);
+ if (!sourceMap) {
+ return undefined;
+ }
+
+ if (sourceMap.sources[0]) {
+ return this.completeSourceMapUrl(sourceMap, sourceMap.sources[0]);
+ }
+
+ for (const bias of sourceMapBiases) {
+ const position = originalPositionFor(sourceMap, { column: 0, line: 1, bias });
+ if (position.source !== null) {
+ return this.completeSourceMapUrl(sourceMap, position.source);
+ }
+ }
+
+ return undefined;
+ }
+
+ private completeSourceMapUrl(sm: TraceMap, source: string) {
+ if (sm.sourceRoot) {
+ try {
+ return vscode.Uri.parse(new URL(source, sm.sourceRoot).toString());
+ } catch {
+ // ignored
+ }
+ }
+
+ return vscode.Uri.parse(source);
+ }
+
+ private loadSourceMap(fileUri: string) {
+ const existing = this.cache.get(fileUri);
+ if (existing) {
+ return existing;
+ }
+
+ const promise = (async () => {
+ try {
+ const contents = await getContentFromFilesystem(vscode.Uri.parse(fileUri));
+ const sourcemapMatch = inlineSourcemapRe.exec(contents);
+ if (!sourcemapMatch) {
+ return;
+ }
+
+ const decoded = Buffer.from(sourcemapMatch[1], 'base64').toString();
+ return new TraceMap(decoded, fileUri);
+ } catch (e) {
+ console.warn(`Error parsing sourcemap for ${fileUri}: ${(e as Error).stack}`);
+ return;
+ }
+ })();
+
+ this.cache.set(fileUri, promise);
+ return promise;
+ }
+}
+
+const locationRe = /(file:\/{3}.+):([0-9]+):([0-9]+)/g;
+
+async function replaceAllLocations(store: SourceMapStore, str: string) {
+ const output: (string | Promise)[] = [];
+ let lastIndex = 0;
+
+ for (const match of str.matchAll(locationRe)) {
+ const locationPromise = deriveSourceLocation(store, match);
+ const startIndex = match.index || 0;
+ const endIndex = startIndex + match[0].length;
+
+ if (startIndex > lastIndex) {
+ output.push(str.substring(lastIndex, startIndex));
+ }
+
+ output.push(
+ locationPromise.then(location =>
+ location
+ ? `${location.uri}:${location.range.start.line + 1}:${location.range.start.character + 1}`
+ : match[0]
+ )
+ );
+
+ lastIndex = endIndex;
+ }
+
+ // Preserve the remaining string after the last match
+ if (lastIndex < str.length) {
+ output.push(str.substring(lastIndex));
+ }
+
+ const values = await Promise.all(output);
+ return values.join('');
+}
+
+async function tryDeriveStackLocation(
+ store: SourceMapStore,
+ stack: string,
+ tcase: vscode.TestItem
+) {
+ locationRe.lastIndex = 0;
+
+ return new Promise(resolve => {
+ const matches = [...stack.matchAll(locationRe)];
+ let todo = matches.length;
+ if (todo === 0) {
+ return resolve(undefined);
+ }
+
+ let best: undefined | { location: vscode.Location; i: number; score: number };
+ for (const [i, match] of matches.entries()) {
+ deriveSourceLocation(store, match)
+ .catch(() => undefined)
+ .then(location => {
+ if (location) {
+ let score = 0;
+ if (tcase.uri && tcase.uri.toString() === location.uri.toString()) {
+ score = 1;
+ if (tcase.range && tcase.range.contains(location?.range)) {
+ score = 2;
+ }
+ }
+ if (!best || score > best.score || (score === best.score && i < best.i)) {
+ best = { location, i, score };
+ }
+ }
+
+ if (!--todo) {
+ resolve(best?.location);
+ }
+ });
+ }
+ });
+}
+
+async function deriveSourceLocation(store: SourceMapStore, parts: RegExpMatchArray) {
+ const [, fileUri, line, col] = parts;
+ return store.getSourceLocation(fileUri, Number(line) - 1, Number(col));
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testTree.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testTree.ts
new file mode 100644
index 00000000..7a54c5c0
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/testTree.ts
@@ -0,0 +1,176 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { join, relative } from 'path';
+import * as ts from 'typescript';
+import { TextDecoder } from 'util';
+import * as vscode from 'vscode';
+import { Action, extractTestFromNode } from './sourceUtils';
+
+const textDecoder = new TextDecoder('utf-8');
+const diagnosticCollection = vscode.languages.createDiagnosticCollection('selfhostTestProvider');
+
+type ContentGetter = (uri: vscode.Uri) => Promise;
+
+export const itemData = new WeakMap();
+
+export const clearFileDiagnostics = (uri: vscode.Uri) => diagnosticCollection.delete(uri);
+
+/**
+ * Tries to guess which workspace folder VS Code is in.
+ */
+export const guessWorkspaceFolder = async () => {
+ if (!vscode.workspace.workspaceFolders) {
+ return undefined;
+ }
+
+ if (vscode.workspace.workspaceFolders.length < 2) {
+ return vscode.workspace.workspaceFolders[0];
+ }
+
+ for (const folder of vscode.workspace.workspaceFolders) {
+ try {
+ await vscode.workspace.fs.stat(vscode.Uri.joinPath(folder.uri, 'src/vs/loader.js'));
+ return folder;
+ } catch {
+ // ignored
+ }
+ }
+
+ return undefined;
+};
+
+export const getContentFromFilesystem: ContentGetter = async uri => {
+ try {
+ const rawContent = await vscode.workspace.fs.readFile(uri);
+ return textDecoder.decode(rawContent);
+ } catch (e) {
+ console.warn(`Error providing tests for ${uri.fsPath}`, e);
+ return '';
+ }
+};
+
+export class TestFile {
+ public hasBeenRead = false;
+
+ constructor(
+ public readonly uri: vscode.Uri,
+ public readonly workspaceFolder: vscode.WorkspaceFolder
+ ) {}
+
+ public getId() {
+ return this.uri.toString().toLowerCase();
+ }
+
+ public getLabel() {
+ return relative(join(this.workspaceFolder.uri.fsPath, 'src'), this.uri.fsPath);
+ }
+
+ public async updateFromDisk(controller: vscode.TestController, item: vscode.TestItem) {
+ try {
+ const content = await getContentFromFilesystem(item.uri!);
+ item.error = undefined;
+ this.updateFromContents(controller, content, item);
+ } catch (e) {
+ item.error = (e as Error).stack;
+ }
+ }
+
+ /**
+ * Refreshes all tests in this file, `sourceReader` provided by the root.
+ */
+ public updateFromContents(
+ controller: vscode.TestController,
+ content: string,
+ file: vscode.TestItem
+ ) {
+ try {
+ const diagnostics: vscode.Diagnostic[] = [];
+ const ast = ts.createSourceFile(
+ this.uri.path.split('/').pop()!,
+ content,
+ ts.ScriptTarget.ESNext,
+ false,
+ ts.ScriptKind.TS
+ );
+
+ const parents: { item: vscode.TestItem; children: vscode.TestItem[] }[] = [
+ { item: file, children: [] },
+ ];
+ const traverse = (node: ts.Node) => {
+ const parent = parents[parents.length - 1];
+ const childData = extractTestFromNode(ast, node, itemData.get(parent.item)!);
+ if (childData === Action.Skip) {
+ return;
+ }
+
+ if (childData === Action.Recurse) {
+ ts.forEachChild(node, traverse);
+ return;
+ }
+
+ const id = `${file.uri}/${childData.fullName}`.toLowerCase();
+
+ // Skip duplicated tests. They won't run correctly with the way
+ // mocha reports them, and will error if we try to insert them.
+ const existing = parent.children.find(c => c.id === id);
+ if (existing) {
+ const diagnostic = new vscode.Diagnostic(
+ childData.range,
+ 'Duplicate tests cannot be run individually and will not be reported correctly by the test framework. Please rename them.',
+ vscode.DiagnosticSeverity.Warning
+ );
+
+ diagnostic.relatedInformation = [
+ new vscode.DiagnosticRelatedInformation(
+ new vscode.Location(existing.uri!, existing.range!),
+ 'First declared here'
+ ),
+ ];
+
+ diagnostics.push(diagnostic);
+ return;
+ }
+
+ const item = controller.createTestItem(id, childData.name, file.uri);
+ itemData.set(item, childData);
+ item.range = childData.range;
+ parent.children.push(item);
+
+ if (childData instanceof TestSuite) {
+ parents.push({ item: item, children: [] });
+ ts.forEachChild(node, traverse);
+ item.children.replace(parents.pop()!.children);
+ }
+ };
+
+ ts.forEachChild(ast, traverse);
+ file.error = undefined;
+ file.children.replace(parents[0].children);
+ diagnosticCollection.set(this.uri, diagnostics.length ? diagnostics : undefined);
+ this.hasBeenRead = true;
+ } catch (e) {
+ file.error = String((e as Error).stack || (e as Error).message);
+ }
+ }
+}
+
+export abstract class TestConstruct {
+ public fullName: string;
+
+ constructor(
+ public readonly name: string,
+ public readonly range: vscode.Range,
+ parent?: TestConstruct
+ ) {
+ this.fullName = parent ? `${parent.fullName} ${name}` : name;
+ }
+}
+
+export class TestSuite extends TestConstruct {}
+
+export class TestCase extends TestConstruct {}
+
+export type VSCodeTest = TestFile | TestSuite | TestCase;
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.test.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.test.ts
new file mode 100644
index 00000000..c2564ca6
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.test.ts
@@ -0,0 +1,156 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import * as assert from 'assert';
+import { RangeCoverageTracker } from './v8CoverageWrangling';
+
+suite('v8CoverageWrangling', () => {
+ suite('RangeCoverageTracker', () => {
+ test('covers new range', () => {
+ const rt = new RangeCoverageTracker();
+ rt.cover(5, 10);
+ assert.deepStrictEqual([...rt], [{ start: 5, end: 10, covered: true }]);
+ });
+
+ test('non overlapping ranges', () => {
+ const rt = new RangeCoverageTracker();
+ rt.cover(5, 10);
+ rt.cover(15, 20);
+ rt.cover(12, 13);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 5, end: 10, covered: true },
+ { start: 12, end: 13, covered: true },
+ { start: 15, end: 20, covered: true },
+ ]
+ );
+ });
+
+ test('covers exact', () => {
+ const rt = new RangeCoverageTracker();
+ rt.uncovered(5, 10);
+ rt.cover(5, 10);
+ assert.deepStrictEqual([...rt], [{ start: 5, end: 10, covered: true }]);
+ });
+
+ test('overlap at start', () => {
+ const rt = new RangeCoverageTracker();
+ rt.uncovered(5, 10);
+ rt.cover(2, 7);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 2, end: 7, covered: true },
+ { start: 7, end: 10, covered: false },
+ ]
+ );
+ });
+
+ test('overlap at end', () => {
+ const rt = new RangeCoverageTracker();
+ rt.cover(5, 10);
+ rt.uncovered(2, 7);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 2, end: 5, covered: false },
+ { start: 5, end: 10, covered: true },
+ ]
+ );
+ });
+
+ test('inner contained', () => {
+ const rt = new RangeCoverageTracker();
+ rt.cover(5, 10);
+ rt.uncovered(2, 12);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 2, end: 5, covered: false },
+ { start: 5, end: 10, covered: true },
+ { start: 10, end: 12, covered: false },
+ ]
+ );
+ });
+
+ test('outer contained', () => {
+ const rt = new RangeCoverageTracker();
+ rt.uncovered(5, 10);
+ rt.cover(7, 9);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 5, end: 7, covered: false },
+ { start: 7, end: 9, covered: true },
+ { start: 9, end: 10, covered: false },
+ ]
+ );
+ });
+
+ test('boundary touching', () => {
+ const rt = new RangeCoverageTracker();
+ rt.uncovered(5, 10);
+ rt.cover(10, 15);
+ rt.uncovered(15, 20);
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 5, end: 10, covered: false },
+ { start: 10, end: 15, covered: true },
+ { start: 15, end: 20, covered: false },
+ ]
+ );
+ });
+
+ suite('initializeBlock', () => {
+ test('simple tree', () => {
+ const rt = RangeCoverageTracker.initializeBlocks([
+ {
+ functionName: 'outer',
+ isBlockCoverage: true,
+ ranges: [
+ { count: 1, startOffset: 5, endOffset: 30 },
+ { count: 1, startOffset: 8, endOffset: 10 },
+ { count: 0, startOffset: 15, endOffset: 20 },
+ ],
+ },
+ ]);
+
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 5, end: 15, covered: true },
+ { start: 15, end: 20, covered: false },
+ { start: 20, end: 30, covered: true },
+ ]
+ );
+ });
+
+ test('separate branches', () => {
+ const rt = RangeCoverageTracker.initializeBlocks([
+ {
+ functionName: 'outer',
+ isBlockCoverage: true,
+ ranges: [
+ { count: 1, startOffset: 5, endOffset: 8 },
+ { count: 1, startOffset: 10, endOffset: 12 },
+ { count: 0, startOffset: 15, endOffset: 20 },
+ ],
+ },
+ ]);
+
+ assert.deepStrictEqual(
+ [...rt],
+ [
+ { start: 5, end: 8, covered: true },
+ { start: 10, end: 12, covered: true },
+ { start: 15, end: 20, covered: false },
+ ]
+ );
+ });
+ });
+ });
+});
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.ts
new file mode 100644
index 00000000..ede63843
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/v8CoverageWrangling.ts
@@ -0,0 +1,211 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+export interface ICoverageRange {
+ start: number;
+ end: number;
+ covered: boolean;
+}
+
+export interface IV8FunctionCoverage {
+ functionName: string;
+ isBlockCoverage: boolean;
+ ranges: IV8CoverageRange[];
+}
+
+export interface IV8CoverageRange {
+ startOffset: number;
+ endOffset: number;
+ count: number;
+}
+
+/** V8 Script coverage data */
+export interface IScriptCoverage {
+ scriptId: string;
+ url: string;
+ // Script source added by the runner the first time the script is emitted.
+ source?: string;
+ functions: IV8FunctionCoverage[];
+}
+
+export class RangeCoverageTracker implements Iterable {
+ /**
+ * A noncontiguous, non-overlapping, ordered set of ranges and whether
+ * that range has been covered.
+ */
+ private ranges: readonly ICoverageRange[] = [];
+
+ /**
+ * Adds a coverage tracker initialized for a function with {@link isBlockCoverage} set to true.
+ */
+ public static initializeBlocks(fns: IV8FunctionCoverage[]) {
+ const rt = new RangeCoverageTracker();
+
+ let start = 0;
+ const stack: IV8CoverageRange[] = [];
+
+ // note: comes pre-sorted from V8
+ for (const { ranges } of fns) {
+ for (const range of ranges) {
+ while (stack.length && stack[stack.length - 1].endOffset < range.startOffset) {
+ const last = stack.pop()!;
+ rt.setCovered(start, last.endOffset, last.count > 0);
+ start = last.endOffset;
+ }
+
+ if (range.startOffset > start && stack.length) {
+ rt.setCovered(start, range.startOffset, !!stack[stack.length - 1].count);
+ }
+
+ start = range.startOffset;
+ stack.push(range);
+ }
+ }
+
+ while (stack.length) {
+ const last = stack.pop()!;
+ rt.setCovered(start, last.endOffset, last.count > 0);
+ start = last.endOffset;
+ }
+
+ return rt;
+ }
+
+ /** Makes a copy of the range tracker. */
+ public clone() {
+ const rt = new RangeCoverageTracker();
+ rt.ranges = this.ranges.slice();
+ return rt;
+ }
+
+ /** Marks a range covered */
+ public cover(start: number, end: number) {
+ this.setCovered(start, end, true);
+ }
+
+ /** Marks a range as uncovered */
+ public uncovered(start: number, end: number) {
+ this.setCovered(start, end, false);
+ }
+
+ /** Iterates over coverage ranges */
+ [Symbol.iterator]() {
+ return this.ranges[Symbol.iterator]();
+ }
+
+ /**
+ * Marks the given character range as being covered or uncovered.
+ *
+ * todo@connor4312: this is a hot path is could probably be optimized to
+ * avoid rebuilding the array. Maybe with a nice tree structure?
+ */
+ public setCovered(start: number, end: number, covered: boolean) {
+ const newRanges: ICoverageRange[] = [];
+ let i = 0;
+ for (; i < this.ranges.length && this.ranges[i].end <= start; i++) {
+ newRanges.push(this.ranges[i]);
+ }
+
+ const push = (range: ICoverageRange) => {
+ const last = newRanges.length && newRanges[newRanges.length - 1];
+ if (last && last.end === range.start && last.covered === range.covered) {
+ last.end = range.end;
+ } else {
+ newRanges.push(range);
+ }
+ };
+
+ push({ start, end, covered });
+
+ for (; i < this.ranges.length; i++) {
+ const range = this.ranges[i];
+ const last = newRanges[newRanges.length - 1];
+
+ if (range.start === last.start && range.end === last.end) {
+ // ranges are equal:
+ last.covered ||= range.covered;
+ } else if (range.end < last.start || range.start > last.end) {
+ // ranges don't overlap
+ push(range);
+ } else if (range.start < last.start && range.end > last.end) {
+ // range contains last:
+ newRanges.pop();
+ push({ start: range.start, end: last.start, covered: range.covered });
+ push({ start: last.start, end: last.end, covered: range.covered || last.covered });
+ push({ start: last.end, end: range.end, covered: range.covered });
+ } else if (range.start >= last.start && range.end <= last.end) {
+ // last contains range:
+ newRanges.pop();
+ push({ start: last.start, end: range.start, covered: last.covered });
+ push({ start: range.start, end: range.end, covered: range.covered || last.covered });
+ push({ start: range.end, end: last.end, covered: last.covered });
+ } else if (range.start < last.start && range.end <= last.end) {
+ // range overlaps start of last:
+ newRanges.pop();
+ push({ start: range.start, end: last.start, covered: range.covered });
+ push({ start: last.start, end: range.end, covered: range.covered || last.covered });
+ push({ start: range.end, end: last.end, covered: last.covered });
+ } else if (range.start >= last.start && range.end > last.end) {
+ // range overlaps end of last:
+ newRanges.pop();
+ push({ start: last.start, end: range.start, covered: last.covered });
+ push({ start: range.start, end: last.end, covered: range.covered || last.covered });
+ push({ start: last.end, end: range.end, covered: range.covered });
+ } else {
+ throw new Error('unreachable');
+ }
+ }
+
+ this.ranges = newRanges;
+ }
+}
+
+export class OffsetToPosition {
+ /** Line numbers to byte offsets. */
+ public readonly lines: number[] = [];
+
+ public readonly totalLength: number;
+
+ constructor(source: string) {
+ this.lines.push(0);
+ for (let i = source.indexOf('\n'); i !== -1; i = source.indexOf('\n', i + 1)) {
+ this.lines.push(i + 1);
+ }
+ this.totalLength = source.length;
+ }
+
+ public getLineLength(lineNumber: number): number {
+ return (
+ (lineNumber < this.lines.length - 1 ? this.lines[lineNumber + 1] - 1 : this.totalLength) -
+ this.lines[lineNumber]
+ );
+ }
+
+ /**
+ * Gets the line the offset appears on.
+ */
+ public getLineOfOffset(offset: number): number {
+ let low = 0;
+ let high = this.lines.length;
+ while (low < high) {
+ const mid = Math.floor((low + high) / 2);
+ if (this.lines[mid] > offset) {
+ high = mid;
+ } else {
+ low = mid + 1;
+ }
+ }
+
+ return low - 1;
+ }
+
+ /**
+ * Converts from a file offset to a base 0 line/column .
+ */
+ public toLineColumn(offset: number): { line: number; column: number } {
+ const line = this.getLineOfOffset(offset);
+ return { line: line, column: offset - this.lines[line] };
+ }
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/vscodeTestRunner.ts b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/vscodeTestRunner.ts
new file mode 100644
index 00000000..8a76cefe
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/src/vscodeTestRunner.ts
@@ -0,0 +1,329 @@
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+import { spawn } from 'child_process';
+import { promises as fs } from 'fs';
+import { AddressInfo, createServer } from 'net';
+import * as path from 'path';
+import * as vscode from 'vscode';
+import { TestOutputScanner } from './testOutputScanner';
+import { TestCase, TestFile, TestSuite, itemData } from './testTree';
+
+/**
+ * From MDN
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping
+ */
+const escapeRe = (s: string) => s.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&');
+
+const TEST_ELECTRON_SCRIPT_PATH = 'test/unit/electron/index.js';
+const TEST_BROWSER_SCRIPT_PATH = 'test/unit/browser/index.js';
+
+const ATTACH_CONFIG_NAME = 'Attach to VS Code';
+const DEBUG_TYPE = 'pwa-chrome';
+
+export abstract class VSCodeTestRunner {
+ constructor(protected readonly repoLocation: vscode.WorkspaceFolder) { }
+
+ public async run(baseArgs: ReadonlyArray, filter?: ReadonlyArray) {
+ const args = this.prepareArguments(baseArgs, filter);
+ const cp = spawn(await this.binaryPath(), args, {
+ cwd: this.repoLocation.uri.fsPath,
+ stdio: 'pipe',
+ env: this.getEnvironment(),
+ });
+
+ return new TestOutputScanner(cp, args);
+ }
+
+ public async debug(baseArgs: ReadonlyArray, filter?: ReadonlyArray) {
+ const port = await this.findOpenPort();
+ const baseConfiguration = vscode.workspace
+ .getConfiguration('launch', this.repoLocation)
+ .get('configurations', [])
+ .find(c => c.name === ATTACH_CONFIG_NAME);
+
+ if (!baseConfiguration) {
+ throw new Error(`Could not find launch configuration ${ATTACH_CONFIG_NAME}`);
+ }
+
+ const server = this.createWaitServer();
+ const args = [
+ ...this.prepareArguments(baseArgs, filter),
+ `--remote-debugging-port=${port}`,
+ // for breakpoint freeze: https://github.com/microsoft/vscode/issues/122225#issuecomment-885377304
+ '--js-flags="--regexp_interpret_all"',
+ // for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
+ '--disable-features=CalculateNativeWinOcclusion',
+ '--timeout=0',
+ `--waitServer=${server.port}`,
+ ];
+
+ const cp = spawn(await this.binaryPath(), args, {
+ cwd: this.repoLocation.uri.fsPath,
+ stdio: 'pipe',
+ env: this.getEnvironment(),
+ });
+
+ // Register a descriptor factory that signals the server when any
+ // breakpoint set requests on the debugee have been completed.
+ const factory = vscode.debug.registerDebugAdapterTrackerFactory(DEBUG_TYPE, {
+ createDebugAdapterTracker(session) {
+ if (!session.parentSession || session.parentSession !== rootSession) {
+ return;
+ }
+
+ let initRequestId: number | undefined;
+
+ return {
+ onDidSendMessage(message) {
+ if (message.type === 'response' && message.request_seq === initRequestId) {
+ server.ready();
+ }
+ },
+ onWillReceiveMessage(message) {
+ if (initRequestId !== undefined) {
+ return;
+ }
+
+ if (message.command === 'launch' || message.command === 'attach') {
+ initRequestId = message.seq;
+ }
+ },
+ };
+ },
+ });
+
+ vscode.debug.startDebugging(this.repoLocation, { ...baseConfiguration, port });
+
+ let exited = false;
+ let rootSession: vscode.DebugSession | undefined;
+ cp.once('exit', () => {
+ exited = true;
+ server.dispose();
+ listener.dispose();
+ factory.dispose();
+
+ if (rootSession) {
+ vscode.debug.stopDebugging(rootSession);
+ }
+ });
+
+ const listener = vscode.debug.onDidStartDebugSession(s => {
+ if (s.name === ATTACH_CONFIG_NAME && !rootSession) {
+ if (exited) {
+ vscode.debug.stopDebugging(rootSession);
+ } else {
+ rootSession = s;
+ }
+ }
+ });
+
+ return new TestOutputScanner(cp, args);
+ }
+
+ private findOpenPort(): Promise {
+ return new Promise((resolve, reject) => {
+ const server = createServer();
+ server.listen(0, () => {
+ const address = server.address() as AddressInfo;
+ const port = address.port;
+ server.close(() => {
+ resolve(port);
+ });
+ });
+ server.on('error', (error: Error) => {
+ reject(error);
+ });
+ });
+ }
+
+ protected getEnvironment(): NodeJS.ProcessEnv {
+ return {
+ ...process.env,
+ ELECTRON_RUN_AS_NODE: undefined,
+ ELECTRON_ENABLE_LOGGING: '1',
+ };
+ }
+
+ private prepareArguments(
+ baseArgs: ReadonlyArray,
+ filter?: ReadonlyArray
+ ) {
+ const args = [...this.getDefaultArgs(), ...baseArgs, '--reporter', 'full-json-stream'];
+ if (!filter) {
+ return args;
+ }
+
+ const grepRe: string[] = [];
+ const runPaths = new Set();
+ const addTestFileRunPath = (data: TestFile) =>
+ runPaths.add(
+ path.relative(data.workspaceFolder.uri.fsPath, data.uri.fsPath).replace(/\\/g, '/')
+ );
+
+ const itemDatas = filter.map(f => itemData.get(f));
+ /** If true, we have to be careful with greps, as a grep for one test file affects the run of the other test file. */
+ const hasBothTestCaseOrTestSuiteAndTestFileFilters =
+ itemDatas.some(d => (d instanceof TestCase) || (d instanceof TestSuite)) &&
+ itemDatas.some(d => d instanceof TestFile);
+
+ function addTestCaseOrSuite(data: TestCase | TestSuite, test: vscode.TestItem): void {
+ grepRe.push(escapeRe(data.fullName) + (data instanceof TestCase ? '$' : ' '));
+ for (let p = test.parent; p; p = p.parent) {
+ const parentData = itemData.get(p);
+ if (parentData instanceof TestFile) {
+ addTestFileRunPath(parentData);
+ }
+ }
+ }
+
+ for (const test of filter) {
+ const data = itemData.get(test);
+ if (data instanceof TestCase || data instanceof TestSuite) {
+ addTestCaseOrSuite(data, test);
+ } else if (data instanceof TestFile) {
+ if (!hasBothTestCaseOrTestSuiteAndTestFileFilters) {
+ addTestFileRunPath(data);
+ } else {
+ // We add all the items individually so they get their own grep expressions.
+ for (const [_id, nestedTest] of test.children) {
+ const childData = itemData.get(nestedTest);
+ if (childData instanceof TestCase || childData instanceof TestSuite) {
+ addTestCaseOrSuite(childData, nestedTest);
+ } else {
+ console.error('Unexpected test item in test file', nestedTest.id, nestedTest.label);
+ }
+ }
+ }
+ }
+ }
+
+ if (grepRe.length) {
+ args.push('--grep', `/^(${grepRe.join('|')})/`);
+ }
+
+ if (runPaths.size) {
+ args.push(...[...runPaths].flatMap(p => ['--run', p]));
+ }
+
+ return args;
+ }
+
+ protected abstract getDefaultArgs(): string[];
+
+ protected abstract binaryPath(): Promise;
+
+ protected async readProductJson() {
+ const projectJson = await fs.readFile(
+ path.join(this.repoLocation.uri.fsPath, 'product.json'),
+ 'utf-8'
+ );
+ try {
+ return JSON.parse(projectJson);
+ } catch (e) {
+ throw new Error(`Error parsing product.json: ${(e as Error).message}`);
+ }
+ }
+
+ private createWaitServer() {
+ const onReady = new vscode.EventEmitter();
+ let ready = false;
+
+ const server = createServer(socket => {
+ if (ready) {
+ socket.end();
+ } else {
+ onReady.event(() => socket.end());
+ }
+ });
+
+ server.listen(0);
+
+ return {
+ port: (server.address() as AddressInfo).port,
+ ready: () => {
+ ready = true;
+ onReady.fire();
+ },
+ dispose: () => {
+ server.close();
+ },
+ };
+ }
+}
+
+export class BrowserTestRunner extends VSCodeTestRunner {
+ /** @override */
+ protected binaryPath(): Promise {
+ return Promise.resolve(process.execPath);
+ }
+
+ /** @override */
+ protected override getEnvironment() {
+ return {
+ ...super.getEnvironment(),
+ ELECTRON_RUN_AS_NODE: '1',
+ };
+ }
+
+ /** @override */
+ protected getDefaultArgs() {
+ return [TEST_BROWSER_SCRIPT_PATH];
+ }
+}
+
+export class WindowsTestRunner extends VSCodeTestRunner {
+ /** @override */
+ protected async binaryPath() {
+ const { nameShort } = await this.readProductJson();
+ return path.join(this.repoLocation.uri.fsPath, `.build/electron/${nameShort}.exe`);
+ }
+
+ /** @override */
+ protected getDefaultArgs() {
+ return [TEST_ELECTRON_SCRIPT_PATH];
+ }
+}
+
+export class PosixTestRunner extends VSCodeTestRunner {
+ /** @override */
+ protected async binaryPath() {
+ const { applicationName } = await this.readProductJson();
+ return path.join(this.repoLocation.uri.fsPath, `.build/electron/${applicationName}`);
+ }
+
+ /** @override */
+ protected getDefaultArgs() {
+ return [TEST_ELECTRON_SCRIPT_PATH];
+ }
+}
+
+export class DarwinTestRunner extends PosixTestRunner {
+ /** @override */
+ protected override getDefaultArgs() {
+ return [
+ TEST_ELECTRON_SCRIPT_PATH,
+ '--no-sandbox',
+ '--disable-dev-shm-usage',
+ '--use-gl=swiftshader',
+ ];
+ }
+
+ /** @override */
+ protected override async binaryPath() {
+ const { nameLong } = await this.readProductJson();
+ return path.join(
+ this.repoLocation.uri.fsPath,
+ `.build/electron/${nameLong}.app/Contents/MacOS/Electron`
+ );
+ }
+}
+
+export const PlatformTestRunner =
+ process.platform === 'win32'
+ ? WindowsTestRunner
+ : process.platform === 'darwin'
+ ? DarwinTestRunner
+ : PosixTestRunner;
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/tsconfig.json b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/tsconfig.json
new file mode 100644
index 00000000..0183a2ff
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/tsconfig.json
@@ -0,0 +1,16 @@
+{
+ "extends": "../../../extensions/tsconfig.base.json",
+ "compilerOptions": {
+ "outDir": "./out",
+ "types": [
+ "node",
+ "mocha",
+ ]
+ },
+ "include": [
+ "src/**/*",
+ "../../../src/vscode-dts/vscode.d.ts",
+ "../../../src/vscode-dts/vscode.proposed.testObserver.d.ts",
+ "../../../src/vscode-dts/vscode.proposed.attributableCoverage.d.ts",
+ ]
+}
diff --git a/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/yarn.lock b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/yarn.lock
new file mode 100644
index 00000000..50478f52
--- /dev/null
+++ b/patched-vscode/.vscode/extensions/vscode-selfhost-test-provider/yarn.lock
@@ -0,0 +1,55 @@
+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
+# yarn lockfile v1
+
+
+"@jridgewell/resolve-uri@^3.1.0":
+ version "3.1.2"
+ resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6"
+ integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==
+
+"@jridgewell/sourcemap-codec@^1.4.14":
+ version "1.4.15"
+ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
+ integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
+
+"@jridgewell/trace-mapping@^0.3.25":
+ version "0.3.25"
+ resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0"
+ integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==
+ dependencies:
+ "@jridgewell/resolve-uri" "^3.1.0"
+ "@jridgewell/sourcemap-codec" "^1.4.14"
+
+"@types/istanbul-lib-coverage@^2.0.6":
+ version "2.0.6"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7"
+ integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==
+
+"@types/mocha@^10.0.6":
+ version "10.0.6"
+ resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.6.tgz#818551d39113081048bdddbef96701b4e8bb9d1b"
+ integrity sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==
+
+"@types/node@20.x":
+ version "20.12.11"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.11.tgz#c4ef00d3507000d17690643278a60dc55a9dc9be"
+ integrity sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==
+ dependencies:
+ undici-types "~5.26.4"
+
+ansi-styles@^5.2.0:
+ version "5.2.0"
+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b"
+ integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==
+
+istanbul-to-vscode@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/istanbul-to-vscode/-/istanbul-to-vscode-2.0.1.tgz#84994d06e604b68cac7301840f338b1e74eb888b"
+ integrity sha512-V9Hhr7kX3UvkvkaT1lK3AmCRPkaIAIogQBrduTpNiLTkp1eVsybnJhWiDSVeCQap/3aGeZ2019oIivhX9MNsCQ==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.6"
+
+undici-types@~5.26.4:
+ version "5.26.5"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
+ integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
diff --git a/patched-vscode/.vscode/notebooks/api.github-issues b/patched-vscode/.vscode/notebooks/api.github-issues
index 3c234735..2ac7d699 100644
--- a/patched-vscode/.vscode/notebooks/api.github-issues
+++ b/patched-vscode/.vscode/notebooks/api.github-issues
@@ -7,7 +7,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repo=repo:microsoft/vscode\n$milestone=milestone:\"September 2023\""
+ "value": "$REPO=repo:microsoft/vscode\n$MILESTONE=milestone:\"May 2024\""
},
{
"kind": 1,
@@ -17,7 +17,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repo $milestone label:api-finalization"
+ "value": "$REPO $MILESTONE label:api-finalization"
},
{
"kind": 1,
@@ -27,6 +27,6 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repo $milestone is:open label:api-proposal sort:created-asc"
+ "value": "$REPO $MILESTONE is:open label:api-proposal sort:created-asc"
}
]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/endgame.github-issues b/patched-vscode/.vscode/notebooks/endgame.github-issues
index 254d74b1..d7836922 100644
--- a/patched-vscode/.vscode/notebooks/endgame.github-issues
+++ b/patched-vscode/.vscode/notebooks/endgame.github-issues
@@ -7,7 +7,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-livepreview repo:microsoft/vscode-livepreview repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels\r\n\r\n$MILESTONE=milestone:\"September 2023\""
+ "value": "$REPOS=repo:microsoft/lsprotocol repo:microsoft/monaco-editor repo:microsoft/vscode repo:microsoft/vscode-anycode repo:microsoft/vscode-autopep8 repo:microsoft/vscode-black-formatter repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-dev repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-flake8 repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-hexeditor repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-isort repo:microsoft/vscode-js-debug repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-l10n repo:microsoft/vscode-livepreview repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-mypy repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-pylint repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-python-tools-extension-template repo:microsoft/vscode-references-view repo:microsoft/vscode-remote-release repo:microsoft/vscode-remote-repositories-github repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-unpkg repo:microsoft/vscode-vsce\n\n$MILESTONE=milestone:\"May 2024\""
},
{
"kind": 1,
@@ -42,7 +42,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS -$MILESTONE is:issue is:closed reason:completed label:feature-request label:insiders-released -label:on-testplan -label:verified -label:*duplicate"
+ "value": "$REPOS -$MILESTONE is:issue is:closed reason:completed label:feature-request label:insiders-released -label:on-testplan -label:verified -label:*duplicate -label:error-telemetry"
},
{
"kind": 1,
@@ -112,7 +112,17 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:z-author-verified -label:unreleased"
+ "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:z-author-verified -label:unreleased -label:*not-reproducible"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "## Verifiable Fixes Missing Steps"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug label:verification-steps-needed -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:z-author-verified -label:unreleased -label:*not-reproducible"
},
{
"kind": 1,
@@ -122,7 +132,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:z-author-verified label:unreleased"
+ "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:z-author-verified label:unreleased -label:*not-reproducible"
},
{
"kind": 1,
@@ -132,7 +142,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:z-author-verified "
+ "value": "$REPOS $MILESTONE is:issue is:closed reason:completed sort:updated-asc label:bug -label:verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:z-author-verified -label:*not-reproducible"
},
{
"kind": 1,
@@ -142,6 +152,6 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE is:open label:candidate"
+ "value": "$REPOS $MILESTONE is:issue is:open label:candidate"
}
]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/grooming.github-issues b/patched-vscode/.vscode/notebooks/grooming.github-issues
new file mode 100644
index 00000000..8bb9a246
--- /dev/null
+++ b/patched-vscode/.vscode/notebooks/grooming.github-issues
@@ -0,0 +1,52 @@
+[
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "#### Config"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "// list of repos we work in\r\n$repos=repo:microsoft/lsprotocol repo:microsoft/monaco-editor repo:microsoft/vscode repo:microsoft/vscode-anycode repo:microsoft/vscode-autopep8 repo:microsoft/vscode-black-formatter repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-dev repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-flake8 repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-hexeditor repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-isort repo:microsoft/vscode-js-debug repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-l10n repo:microsoft/vscode-livepreview repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-mypy repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-pylint repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-python-tools-extension-template repo:microsoft/vscode-references-view repo:microsoft/vscode-remote-release repo:microsoft/vscode-remote-repositories-github repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-unpkg repo:microsoft/vscode-vsce\r"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "#### Missing Type label\r"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "$repos assignee:@me is:open type:issue -label:bug -label:\"info-needed\" -label:feature-request -label:under-discussion -label:debt -label:plan-item -label:upstream -label:polish -label:testplan-item -label:error-telemetry -label:engineering -label:endgame-plan\r"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "#### Missing Area Label\r\n\r\nFeature area labels are light or strong blue (`1d76db` or `c5def5`) and they denote a specific feature or feature area, like `editor-clipboard` or `file-explorer`\r"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "repo:microsoft/vscode assignee:@me is:open type:issue -label:\"info-needed\" -label:api -label:api-finalization -label:api-proposal -label:authentication -label:bisect-ext -label:bracket-pair-colorization -label:bracket-pair-guides -label:breadcrumbs -label:callhierarchy -label:chrome-devtools -label:cloud-changes -label:code-lens -label:command-center -label:comments -label:config -label:containers -label:context-keys -label:continue-working-on -label:css-less-scss -label:custom-editors -label:debug -label:debug-disassembly -label:dialogs -label:diff-editor -label:dropdown -label:editor-api -label:editor-autoclosing -label:editor-autoindent -label:editor-bracket-matching -label:editor-clipboard -label:editor-code-actions -label:editor-color-picker -label:editor-columnselect -label:editor-commands -label:editor-comments -label:editor-contrib -label:editor-core -label:editor-drag-and-drop -label:editor-error-widget -label:editor-find -label:editor-folding -label:editor-highlight -label:editor-hover -label:editor-indent-detection -label:editor-indent-guides -label:editor-input -label:editor-input-IME -label:editor-insets -label:editor-minimap -label:editor-multicursor -label:editor-parameter-hints -label:editor-render-whitespace -label:editor-rendering -label:editor-widgets -label:editor-RTL -label:editor-scrollbar -label:editor-sorting -label:editor-sticky-scroll -label:editor-symbols -label:editor-synced-region -label:editor-textbuffer -label:editor-theming -label:editor-wordnav -label:editor-wrapping -label:emmet -label:emmet-parse -label:error-list -label:extension-activation -label:extension-host -label:extension-prerelease -label:extension-recommendations -label:extensions -label:extensions-development -label:file-decorations -label:file-encoding -label:file-explorer -label:file-glob -label:file-io -label:file-nesting -label:file-watcher -label:font-rendering -label:formatting -label:getting-started -label:ghost-text -label:git -label:github -label:github-repositories -label:gpu -label:grammar -label:grid-widget -label:html -label:icon-brand -label:icons-product -label:image-preview -label:inlay-hints -label:inline-completions -label:install-update -label:intellisense-config -label:interactive-playground -label:interactive-window -label:issue-bot -label:issue-reporter -label:javascript -label:json -label:keybindings -label:keybindings-editor -label:keyboard-layout -label:L10N -label:l10n-platform -label:label-provider -label:languages-basic -label:languages-diagnostics -label:languages-guessing -label:layout -label:lcd-text-rendering -label:list-widget -label:live-preview -label:log -label:markdown -label:marketplace -label:menus -label:merge-conflict -label:merge-editor -label:merge-editor-workbench -label:monaco-editor -label:native-file-dialog -label:network -label:notebook -label:notebook-accessibility -label:notebook-api -label:notebook-builtin-renderers -label:notebook-cell-editor -label:notebook-celltoolbar -label:notebook-clipboard -label:notebook-commands -label:notebook-commenting -label:notebook-debugging -label:notebook-diff -label:notebook-dnd -label:notebook-execution -label:notebook-find -label:notebook-folding -label:notebook-getting-started -label:notebook-globaltoolbar -label:notebook-ipynb -label:notebook-kernel -label:notebook-kernel-picker -label:notebook-language -label:notebook-layout -label:notebook-markdown -label:notebook-math -label:notebook-minimap -label:notebook-multiselect -label:notebook-output -label:notebook-perf -label:notebook-remote -label:notebook-rendering -label:notebook-serialization -label:notebook-serverless-web -label:notebook-statusbar -label:notebook-toc-outline -label:notebook-undo-redo -label:notebook-variables -label:notebook-workbench-integration -label:notebook-workflow -label:notebook-sticky-scroll -label:notebook-format -label:notebook-code-actions -label:open-editors -label:opener -label:outline -label:output -label:packaging -label:perf -label:perf-bloat -label:perf-startup -label:php -label:portable-mode -label:proxy -label:quick-open -label:quick-pick -label:references-viewlet -label:release-notes -label:remote -label:remote-connection -label:remote-explorer -label:remote-tunnel -label:rename -label:runCommands -label:sandbox -label:sash-widget -label:scm -label:screencast-mode -label:search -label:search-api -label:search-editor -label:search-replace -label:semantic-tokens -label:server -label:settings-editor -label:settings-sync -label:settings-sync-server -label:shared-process -label:simple-file-dialog -label:smart-select -label:snap -label:snippets -label:splitview-widget -label:ssh -label:suggest -label:table-widget -label:tasks -label:telemetry -label:terminal -label:terminal-accessibility -label:terminal-conpty -label:terminal-editors -label:terminal-external -label:terminal-find -label:terminal-input -label:terminal-layout -label:terminal-links -label:terminal-local-echo -label:terminal-persistence -label:terminal-process -label:terminal-profiles -label:terminal-quick-fix -label:terminal-rendering -label:terminal-shell-bash -label:terminal-shell-cmd -label:terminal-shell-fish -label:terminal-shell-git-bash -label:terminal-shell-integration -label:terminal-shell-pwsh -label:terminal-shell-zsh -label:terminal-sticky-scroll -label:terminal-tabs -label:testing -label:themes -label:timeline -label:timeline-git -label:timeline-local-history -label:titlebar -label:tokenization -label:touch/pointer -label:trackpad/scroll -label:tree-views -label:tree-widget -label:typescript -label:undo-redo -label:unicode-highlight -label:uri -label:user-profiles -label:ux -label:variable-resolving -label:VIM -label:virtual-workspaces -label:vscode-website -label:vscode.dev -label:web -label:webview -label:webview-views -label:workbench-actions -label:workbench-banner -label:workbench-cli -label:workbench-diagnostics -label:workbench-dnd -label:workbench-editor-grid -label:workbench-editor-groups -label:workbench-editor-resolver -label:workbench-editors -label:workbench-electron -label:workbench-fonts -label:workbench-history -label:workbench-hot-exit -label:workbench-hover -label:workbench-launch -label:workbench-link -label:workbench-multiroot -label:workbench-notifications -label:workbench-os-integration -label:workbench-rapid-render -label:workbench-run-as-admin -label:workbench-state -label:workbench-status -label:workbench-tabs -label:workbench-touchbar -label:workbench-untitled-editors -label:workbench-views -label:workbench-welcome -label:workbench-window -label:workbench-workspace -label:workbench-zen -label:workspace-edit -label:workspace-symbols -label:workspace-trust -label:zoom -label:inline-chat -label:panel-chat -label:quick-chat -label:audio-cue -label:tasks -label:error-list -label:winget -label:tree-views -label:freeze-slow-crash-leak -label:engineering"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "### Missing Milestone\r"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "$repos assignee:@me is:open type:issue no:milestone -label:info-needed -label:triage-needed\r"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "#### Not Actionable\r"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "$repos assignee:@me is:open label:\"info-needed\"\r"
+ }
+]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/my-endgame.github-issues b/patched-vscode/.vscode/notebooks/my-endgame.github-issues
index 0419c013..3bf56fff 100644
--- a/patched-vscode/.vscode/notebooks/my-endgame.github-issues
+++ b/patched-vscode/.vscode/notebooks/my-endgame.github-issues
@@ -7,7 +7,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-livepreview repo:microsoft/vscode-livepreview repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels\n\n$MILESTONE=milestone:\"September 2023\"\n\n$MINE=assignee:@me\n"
+ "value": "$REPOS=repo:microsoft/lsprotocol repo:microsoft/monaco-editor repo:microsoft/vscode repo:microsoft/vscode-anycode repo:microsoft/vscode-autopep8 repo:microsoft/vscode-black-formatter repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-dev repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-flake8 repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-hexeditor repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-isort repo:microsoft/vscode-js-debug repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-l10n repo:microsoft/vscode-livepreview repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-mypy repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-pylint repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-python-tools-extension-template repo:microsoft/vscode-references-view repo:microsoft/vscode-remote-release repo:microsoft/vscode-remote-repositories-github repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-unpkg repo:microsoft/vscode-vsce\n\n$MILESTONE=milestone:\"May 2024\"\n\n$MINE=assignee:@me"
},
{
"kind": 1,
@@ -22,7 +22,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:pr is:open\n"
+ "value": "$REPOS $MILESTONE $MINE is:pr is:open"
},
{
"kind": 1,
@@ -32,7 +32,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:open -label:iteration-plan -label:endgame-plan -label:testplan-item"
},
{
"kind": 1,
@@ -42,7 +42,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request -label:verification-needed -label:on-testplan -label:verified -label:*duplicate"
},
{
"kind": 1,
@@ -52,7 +52,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS is:issue is:open author:@me label:testplan-item\n"
+ "value": "$REPOS is:issue is:open author:@me label:testplan-item"
},
{
"kind": 1,
@@ -62,7 +62,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request label:verification-needed -label:verified\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request label:verification-needed -label:verified"
},
{
"kind": 1,
@@ -77,7 +77,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MINE is:issue is:open label:testplan-item\n"
+ "value": "$REPOS $MINE is:issue is:open label:testplan-item"
},
{
"kind": 1,
@@ -87,7 +87,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed -assignee:@me -label:verified -label:z-author-verified label:feature-request label:verification-needed -label:verification-steps-needed -label:unreleased\n"
+ "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed -assignee:@me -label:verified -label:z-author-verified label:feature-request label:verification-needed -label:verification-steps-needed -label:unreleased"
},
{
"kind": 1,
@@ -102,7 +102,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:open -label:endgame-plan -label:testplan-item -label:iteration-plan\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:open -label:endgame-plan -label:testplan-item -label:iteration-plan"
},
{
"kind": 1,
@@ -112,7 +112,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:open label:bug"
},
{
"kind": 1,
@@ -127,7 +127,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-steps-needed\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-steps-needed"
},
{
"kind": 1,
@@ -137,7 +137,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-found\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue label:bug label:verification-found"
},
{
"kind": 1,
@@ -147,7 +147,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed author:@me sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:triage-needed -label:verification-found\n"
+ "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed author:@me sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:triage-needed -label:verification-found -label:*not-reproducible"
},
{
"kind": 1,
@@ -157,7 +157,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -author:aeschli -author:alexdima -author:alexr00 -author:AmandaSilver -author:andreamah -author:bamurtaugh -author:bpasero -author:chrisdias -author:chrmarti -author:Chuxel -author:claudiaregio -author:connor4312 -author:dbaeumer -author:deepak1556 -author:devinvalenciano -author:digitarald -author:DonJayamanne -author:egamma -author:fiveisprime -author:gregvanl -author:hediet -author:isidorn -author:joaomoreno -author:joyceerhl -author:jrieken -author:karrtikr -author:kieferrm -author:lramos15 -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:rebornix -author:roblourens -author:rzhao271 -author:sandy081 -author:sbatten -author:stevencl -author:tanhakabir -author:TylerLeonhardt -author:Tyriar -author:weinand -author:amunger -author:karthiknadig -author:eleanorjboyd -author:Yoyokrazy -author:paulacamargo25 -author:ulugbekna -author:aiday-mar\n"
+ "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:*out-of-scope -label:error-telemetry -label:verification-steps-needed -label:verification-found -author:aeschli -author:alexdima -author:alexr00 -author:AmandaSilver -author:andreamah -author:bamurtaugh -author:bpasero -author:chrisdias -author:chrmarti -author:Chuxel -author:claudiaregio -author:connor4312 -author:dbaeumer -author:deepak1556 -author:devinvalenciano -author:digitarald -author:DonJayamanne -author:egamma -author:fiveisprime -author:gregvanl -author:hediet -author:isidorn -author:joaomoreno -author:joyceerhl -author:jrieken -author:kieferrm -author:lramos15 -author:lszomoru -author:meganrogge -author:misolori -author:mjbvz -author:rebornix -author:roblourens -author:rzhao271 -author:sandy081 -author:sbatten -author:stevencl -author:tanhakabir -author:TylerLeonhardt -author:Tyriar -author:weinand -author:amunger -author:karthiknadig -author:eleanorjboyd -author:Yoyokrazy -author:paulacamargo25 -author:ulugbekna -author:aiday-mar -author:daviddossett -author:bhavyaus -author:justschen -author:benibenj -author:luabud"
},
{
"kind": 1,
@@ -167,7 +167,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed -author:@me sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found\n"
+ "value": "$REPOS $MILESTONE -$MINE is:issue is:closed reason:completed -author:@me sort:updated-asc label:bug -label:unreleased -label:verified -label:z-author-verified -label:on-testplan -label:*duplicate -label:duplicate -label:invalid -label:*as-designed -label:error-telemetry -label:verification-steps-needed -label:verification-found -label:*not-reproducible -label:*out-of-scope"
},
{
"kind": 1,
@@ -177,7 +177,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE -$MINE is:issue label:bug label:verification-steps-needed -label:verified\n"
+ "value": "$REPOS $MILESTONE -$MINE is:issue label:bug label:verification-steps-needed -label:verified"
},
{
"kind": 1,
@@ -187,6 +187,6 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request -label:on-release-notes\n$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:engineering -label:on-release-notes\n$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:plan-item -label:on-release-notes\n"
+ "value": "$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:feature-request -label:on-release-notes\n$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:engineering -label:on-release-notes\n$REPOS $MILESTONE $MINE is:issue is:closed reason:completed label:plan-item -label:on-release-notes"
}
]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/my-work.github-issues b/patched-vscode/.vscode/notebooks/my-work.github-issues
index e48617f8..091c6e8a 100644
--- a/patched-vscode/.vscode/notebooks/my-work.github-issues
+++ b/patched-vscode/.vscode/notebooks/my-work.github-issues
@@ -7,7 +7,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-python repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release\n\n// current milestone name\n$milestone=milestone:\"September 2023\""
+ "value": "// list of repos we work in\n$REPOS=repo:microsoft/lsprotocol repo:microsoft/monaco-editor repo:microsoft/vscode repo:microsoft/vscode-anycode repo:microsoft/vscode-autopep8 repo:microsoft/vscode-black-formatter repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-dev repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-flake8 repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-hexeditor repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-isort repo:microsoft/vscode-js-debug repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-l10n repo:microsoft/vscode-livepreview repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-mypy repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-pylint repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-python-tools-extension-template repo:microsoft/vscode-references-view repo:microsoft/vscode-remote-release repo:microsoft/vscode-remote-repositories-github repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-unpkg repo:microsoft/vscode-vsce\n\n// current milestone name\n$MILESTONE=milestone:\"May 2024\"\n"
},
{
"kind": 1,
@@ -17,7 +17,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos $milestone assignee:@me is:open"
+ "value": "$REPOS $MILESTONE assignee:@me is:open\n"
},
{
"kind": 1,
@@ -32,7 +32,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open label:bug"
+ "value": "$REPOS assignee:@me is:open label:bug\n"
},
{
"kind": 1,
@@ -42,7 +42,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open label:debt,engineering"
+ "value": "$REPOS assignee:@me is:open label:debt,engineering\n"
},
{
"kind": 1,
@@ -52,7 +52,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open label:perf,perf-startup,perf-bloat,freeze-slow-crash-leak"
+ "value": "$REPOS assignee:@me is:open label:perf,perf-startup,perf-bloat,freeze-slow-crash-leak\n"
},
{
"kind": 1,
@@ -62,17 +62,17 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open label:feature-request milestone:Backlog sort:reactions-+1-desc"
+ "value": "$REPOS assignee:@me is:open label:feature-request milestone:Backlog sort:reactions-+1-desc\n"
},
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open milestone:\"Backlog Candidates\""
+ "value": "$REPOS assignee:@me is:open milestone:\"Backlog Candidates\"\n"
},
{
"kind": 1,
"language": "markdown",
- "value": "### Personal Inbox\n"
+ "value": "### Personal Inbox"
},
{
"kind": 1,
@@ -82,7 +82,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "repo:microsoft/vscode is:open assignee:@me label:triage-needed"
+ "value": "$REPOS is:open assignee:@me label:triage-needed\n"
},
{
"kind": 1,
@@ -92,7 +92,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open type:issue -label:bug -label:\"info-needed\" -label:feature-request -label:under-discussion -label:debt -label:plan-item -label:upstream -label:polish -label:testplan-item -label:error-telemetry -label:engineering"
+ "value": "$REPOS assignee:@me is:open type:issue -label:bug -label:\"info-needed\" -label:feature-request -label:under-discussion -label:debt -label:plan-item -label:upstream -label:polish -label:testplan-item -label:error-telemetry -label:engineering\n"
},
{
"kind": 1,
@@ -102,7 +102,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "repo:microsoft/vscode assignee:@me is:open type:issue -label:\"info-needed\" -label:api -label:api-finalization -label:api-proposal -label:authentication -label:bisect-ext -label:bracket-pair-colorization -label:bracket-pair-guides -label:breadcrumbs -label:callhierarchy -label:chrome-devtools -label:cloud-changes -label:code-lens -label:command-center -label:comments -label:config -label:containers -label:context-keys -label:continue-working-on -label:css-less-scss -label:custom-editors -label:debug -label:debug-disassembly -label:dialogs -label:diff-editor -label:dropdown -label:editor-api -label:editor-autoclosing -label:editor-autoindent -label:editor-bracket-matching -label:editor-clipboard -label:editor-code-actions -label:editor-color-picker -label:editor-columnselect -label:editor-commands -label:editor-comments -label:editor-contrib -label:editor-core -label:editor-drag-and-drop -label:editor-error-widget -label:editor-find -label:editor-folding -label:editor-highlight -label:editor-hover -label:editor-indent-detection -label:editor-indent-guides -label:editor-input -label:editor-input-IME -label:editor-insets -label:editor-minimap -label:editor-multicursor -label:editor-parameter-hints -label:editor-render-whitespace -label:editor-rendering -label:editor-RTL -label:editor-scrollbar -label:editor-sorting -label:editor-sticky-scroll -label:editor-symbols -label:editor-synced-region -label:editor-textbuffer -label:editor-theming -label:editor-wordnav -label:editor-wrapping -label:emmet -label:emmet-parse -label:error-list -label:extension-activation -label:extension-host -label:extension-prerelease -label:extension-recommendations -label:extensions -label:extensions-development -label:file-decorations -label:file-encoding -label:file-explorer -label:file-glob -label:file-io -label:file-nesting -label:file-watcher -label:font-rendering -label:formatting -label:getting-started -label:ghost-text -label:git -label:github -label:github-repositories -label:gpu -label:grammar -label:grid-widget -label:html -label:icon-brand -label:icons-product -label:image-preview -label:inlay-hints -label:inline-completions -label:install-update -label:intellisense-config -label:interactive-playground -label:interactive-window -label:issue-bot -label:issue-reporter -label:javascript -label:json -label:keybindings -label:keybindings-editor -label:keybindings-json -label:keyboard-layout -label:L10N -label:l10n-platform -label:label-provider -label:languages-basic -label:languages-diagnostics -label:languages-guessing -label:layout -label:lcd-text-rendering -label:list-widget -label:live-preview -label:log -label:markdown -label:marketplace -label:menus -label:merge-conflict -label:merge-editor -label:merge-editor-workbench -label:monaco-editor -label:native-file-dialog -label:network -label:notebook -label:notebook-api -label:notebook-builtin-renderers -label:notebook-cell-editor -label:notebook-celltoolbar -label:notebook-clipboard -label:notebook-commenting -label:notebook-debugging -label:notebook-diff -label:notebook-dnd -label:notebook-execution -label:notebook-find -label:notebook-folding -label:notebook-getting-started -label:notebook-globaltoolbar -label:notebook-ipynb -label:notebook-kernel -label:notebook-kernel-picker -label:notebook-language -label:notebook-layout -label:notebook-markdown -label:notebook-math -label:notebook-minimap -label:notebook-multiselect -label:notebook-output -label:notebook-perf -label:notebook-remote -label:notebook-rendering -label:notebook-serialization -label:notebook-serverless-web -label:notebook-statusbar -label:notebook-toc-outline -label:notebook-undo-redo -label:notebook-variables -label:notebook-workbench-integration -label:notebook-workflow -label:open-editors -label:opener -label:outline -label:output -label:packaging -label:perf -label:perf-bloat -label:perf-startup -label:php -label:portable-mode -label:proxy -label:quick-open -label:quick-pick -label:references-viewlet -label:release-notes -label:remote -label:remote-connection -label:remote-explorer -label:remote-tunnel -label:rename -label:runCommands -label:sandbox -label:sash-widget -label:scm -label:screencast-mode -label:search -label:search-api -label:search-editor -label:search-replace -label:semantic-tokens -label:server -label:settings-editor -label:settings-sync -label:settings-sync-server -label:shared-process -label:simple-file-dialog -label:smart-select -label:snap -label:snippets -label:splitview-widget -label:ssh -label:suggest -label:table-widget -label:tasks -label:telemetry -label:terminal -label:terminal-accessibility -label:terminal-conpty -label:terminal-editors -label:terminal-external -label:terminal-find -label:terminal-input -label:terminal-layout -label:terminal-links -label:terminal-local-echo -label:terminal-persistence -label:terminal-process -label:terminal-profiles -label:terminal-quick-fix -label:terminal-rendering -label:terminal-shell-bash -label:terminal-shell-cmd -label:terminal-shell-fish -label:terminal-shell-git-bash -label:terminal-shell-integration -label:terminal-shell-pwsh -label:terminal-shell-zsh -label:terminal-tabs -label:terminal-winpty -label:testing -label:themes -label:timeline -label:timeline-git -label:timeline-local-history -label:titlebar -label:tokenization -label:touch/pointer -label:trackpad/scroll -label:tree-views -label:tree-widget -label:typescript -label:undo-redo -label:unicode-highlight -label:uri -label:user-profiles -label:ux -label:variable-resolving -label:VIM -label:virtual-workspaces -label:vscode-website -label:vscode.dev -label:web -label:webview -label:webview-views -label:workbench-actions -label:workbench-banner -label:workbench-cli -label:workbench-diagnostics -label:workbench-dnd -label:workbench-editor-grid -label:workbench-editor-groups -label:workbench-editor-resolver -label:workbench-editors -label:workbench-electron -label:workbench-fonts -label:workbench-history -label:workbench-hot-exit -label:workbench-hover -label:workbench-launch -label:workbench-link -label:workbench-multiroot -label:workbench-notifications -label:workbench-os-integration -label:workbench-rapid-render -label:workbench-run-as-admin -label:workbench-state -label:workbench-status -label:workbench-tabs -label:workbench-touchbar -label:workbench-untitled-editors -label:workbench-views -label:workbench-welcome -label:workbench-window -label:workbench-workspace -label:workbench-zen -label:workspace-edit -label:workspace-symbols -label:workspace-trust -label:zoom -label:inline-chat"
+ "value": "repo:microsoft/vscode assignee:@me is:open type:issue -label:\"info-needed\" -label:api -label:api-finalization -label:api-proposal -label:authentication -label:bisect-ext -label:bracket-pair-colorization -label:bracket-pair-guides -label:breadcrumbs -label:callhierarchy -label:chrome-devtools -label:code-lens -label:command-center -label:comments -label:config -label:context-keys -label:custom-editors -label:debug -label:debug-console -label:debug-disassembly -label:dialogs -label:diff-editor -label:dropdown -label:editor-api -label:editor-autoclosing -label:editor-autoindent -label:editor-bracket-matching -label:editor-clipboard -label:editor-code-actions -label:editor-color-picker -label:editor-columnselect -label:editor-commands -label:editor-comments -label:editor-contrib -label:editor-core -label:editor-drag-and-drop -label:editor-error-widget -label:editor-find -label:editor-folding -label:editor-highlight -label:editor-hover -label:editor-indent-detection -label:editor-indent-guides -label:editor-input -label:editor-input-IME -label:editor-insets -label:editor-minimap -label:editor-multicursor -label:editor-parameter-hints -label:editor-render-whitespace -label:editor-rendering -label:editor-RTL -label:editor-scrollbar -label:editor-sorting -label:editor-sticky-scroll -label:editor-sticky-scroll-decorations -label:editor-symbols -label:editor-synced-region -label:editor-textbuffer -label:editor-theming -label:editor-wordnav -label:editor-wrapping -label:emmet-parse -label:extension-activation -label:extension-host -label:extension-prerelease -label:extension-recommendations -label:extension-signature -label:extensions -label:extensions-development -label:file-decorations -label:file-encoding -label:file-explorer -label:file-glob -label:file-io -label:file-nesting -label:file-watcher -label:font-rendering -label:formatting -label:getting-started -label:ghost-text -label:git -label:github -label:github-repositories -label:gpu -label:grammar -label:grid-widget -label:icon-brand -label:icons-product -label:icons-widget -label:inlay-hints -label:inline-chat -label:inline-completions -label:install-update -label:intellisense-config -label:interactive-playground -label:interactive-window -label:javascript -label:json -label:json-sorting -label:keybindings -label:keybindings-editor -label:keyboard-layout -label:L10N -label:l10n-platform -label:label-provider -label:languages-basic -label:languages-diagnostics -label:languages-guessing -label:layout -label:lcd-text-rendering -label:list-widget -label:live-preview -label:log -label:markdown -label:marketplace -label:menus -label:merge-conflict -label:merge-editor -label:merge-editor-workbench -label:monaco-editor -label:multi-monitor -label:native-file-dialog -label:network -label:notebook -label:notebook-accessibility -label:notebook-api -label:notebook-builtin-renderers -label:notebook-cell-editor -label:notebook-celltoolbar -label:notebook-clipboard -label:notebook-commands -label:notebook-commenting -label:notebook-debugging -label:notebook-diff -label:notebook-dnd -label:notebook-execution -label:notebook-find -label:notebook-folding -label:notebook-getting-started -label:notebook-globaltoolbar -label:notebook-ipynb -label:notebook-kernel -label:notebook-kernel-picker -label:notebook-language -label:notebook-layout -label:notebook-markdown -label:notebook-math -label:notebook-minimap -label:notebook-multiselect -label:notebook-output -label:notebook-perf -label:notebook-remote -label:notebook-rendering -label:notebook-serialization -label:notebook-serverless-web -label:notebook-statusbar -label:notebook-sticky-scroll -label:notebook-toc-outline -label:notebook-undo-redo -label:notebook-variables -label:notebook-workbench-integration -label:notebook-workflow -label:open-editors -label:opener -label:outline -label:output -label:packaging -label:panel-chat -label:perf -label:perf-bloat -label:perf-startup -label:php -label:portable-mode -label:proxy -label:quick-open -label:quick-pick -label:quickpick-chat -label:references-viewlet -label:release-notes -label:remote -label:remote-connection -label:remote-desktop -label:remote-explorer -label:remote-tunnel -label:rename -label:runCommands -label:sandbox -label:sash-widget -label:scm -label:screencast-mode -label:search -label:search-api -label:search-editor -label:search-replace -label:semantic-tokens -label:server -label:settings-editor -label:settings-search -label:settings-sync -label:settings-sync-server -label:shared-process -label:simple-file-dialog -label:smart-select -label:snap -label:snippets -label:splitview-widget -label:ssh -label:suggest -label:system-context-menu -label:table-widget -label:tasks -label:telemetry -label:terminal -label:terminal-accessibility -label:terminal-conpty -label:terminal-editors -label:terminal-external -label:terminal-find -label:terminal-input -label:terminal-layout -label:terminal-links -label:terminal-local-echo -label:terminal-persistence -label:terminal-process -label:terminal-profiles -label:terminal-quick-fix -label:terminal-rendering -label:terminal-shell-bash -label:terminal-shell-cmd -label:terminal-shell-fish -label:terminal-shell-git-bash -label:terminal-shell-integration -label:terminal-shell-pwsh -label:terminal-shell-zsh -label:terminal-tabs -label:terminal-winpty -label:testing -label:themes -label:timeline -label:timeline-git -label:timeline-local-history -label:titlebar -label:tokenization -label:touch/pointer -label:trackpad/scroll -label:tree-views -label:tree-widget -label:typescript -label:unc -label:undo-redo -label:unicode-highlight -label:uri -label:user-profiles -label:ux -label:variable-resolving -label:VIM -label:virtual-documents -label:virtual-workspaces -label:vscode-website -label:vscode.dev -label:web -label:webview -label:webview-views -label:workbench-actions -label:workbench-auxwindow -label:workbench-banner -label:workbench-cli -label:workbench-diagnostics -label:workbench-dnd -label:workbench-editor-grid -label:workbench-editor-groups -label:workbench-editor-resolver -label:workbench-editors -label:workbench-electron -label:workbench-feedback -label:workbench-fonts -label:workbench-history -label:workbench-hot-exit -label:workbench-hover -label:workbench-launch -label:workbench-link -label:workbench-multiroot -label:workbench-notifications -label:workbench-os-integration -label:workbench-rapid-render -label:workbench-run-as-admin -label:workbench-state -label:workbench-status -label:workbench-tabs -label:workbench-touchbar -label:workbench-untitled-editors -label:workbench-views -label:workbench-voice -label:workbench-welcome -label:workbench-window -label:workbench-workspace -label:workbench-zen -label:workspace-edit -label:workspace-symbols -label:workspace-trust -label:zoom -label:error-list -label:winget"
},
{
"kind": 1,
@@ -112,7 +112,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open type:issue no:milestone -label:info-needed -label:triage-needed"
+ "value": "$REPOS assignee:@me is:open type:issue no:milestone -label:info-needed -label:triage-needed\n"
},
{
"kind": 1,
@@ -122,7 +122,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos assignee:@me is:open label:\"info-needed\""
+ "value": "$REPOS assignee:@me is:open label:\"info-needed\"\n"
},
{
"kind": 1,
@@ -137,7 +137,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos author:@me is:open is:pr review:approved"
+ "value": "$REPOS author:@me is:open is:pr review:approved\n"
},
{
"kind": 1,
@@ -147,7 +147,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos author:@me is:open is:pr review:required"
+ "value": "$REPOS author:@me is:open is:pr review:required\n"
},
{
"kind": 1,
@@ -157,6 +157,6 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos author:@me is:open is:pr review:changes_requested"
+ "value": "$REPOS author:@me is:open is:pr review:changes_requested\n"
}
]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/verification.github-issues b/patched-vscode/.vscode/notebooks/verification.github-issues
index 1af66192..9740d955 100644
--- a/patched-vscode/.vscode/notebooks/verification.github-issues
+++ b/patched-vscode/.vscode/notebooks/verification.github-issues
@@ -12,7 +12,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-dev repo:microsoft/vscode-unpkg repo:microsoft/vscode-references-view repo:microsoft/vscode-anycode repo:microsoft/vscode-hexeditor repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-livepreview repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-remote-repositories-github repo:microsoft/monaco-editor repo:microsoft/vscode-vsce repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-livepreview repo:microsoft/vscode-livepreview repo:microsoft/vscode-python repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-l10n repo:microsoft/vscode-remote-tunnels\r\n$milestone=milestone:\"September 2023\""
+ "value": "$repos=repo:microsoft/lsprotocol repo:microsoft/monaco-editor repo:microsoft/vscode repo:microsoft/vscode-anycode repo:microsoft/vscode-autopep8 repo:microsoft/vscode-black-formatter repo:microsoft/vscode-copilot repo:microsoft/vscode-copilot-release repo:microsoft/vscode-dev repo:microsoft/vscode-dev-chrome-launcher repo:microsoft/vscode-emmet-helper repo:microsoft/vscode-extension-telemetry repo:microsoft/vscode-flake8 repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-hexeditor repo:microsoft/vscode-internalbacklog repo:microsoft/vscode-isort repo:microsoft/vscode-js-debug repo:microsoft/vscode-jupyter repo:microsoft/vscode-jupyter-internal repo:microsoft/vscode-l10n repo:microsoft/vscode-livepreview repo:microsoft/vscode-markdown-languageservice repo:microsoft/vscode-markdown-tm-grammar repo:microsoft/vscode-mypy repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-pylint repo:microsoft/vscode-python repo:microsoft/vscode-python-debugger repo:microsoft/vscode-python-tools-extension-template repo:microsoft/vscode-references-view repo:microsoft/vscode-remote-release repo:microsoft/vscode-remote-repositories-github repo:microsoft/vscode-remote-tunnels repo:microsoft/vscode-remotehub repo:microsoft/vscode-settings-sync-server repo:microsoft/vscode-unpkg repo:microsoft/vscode-vsce\n$milestone=milestone:\"November 2023\"\n$closedRecently=closed:>2023-09-29"
},
{
"kind": 1,
@@ -43,5 +43,15 @@
"kind": 2,
"language": "github-issues",
"value": "$repos $milestone is:closed reason:completed -assignee:@me label:bug -label:verified -label:*duplicate"
+ },
+ {
+ "kind": 1,
+ "language": "markdown",
+ "value": "### Issues recently closed via PR without a milestone"
+ },
+ {
+ "kind": 2,
+ "language": "github-issues",
+ "value": "$repos is:closed linked:pr $closedRecently no:milestone -label:verified -label:*duplicate"
}
]
\ No newline at end of file
diff --git a/patched-vscode/.vscode/notebooks/vscode-dev.github-issues b/patched-vscode/.vscode/notebooks/vscode-dev.github-issues
index 851c7a9d..53fad82e 100644
--- a/patched-vscode/.vscode/notebooks/vscode-dev.github-issues
+++ b/patched-vscode/.vscode/notebooks/vscode-dev.github-issues
@@ -2,7 +2,7 @@
{
"kind": 2,
"language": "github-issues",
- "value": "$milestone=milestone:\"September 2023\""
+ "value": "$milestone=milestone:\"November 2023\""
},
{
"kind": 1,
diff --git a/patched-vscode/.vscode/settings.json b/patched-vscode/.vscode/settings.json
index 0069fee3..5d5d1f27 100644
--- a/patched-vscode/.vscode/settings.json
+++ b/patched-vscode/.vscode/settings.json
@@ -6,6 +6,7 @@
".build": true,
".profile-oss": true,
"**/.DS_Store": true,
+ ".vscode-test": true,
"cli/target": true,
"build/**/*.js": {
"when": "$(basename).ts"
@@ -29,12 +30,12 @@
"test/automation/out/**": true,
"test/integration/browser/out/**": true,
"src/vs/base/test/common/filters.perf.data.js": true,
- "src/vs/base/test/node/uri.test.data.txt": true,
+ "src/vs/base/test/node/uri.perf.data.txt": true,
"src/vs/workbench/api/test/browser/extHostDocumentData.test.perf-data.ts": true,
"src/vs/editor/test/node/diffing/fixtures/**": true,
},
"files.readonlyInclude": {
- "**/node_modules/**": true,
+ "**/node_modules/**/*.*": true,
"**/yarn.lock": true,
"**/Cargo.lock": true,
"src/vs/workbench/workbench.web.main.css": true,
@@ -143,6 +144,11 @@
"${workspaceFolder}/build/**/*.js"
]
},
+ "extension-test-runner.debugOptions": {
+ "outFiles": [
+ "${workspaceFolder}/extensions/*/out/**/*.js",
+ ]
+ },
"githubPullRequests.assignCreated": "${user}",
"githubPullRequests.defaultMergeMethod": "squash",
"githubPullRequests.ignoredPullRequestBranches": [
@@ -152,11 +158,17 @@
"editor.experimental.asyncTokenization": true,
"editor.experimental.asyncTokenizationVerification": true,
"typescript.preferences.autoImportFileExcludePatterns": [
- "xterm",
- "xterm-headless",
+ "@xterm/xterm",
+ "@xterm/headless",
"node-pty",
"vscode-notebook-renderer",
"src/vs/workbench/workbench.web.main.ts",
"src/vs/workbench/api/common/extHostTypes.ts"
- ]
+ ],
+ "[github-issues]": {
+ "editor.wordWrap": "on"
+ },
+ "css.format.spaceAroundSelectorSeparator": true,
+ "inlineChat.mode": "live",
+ "typescript.enablePromptUseWorkspaceTsdk": true
}
diff --git a/patched-vscode/.yarnrc b/patched-vscode/.yarnrc
index b0814477..b40fb7e7 100644
--- a/patched-vscode/.yarnrc
+++ b/patched-vscode/.yarnrc
@@ -1,5 +1,5 @@
disturl "https://electronjs.org/headers"
-target "25.8.4"
-ms_build_id "24154031"
+target "29.4.0"
+ms_build_id "9593362"
runtime "electron"
build_from_source "true"
diff --git a/patched-vscode/CONTRIBUTING.md b/patched-vscode/CONTRIBUTING.md
index 2a019ed7..6bece0ef 100644
--- a/patched-vscode/CONTRIBUTING.md
+++ b/patched-vscode/CONTRIBUTING.md
@@ -2,11 +2,12 @@
Welcome, and thank you for your interest in contributing to VS Code!
-There are many ways in which you can contribute, beyond writing code. The goal of this document is to provide a high-level overview of how you can get involved.
+There are several ways in which you can contribute, beyond writing code. The goal of this document is to provide a high-level overview of how you can get involved.
## Asking Questions
-Have a question? Rather than opening an issue, please ask away on [Stack Overflow](https://stackoverflow.com/questions/tagged/vscode) using the tag `vscode`.
+
+Have a question? Instead of opening an issue, please ask on [Stack Overflow](https://stackoverflow.com/questions/tagged/visual-studio-code) using the tag `visual-studio-code`.
The active community will be eager to assist you. Your well-worded question will serve as a resource to others searching for help.
@@ -18,7 +19,7 @@ See the [Feedback Channels](https://github.com/microsoft/vscode/wiki/Feedback-Ch
## Reporting Issues
-Have you identified a reproducible problem in VS Code? Have a feature request? We want to hear about it! Here's how you can report your issue as effectively as possible.
+Have you identified a reproducible problem in VS Code? Do you have a feature request? We want to hear about it! Here's how you can report your issue as effectively as possible.
### Identify Where to Report
@@ -52,21 +53,13 @@ The built-in tool for reporting an issue, which you can access by using `Report
Please include the following with each issue:
* Version of VS Code
-
* Your operating system
-
* List of extensions that you have installed
-
* Reproducible steps (1... 2... 3...) that cause the issue
-
* What you expected to see, versus what you actually saw
-
* Images, animations, or a link to a video showing the issue occurring
-
* A code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally
-
* **Note:** Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
-
* Errors from the Dev Tools Console (open from the menu: Help > Toggle Developer Tools)
### Creating Pull Requests
@@ -78,22 +71,20 @@ Please include the following with each issue:
Please remember to do the following:
* [ ] Search the issue repository to ensure your report is a new issue
-
* [ ] Recreate the issue after disabling all extensions
-
* [ ] Simplify your code around the issue to better isolate the problem
Don't feel bad if the developers can't reproduce the issue right away. They will simply ask for more information!
### Follow Your Issue
-Once submitted, your report will go into the [issue tracking](https://github.com/microsoft/vscode/wiki/Issue-Tracking) workflow. Be sure to understand what will happen next, so you know what to expect, and how to continue to assist throughout the process.
+Once submitted, your report will go into the [issue tracking](https://github.com/microsoft/vscode/wiki/Issue-Tracking) workflow. Be sure to understand what will happen next, so you know what to expect and how to continue to assist throughout the process.
## Automated Issue Management
We use GitHub Actions to help us manage issues. These Actions and their descriptions can be [viewed here](https://github.com/microsoft/vscode-github-triage-actions). Some examples of what these Actions do are:
-* Automatically closes any issue marked `info-needed` if there has been no response in the past 7 days.
+* Automatically close any issue marked `info-needed` if there has been no response in the past 7 days.
* Automatically lock issues 45 days after they are closed.
* Automatically implement the VS Code [feature request pipeline](https://github.com/microsoft/vscode/wiki/Issues-Triaging#managing-feature-requests).
@@ -101,8 +92,7 @@ If you believe the bot got something wrong, please open a new issue and let us k
## Contributing Fixes
-If you are interested in writing code to fix issues,
-please see [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute) in the wiki.
+If you are interested in writing code to fix issues, please see [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute) in the wiki.
## Thank You
diff --git a/patched-vscode/LICENSE b/patched-vscode/LICENSE
deleted file mode 100644
index e547c4ae..00000000
--- a/patched-vscode/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/patched-vscode/LICENSE-THIRD-PARTY b/patched-vscode/LICENSE-THIRD-PARTY
deleted file mode 100644
index 615f5c0a..00000000
--- a/patched-vscode/LICENSE-THIRD-PARTY
+++ /dev/null
@@ -1,4149 +0,0 @@
-@microsoft/1ds-core-js
-3.2.2
-Copyright (c) Microsoft Corporation.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-******************************
-
-@microsoft/1ds-post-js
-3.2.2
-Copyright (c) Microsoft Corporation.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-******************************
-
-@microsoft/applicationinsights-core-js
-2.8.3
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@microsoft/applicationinsights-shims
-2.0.1
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@microsoft/dynamicproto-js
-1.1.6
- MIT License
-
- Copyright (c) Microsoft Corporation.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@parcel/watcher
-2.1.0
-MIT License
-
-Copyright (c) 2017-present Devon Govett
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-@tootallnate/once
-1.1.2
-license: MIT
-authors: Nathan Rajlich (http://n8.io/)
-
-******************************
-
-@vscode/iconv-lite-umd
-0.7.0
- MIT License
-
- Copyright (c) Microsoft Corporation.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@vscode/policy-watcher
-1.1.6
- MIT License
-
- Copyright (c) Microsoft Corporation.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@vscode/proxy-agent
-0.14.1
-MIT License
-
-Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
-Copyright (c) 2015 Félicien François <felicien@tweakstyle.com>
-Copyright (c) Microsoft Corporation.
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-@vscode/ripgrep
-1.15.5
-vscode-ripgrep
-
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-@vscode/spdlog
-0.13.10
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@vscode/sqlite3
-5.1.6-vscode
-Copyright (c) MapBox
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-- Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-- Redistributions in binary form must reproduce the above copyright notice, this
- list of conditions and the following disclaimer in the documentation and/or
- other materials provided with the distribution.
-- Neither the name "MapBox" nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-******************************
-
-@vscode/sudo-prompt
-9.3.1
-The MIT License (MIT)
-
-Copyright (c) 2015 Joran Dirk Greef
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-
-******************************
-
-@vscode/vscode-languagedetection
-1.0.21
- MIT License
-
- Copyright (c) Microsoft Corporation.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-@vscode/windows-mutex
-0.4.4
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-@vscode/windows-process-tree
-0.5.0
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-******************************
-
-@vscode/windows-registry
-1.1.0
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
-modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
-is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
-OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-******************************
-
-agent-base
-6.0.2
-license: MIT
-authors: Nathan Rajlich (http://n8.io/)
-
-******************************
-
-ansi-regex
-3.0.0
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-aproba
-1.2.0
-Copyright (c) 2015, Rebecca Turner
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-
-******************************
-
-are-we-there-yet
-1.1.5
-Copyright (c) 2015, Rebecca Turner
-
-Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-base64-js
-1.5.1
-The MIT License (MIT)
-
-Copyright (c) 2014 Jameson Little
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-bindings
-1.5.0
-(The MIT License)
-
-Copyright (c) 2012 Nathan Rajlich <nathan@tootallnate.net>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-bl
-4.1.0
-The MIT License (MIT)
-=====================
-
-Copyright (c) 2013-2019 bl contributors
-----------------------------------
-
-*bl contributors listed at *
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-braces
-3.0.2
-The MIT License (MIT)
-
-Copyright (c) 2014-2018, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-buffer
-5.7.1
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh, and other contributors.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-buffer-crc32
-0.2.13
-The MIT License
-
-Copyright (c) 2013 Brian J. Brennan
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
-Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
-PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
-FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-chownr
-2.0.0
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-chrome-remote-interface
-0.28.2
-Copyright (c) 2020 Andrea Cardaci
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-code-point-at
-1.1.0
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-commander
-2.11.0
-(The MIT License)
-
-Copyright (c) 2011 TJ Holowaychuk
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-console-control-strings
-1.1.0
-Copyright (c) 2014, Rebecca Turner
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-core-util-is
-1.0.2
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-
-
-******************************
-
-debug
-4.3.1
-(The MIT License)
-
-Copyright (c) 2014 TJ Holowaychuk
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-and associated documentation files (the 'Software'), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
-LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-
-******************************
-
-decompress-response
-6.0.0
-MIT License
-
-Copyright (c) Sindre Sorhus (https://sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-deep-extend
-0.6.0
-The MIT License (MIT)
-
-Copyright (c) 2013-2018, Viacheslav Lotsmanov
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-delegates
-1.0.0
-Copyright (c) 2015 TJ Holowaychuk
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-detect-libc
-2.0.1
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-******************************
-
-end-of-stream
-1.4.4
-The MIT License (MIT)
-
-Copyright (c) 2014 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-******************************
-
-es6-promise
-4.2.4
-Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-es6-promisify
-5.0.0
-license: MIT
-authors: Mike Hall
-
-******************************
-
-expand-template
-2.0.3
-The MIT License (MIT)
-
-Copyright (c) 2018 Lars-Magnus Skog
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-******************************
-
-fd-slicer
-1.1.0
-Copyright (c) 2014 Andrew Kelley
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation files
-(the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software,
-and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-file-uri-to-path
-1.0.0
-Copyright (c) 2014 Nathan Rajlich
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-fill-range
-7.0.1
-The MIT License (MIT)
-
-Copyright (c) 2014-present, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-fs-constants
-1.0.0
-The MIT License (MIT)
-
-Copyright (c) 2018 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-fs-minipass
-2.1.0
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-gauge
-2.7.4
-Copyright (c) 2014, Rebecca Turner
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-github-from-package
-0.0.0
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-graceful-fs
-4.2.8
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter, Ben Noordhuis, and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-has-unicode
-2.0.1
-Copyright (c) 2014, Rebecca Turner
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-
-******************************
-
-http-proxy-agent
-4.0.1
-license: MIT
-authors: Nathan Rajlich (http://n8.io/)
-
-******************************
-
-https-proxy-agent
-5.0.0
-license: MIT
-authors: Nathan Rajlich (http://n8.io/)
-
-******************************
-
-ieee754
-1.2.1
-Copyright 2008 Fair Oaks Labs, Inc.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-******************************
-
-inherits
-2.0.4
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
-
-
-******************************
-
-ini
-1.3.8
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-ip
-1.1.5
-license: MIT
-authors: Fedor Indutny
-
-******************************
-
-is-extglob
-2.1.1
-The MIT License (MIT)
-
-Copyright (c) 2014-2016, Jon Schlinkert
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-is-fullwidth-code-point
-2.0.0
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-is-glob
-4.0.3
-The MIT License (MIT)
-
-Copyright (c) 2014-2017, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-is-number
-7.0.0
-The MIT License (MIT)
-
-Copyright (c) 2014-present, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-isarray
-1.0.0
-license: MIT
-authors: Julian Gruber
-
-******************************
-
-jschardet
-3.0.0
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-(This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.)
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Libraries
-
- If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change. You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
- To apply these terms, attach the following notices to the library. It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
- {description}
- Copyright (C) {year} {fullname}
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- library `Frob' (a library for tweaking knobs) written by James Random
- Hacker.
-
- {signature of Ty Coon}, 1 April 1990
- Ty Coon, President of Vice
-
-That's all there is to it!
-
-
-******************************
-
-keytar
-7.9.0
-Copyright (c) 2013 GitHub Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-lru-cache
-6.0.0
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-micromatch
-4.0.5
-The MIT License (MIT)
-
-Copyright (c) 2014-present, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-mimic-response
-3.1.0
-MIT License
-
-Copyright (c) Sindre Sorhus (https://sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-minimist
-1.2.7
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-minipass
-3.1.3
-The ISC License
-
-Copyright (c) npm, Inc. and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-minizlib
-2.1.2
-Minizlib was created by Isaac Z. Schlueter.
-It is a derivative work of the Node.js project.
-
-"""
-Copyright Isaac Z. Schlueter and Contributors
-Copyright Node.js contributors. All rights reserved.
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""
-
-
-******************************
-
-mkdirp
-1.0.4
-Copyright James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me)
-
-This project is free software released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-mkdirp-classic
-0.5.3
-The MIT License (MIT)
-
-Copyright (c) 2020 James Halliday (mail@substack.net) and Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-ms
-2.1.3
-The MIT License (MIT)
-
-Copyright (c) 2020 Vercel, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-nan
-2.17.0
-The MIT License (MIT)
-
-Copyright (c) 2018 [NAN contributors]()
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-napi-build-utils
-1.0.2
-MIT License
-
-Copyright (c) 2018 inspiredware
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-native-is-elevated
-0.6.0
-MIT License
-
-Copyright (c) 2016 Eugene Cheung
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-native-keymap
-3.3.3
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
-modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
-is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
-OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-******************************
-
-native-watchdog
-1.4.2
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-node-abi
-3.8.0
-MIT License
-
-Copyright (c) 2016 Lukas Geiger
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-node-addon-api
-6.0.0
-The MIT License (MIT)
-=====================
-
-Copyright (c) 2017 Node.js API collaborators
------------------------------------
-
-*Node.js API collaborators listed at *
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-******************************
-
-node-gyp-build
-4.3.0
-The MIT License (MIT)
-
-Copyright (c) 2017 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-node-pty
-1.1.0-beta1
-Copyright (c) 2012-2015, Christopher Jeffrey (https://github.com/chjj/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-
-The MIT License (MIT)
-
-Copyright (c) 2016, Daniel Imms (http://www.growingwiththeweb.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-
-MIT License
-
-Copyright (c) 2018 - present Microsoft Corporation
-
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-npmlog
-4.1.2
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-number-is-nan
-1.0.1
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-object-assign
-4.1.1
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-once
-1.4.0
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-pend
-1.2.0
-The MIT License (Expat)
-
-Copyright (c) 2014 Andrew Kelley
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation files
-(the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software,
-and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-******************************
-
-picomatch
-2.3.1
-The MIT License (MIT)
-
-Copyright (c) 2017-present, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-prebuild-install
-7.0.1
-The MIT License (MIT)
-
-Copyright (c) 2015 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-process-nextick-args
-2.0.1
-# Copyright (c) 2015 Calvin Metcalf
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.**
-
-
-******************************
-
-proxy-from-env
-1.1.0
-The MIT License
-
-Copyright (C) 2016-2018 Rob Wu
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-pump
-3.0.0
-The MIT License (MIT)
-
-Copyright (c) 2014 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-******************************
-
-rc
-1.2.8
-Apache License, Version 2.0
-
-Copyright (c) 2011 Dominic Tarr
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-******************************
-
-readable-stream
-3.6.0
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-
-******************************
-
-safe-buffer
-5.2.1
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-semver
-7.3.5
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-set-blocking
-2.0.0
-Copyright (c) 2016, Contributors
-
-Permission to use, copy, modify, and/or distribute this software
-for any purpose with or without fee is hereby granted, provided
-that the above copyright notice and this permission notice
-appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
-LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
-OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-signal-exit
-3.0.3
-The ISC License
-
-Copyright (c) 2015, Contributors
-
-Permission to use, copy, modify, and/or distribute this software
-for any purpose with or without fee is hereby granted, provided
-that the above copyright notice and this permission notice
-appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
-LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
-OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-simple-concat
-1.0.1
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-simple-get
-4.0.1
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-smart-buffer
-4.1.0
-The MIT License (MIT)
-
-Copyright (c) 2013-2017 Josh Glazebrook
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-socks
-2.6.1
-The MIT License (MIT)
-
-Copyright (c) 2013 Josh Glazebrook
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-socks-proxy-agent
-5.0.0
-license: MIT
-authors: Nathan Rajlich (http://n8.io/)
-
-******************************
-
-string-width
-2.1.1
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-string_decoder
-1.3.0
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-
-
-******************************
-
-strip-ansi
-4.0.0
-MIT License
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-******************************
-
-strip-json-comments
-2.0.1
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-tar
-6.1.12
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-
-******************************
-
-tar-fs
-2.1.1
-The MIT License (MIT)
-
-Copyright (c) 2014 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-******************************
-
-tar-stream
-2.2.0
-The MIT License (MIT)
-
-Copyright (c) 2014 Mathias Buus
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-******************************
-
-tas-client-umd
-0.1.8 <>
- MIT License
-
- Copyright (c) Microsoft Corporation. All rights reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE
-
-
-******************************
-
-to-regex-range
-5.0.1
-The MIT License (MIT)
-
-Copyright (c) 2015-present, Jon Schlinkert.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-******************************
-
-tslib
-2.3.1