Skip to content

Commit

Permalink
feat(telemetry): handle IPv6 addresses when parsing hostnames VSCODE-585
Browse files Browse the repository at this point in the history
 (#769)

* feat(telemetry): handle IPv6 addresses when parsing hostnames VSCODE-585

* test: fallback to original uri

* chore: reduce bundle size and add modules to externals
  • Loading branch information
alenakhineika authored Aug 9, 2024
1 parent 03c360c commit 677aa3d
Show file tree
Hide file tree
Showing 8 changed files with 1,345 additions and 1,277 deletions.
2 changes: 0 additions & 2 deletions .depcheckrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
ignores:
- "@babel/core"
- "@babel/preset-typescript"
- "@mongodb-js/prettier-config-devtools"
- "@types/jest"
- "buffer"
Expand Down
10 changes: 10 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
[
"@babel/preset-typescript",
{
"rewriteImportExtensions": true
}
]
]
}
2,301 changes: 1,153 additions & 1,148 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"create-vulnerability-tickets": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json --dependencies=.sbom/dependencies.json --create-jira-issues"
},
"engines": {
"vscode": "^1.91.1",
"node": ">=16.16.0",
"npm": ">=8.19.4"
"vscode": "^1.92.1",
"node": ">=20.9.0",
"npm": ">=10.1.0"
},
"activationEvents": [
"onView:mongoDB",
Expand Down Expand Up @@ -1082,10 +1082,10 @@
"@mongodb-js/connection-form": "^1.22.2",
"@mongodb-js/connection-info": "^0.1.2",
"@mongodb-js/mongodb-constants": "^0.10.2",
"@mongosh/browser-runtime-electron": "^2.2.10",
"@mongosh/i18n": "^2.2.10",
"@mongosh/service-provider-server": "^2.2.10",
"@mongosh/shell-api": "^2.2.10",
"@mongosh/browser-runtime-electron": "^2.2.15",
"@mongosh/i18n": "^2.2.15",
"@mongosh/service-provider-server": "^2.2.15",
"@mongosh/shell-api": "^2.2.15",
"@segment/analytics-node": "^1.3.0",
"bson": "^6.8.0",
"bson-transpilers": "^2.2.0",
Expand All @@ -1095,7 +1095,7 @@
"micromatch": "^4.0.7",
"mongodb": "^6.8.0",
"mongodb-build-info": "^1.7.2",
"mongodb-cloud-info": "^2.1.3",
"mongodb-cloud-info": "^2.1.4",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-data-service": "^22.21.1",
"mongodb-log-writer": "^1.4.2",
Expand All @@ -1108,20 +1108,20 @@
"uuid": "^8.3.2",
"vscode-languageclient": "^8.1.0",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-textdocument": "^1.0.11"
"vscode-languageserver-textdocument": "^1.0.12"
},
"devDependencies": {
"@babel/preset-typescript": "^7.24.7",
"@babel/types": "^7.25.2",
"@mongodb-js/oidc-mock-provider": "^0.9.1",
"@mongodb-js/oidc-plugin": "^0.4.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/sbom-tools": "^0.7.0",
"@mongodb-js/signing-utils": "^0.3.4",
"@mongosh/service-provider-core": "^2.2.10",
"@mongodb-js/sbom-tools": "^0.7.1",
"@mongodb-js/signing-utils": "^0.3.5",
"@mongosh/service-provider-core": "^2.2.15",
"@testing-library/react": "^12.1.5",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.6",
"@types/chai": "^4.3.16",
"@types/chai": "^4.3.17",
"@types/debug": "^4.1.12",
"@types/glob": "^7.2.0",
"@types/jest": "^26.0.24",
Expand All @@ -1134,13 +1134,13 @@
"@types/sinon": "^9.0.11",
"@types/sinon-chai": "^3.2.12",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.91.0",
"@types/vscode": "^1.92.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.31.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"autoprefixer": "^10.4.19",
"autoprefixer": "^10.4.20",
"buffer": "^6.0.3",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
Expand All @@ -1158,7 +1158,7 @@
"jest-junit": "^12.3.0",
"jest-transform-stub": "^2.0.0",
"mkdirp": "^1.0.4",
"mocha": "^10.7.0",
"mocha": "^10.7.3",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi": "^1.1.7",
"mongodb-client-encryption": "^6.0.1",
Expand All @@ -1174,11 +1174,12 @@
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^26.5.6",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^4.9.5",
"webpack": "^5.92.1",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.10.0",
Expand Down
Loading

0 comments on commit 677aa3d

Please sign in to comment.