Commit Graph

2070 Commits

Author SHA1 Message Date
dependabot[bot] 31dd0a4d6e
chore(deps-dev): bump @typescript-eslint/parser from 4.7.0 to 4.18.0 (#2896)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) 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/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 14:34:52 -05:00
dependabot[bot] 7259a24b3c
chore(deps-dev): bump @types/tar-stream from 2.1.0 to 2.2.0 (#2895)
* chore(deps-dev): bump @types/tar-stream from 2.1.0 to 2.2.0

Bumps [@types/tar-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar-stream) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar-stream)

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

* chore(deps): update tar-fs, add tar-stream, and remove tar

- tar doesn't seem to be used anywhere.
- tar-stream was an implicit dependency because we had tar-fs but it
  seems better to be explicit about it since we use it directly
- Update tar-fs as well since this makes it use same version instead of
  needing two separate copies of different versions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com>
2021-03-16 14:34:24 -05:00
dependabot[bot] b0c773bcda
chore(deps-dev): bump parcel-bundler from 1.12.4 to 1.12.5 (#2894)
* chore(deps-dev): bump parcel-bundler from 1.12.4 to 1.12.5

Bumps [parcel-bundler](https://github.com/parcel-bundler/parcel) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/parcel-bundler/parcel/releases)
- [Changelog](https://github.com/parcel-bundler/parcel/blob/v2/CHANGELOG.md)
- [Commits](https://github.com/parcel-bundler/parcel/compare/parcel-bundler@1.12.4...parcel-bundler@1.12.5)

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

* chore(deps): remove node-forge from resolutions

This is no longer needed since the parcel-bundler update also updated
the node-forge version.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com>
2021-03-16 13:40:57 -05:00
Asher 95a0740ca1
Merge pull request #2889 from code-asher/remove-fs-extra 2021-03-16 12:54:42 -05:00
Asher 964ebe8d0a
Replace fs-extra with fs.promises
Remove the Mac directory copy instead of refactoring it since we've had
this for a long time now and I think it's safe to assume that users
running code-server on Mac don't have the old directory anymore.
2021-03-16 12:51:08 -05:00
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
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 44a4a0bc20
fix: update base branch to main 2021-03-11 10:26:36 -07:00
Joe Previte 6f638f1329
fix: set upstream when pushing branch 2021-03-11 10:23:43 -07:00
Joe Previte b0861029c0
fix: add no-verify for commit line 2021-03-11 10:14:56 -07:00
Joe Previte 3e79a84152
feat: add docs and update PR body 2021-03-11 09:48:18 -07:00
Joe Previte 612b8314f9
feat(update-vscode): add step to commit files 2021-03-10 17:14:20 -07:00
Joe Previte f19ae171ea
feat(update-vscode): grab latest vscode version 2021-03-10 15:09:00 -07:00
Joe Previte 5d5e6314a1
Merge pull request #2851 from cdr/jsjoeio-docs-termux
docs(install): add termux section
2021-03-10 14:39:14 -07:00
Joe Previte 69a3e7f651
Merge pull request #2857 from cdr/terminal-missing-func
Implement missing terminal method
2021-03-10 14:26:59 -07:00
Joe Previte 781532c22d
docs(install): add termux section 2021-03-10 13:00:33 -07:00
Joe Previte c801a98e33
Merge pull request #2850 from cdr/jsjoeio-docs-2745
docs(npm): update node requirements
2021-03-10 12:26:31 -07:00
Asher 01c3d1f53d
Implement missing terminal method 2021-03-10 13:15:23 -06:00
Asher 5a1f62a8fb
Support permessage-deflate web socket extension (#2846) 2021-03-10 13:14:24 -06:00
Joe Previte 0cb5c2e937
feat: update node version engine in package.json 2021-03-10 10:47:47 -07:00
Joe Previte 81cf111794
docs(npm): update node requirements 2021-03-10 10:47:47 -07:00