Skip to content

Commit 8cd401d

Browse files
authored
Release Zowe Explorer v3.5.1 (#4349)
* chore: cleanup before lerna updates Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: update larna.json Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * audit: fix security audit Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * audit: missed one update Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * deps: fix build issues Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --------- Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
1 parent c59e366 commit 8cd401d

5 files changed

Lines changed: 275 additions & 997 deletions

File tree

lerna.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"version": "3.5.0",
2+
"version": "3.5.1",
33
"command": {
44
"version": {
55
"forcePublish": true,
66
"private": true
77
}
88
},
99
"useWorkspaces": true
10-
}
10+
}

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,28 @@
7272
"file-type": "^21.3.1",
7373
"flatted": "^3.4.2",
7474
"ip-address": "^10.1.1",
75-
"js-yaml": "^4.1.1",
75+
"js-yaml": "^4.2.0",
7676
"katex": "^0.16.35",
7777
"postcss": "^8.5.10",
7878
"rollup": "^4.59.0",
7979
"serialize-javascript": "^7.0.3",
8080
"tar-fs@3": "^3.1.1",
8181
"tmp": "^0.2.7",
8282
"undici": "^6.24.0",
83-
"qs@6": "^6.14.2",
84-
"ws": "^8.17.1",
85-
"markdown-it@14": "^14.1.1",
83+
"qs@6": "^6.15.2",
84+
"ws": "^8.21.0",
85+
"markdown-it@14": "^14.2.0",
8686
"minimatch@3": "^3.1.4",
8787
"minimatch@5": "^5.1.8",
8888
"minimatch@9": "^9.0.7",
8989
"minimatch@10": "^10.2.3",
90-
"rollup@4": "^4.59.0",
91-
"underscore": "^1.13.8"
90+
"underscore": "^1.13.8",
91+
"uuid@<11.1.1": ">=11.1.1",
92+
"esbuild@>=0.27.3 <0.28.1": ">=0.28.1",
93+
"form-data@>=4.0.0 <4.0.6": ">=4.0.6",
94+
"vite@<=6.4.2": ">=6.4.3",
95+
"@babel/core@<=7.29.0": ">=7.29.6",
96+
"dompurify@<3.4.11": ">=3.4.11"
9297
}
9398
},
9499
"scripts": {
@@ -108,4 +113,4 @@
108113
"preinstall": "npx only-allow pnpm",
109114
"update-sdks": "pnpm -r update \"@zowe/*@zowe-v3-lts\" \"!@zowe/zowe-explorer-api\" \"!@zowe/zos-ftp-for-zowe-cli\""
110115
}
111-
}
116+
}

packages/zowe-explorer-api/__tests__/__unit__/profiles/ZoweExplorerZosmfApi.unit.test.ts

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -925,64 +925,41 @@ describe("ZosmfCommandApi", () => {
925925
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
926926
spy.mockClear().mockResolvedValue(undefined);
927927
await obj.issueUnixCommand("ls", "dir'with'quotes", SshSessionobj);
928-
expect(spy).toHaveBeenCalledWith(
929-
SshSessionobj,
930-
"ls",
931-
"dir'with'quotes",
932-
expect.any(Function),
933-
true
934-
);
928+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "ls", "dir'with'quotes", expect.any(Function), true);
935929
});
936930

937931
it("issueUnixCommand should pass cwd raw to executeSshCwd even with shell metacharacters", async () => {
938932
const obj = new ZoweExplorerZosmf.CommandApi();
939933
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
940934
spy.mockClear().mockResolvedValue(undefined);
941-
935+
942936
await obj.issueUnixCommand("pwd", "test'dir$(sleep 5)`whoami`", SshSessionobj);
943-
944-
expect(spy).toHaveBeenCalledWith(
945-
SshSessionobj,
946-
"pwd",
947-
"test'dir$(sleep 5)`whoami`",
948-
expect.any(Function),
949-
true
950-
);
937+
938+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "pwd", "test'dir$(sleep 5)`whoami`", expect.any(Function), true);
951939
});
952940

953941
it("issueUnixCommand should pass cwd raw to executeSshCwd even with consecutive/edge single quotes", async () => {
954942
const obj = new ZoweExplorerZosmf.CommandApi();
955943
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
956944
spy.mockClear().mockResolvedValue(undefined);
957-
945+
958946
await obj.issueUnixCommand("ls", "''weird''dir'", SshSessionobj);
959-
960-
expect(spy).toHaveBeenCalledWith(
961-
SshSessionobj,
962-
"ls",
963-
"''weird''dir'",
964-
expect.any(Function),
965-
true
966-
);
947+
948+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "ls", "''weird''dir'", expect.any(Function), true);
967949
});
968950

969951
it("issueUnixCommand should call executeSsh directly if cwd is empty", async () => {
970952
const obj = new ZoweExplorerZosmf.CommandApi();
971953
const spySsh = sharedSpyOn(zosuss.Shell, "executeSsh");
972954
const spySshCwd = sharedSpyOn(zosuss.Shell, "executeSshCwd");
973-
955+
974956
spySsh.mockClear().mockResolvedValue(undefined);
975957
spySshCwd.mockClear().mockResolvedValue(undefined);
976-
958+
977959
await obj.issueUnixCommand("ls", "", SshSessionobj);
978-
960+
979961
expect(spySshCwd).not.toHaveBeenCalled();
980-
expect(spySsh).toHaveBeenCalledWith(
981-
SshSessionobj,
982-
"ls",
983-
expect.any(Function),
984-
true
985-
);
962+
expect(spySsh).toHaveBeenCalledWith(SshSessionobj, "ls", expect.any(Function), true);
986963
});
987964

988965
it("check whether sshProfileNeeded", () => {

packages/zowe-explorer-ftp-extension/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be docum
22

33
## TBD Release
44

5-
### Bug fixes
6-
75
## `3.5.0`
86

97
### Bug fixes

0 commit comments

Comments
 (0)