Skip to content

Commit

Permalink
Vulnerable configs only on user/remote level
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Mar 15, 2021
1 parent a668717 commit e019036
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.4.5

Fixes vulnerability which allowed malicous workspaces to execute code when opened by providing. Now the vulnerable configs cannot be overrided in workspaces anymore: `swiftlint.path`.

## 1.4.4

- Pass currently linted file path to Swiftlint #30 after save
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/vknabel/vscode-swiftlint"
},
"version": "1.4.4",
"version": "1.4.5",
"license": "MIT",
"author": {
"name": "Valentin Knabel",
Expand Down Expand Up @@ -57,7 +57,8 @@
"swiftlint.path": {
"type": "string",
"default": "/usr/local/bin/swiftlint",
"description": "The location of your globally installed SwiftLint."
"description": "The location of your globally installed SwiftLint.",
"scope": "machine"
},
"swiftlint.toolchainPath": {
"type": "string",
Expand Down

0 comments on commit e019036

Please sign in to comment.