dependabot-npm_and_yarn 0.276.0 → 0.278.0

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: 71f857c622a3e71c8c1e3099f585ebcc9aa7451b2d4fffc696770ed110b71405
4
- data.tar.gz: 6c345e58a378ac08049a9593708f92735d565b48283a23d52233d303cb700d66
3
+ metadata.gz: 60b649d3a84bb124014b8aa86163c59837eb3898c90cad22b261ea0174e226b9
4
+ data.tar.gz: 1fbd3de6f3d9f097c1fe4ed1e70530e42dd0d489fa30db685c103a3b6321c3f2
5
5
  SHA512:
6
- metadata.gz: ec358314a3ce776ab90fa8b9d34e5bd3ec4006bb388467e412d58042bd1bcab2803e51b3fcc816ac49e5cdb6e64fbac2bed472dbb27d36c91e527f904a44797e
7
- data.tar.gz: bbbc9073fddf986810a9ca35e1800d9030c8df3743f20d8ba7802a303eb815bf650e171d55beb63cab8f31fb5d9fbe9c65b84b7f2e2ec0db018a15f08ceae1ed
6
+ metadata.gz: 8113aa1183c527768427e25d0c4eca5d05734959d3f0e3c88e9560e7f7735e98bb9ae47b1ba8674398d23fe91ddeffae6cda88ac2ddca2a27b1411651b15c686
7
+ data.tar.gz: 30d6064f7b950659ab01ef1ecc8dae54be57db49bebf560f7ce8c5cda65772e0289b40ba31a58368305853481e1e2f9cb0b235a838b0614a87abc12a9b509697
@@ -46,7 +46,10 @@ module Dependabot
46
46
  end
47
47
 
48
48
  package_name = url_base.gsub("%2F", "/").match(%r{@.*/})
49
- "#{T.must(package_name)}#{T.must(url_base.gsub('%2F', '/').split('/').last)}"
49
+
50
+ return T.must(url_base.gsub("%2F", "/").split("/").last) unless package_name
51
+
52
+ "#{package_name}#{T.must(url_base.gsub('%2F', '/').split('/').last)}"
50
53
  end
51
54
 
52
55
  private
@@ -362,7 +362,7 @@ module Dependabot
362
362
  {
363
363
  patterns: [INVALID_NAME_IN_PACKAGE_JSON],
364
364
  handler: lambda { |message, _error, _params|
365
- Dependabot::DependencyFileNotParseable.new(message)
365
+ Dependabot::DependencyFileNotResolvable.new(message)
366
366
  },
367
367
  in_usage: false,
368
368
  matchfn: nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-npm_and_yarn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.276.0
4
+ version: 0.278.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-19 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.276.0
19
+ version: 0.278.0
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.276.0
26
+ version: 0.278.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -346,7 +346,7 @@ licenses:
346
346
  - MIT
347
347
  metadata:
348
348
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
349
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.276.0
349
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.278.0
350
350
  post_install_message:
351
351
  rdoc_options: []
352
352
  require_paths: