Fix monkey patching + support older version of node
Fixes #12 which was causing weird issues when using console in certain contexts.
Lowers the browser target component as esnext is too high for many codebases. We now target es6.
Small perf improvements + new common property
Removed an inefficient cleaning regex. Definitely recommend updating as this can cause unnecessarily high CPU usage.
Added new common property common.nodeArch thanks to @radeksimko. This will collect the system architecture to provide more insights into arm vs x86 system usage
Updated build machine to Node LTS from Node 14.
Add telemetry caching
With the recent addition of lazy-loading it was possible to get into a state where logged telemetry wouldn't be sent due to the client not being ready. This releases adds caching which stores logged events created before the client is ready and then sends them once it is. Additionally, a larger refactor was done internally to reduce duplicated appender code.
Fix compatibility with old versions of VS Code
Fix old version of VS Code not respecting telemetry setting
Fix old version of VS Code throw with isNewAppInstall
Lazy loading
Adds dynamic imports to the app insights modules so that when telemetry is off they don't load at all. Minor performance improvements might be seen when telemetry is off due to not loading these additional modules.
Note: This version bumped our target from ES6 to ES2020 due to these dynamic imports
0.4
remove peer dependency on vscode to allow using this module for extensions bundled inside vscode.
Support new telemetry settings
VS Code has introduced telemetry.telemetryLevel for more granularity between turning off all telemetry and still allowing error telemetry. This update now supports and respects that setting.
Add new common property common.product which says where VS Code is running, i.e. desktop, codespaces, github.dev
Better typings + More cleaning!
Add JS Doc comments to .d.ts file for intellisense
Better cleaning of possibly leaked user data by looking for keywords such as key & token
Lower target to Node 12 to support older extensions
Fix Bad CI
Bad CI caused package to get published without any source files. This fixes that and publishes a fixed package
This release introduces some minor improvements to the package
Redact passwd as well rather than just password.
Don't ping the endpoint in web to test for adblock if telemetry is disabled as this may look like we're sending telemetry when we're not
Added GitHub action + cleaned up build script to allow for automated release when a GitHub release is created
Fix bad .d.ts
Fixes issue surrounding typings where errorProps was removed
Fixes errors preventing module use caused by isNewAppInstall being a boolean. Thanks to @ryanluker for #69
This version was pushed to npm by vscode-bot, a new releaser for vscode-languageclient since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/vscode-azurehealthcareapis-tools/network/alerts).
Bumps semver to 7.5.3 and updates ancestor dependencies semver, vscode-extension-telemetry and vscode-languageclient. These dependencies need to be updated together.
Updates
semver
from 5.7.1 to 7.5.3Release notes
Sourced from semver's releases.
... (truncated)
Changelog
Sourced from semver's changelog.
... (truncated)
Commits
7fdf1ef
chore: release 7.5.3bf53dd8
docs: add example for>
comparator (#569)abdd93d
fix: set max lengths in regex for numeric and build identifiers (#571)e7b78de
chore: release 7.5.258c791f
fix: diff when detecting major change from prerelease (#566)5c8efbc
fix: preserve build in raw after inc (#565)717534e
fix: better handling of whitespace (#564)2f738e9
chore: bump@npmcli/template-oss
from 4.14.1 to 4.15.1 (#558)aa016a6
chore: release 7.5.1d30d25a
fix: show type on invalid semver error (#559)Maintainer changes
This version was pushed to npm by npm-cli-ops, a new releaser for semver since your current version.
Updates
vscode-extension-telemetry
from 0.1.6 to 0.4.5Release notes
Sourced from vscode-extension-telemetry's releases.
... (truncated)
Commits
Updates
vscode-languageclient
from 6.1.3 to 8.1.0Commits
2b49e42
Update lock files9d2dadc
Prepare 3.17.3 / 8.1.0 release9b74202
Mark all resolve calls as cancellable. (#1183)56c23c5
Publish new release (#1180)532dc99
Fixes #1176: didChange/didOpen appear to be sent out of order for global sear...c7ceeee
Publish next release (#1172)8e9709d
Fixes regression introduced in latest next version (#1171)f906cd9
Move error logging into sendPendingFullTextDocumentChanges (#1169)1aeb64a
Update lock files77a2512
Prepare new next releaseMaintainer changes
This version was pushed to npm by vscode-bot, a new releaser for vscode-languageclient since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/vscode-azurehealthcareapis-tools/network/alerts).