@vscode/test-web 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,6 +189,13 @@ async function isESM(vsCodeDevLocation) {
189
189
  const packageJSON = await fs_1.promises.readFile(path.join(vsCodeDevLocation, 'out', 'package.json'));
190
190
  return JSON.parse(packageJSON.toString()).type === 'module';
191
191
  }
192
+ catch (e) {
193
+ // ignore
194
+ }
195
+ try {
196
+ const packageJSON = await fs_1.promises.readFile(path.join(vsCodeDevLocation, 'package.json'));
197
+ return JSON.parse(packageJSON.toString()).type === 'module';
198
+ }
192
199
  catch (e) {
193
200
  return false;
194
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/test-web",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "scripts": {
5
5
  "install-extensions": "npm i --prefix=fs-provider && npm i --prefix=sample",
6
6
  "compile": "tsc -b ./ && npm run compile-fs-provider",
@@ -51,7 +51,7 @@
51
51
  "@types/minimist": "^1.2.5",
52
52
  "@types/node": "^20.14.9",
53
53
  "@types/tar-fs": "^2.0.4",
54
- "@typescript-eslint/eslint-plugin": "^8.7.0",
54
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
55
55
  "@typescript-eslint/parser": "^8.7.0",
56
56
  "eslint": "^9.11.1",
57
57
  "@tony.ganchev/eslint-plugin-header": "^3.1.2",