snyk 1.1124.0 → 1.1126.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/dist/cli/thirdPartyNotice.json +2 -2
- package/dist/lib/init.gradle +4 -3
- package/package.json +1 -1
- package/src/generated/sha256sums.txt +10 -10
- package/src/generated/version +1 -1
- package/test/acceptance/basic.spec.ts +22 -6
- package/wrapper_dist/generated/sha256sums.txt +10 -10
- package/wrapper_dist/generated/version +1 -1
|
@@ -2520,10 +2520,10 @@
|
|
|
2520
2520
|
},
|
|
2521
2521
|
{
|
|
2522
2522
|
"name": "snyk-gradle-plugin",
|
|
2523
|
-
"version": "3.26.
|
|
2523
|
+
"version": "3.26.1",
|
|
2524
2524
|
"author": "snyk.io",
|
|
2525
2525
|
"repository": "https://github.com/snyk/snyk-gradle-plugin",
|
|
2526
|
-
"source": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.26.
|
|
2526
|
+
"source": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.26.1.tgz",
|
|
2527
2527
|
"license": "Apache-2.0",
|
|
2528
2528
|
"licenseText": "Copyright 2017 Snyk Ltd.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
|
|
2529
2529
|
},
|
package/dist/lib/init.gradle
CHANGED
|
@@ -288,11 +288,12 @@ allprojects { Project currProj ->
|
|
|
288
288
|
)
|
|
289
289
|
|
|
290
290
|
task snykResolvedDepsJson {
|
|
291
|
-
|
|
292
291
|
doLast { task ->
|
|
293
292
|
if (snykDepsConfExecuted) {
|
|
294
293
|
return
|
|
295
294
|
}
|
|
295
|
+
|
|
296
|
+
snykDepsConfExecuted = true
|
|
296
297
|
debugLog('snykResolvedDepsJson task is executing via doLast')
|
|
297
298
|
// debugLog("onlyProj=$onlyProj; confNameFilter=$confNameFilter; confAttrSpec=$confAttrSpec")
|
|
298
299
|
// First pass: scan all configurations that match the attribute filter and collect all attributes
|
|
@@ -383,7 +384,6 @@ allprojects { Project currProj ->
|
|
|
383
384
|
]
|
|
384
385
|
def jsonDeps = JsonOutput.toJson(result)
|
|
385
386
|
println("JSONDEPS $jsonDeps")
|
|
386
|
-
snykDepsConfExecuted = true
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
@@ -393,6 +393,8 @@ allprojects { Project currProj ->
|
|
|
393
393
|
if (snykDepsConfExecuted) {
|
|
394
394
|
return
|
|
395
395
|
}
|
|
396
|
+
|
|
397
|
+
snykDepsConfExecuted = true
|
|
396
398
|
debugLog('snykNormalizedResolvedDepsJson task is executing via doLast')
|
|
397
399
|
// debugLog("onlyProj=$onlyProj; confNameFilter=$confNameFilter; confAttrSpec=$confAttrSpec")
|
|
398
400
|
// First pass: scan all configurations that match the attribute filter and collect all attributes
|
|
@@ -485,7 +487,6 @@ allprojects { Project currProj ->
|
|
|
485
487
|
|
|
486
488
|
def jsonDeps = JsonOutput.toJson(result)
|
|
487
489
|
println("JSONDEPS $jsonDeps")
|
|
488
|
-
snykDepsConfExecuted = true
|
|
489
490
|
}
|
|
490
491
|
}
|
|
491
492
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
4aa2f3d0196cf450e390f48b09ce05a6e47ec54087dfa507dd6f9f448ebbca28 docker-mac-signed-bundle.tar.gz
|
|
2
|
+
e42a63055a409d25a7d5c419fc5aa4160d57aeabe0fced9919ae328cd475fa9c snyk-alpine
|
|
3
|
+
a8406607b502fefd0eb6945f25232a0fd09206a03002d63978c5c213e21bc93a snyk-fix.tgz
|
|
4
|
+
3e4ef35327f446e72d5c3785c728ef3678f7b75bbe5fd52ea0174104bf1d33f0 snyk-for-docker-desktop-darwin-arm64.tar.gz
|
|
5
|
+
884f03606b2dda14e1e3f7c68a351cd45526e58b1462de89daa476d6173542b3 snyk-for-docker-desktop-darwin-x64.tar.gz
|
|
6
|
+
5536c1ae5e1e4ebcaa3101a81075cb506e6cf76714bd173cc3d0bde15028bd70 snyk-linux-arm64
|
|
7
|
+
b902f238e0ac0e0883d62f11fbd97d5fdcda2a5dcedce89f1f79389959002bb0 snyk-linux
|
|
8
|
+
04aad4e327cf2f136964e1a50511c20fe713231d6ce2478e006dece2853d0079 snyk-macos
|
|
9
|
+
cd0c412594cb6dbab62b5bd1b021ee70890a82f77bd91d34d498ab7ae86c9ac1 snyk-protect.tgz
|
|
10
|
+
708d98c6bed91f532d9f257260b19b71ca4e73eba90e64471bb20ccee3a05234 snyk-win.exe
|
package/src/generated/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1126.0
|
|
@@ -42,8 +42,16 @@ describe('Basic acceptance test', () => {
|
|
|
42
42
|
'node ' + bootstrapScript + ' exec',
|
|
43
43
|
{ shell: true },
|
|
44
44
|
);
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
|
|
46
|
+
if (resultBootstrap.status != 0) {
|
|
47
|
+
console.debug(resultBootstrap.stdout.toString());
|
|
48
|
+
console.error(resultBootstrap.stderr.toString());
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// The binary wrapper should not output anything to stdout
|
|
52
|
+
// as it will conflict with stdout from the CLI leading to incidents
|
|
53
|
+
expect(resultBootstrap.stdout.toString()).toEqual('');
|
|
54
|
+
|
|
47
55
|
expect(resultBootstrap.status).toEqual(0);
|
|
48
56
|
expect(fs.existsSync(executable)).toBeTruthy();
|
|
49
57
|
|
|
@@ -94,9 +102,14 @@ describe('Basic acceptance test', () => {
|
|
|
94
102
|
|
|
95
103
|
expect(fs.existsSync(executable)).toBeTruthy();
|
|
96
104
|
expect(resultIndex.status).toEqual(0);
|
|
105
|
+
// The binary wrapper should not output anything to stdout
|
|
106
|
+
// Assert the only stdout is from the CLI --version flag
|
|
97
107
|
expect(
|
|
98
|
-
resultIndex.stdout
|
|
99
|
-
|
|
108
|
+
resultIndex.stdout
|
|
109
|
+
.toString()
|
|
110
|
+
.split(' ')[0]
|
|
111
|
+
.trim(),
|
|
112
|
+
).toEqual(cliVersionForTesting);
|
|
100
113
|
|
|
101
114
|
fs.unlinkSync(executable);
|
|
102
115
|
});
|
|
@@ -197,8 +210,11 @@ describe('Basic acceptance test', () => {
|
|
|
197
210
|
'node ' + bootstrapScript + ' exec',
|
|
198
211
|
{ shell: true, env: { ...process.env } },
|
|
199
212
|
);
|
|
200
|
-
|
|
201
|
-
|
|
213
|
+
|
|
214
|
+
if (resultBootstrap.status != 0) {
|
|
215
|
+
console.debug(resultBootstrap.stdout.toString());
|
|
216
|
+
console.error(resultBootstrap.stderr.toString());
|
|
217
|
+
}
|
|
202
218
|
|
|
203
219
|
const expectedErrorMessage = 'ECONNREFUSED';
|
|
204
220
|
const expectedError = resultBootstrap.stderr
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
4aa2f3d0196cf450e390f48b09ce05a6e47ec54087dfa507dd6f9f448ebbca28 docker-mac-signed-bundle.tar.gz
|
|
2
|
+
e42a63055a409d25a7d5c419fc5aa4160d57aeabe0fced9919ae328cd475fa9c snyk-alpine
|
|
3
|
+
a8406607b502fefd0eb6945f25232a0fd09206a03002d63978c5c213e21bc93a snyk-fix.tgz
|
|
4
|
+
3e4ef35327f446e72d5c3785c728ef3678f7b75bbe5fd52ea0174104bf1d33f0 snyk-for-docker-desktop-darwin-arm64.tar.gz
|
|
5
|
+
884f03606b2dda14e1e3f7c68a351cd45526e58b1462de89daa476d6173542b3 snyk-for-docker-desktop-darwin-x64.tar.gz
|
|
6
|
+
5536c1ae5e1e4ebcaa3101a81075cb506e6cf76714bd173cc3d0bde15028bd70 snyk-linux-arm64
|
|
7
|
+
b902f238e0ac0e0883d62f11fbd97d5fdcda2a5dcedce89f1f79389959002bb0 snyk-linux
|
|
8
|
+
04aad4e327cf2f136964e1a50511c20fe713231d6ce2478e006dece2853d0079 snyk-macos
|
|
9
|
+
cd0c412594cb6dbab62b5bd1b021ee70890a82f77bd91d34d498ab7ae86c9ac1 snyk-protect.tgz
|
|
10
|
+
708d98c6bed91f532d9f257260b19b71ca4e73eba90e64471bb20ccee3a05234 snyk-win.exe
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1126.0
|