You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sh...@apache.org on 2023/03/17 00:35:23 UTC
[daffodil-vscode] branch main updated: Bump wait-port from 0.3.1 to 1.0.4
This is an automated email from the ASF dual-hosted git repository.
shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git
The following commit(s) were added to refs/heads/main by this push:
new 4868baa Bump wait-port from 0.3.1 to 1.0.4
4868baa is described below
commit 4868baac38c33a46f8fe99e60effd7c744930f82
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Wed Mar 15 17:57:10 2023 +0000
Bump wait-port from 0.3.1 to 1.0.4
Bumps [wait-port](https://github.com/dwmkerr/wait-port) from 0.3.1 to 1.0.4.
- [Release notes](https://github.com/dwmkerr/wait-port/releases)
- [Changelog](https://github.com/dwmkerr/wait-port/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dwmkerr/wait-port/compare/v0.3.1...v1.0.4)
---
updated-dependencies:
- dependency-name: wait-port
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <su...@github.com>
---
package.json | 2 +-
src/tests/suite/omegaEdit.test.ts | 11 +++++++----
yarn.lock | 9 ---------
3 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/package.json b/package.json
index b7ff99e..47b729a 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"pino": "^8.11.0",
"unzip-stream": "0.3.1",
"uuid": "^9.0.0",
- "wait-port": "^0.3.0",
+ "wait-port": "^1.0.4",
"xdg-app-paths": "^8.2.0"
},
"devDependencies": {
diff --git a/src/tests/suite/omegaEdit.test.ts b/src/tests/suite/omegaEdit.test.ts
index f4b6d3b..177955b 100644
--- a/src/tests/suite/omegaEdit.test.ts
+++ b/src/tests/suite/omegaEdit.test.ts
@@ -121,10 +121,13 @@ suite('omega-edit Test Suite', () => {
test('running omega-edit server', async () => {
const wait_port = require('wait-port')
- assert.strictEqual(
- await wait_port({ host: '127.0.0.1', port: port, output: 'silent' }),
- true
- )
+ var result = await wait_port({
+ host: '127.0.0.1',
+ port: port,
+ output: 'silent',
+ })
+
+ assert.strictEqual(result.open, true)
})
suite('omega-edit commands', () => {
diff --git a/yarn.lock b/yarn.lock
index 7e966d7..96f6cd9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3071,15 +3071,6 @@ vscode-extension-tester@^5.2.1:
unzip-stream "^0.3.1"
vscode-extension-tester-locators "^3.3.0"
-wait-port@^0.3.0:
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/wait-port/-/wait-port-0.3.1.tgz#d4309654b88a82333459eb264bc278e0be998d37"
- integrity sha512-o8kW8xjslQDrbazXgXeDFt53l128J9xBAiG4aBmr9DcQA05jt0VBf2TE2vc9rxctgZjIuWpiXuO0gIYFo3pZSA==
- dependencies:
- chalk "^4.1.2"
- commander "^9.3.0"
- debug "^4.3.4"
-
wait-port@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/wait-port/-/wait-port-1.0.4.tgz#6f9474645ddbf7701ac100ab6762438edf6e5689"