dependabot-npm_and_yarn 0.277.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: 380c540d4ed17ab150738fc8390ce8bc995135c3c19bea687ebcca74d8f0010d
4
- data.tar.gz: 294ba80ed94f2fb0981719516ce3eb44ccd537200c144507aac9903749db0f76
3
+ metadata.gz: 60b649d3a84bb124014b8aa86163c59837eb3898c90cad22b261ea0174e226b9
4
+ data.tar.gz: 1fbd3de6f3d9f097c1fe4ed1e70530e42dd0d489fa30db685c103a3b6321c3f2
5
5
  SHA512:
6
- metadata.gz: 1525c5afa58bf9db6b4729e2c27c8b7efce4ba96e14fe2aee965e516da6baaee9a42e81a9339124adf307c3e314592b82bad971ab65f2d56b811b9705a018adf
7
- data.tar.gz: 77e389af97a5f61b4ff3916826e46fc944c005e45f1485fd94c623e6a94d90a65d84997c4db215aa1262340a21ed0ecac1374faaddb45ea6bd8cad94f8dbdd82
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.277.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-23 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.277.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.277.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.277.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: