Skip to content

Commit

Permalink
release 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nonoroazoro committed Jul 27, 2022
2 parents 3d6f410 + 3cf9e79 commit 3ae4f52
Show file tree
Hide file tree
Showing 5 changed files with 638 additions and 505 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Changelogs

## 3.3.1 - July 27, 2022

- Fixed: Handle exception while comparing versions.


## 3.3.0 - June 20, 2022

- Fixed: Validate minimum supported extension version
- Fixed: Validate minimum supported extension version.


## 3.2.1 - June 20, 2022
Expand Down
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "syncing",
"displayName": "%displayName%",
"description": "%description%",
"version": "3.3.0",
"version": "3.3.1",
"publisher": "nonoroazoro",
"author": {
"email": "[email protected]",
Expand Down Expand Up @@ -114,19 +114,20 @@
"watch": "tsc -p ./tsconfig.json -w",
"clean": "rimraf dist/*",
"cleanCov": "rimraf @coverage",
"upgradepackages": "./scripts/upgrade_packages.sh",
"test": "jest --config ./scripts/jest.config.js",
"test:watch": "npm test -- --watch",
"test:cov": "npm run cleanCov && npm test -- --coverage"
},
"dependencies": {
"@octokit/rest": "^18.12.0",
"@octokit/rest": "^19.0.3",
"chokidar": "^3.5.3",
"compare-versions": "^4.1.3",
"date-fns": "^2.28.0",
"date-fns": "^2.29.1",
"extract-zip": "^2.0.1",
"fs-extra": "10.1.0",
"https-proxy-agent": "^5.0.1",
"jsonc-parser": "^3.0.0",
"jsonc-parser": "^3.1.0",
"jsondiffpatch": "^0.4.1",
"junk": "^3.1.0",
"lodash.debounce": "^4.0.8",
Expand All @@ -137,29 +138,29 @@
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/jest": "^28.1.2",
"@types/jest": "^28.1.6",
"@types/lodash.debounce": "^4.0.7",
"@types/lodash.pick": "^4.4.7",
"@types/micromatch": "^4.0.2",
"@types/node": "^10.11.0",
"@types/vscode": "^1.37.0",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"cross-env": "^7.0.3",
"eslint": "^8.18.0",
"eslint-config-zoro": "^5.27.0",
"eslint": "^8.20.0",
"eslint-config-zoro": "^5.30.0",
"eslint-plugin-node": "^11.1.0",
"eslint-webpack-plugin": "^3.1.1",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"eslint-webpack-plugin": "^3.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"husky": "^8.0.1",
"jest": "^28.1.1",
"lint-staged": "^13.0.2",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"native-ext-loader": "^2.3.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.5",
"ts-loader": "^9.3.0",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpackbar": "^5.0.2"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/upgrade_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -ex

ncu -u -x "@types/node @types/vscode"
ncu -u -x "@types/node @types/vscode junk"
9 changes: 8 additions & 1 deletion src/utils/vscodeWebAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,12 @@ export function getVSIXDownloadURL(version: IExtensionVersion): string | undefin
export function isVSIXSupported(version: IExtensionVersion)
{
const requiredVersion = version.properties?.find(p => p.key === EXTENSION_ENGINE_PROPERTY_KEY)?.value;
return requiredVersion == null ? true : satisfies(vscode.version, requiredVersion);
try
{
return requiredVersion == null ? true : satisfies(vscode.version, requiredVersion);
}
catch
{
return false;
}
}
Loading

0 comments on commit 3ae4f52

Please sign in to comment.