dependabot-npm_and_yarn 0.95.26 → 0.95.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/npm/lib/peer-dependency-checker.js +12 -9
- data/helpers/npm/lib/subdependency-updater.js +11 -1
- data/helpers/npm/lib/updater.js +11 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8d276477c99d2d012c2579ad0486f968e5755f50892ddf40e3f7a46aceb218f
|
4
|
+
data.tar.gz: 9f9c1ffaae3551fd80a953d279e87615d1738cc448117553780cfb9fe33f7454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3285c3aba6816672d2648578a68ef4338b9047ac16c9703aa9ecfa48ef93fb571f86ac69be78b8d939bfbe7651be95cc5128f3fc3fdd4486e956ed7beaf64ab6
|
7
|
+
data.tar.gz: 799795d72ab085c98c375992515e52da301c41e31951b20f4dd440a770be4e9f38b4fccdcc93b0be89a9b76dd185cb9b09a75946294ffbe8662f0b2d0a7dba25
|
@@ -35,7 +35,18 @@ async function checkPeerDependencies(
|
|
35
35
|
// in npm/lib/install/validate-args.js
|
36
36
|
// Platform is checked and raised from (EBADPLATFORM):
|
37
37
|
// https://github.com/npm/npm-install-checks
|
38
|
-
|
38
|
+
//
|
39
|
+
// `'prefer-offline': true` sets fetch() cache key to `force-cache`
|
40
|
+
// https://github.com/npm/npm-registry-fetch
|
41
|
+
await runAsync(npm, npm.load, [
|
42
|
+
{
|
43
|
+
loglevel: "silent",
|
44
|
+
force: true,
|
45
|
+
audit: false,
|
46
|
+
"prefer-offline": true,
|
47
|
+
save: false
|
48
|
+
}
|
49
|
+
]);
|
39
50
|
|
40
51
|
const dryRun = true;
|
41
52
|
|
@@ -70,22 +81,14 @@ async function checkPeerDependencies(
|
|
70
81
|
packageLockOnly: true
|
71
82
|
});
|
72
83
|
|
73
|
-
// A bug in npm means the initial install will remove any git dependencies
|
74
|
-
// from the lockfile. A subsequent install with no arguments fixes this.
|
75
|
-
const cleanupInstaller = new installer.Installer(directory, dryRun, [], {
|
76
|
-
packageLockOnly: true
|
77
|
-
});
|
78
|
-
|
79
84
|
// Skip printing the success message
|
80
85
|
initialInstaller.printInstalled = cb => cb();
|
81
|
-
cleanupInstaller.printInstalled = cb => cb();
|
82
86
|
|
83
87
|
// There are some hard-to-prevent bits of output.
|
84
88
|
// This is horrible, but works.
|
85
89
|
const unmute = muteStderr();
|
86
90
|
try {
|
87
91
|
await runAsync(initialInstaller, initialInstaller.run, []);
|
88
|
-
await runAsync(cleanupInstaller, cleanupInstaller.run, []);
|
89
92
|
} finally {
|
90
93
|
unmute();
|
91
94
|
}
|
@@ -13,7 +13,17 @@ async function updateDependencyFile(directory, lockfileName) {
|
|
13
13
|
// in npm/lib/install/validate-args.js
|
14
14
|
// Platform is checked and raised from (EBADPLATFORM):
|
15
15
|
// https://github.com/npm/npm-install-checks
|
16
|
-
|
16
|
+
//
|
17
|
+
// `'prefer-offline': true` sets fetch() cache key to `force-cache`
|
18
|
+
// https://github.com/npm/npm-registry-fetch
|
19
|
+
await runAsync(npm, npm.load, [
|
20
|
+
{
|
21
|
+
loglevel: "silent",
|
22
|
+
force: true,
|
23
|
+
audit: false,
|
24
|
+
"prefer-offline": true
|
25
|
+
}
|
26
|
+
]);
|
17
27
|
|
18
28
|
const dryRun = true;
|
19
29
|
const initialInstaller = new installer.Installer(directory, dryRun, [], {
|
data/helpers/npm/lib/updater.js
CHANGED
@@ -28,7 +28,17 @@ async function updateDependencyFiles(directory, dependencies, lockfileName) {
|
|
28
28
|
// in npm/lib/install/validate-args.js
|
29
29
|
// Platform is checked and raised from (EBADPLATFORM):
|
30
30
|
// https://github.com/npm/npm-install-checks
|
31
|
-
|
31
|
+
//
|
32
|
+
// `'prefer-offline': true` sets fetch() cache key to `force-cache`
|
33
|
+
// https://github.com/npm/npm-registry-fetch
|
34
|
+
await runAsync(npm, npm.load, [
|
35
|
+
{
|
36
|
+
loglevel: "silent",
|
37
|
+
force: true,
|
38
|
+
audit: false,
|
39
|
+
"prefer-offline": true
|
40
|
+
}
|
41
|
+
]);
|
32
42
|
const oldPackage = JSON.parse(readFile("package.json"));
|
33
43
|
|
34
44
|
const dryRun = true;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-npm_and_yarn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.95.
|
4
|
+
version: 0.95.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.95.
|
19
|
+
version: 0.95.27
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.95.
|
26
|
+
version: 0.95.27
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|