azure-pipelines-tasks-webdeployment-common 4.236.0 → 4.242.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Tests/L1ZipUtility.js
CHANGED
|
@@ -15,7 +15,7 @@ const assert = require("assert");
|
|
|
15
15
|
const ziputility_1 = require("../ziputility");
|
|
16
16
|
function runL1ZipUtilityTests() {
|
|
17
17
|
it("Should skip ZIP entries validation", () => __awaiter(this, void 0, void 0, function* () {
|
|
18
|
-
const archive = path.join(__dirname, 'L1ZipUtility', 'potentially_malicious.zip');
|
|
18
|
+
const archive = path.join(__dirname, '..', '..', 'Tests', 'L1ZipUtility', 'potentially_malicious.zip');
|
|
19
19
|
const exists = yield ziputility_1.checkIfFilesExistsInZip(archive, ['index.html']);
|
|
20
20
|
assert.strictEqual(exists, true);
|
|
21
21
|
}));
|
package/Tests/L1ZipUtility.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { checkIfFilesExistsInZip } from "../ziputility";
|
|
|
5
5
|
export function runL1ZipUtilityTests(this: Mocha.Suite): void {
|
|
6
6
|
|
|
7
7
|
it("Should skip ZIP entries validation", async () => {
|
|
8
|
-
const archive = path.join(__dirname, 'L1ZipUtility', 'potentially_malicious.zip');
|
|
8
|
+
const archive = path.join(__dirname, '..', '..', 'Tests', 'L1ZipUtility', 'potentially_malicious.zip');
|
|
9
9
|
|
|
10
10
|
const exists = await checkIfFilesExistsInZip(archive, ['index.html']);
|
|
11
11
|
|
package/package.json
CHANGED
|
Binary file
|