Compare commits

...
16 Commits
Author SHA1 Message Date
root ca383da85f fix: release
continuous-integration/drone/tag Build is pending
2026-08-04 01:20:03 +00:00
m.schnitzlerandroot 6b26a03ce1 renovate (#195)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-08-04 01:19:46 +00:00
root 834322cb6a feature: sweep flotte - eslint-config-prettier en bout de chaine (formatage = prettier seul juge), garde-fou MAX_REDIRECTS dans requestPromise, canon relativeTime + api.ts, bumps de deps et travaux en cours 2026-08-04 01:20:53 +02:00
root 349f5e1ff8 fix: release
continuous-integration/drone/tag Build is passing
2026-08-01 23:22:41 +00:00
m.schnitzlerandroot fc674d3e0d renovate (#194)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-08-01 23:22:11 +00:00
root e6b404f009 fix: await sur l'écriture de la config setUrl + renommage des disposables
continuous-integration/drone/tag Build is passing
2026-07-31 15:02:34 +02:00
root 30b87d515f feature: renommage disposable2/disposable3 en setUrlCommand/callUrlCommand 2026-07-31 15:01:17 +02:00
root 087dc3dad1 fix: attendre l'écriture de la config avant d'annoncer « URL set successfully » 2026-07-31 14:52:02 +02:00
root 8fb2196e67 fix: release
continuous-integration/drone/tag Build is passing
2026-07-28 03:08:07 +00:00
m.schnitzlerandroot fe4e5393e0 renovate (#193)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-28 03:07:51 +00:00
root 437f07ccc1 fix: release
continuous-integration/drone/tag Build is passing
2026-07-25 23:30:02 +00:00
m.schnitzlerandroot afa57178d9 renovate (#192)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-25 23:29:41 +00:00
root f9824e1523 fix: release
continuous-integration/drone/tag Build is passing
2026-07-24 23:22:14 +00:00
m.schnitzlerandroot 9fa19fe316 renovate (#191)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-24 23:21:55 +00:00
root 1e8b682afc fix: release
continuous-integration/drone/tag Build is passing
2026-07-24 00:14:57 +00:00
m.schnitzlerandroot 7ee9dd2a49 renovate (#190)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-24 00:14:46 +00:00
4 changed files with 110 additions and 70 deletions
+5
View File
@@ -2,6 +2,7 @@ import js from '@eslint/js';
import tsparser from '@typescript-eslint/parser'; import tsparser from '@typescript-eslint/parser';
import tsplugin from '@typescript-eslint/eslint-plugin'; import tsplugin from '@typescript-eslint/eslint-plugin';
import globals from 'globals'; import globals from 'globals';
import prettierConfig from 'eslint-config-prettier';
export default [ export default [
// remonte (et --fix supprime) tout eslint-disable inutile : regle deja off, inactive, ou qui ne tire pas // remonte (et --fix supprime) tout eslint-disable inutile : regle deja off, inactive, ou qui ne tire pas
@@ -65,4 +66,8 @@ export default [
{ {
ignores: ['legacy/', 'out/', 'dist/', '.vscode-test/', '**/*.d.ts'], ignores: ['legacy/', 'out/', 'dist/', '.vscode-test/', '**/*.d.ts'],
}, },
// EN DERNIER : prettier est seul juge du formatage. Neutralise les regles de formatage des presets
// (unicorn/number-literal-case, no-confusing-arrow, no-multi-spaces...) que le cron `eslint --fix`
// reecrivait en sens inverse du cron `prettier --write` sur les memes octets (ticket 4152).
prettierConfig,
]; ];
+95 -61
View File
@@ -1,12 +1,12 @@
{ {
"name": "vscodestat", "name": "vscodestat",
"version": "1.8.3", "version": "1.8.10",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "vscodestat", "name": "vscodestat",
"version": "1.8.3", "version": "1.8.10",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@eslint/js": "^10.0.1", "@eslint/js": "^10.0.1",
@@ -16,11 +16,12 @@
"@typescript-eslint/eslint-plugin": "^8.65.0", "@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0", "@typescript-eslint/parser": "^8.65.0",
"@vscode/test-cli": "^0.0.15", "@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0", "@vscode/test-electron": "^3.1.0",
"eslint": "^10.1.0", "eslint": "^10.1.0",
"globals": "^17.7.0", "eslint-config-prettier": "^10.1.8",
"globals": "^17.9.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"lint-staged": "^17.1.0", "lint-staged": "^17.3.0",
"prettier": "^3.9.6", "prettier": "^3.9.6",
"ts-api-utils": "^2.5.0", "ts-api-utils": "^2.5.0",
"typescript": "^6.0.3" "typescript": "^6.0.3"
@@ -40,9 +41,9 @@
} }
}, },
"node_modules/@eslint-community/eslint-utils": { "node_modules/@eslint-community/eslint-utils": {
"version": "4.9.1", "version": "4.10.1",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz",
"integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -84,9 +85,9 @@
} }
}, },
"node_modules/@eslint/config-helpers": { "node_modules/@eslint/config-helpers": {
"version": "0.6.0", "version": "0.7.0",
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
"integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -379,9 +380,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "26.1.1", "version": "26.1.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.2.tgz",
"integrity": "sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==", "integrity": "sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -653,9 +654,9 @@
} }
}, },
"node_modules/@vscode/test-electron": { "node_modules/@vscode/test-electron": {
"version": "3.0.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-3.1.0.tgz",
"integrity": "sha512-TY5mC7aAjxSLDXsyjhrG8cJHgc/HLdiE5lvtW7hABYQrY24Qwozzr5UoO3HiuAM4Hzz4b7K/eZlwrCILj94CcA==", "integrity": "sha512-CRqv5u+YYoseuNVJ6Tyo4k0sF0mx4qnKMihRB0PjsUF8Dc0WKtCXo6CNL6nWWm5esfFQsQA/pejMj4ZbpJVLTw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -670,9 +671,9 @@
} }
}, },
"node_modules/acorn": { "node_modules/acorn": {
"version": "8.17.0", "version": "8.18.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",
"integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -766,16 +767,16 @@
} }
}, },
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "5.0.7", "version": "5.0.9",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",
"integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==", "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"balanced-match": "^4.0.2" "balanced-match": "^4.0.2"
}, },
"engines": { "engines": {
"node": "18 || 20 || >=22" "node": "20 || >=22"
} }
}, },
"node_modules/browser-stdout": { "node_modules/browser-stdout": {
@@ -1131,9 +1132,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/enhanced-resolve": { "node_modules/enhanced-resolve": {
"version": "5.24.3", "version": "5.24.5",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.24.3.tgz", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.24.5.tgz",
"integrity": "sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ==", "integrity": "sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1168,9 +1169,9 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "10.7.0", "version": "10.8.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.7.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.8.0.tgz",
"integrity": "sha512-GVTD7s1vdIl6UYvAfriOPeY1Df8LIZjfofLvHwde+erDHGGuHyuM6xoxRxmHiebhYuD2p1vN4wWh0XzPARSGDQ==", "integrity": "sha512-nuKKvN+oIBO0koN7Tm7dlkmnkc21mtt0QJLwAKzjLq14y6lRTdVG36MZHJ8eQHwdJMwZbQNMlPOYedMq/oVJvQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
@@ -1180,7 +1181,7 @@
"@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2", "@eslint-community/regexpp": "^4.12.2",
"@eslint/config-array": "^0.23.5", "@eslint/config-array": "^0.23.5",
"@eslint/config-helpers": "^0.6.0", "@eslint/config-helpers": "^0.7.0",
"@eslint/core": "^1.2.1", "@eslint/core": "^1.2.1",
"@eslint/plugin-kit": "^0.7.2", "@eslint/plugin-kit": "^0.7.2",
"@humanfs/node": "^0.16.6", "@humanfs/node": "^0.16.6",
@@ -1204,7 +1205,7 @@
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"is-glob": "^4.0.0", "is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1", "json-stable-stringify-without-jsonify": "^1.0.1",
"minimatch": "^10.2.4", "minimatch": "^10.2.5",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"optionator": "^0.9.3" "optionator": "^0.9.3"
}, },
@@ -1226,6 +1227,22 @@
} }
} }
}, },
"node_modules/eslint-config-prettier": {
"version": "10.1.8",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz",
"integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==",
"dev": true,
"license": "MIT",
"bin": {
"eslint-config-prettier": "bin/cli.js"
},
"funding": {
"url": "https://opencollective.com/eslint-config-prettier"
},
"peerDependencies": {
"eslint": ">=7.0.0"
}
},
"node_modules/eslint-scope": { "node_modules/eslint-scope": {
"version": "9.1.2", "version": "9.1.2",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz",
@@ -1452,9 +1469,9 @@
} }
}, },
"node_modules/flatted": { "node_modules/flatted": {
"version": "3.4.2", "version": "3.4.4",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",
"integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",
"dev": true, "dev": true,
"license": "ISC" "license": "ISC"
}, },
@@ -1530,9 +1547,9 @@
} }
}, },
"node_modules/globals": { "node_modules/globals": {
"version": "17.7.0", "version": "17.9.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-17.7.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-17.9.0.tgz",
"integrity": "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==", "integrity": "sha512-m/MvAW61QVU5VDNF1Vj8axt016h8w7L5TU1e9zlab7XIttAT2YAlCwl75K1fOqvMM9apmD7lbCIRhpfkhmxhCg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -1816,9 +1833,9 @@
} }
}, },
"node_modules/js-yaml": { "node_modules/js-yaml": {
"version": "4.3.0", "version": "4.3.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz",
"integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==", "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -1907,9 +1924,9 @@
} }
}, },
"node_modules/lint-staged": { "node_modules/lint-staged": {
"version": "17.1.0", "version": "17.3.0",
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.1.0.tgz", "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.3.0.tgz",
"integrity": "sha512-d7UQRu/9ZPgfu4+hu/k0wny5GEaIxo+2jb2LJqQDkE7cHRTm1HGqNUDq5UOwsGPpjpaNAFmgAsYo3TR+i9cSJw==", "integrity": "sha512-woZS3vNe3UKqBaLPvbLOtKRY4tLANpWQhom12MGWqC8Mh1lCOO+WgSwmX2amjJAqTY9BkXYW87fCUH5H9Ph6xw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2003,13 +2020,13 @@
} }
}, },
"node_modules/minimatch": { "node_modules/minimatch": {
"version": "10.2.5", "version": "10.2.6",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true, "dev": true,
"license": "BlueOak-1.0.0", "license": "BlueOak-1.0.0",
"dependencies": { "dependencies": {
"brace-expansion": "^5.0.5" "brace-expansion": "^5.0.8"
}, },
"engines": { "engines": {
"node": "18 || 20 || >=22" "node": "18 || 20 || >=22"
@@ -2029,9 +2046,9 @@
} }
}, },
"node_modules/mocha": { "node_modules/mocha": {
"version": "11.7.6", "version": "11.8.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.6.tgz", "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.8.0.tgz",
"integrity": "sha512-nS9xOGbw2I3cjCpxwZAEJ9xK9lmJ08vEkQvLtz4du9ZrF9UrjRpeJGiIgl2Z+Qs++pmB4ecDe48Fwsh+j+j7xA==", "integrity": "sha512-VyCeUdGN3A9lmCTTgG4yuvY9ixxaDk+xt2R/7/+1AP6EqNG+G9OKkzBwhVtVYoNX8YsxNSgAl8mOv3IAeOpFbw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2083,9 +2100,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/mocha/node_modules/brace-expansion": { "node_modules/mocha/node_modules/brace-expansion": {
"version": "2.1.2", "version": "2.1.4",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.2.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
"integrity": "sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==", "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2894,9 +2911,9 @@
} }
}, },
"node_modules/tinyexec": { "node_modules/tinyexec": {
"version": "1.2.4", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz",
"integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==", "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -3155,16 +3172,16 @@
} }
}, },
"node_modules/yargs": { "node_modules/yargs": {
"version": "18.0.0", "version": "18.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.1.0.tgz",
"integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", "integrity": "sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cliui": "^9.0.1", "cliui": "^9.0.1",
"escalade": "^3.1.1", "escalade": "^3.1.1",
"get-caller-file": "^2.0.5", "get-caller-file": "^2.0.5",
"string-width": "^7.2.0", "string-width": "^8.2.1",
"y18n": "^5.0.5", "y18n": "^5.0.5",
"yargs-parser": "^22.0.0" "yargs-parser": "^22.0.0"
}, },
@@ -3198,6 +3215,23 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/yargs/node_modules/string-width": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz",
"integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==",
"dev": true,
"license": "MIT",
"dependencies": {
"get-east-asian-width": "^1.5.0",
"strip-ansi": "^7.1.2"
},
"engines": {
"node": ">=20"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/yargs/node_modules/yargs-parser": { "node_modules/yargs/node_modules/yargs-parser": {
"version": "22.0.0", "version": "22.0.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",
+5 -4
View File
@@ -1,7 +1,7 @@
{ {
"name": "vscodestat", "name": "vscodestat",
"displayName": "vscodestat", "displayName": "vscodestat",
"version": "1.8.3", "version": "1.8.10",
"description": "", "description": "",
"categories": [ "categories": [
"Other" "Other"
@@ -56,11 +56,12 @@
"@typescript-eslint/eslint-plugin": "^8.65.0", "@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0", "@typescript-eslint/parser": "^8.65.0",
"@vscode/test-cli": "^0.0.15", "@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0", "@vscode/test-electron": "^3.1.0",
"eslint": "^10.1.0", "eslint": "^10.1.0",
"globals": "^17.7.0", "eslint-config-prettier": "^10.1.8",
"globals": "^17.9.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"lint-staged": "^17.1.0", "lint-staged": "^17.3.0",
"prettier": "^3.9.6", "prettier": "^3.9.6",
"ts-api-utils": "^2.5.0", "ts-api-utils": "^2.5.0",
"typescript": "^6.0.3" "typescript": "^6.0.3"
+5 -5
View File
@@ -4,21 +4,21 @@ export function activate(context: vscode.ExtensionContext) {
console.log('Congratulations, your extension "vscodestat" is now active!'); console.log('Congratulations, your extension "vscodestat" is now active!');
// commande pour definir l'url // commande pour definir l'url
const disposable2 = vscode.commands.registerCommand('vscodestat.setUrl', async () => { const setUrlCommand = vscode.commands.registerCommand('vscodestat.setUrl', async () => {
const url = await vscode.window.showInputBox({ const url = await vscode.window.showInputBox({
prompt: 'Enter the URL:', prompt: 'Enter the URL:',
placeHolder: '', placeHolder: '',
}); });
if (url) { if (url) {
vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global); await vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global);
vscode.window.showInformationMessage('URL set successfully.'); vscode.window.showInformationMessage('URL set successfully.');
} }
}); });
context.subscriptions.push(disposable2); context.subscriptions.push(setUrlCommand);
// commande pour tester l'url // commande pour tester l'url
const disposable3 = vscode.commands.registerCommand('vscodestat.callUrl', async () => { const callUrlCommand = vscode.commands.registerCommand('vscodestat.callUrl', async () => {
const storedUrl = vscode.workspace.getConfiguration().get('vscodestat.url') as string; const storedUrl = vscode.workspace.getConfiguration().get('vscodestat.url') as string;
if (!storedUrl) { if (!storedUrl) {
vscode.window.showWarningMessage('URL is not set. Please set the URL first.'); vscode.window.showWarningMessage('URL is not set. Please set the URL first.');
@@ -27,7 +27,7 @@ export function activate(context: vscode.ExtensionContext) {
await makeHttpRequest({ event: 'ping' }); await makeHttpRequest({ event: 'ping' });
vscode.window.showInformationMessage('callUrl done'); vscode.window.showInformationMessage('callUrl done');
}); });
context.subscriptions.push(disposable3); context.subscriptions.push(callUrlCommand);
// detecte une ouverture de fichier / nouvel onglet // detecte une ouverture de fichier / nouvel onglet
vscode.window.onDidChangeActiveTextEditor(async (editor) => { vscode.window.onDidChangeActiveTextEditor(async (editor) => {