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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2923d2b4c9529e35c72a0edf582a149b76382b68e3247c81c662c44971407bab
4
- data.tar.gz: ced9cf1b1eefad75a87ba832a0088c15ea58addde5e12445d222c3a4ccbfd04b
3
+ metadata.gz: e8d276477c99d2d012c2579ad0486f968e5755f50892ddf40e3f7a46aceb218f
4
+ data.tar.gz: 9f9c1ffaae3551fd80a953d279e87615d1738cc448117553780cfb9fe33f7454
5
5
  SHA512:
6
- metadata.gz: c685abe65cfd17dea02989cac012d9407638206f657e44217cd9c455bec09cb8b3f77d5802f6a6b9b08aaec2f1c5c7b1897f6527fa6c7f9421e003bf932a2705
7
- data.tar.gz: db29a9ce36c1bcfba68525f4455533cdb5b6f2dd2172e0ca49706d7e6c2e2a710e31053991e15fec31e112f99b8f616d0727007268291430a1c75815aa274d79
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
- await runAsync(npm, npm.load, [{ loglevel: "silent", force: true }]);
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
- await runAsync(npm, npm.load, [{ loglevel: "silent", force: true }]);
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, [], {
@@ -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
- await runAsync(npm, npm.load, [{ loglevel: "silent", force: true }]);
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.26
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.26
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
26
+ version: 0.95.27
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement