snyk 1.1124.0 → 1.1125.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
|
+
90c8fee3ed2420f450033d32da64721ae71a3950598d726791fa1f009031822b docker-mac-signed-bundle.tar.gz
|
|
2
|
+
32c1de5d93832bb1c358b5d84324de7816dc062b2f0cf3f982f9dbaf74cd508d snyk-alpine
|
|
3
|
+
20b20fa932b765a9c0d10f81a997004353315796b762e1a96de0167878367741 snyk-fix.tgz
|
|
4
|
+
598854c766f236367126c433f07cd8a9ca3c67b2492e7e0857a79f37d294833b snyk-for-docker-desktop-darwin-arm64.tar.gz
|
|
5
|
+
d0d547b7525f417ef08f3606cc77116dfa83d93ad55ecfb99561d49c98defd46 snyk-for-docker-desktop-darwin-x64.tar.gz
|
|
6
|
+
e8b2f9ca643be344ea1287fe756ba0e3f56de0ba1d80166250b73c1858079dc3 snyk-linux-arm64
|
|
7
|
+
ba77ec97b630122e9b8fa4b1f2f88641b87ba1adcbdc8312a6697296930cbe7c snyk-linux
|
|
8
|
+
8a3fd4af006baf7441ee9b91564d79d63b1f7d0fa4de13426d62c911ca21973b snyk-macos
|
|
9
|
+
2f62429366f0518b48dfdc8d760de6dad0ab7653f929e95e3f6a3758ed9a00c9 snyk-protect.tgz
|
|
10
|
+
f4171b7812a46aa444ecbe45acf4d38480a663396d622931aa89ecb1274d7fd1 snyk-win.exe
|
package/src/generated/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1125.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
|
+
90c8fee3ed2420f450033d32da64721ae71a3950598d726791fa1f009031822b docker-mac-signed-bundle.tar.gz
|
|
2
|
+
32c1de5d93832bb1c358b5d84324de7816dc062b2f0cf3f982f9dbaf74cd508d snyk-alpine
|
|
3
|
+
20b20fa932b765a9c0d10f81a997004353315796b762e1a96de0167878367741 snyk-fix.tgz
|
|
4
|
+
598854c766f236367126c433f07cd8a9ca3c67b2492e7e0857a79f37d294833b snyk-for-docker-desktop-darwin-arm64.tar.gz
|
|
5
|
+
d0d547b7525f417ef08f3606cc77116dfa83d93ad55ecfb99561d49c98defd46 snyk-for-docker-desktop-darwin-x64.tar.gz
|
|
6
|
+
e8b2f9ca643be344ea1287fe756ba0e3f56de0ba1d80166250b73c1858079dc3 snyk-linux-arm64
|
|
7
|
+
ba77ec97b630122e9b8fa4b1f2f88641b87ba1adcbdc8312a6697296930cbe7c snyk-linux
|
|
8
|
+
8a3fd4af006baf7441ee9b91564d79d63b1f7d0fa4de13426d62c911ca21973b snyk-macos
|
|
9
|
+
2f62429366f0518b48dfdc8d760de6dad0ab7653f929e95e3f6a3758ed9a00c9 snyk-protect.tgz
|
|
10
|
+
f4171b7812a46aa444ecbe45acf4d38480a663396d622931aa89ecb1274d7fd1 snyk-win.exe
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1125.0
|