Archived
1
0
Commit Graph

3236 Commits

Author SHA1 Message Date
dependabot[bot]
556e562f5c
chore(deps): bump semver from 7.3.2 to 7.3.4 (#2897)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.2 to 7.3.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.2...v7.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 12:29:37 -05:00
Asher
050a1bb146
Fix localizations service import
It was moved from electron-browser to electron-sandbox.
2021-03-16 10:20:14 -07:00
Joe Previte
875dfb66a4
fix(lib/vscode): update path for logService 2021-03-16 10:20:14 -07:00
Joe Previte
8f414b5005
fix(lib/vscode): make mkdir recursive 2021-03-16 10:20:14 -07:00
Joe Previte
25dbb5b1b6
fix(lib/vscode0: localizations import in client 2021-03-16 10:20:14 -07:00
Joe Previte
34189e4d49
fix(lib/vscode): add getAppRoot to VariableResolverService
Not sure if it's used because it can return undefined, but it's
there now!
2021-03-16 10:20:13 -07:00
Joe Previte
dc08bc68c6
fix(lib/vscode): fix terminalLayoutInfoArgs
It looks like before, the ISetTerminalLAyoutInfoArgs and
IGetTerminalLayoutInfoArgs were part of the terminal interface, but now they're
just interfaces so this commit fixes the imports to get them from
vs/platform/terminal/common/terminalProcess.
2021-03-16 10:20:13 -07:00
Joe Previte
e5b7438695
fix(lib/vscode): update imports in channel.ts for terminal
It looks like they moved a bunch of terminal-related files around.

This only fixes the imports.
2021-03-16 10:20:13 -07:00
Joe Previte
c42240f182
fix(lib/vscode): refactor mkdirp to fs.promises
They removed mkdirp in favor of fs.promises.

Updated in marketplace.ts
2021-03-16 10:20:13 -07:00
Joe Previte
350ddc3c27
fix(lib/vscode): update log service in server.ts
This required a bit more work.

We moved a few things around and made use of multiplexLogService.
2021-03-16 10:20:13 -07:00
Joe Previte
eaf63deb56
fix(lib/vscode): fix return type shutdown in ptyService
In the squash/merge update, we forgot to update the return type.

Add Promise<void> instead of void for shutdown method.
2021-03-16 10:20:12 -07:00
Joe Previte
cc8e4ee97c
fix(lib/vscode): update extensionManagementService
Looks like a few import updates and one minor update for language packs.

We had made this change ourselves, but now it's officially in the vscode
codebase. Super cool.
2021-03-16 10:20:12 -07:00
Joe Previte
acb4663873
Merge pull request #2891 from cdr/jsjoeio/replace-shfmt
feat: add prettier-plugin-sh
2021-03-15 16:32:25 -07:00
Joe Previte
d05389880a
chore: update formatting w/new prettier sh plugin 2021-03-15 15:36:31 -07:00
Joe Previte
0ba53b6adf
feat: add prettier-plugin-sh 2021-03-15 15:14:26 -07:00
Joe Previte
3eafcf94b7
refactor: remove shfmt 2021-03-15 15:13:44 -07:00
dependabot[bot]
3f3a619660
chore(deps-dev): bump @types/ws from 7.2.7 to 7.4.0 (#2871)
* chore(deps-dev): bump @types/ws from 7.2.7 to 7.4.0

Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.2.7 to 7.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump ws from 7.3.1 to 7.4.4

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com>
2021-03-15 17:08:28 -05:00
Asher
3ef7cc7d03
Update yarn test command 2021-03-15 15:47:22 -05:00
Asher
f33402c503
Remove extra awaits from tests 2021-03-15 15:34:44 -05:00
dependabot[bot]
d27126530f
chore(deps-dev): bump @types/http-proxy from 1.17.4 to 1.17.5 (#2872)
Bumps [@types/http-proxy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-proxy) from 1.17.4 to 1.17.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-proxy)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 15:19:14 -05:00
dependabot[bot]
bc48b54a71
chore(deps-dev): bump doctoc from 1.4.0 to 2.0.0 (#2886)
Bumps [doctoc](https://github.com/thlorenz/doctoc) from 1.4.0 to 2.0.0.
- [Release notes](https://github.com/thlorenz/doctoc/releases)
- [Commits](https://github.com/thlorenz/doctoc/compare/v1.4.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 15:11:48 -05:00
dependabot[bot]
14ef340369
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#2887)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.7.0 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 15:06:20 -05:00
Joe Previte
ca564402f7
Merge pull request #2852 from cdr/jsjoeio-2646-separate-testing
dev(testing): separate unit and e2e tests
2021-03-15 10:40:41 -07:00
dependabot[bot]
05068753f5
chore(deps-dev): bump typescript from 4.1.3 to 4.2.3 (#2884)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 12:15:33 -05:00
dependabot[bot]
a6b84bb23d
chore(deps): bump rotating-file-stream from 2.1.3 to 2.1.5 (#2880)
Bumps [rotating-file-stream](https://github.com/iccicci/rotating-file-stream) from 2.1.3 to 2.1.5.
- [Release notes](https://github.com/iccicci/rotating-file-stream/releases)
- [Changelog](https://github.com/iccicci/rotating-file-stream/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iccicci/rotating-file-stream/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 11:58:51 -05:00
dependabot[bot]
88af52fe18
chore(deps): bump env-paths from 2.2.0 to 2.2.1 (#2883)
Bumps [env-paths](https://github.com/sindresorhus/env-paths) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/sindresorhus/env-paths/releases)
- [Commits](https://github.com/sindresorhus/env-paths/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:54:12 -05:00
dependabot[bot]
37a56be3f5
chore(deps-dev): bump eslint from 7.11.0 to 7.22.0 (#2876)
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:41:33 -05:00
dependabot[bot]
c90d1983f6
chore(deps-dev): bump prettier from 2.1.2 to 2.2.1 (#2873)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 16:21:55 -06:00
Jonathan Yu
7b1fe3156d
chore: use dependabot to manage dependencies (#2830)
Use dependabot to manage the dependencies defined in package.json and
GitHub Actions workflows, so that we can proactively update versions.

Outdated versions of third-party dependencies frequently have known
security vulnerabilities with CVEs.
2021-03-12 11:46:18 -08:00
Joe Previte
7e23575978
chore: update code-server path in tsconfig 2021-03-12 12:00:57 -07:00
Joe Previte
9ee2556dd1
chore: update gitignore with test dirs 2021-03-12 12:00:57 -07:00
Joe Previte
aeaf11ced6
refactor: update ci.yaml, test:unit and test:e2e 2021-03-12 12:00:57 -07:00
Joe Previte
6fd30d91ea
feat: add jest e2e config 2021-03-12 12:00:57 -07:00
Joe Previte
529d69e8e8
refactor: add scripts to separate unit, e2e tests 2021-03-12 12:00:56 -07:00
Joe Previte
d10da3f7c3
refactor: move test-plugin 2021-03-12 12:00:56 -07:00
Joe Previte
cf6fdb90eb
refactor: create test/utils 2021-03-12 12:00:56 -07:00
Joe Previte
b468597872
refactor: move e2e tests to test/e2e 2021-03-12 12:00:56 -07:00
Joe Previte
3f7104bb4e
refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
Joe Previte
ed839c9a03
feat: add test:e2e and test:unit to package.json 2021-03-12 12:00:55 -07:00
Jonathan Yu
c270570f77
chore: run builds on pull requests (#2866)
* Run builds when changes are pushed to the main branch, or for pull
  requests opened against the main branch. This is a subtle change
  in behavior because, previously, builds would've run on pushes to
  any branch, regardless if a pull request is open yet.
* Update to GitHub actions/checkout v2, which performs a shallow
  clone by default, and should speed up the build.

Closes: #2559
2021-03-12 09:48:39 -08:00
Akash Satheesan
702485139a
chore: update vulnerable dependencies (#2861)
Cherry-pick dependencies with security issues to update.

Signed-off-by: Akash Satheesan <akash@coder.com>
2021-03-12 01:46:40 +05:30
Joe Previte
fa71191dbf
Merge pull request #2859 from cdr/jsjoeio/update-upgrade-vscode-script
dev(update-vscode.sh): get latest vscode version and force commit files
2021-03-11 13:15:51 -07:00
Joe Previte
8512be85a5
fix(lib/vscode): update electron-sandbox localizationService
I'm not sure if we even use this but they changed the LocalizationService.o

It looks like it using one called ISharedProcessService now.
2021-03-11 11:09:37 -07:00
Joe Previte
42ff0ec5e7
fix(lib/vscode): update dialogHandler
Looks like a minor update to the localization for the detailString
which I believe shows up when you go to Help:About.
2021-03-11 11:06:05 -07:00
Joe Previte
d1ad3fad5e
fix(lib/vscode): update storageService getStorage methods
This change refactors a lot of the get methods in the storageService.

I think it simplies a lot. It removes a bunch of methods.
2021-03-11 11:02:32 -07:00
Joe Previte
325f21f73d
fix(lib/vscode): change doStore > doInitialize AbstractStorageService
Looks like they changed the doStore method to doInitialize in the
AbstractStorageService class.

It no longer accepts any parameters.
2021-03-11 10:58:48 -07:00
Joe Previte
dc5c271a0c
fix(lib/vscode): replace doStore with getSotrage
Inside the class BrowserStorageService, it looks like they replaced doStore with
getStorage.

However, at the time of writing this message, I am getting a TypeScript error
saying:
> Non-abstract class 'BrowserStorageService' does not implement inherited
> abstract member 'doStore' from class 'AbstractStorageService'.

Hopefully that will be disappear after I fix other errors.
2021-03-11 10:56:16 -07:00
Joe Previte
dac44ec2e0
feat(update-vscode): use todo items for conflicts in pr body 2021-03-11 10:50:06 -07:00
Joe Previte
e79ca99466
feat(lib/vscode): update src/vs/base/node/languagePacks.js
It looks like a couple functions were added here
such as a readFile and writeFile.
2021-03-11 10:47:52 -07:00
Joe Previte
548b6fb628
fix(lib/vscode): package.json and yarn.lock
No new dependencies were added in the 1.54.2 update.
2021-03-11 10:46:08 -07:00