dependabot-composer 0.390.0 → 0.391.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af714b15ae584ffde582a9deb1d95ac90d242bc9023e6f69bea57ac5b464ed19
4
- data.tar.gz: 5045ad919eb59d405e11a2d4e091de5321bf6c8d3f9e8fc8bfd465c4f7b018d0
3
+ metadata.gz: cafb57b046f1164755a998a31aa72aba68c3aea1bac24495f6f8118dc629c591
4
+ data.tar.gz: b1e4d87a77c309bfcf68a3de9815ba0f0aafbd7f464c16359d06b3810f8a22e4
5
5
  SHA512:
6
- metadata.gz: 39c19afbf37129f1d5eafea2532cccda02fb23fb5f1f4aa7df24f3690a8381df891e34ea20152134559e4110ef7f42eee576746d7226337c52018e3fa6c21f23
7
- data.tar.gz: 568b6b934c0985d167be6880e1f872a82da7bc0a3984c229a8b1066d3aa7535ac2c007e43f2a1be5f6479a7b3c20f3635b5af4216c65fe40bb7ed6c1e78a5f87
6
+ metadata.gz: d853e55644fa3a6ea0ad5e87b8cfa030f9e377a093479dcabca223ee925e7fc19b78c6eefced487b551cb3daf336c1c246eedea9dbdc36818ac6c1d65146cf7b
7
+ data.tar.gz: 4e44a6f2b7190d21ccca3fd7ab29eb0ab7775d98beb73f131bb766c99ece304e410a8cb27d94c9312ff1edecdfbb130036bdc7115a90134a970de5e67c9b0d8d
@@ -331,28 +331,29 @@
331
331
  },
332
332
  {
333
333
  "name": "composer/pcre",
334
- "version": "3.3.2",
334
+ "version": "3.4.0",
335
335
  "source": {
336
336
  "type": "git",
337
337
  "url": "https://github.com/composer/pcre.git",
338
- "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e"
338
+ "reference": "d5a341b3fb61f3001970940afb1d332968a183ed"
339
339
  },
340
340
  "dist": {
341
341
  "type": "zip",
342
- "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
343
- "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
342
+ "url": "https://api.github.com/repos/composer/pcre/zipball/d5a341b3fb61f3001970940afb1d332968a183ed",
343
+ "reference": "d5a341b3fb61f3001970940afb1d332968a183ed",
344
344
  "shasum": ""
345
345
  },
346
346
  "require": {
347
347
  "php": "^7.4 || ^8.0"
348
348
  },
349
349
  "conflict": {
350
- "phpstan/phpstan": "<1.11.10"
350
+ "phpstan/phpstan": "<2.2.2"
351
351
  },
352
352
  "require-dev": {
353
- "phpstan/phpstan": "^1.12 || ^2",
354
- "phpstan/phpstan-strict-rules": "^1 || ^2",
355
- "phpunit/phpunit": "^8 || ^9"
353
+ "phpstan/phpstan": "^2",
354
+ "phpstan/phpstan-deprecation-rules": "^2",
355
+ "phpstan/phpstan-strict-rules": "^2",
356
+ "phpunit/phpunit": "^9"
356
357
  },
357
358
  "type": "library",
358
359
  "extra": {
@@ -390,7 +391,7 @@
390
391
  ],
391
392
  "support": {
392
393
  "issues": "https://github.com/composer/pcre/issues",
393
- "source": "https://github.com/composer/pcre/tree/3.3.2"
394
+ "source": "https://github.com/composer/pcre/tree/3.4.0"
394
395
  },
395
396
  "funding": [
396
397
  {
@@ -400,13 +401,9 @@
400
401
  {
401
402
  "url": "https://github.com/composer",
402
403
  "type": "github"
403
- },
404
- {
405
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
406
- "type": "tidelift"
407
404
  }
408
405
  ],
409
- "time": "2024-11-12T16:29:46+00:00"
406
+ "time": "2026-06-07T11:47:49+00:00"
410
407
  },
411
408
  {
412
409
  "name": "composer/semver",
@@ -1130,16 +1127,16 @@
1130
1127
  },
1131
1128
  {
1132
1129
  "name": "symfony/console",
1133
- "version": "v7.4.14",
1130
+ "version": "v7.4.15",
1134
1131
  "source": {
1135
1132
  "type": "git",
1136
1133
  "url": "https://github.com/symfony/console.git",
1137
- "reference": "92f58bc4bf97a92ed1b9f367f0cd44f20bde0e87"
1134
+ "reference": "088ec6fe0ef6819cbc301174093b6bfa4ad26930"
1138
1135
  },
1139
1136
  "dist": {
1140
1137
  "type": "zip",
1141
- "url": "https://api.github.com/repos/symfony/console/zipball/92f58bc4bf97a92ed1b9f367f0cd44f20bde0e87",
1142
- "reference": "92f58bc4bf97a92ed1b9f367f0cd44f20bde0e87",
1138
+ "url": "https://api.github.com/repos/symfony/console/zipball/088ec6fe0ef6819cbc301174093b6bfa4ad26930",
1139
+ "reference": "088ec6fe0ef6819cbc301174093b6bfa4ad26930",
1143
1140
  "shasum": ""
1144
1141
  },
1145
1142
  "require": {
@@ -1204,7 +1201,7 @@
1204
1201
  "terminal"
1205
1202
  ],
1206
1203
  "support": {
1207
- "source": "https://github.com/symfony/console/tree/v7.4.14"
1204
+ "source": "https://github.com/symfony/console/tree/v7.4.15"
1208
1205
  },
1209
1206
  "funding": [
1210
1207
  {
@@ -1224,7 +1221,7 @@
1224
1221
  "type": "tidelift"
1225
1222
  }
1226
1223
  ],
1227
- "time": "2026-06-16T11:50:14+00:00"
1224
+ "time": "2026-07-27T13:51:00+00:00"
1228
1225
  },
1229
1226
  {
1230
1227
  "name": "symfony/deprecation-contracts",
@@ -1299,16 +1296,16 @@
1299
1296
  },
1300
1297
  {
1301
1298
  "name": "symfony/filesystem",
1302
- "version": "v7.4.11",
1299
+ "version": "v7.4.15",
1303
1300
  "source": {
1304
1301
  "type": "git",
1305
1302
  "url": "https://github.com/symfony/filesystem.git",
1306
- "reference": "d721ea61b4a5fba8c5b6e7c1feda19efea144b50"
1303
+ "reference": "ff16a16bf87fdf264638b8f6995b3515975e3c79"
1307
1304
  },
1308
1305
  "dist": {
1309
1306
  "type": "zip",
1310
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/d721ea61b4a5fba8c5b6e7c1feda19efea144b50",
1311
- "reference": "d721ea61b4a5fba8c5b6e7c1feda19efea144b50",
1307
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/ff16a16bf87fdf264638b8f6995b3515975e3c79",
1308
+ "reference": "ff16a16bf87fdf264638b8f6995b3515975e3c79",
1312
1309
  "shasum": ""
1313
1310
  },
1314
1311
  "require": {
@@ -1345,7 +1342,7 @@
1345
1342
  "description": "Provides basic utilities for the filesystem",
1346
1343
  "homepage": "https://symfony.com",
1347
1344
  "support": {
1348
- "source": "https://github.com/symfony/filesystem/tree/v7.4.11"
1345
+ "source": "https://github.com/symfony/filesystem/tree/v7.4.15"
1349
1346
  },
1350
1347
  "funding": [
1351
1348
  {
@@ -1365,7 +1362,7 @@
1365
1362
  "type": "tidelift"
1366
1363
  }
1367
1364
  ],
1368
- "time": "2026-05-11T16:38:44+00:00"
1365
+ "time": "2026-07-22T07:36:05+00:00"
1369
1366
  },
1370
1367
  {
1371
1368
  "name": "symfony/finder",
@@ -1520,16 +1517,16 @@
1520
1517
  },
1521
1518
  {
1522
1519
  "name": "symfony/polyfill-intl-grapheme",
1523
- "version": "v1.38.1",
1520
+ "version": "v1.41.0",
1524
1521
  "source": {
1525
1522
  "type": "git",
1526
1523
  "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
1527
- "reference": "e9247d281d694a5120554d9afaf54e070e88a603"
1524
+ "reference": "bb899c1db0aa8127dc3afe8cda4a67eb24915f8d"
1528
1525
  },
1529
1526
  "dist": {
1530
1527
  "type": "zip",
1531
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e9247d281d694a5120554d9afaf54e070e88a603",
1532
- "reference": "e9247d281d694a5120554d9afaf54e070e88a603",
1528
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/bb899c1db0aa8127dc3afe8cda4a67eb24915f8d",
1529
+ "reference": "bb899c1db0aa8127dc3afe8cda4a67eb24915f8d",
1533
1530
  "shasum": ""
1534
1531
  },
1535
1532
  "require": {
@@ -1578,7 +1575,7 @@
1578
1575
  "shim"
1579
1576
  ],
1580
1577
  "support": {
1581
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.38.1"
1578
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.41.0"
1582
1579
  },
1583
1580
  "funding": [
1584
1581
  {
@@ -1598,7 +1595,7 @@
1598
1595
  "type": "tidelift"
1599
1596
  }
1600
1597
  ],
1601
- "time": "2026-05-26T05:58:03+00:00"
1598
+ "time": "2026-07-28T08:25:59+00:00"
1602
1599
  },
1603
1600
  {
1604
1601
  "name": "symfony/polyfill-intl-normalizer",
@@ -2248,16 +2245,16 @@
2248
2245
  },
2249
2246
  {
2250
2247
  "name": "symfony/string",
2251
- "version": "v7.4.13",
2248
+ "version": "v7.4.15",
2252
2249
  "source": {
2253
2250
  "type": "git",
2254
2251
  "url": "https://github.com/symfony/string.git",
2255
- "reference": "961683010db3b27ec6ebcd7308e6e1ee8fa7ffde"
2252
+ "reference": "e394af32256bf9e7bf80849d95e589167c10097b"
2256
2253
  },
2257
2254
  "dist": {
2258
2255
  "type": "zip",
2259
- "url": "https://api.github.com/repos/symfony/string/zipball/961683010db3b27ec6ebcd7308e6e1ee8fa7ffde",
2260
- "reference": "961683010db3b27ec6ebcd7308e6e1ee8fa7ffde",
2256
+ "url": "https://api.github.com/repos/symfony/string/zipball/e394af32256bf9e7bf80849d95e589167c10097b",
2257
+ "reference": "e394af32256bf9e7bf80849d95e589167c10097b",
2261
2258
  "shasum": ""
2262
2259
  },
2263
2260
  "require": {
@@ -2315,7 +2312,7 @@
2315
2312
  "utf8"
2316
2313
  ],
2317
2314
  "support": {
2318
- "source": "https://github.com/symfony/string/tree/v7.4.13"
2315
+ "source": "https://github.com/symfony/string/tree/v7.4.15"
2319
2316
  },
2320
2317
  "funding": [
2321
2318
  {
@@ -2335,7 +2332,7 @@
2335
2332
  "type": "tidelift"
2336
2333
  }
2337
2334
  ],
2338
- "time": "2026-05-23T15:23:29+00:00"
2335
+ "time": "2026-07-28T07:33:02+00:00"
2339
2336
  }
2340
2337
  ],
2341
2338
  "packages-dev": [
@@ -2582,16 +2579,16 @@
2582
2579
  },
2583
2580
  {
2584
2581
  "name": "friendsofphp/php-cs-fixer",
2585
- "version": "v3.95.15",
2582
+ "version": "v3.95.18",
2586
2583
  "source": {
2587
2584
  "type": "git",
2588
2585
  "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
2589
- "reference": "3e47e5d50046f87e3244acde2fe655d1a3b72555"
2586
+ "reference": "a8b4e4216faabf67f4e96110ee99a48c96e4e683"
2590
2587
  },
2591
2588
  "dist": {
2592
2589
  "type": "zip",
2593
- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/3e47e5d50046f87e3244acde2fe655d1a3b72555",
2594
- "reference": "3e47e5d50046f87e3244acde2fe655d1a3b72555",
2590
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a8b4e4216faabf67f4e96110ee99a48c96e4e683",
2591
+ "reference": "a8b4e4216faabf67f4e96110ee99a48c96e4e683",
2595
2592
  "shasum": ""
2596
2593
  },
2597
2594
  "require": {
@@ -2631,10 +2628,10 @@
2631
2628
  "php-coveralls/php-coveralls": "^2.9.1",
2632
2629
  "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.8",
2633
2630
  "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.8",
2634
- "phpunit/phpunit": "^9.6.35 || ^10.5.64 || ^11.5.56 || ^12.5.31",
2631
+ "phpunit/phpunit": "^9.6.35 || ^10.5.64 || ^11.5.56 || ^12.5.31 || ^13.0.6",
2635
2632
  "symfony/polyfill-php85": "^1.38",
2636
- "symfony/var-dumper": "^5.4.48 || ^6.4.36 || ^7.4.8 || ^8.1.0",
2637
- "symfony/yaml": "^5.4.53 || ^6.4.41 || ^7.4.13 || ^8.1.0"
2633
+ "symfony/var-dumper": "^5.4.48 || ^6.4.36 || ^7.4.8 || ^8.1.1",
2634
+ "symfony/yaml": "^5.4.53 || ^6.4.41 || ^7.4.13 || ^8.1.1"
2638
2635
  },
2639
2636
  "suggest": {
2640
2637
  "ext-dom": "For handling output formats in XML",
@@ -2675,7 +2672,7 @@
2675
2672
  ],
2676
2673
  "support": {
2677
2674
  "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
2678
- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.15"
2675
+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.18"
2679
2676
  },
2680
2677
  "funding": [
2681
2678
  {
@@ -2683,15 +2680,15 @@
2683
2680
  "type": "github"
2684
2681
  }
2685
2682
  ],
2686
- "time": "2026-07-15T09:51:47+00:00"
2683
+ "time": "2026-07-30T15:46:02+00:00"
2687
2684
  },
2688
2685
  {
2689
2686
  "name": "phpstan/phpstan",
2690
- "version": "2.2.5",
2687
+ "version": "2.2.7",
2691
2688
  "dist": {
2692
2689
  "type": "zip",
2693
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0",
2694
- "reference": "909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0",
2690
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/692db47b9dddb0487934e5236e77d48594aef921",
2691
+ "reference": "692db47b9dddb0487934e5236e77d48594aef921",
2695
2692
  "shasum": ""
2696
2693
  },
2697
2694
  "require": {
@@ -2747,7 +2744,7 @@
2747
2744
  "type": "github"
2748
2745
  }
2749
2746
  ],
2750
- "time": "2026-07-05T06:31:06+00:00"
2747
+ "time": "2026-07-29T17:39:32+00:00"
2751
2748
  },
2752
2749
  {
2753
2750
  "name": "psr/event-dispatcher",
@@ -3321,16 +3318,16 @@
3321
3318
  },
3322
3319
  {
3323
3320
  "name": "symfony/event-dispatcher",
3324
- "version": "v7.4.14",
3321
+ "version": "v7.4.15",
3325
3322
  "source": {
3326
3323
  "type": "git",
3327
3324
  "url": "https://github.com/symfony/event-dispatcher.git",
3328
- "reference": "51fe3d170227be8d1772214b82ae506e15ed78ff"
3325
+ "reference": "336e7f3b9e95aba04f93ea9143920c2186abfbb9"
3329
3326
  },
3330
3327
  "dist": {
3331
3328
  "type": "zip",
3332
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/51fe3d170227be8d1772214b82ae506e15ed78ff",
3333
- "reference": "51fe3d170227be8d1772214b82ae506e15ed78ff",
3329
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/336e7f3b9e95aba04f93ea9143920c2186abfbb9",
3330
+ "reference": "336e7f3b9e95aba04f93ea9143920c2186abfbb9",
3334
3331
  "shasum": ""
3335
3332
  },
3336
3333
  "require": {
@@ -3382,7 +3379,7 @@
3382
3379
  "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
3383
3380
  "homepage": "https://symfony.com",
3384
3381
  "support": {
3385
- "source": "https://github.com/symfony/event-dispatcher/tree/v7.4.14"
3382
+ "source": "https://github.com/symfony/event-dispatcher/tree/v7.4.15"
3386
3383
  },
3387
3384
  "funding": [
3388
3385
  {
@@ -3402,7 +3399,7 @@
3402
3399
  "type": "tidelift"
3403
3400
  }
3404
3401
  ],
3405
- "time": "2026-06-06T11:10:32+00:00"
3402
+ "time": "2026-07-21T15:13:06+00:00"
3406
3403
  },
3407
3404
  {
3408
3405
  "name": "symfony/event-dispatcher-contracts",
@@ -16,9 +16,9 @@ module Dependabot
16
16
 
17
17
  sig { params(path: String, directory: String, lockfile: T.nilable(Dependabot::DependencyFile)).void }
18
18
  def initialize(path:, directory:, lockfile:)
19
- @path = T.let(path, String)
20
- @directory = T.let(directory, String)
21
- @lockfile = T.let(lockfile, T.nilable(Dependabot::DependencyFile))
19
+ @path = path
20
+ @directory = directory
21
+ @lockfile = lockfile
22
22
  @parsed_lockfile = T.let(nil, T.nilable(T::Hash[String, T.untyped]))
23
23
  end
24
24
 
@@ -29,7 +29,7 @@ module Dependabot
29
29
 
30
30
  sig { params(extensions: T::Array[T::Hash[Symbol, String]]).void }
31
31
  def initialize(extensions)
32
- @extensions = T.let(extensions, T::Array[T::Hash[Symbol, String]])
32
+ @extensions = extensions
33
33
  super
34
34
  end
35
35
  end
@@ -9,37 +9,25 @@ module Dependabot
9
9
  module Helpers
10
10
  extend T::Sig
11
11
 
12
- V1 = T.let("1", String)
13
- V2 = T.let("2", String)
12
+ V1 = "1"
13
+ V2 = "2"
14
14
 
15
15
  # If we are updating a project with no lock file then the default should be the newest version
16
16
  DEFAULT = T.let(V2, String)
17
17
 
18
18
  # From composers json-schema: https://getcomposer.org/schema.json
19
- COMPOSER_V2_NAME_REGEX = T.let(
20
- %r{^[a-z0-9]([_.-]?[a-z0-9]++)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]++)*$},
21
- Regexp
22
- )
19
+ COMPOSER_V2_NAME_REGEX = %r{^[a-z0-9]([_.-]?[a-z0-9]++)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]++)*$}
23
20
 
24
21
  # From https://github.com/composer/composer/blob/b7d770659b4e3ef21423bd67ade935572913a4c1/src/Composer/Repository/PlatformRepository.php#L33
25
- PLATFORM_PACKAGE_REGEX = T.let(
26
- /
22
+ PLATFORM_PACKAGE_REGEX = /
27
23
  ^(?:php(?:-64bit|-ipv6|-zts|-debug)?|hhvm|(?:ext|lib)-[a-z0-9](?:[_.-]?[a-z0-9]+)*
28
24
  |composer-(?:plugin|runtime)-api)$
29
- /x,
30
- Regexp
31
- )
32
-
33
- FAILED_GIT_CLONE_WITH_MIRROR = T.let(
34
- /^Failed to execute git clone --(mirror|checkout)[^']*'(?<url>[^']*?)'/,
35
- Regexp
36
- )
37
- FAILED_GIT_CLONE = T.let(/^Failed to clone (?<url>.*?)/, Regexp)
38
-
39
- GIT_REPO_URL = T.let(
40
- %r{((git|ssh|http(s)?)|(git@[\w\.]+))(:(//)?)([\w\.@\:/\-~]+)(/)?},
41
- Regexp
42
- )
25
+ /x
26
+
27
+ FAILED_GIT_CLONE_WITH_MIRROR = /^Failed to execute git clone --(mirror|checkout)[^']*'(?<url>[^']*?)'/
28
+ FAILED_GIT_CLONE = /^Failed to clone (?<url>.*?)/
29
+
30
+ GIT_REPO_URL = %r{((git|ssh|http(s)?)|(git@[\w\.]+))(:(//)?)([\w\.@\:/\-~]+)(/)?}
43
31
 
44
32
  sig do
45
33
  params(
@@ -28,29 +28,23 @@ module Dependabot
28
28
 
29
29
  sig { params(extensions: T::Array[T::Hash[Symbol, T.untyped]]).void }
30
30
  def initialize(extensions)
31
- @extensions = T.let(extensions, T::Array[T::Hash[Symbol, T.untyped]])
31
+ @extensions = extensions
32
32
  super
33
33
  end
34
34
  end
35
35
 
36
- MISSING_EXPLICIT_PLATFORM_REQ_REGEX = T.let(
37
- %r{
36
+ MISSING_EXPLICIT_PLATFORM_REQ_REGEX = %r{
38
37
  (?<=PHP\sextension\s)ext\-[^\s\/]+\s.*?\s(?=is|but)|
39
38
  (?<=requires\s)php(?:\-[^\s\/]+)?\s.*?\s(?=but)
40
- }x,
41
- Regexp
42
- )
43
- MISSING_IMPLICIT_PLATFORM_REQ_REGEX = T.let(
44
- %r{
39
+ }x
40
+ MISSING_IMPLICIT_PLATFORM_REQ_REGEX = %r{
45
41
  (?<!with|for|by)\sext\-[^\s\/]+\s.*?\s(?=->)|
46
42
  (?<=require\s)php(?:\-[^\s\/]+)?\s.*?\s(?=->) # composer v2
47
- }x,
48
- Regexp
49
- )
50
- VERSION_REGEX = T.let(/[0-9]+(?:\.[A-Za-z0-9\-_]+)*/, Regexp)
43
+ }x
44
+ VERSION_REGEX = /[0-9]+(?:\.[A-Za-z0-9\-_]+)*/
51
45
 
52
46
  # Example Timeout error from Composer 2.7.7: "curl error 28 while downloading https://example.com:81/packages.json: Failed to connect to example.com port 81 after 9853 ms: Connection timed out" # rubocop:disable Layout/LineLength
53
- SOURCE_TIMED_OUT_REGEX = T.let(%r{curl error 28 while downloading (?<url>https?://.+/packages\.json): }, Regexp)
47
+ SOURCE_TIMED_OUT_REGEX = %r{curl error 28 while downloading (?<url>https?://.+/packages\.json): }
54
48
 
55
49
  sig do
56
50
  params(
@@ -644,7 +638,7 @@ module Dependabot
644
638
  extend T::Sig
645
639
 
646
640
  # Private source errors
647
- CURL_ERROR = T.let(/curl error 52 while downloading (?<url>.*): Empty reply from server/, Regexp)
641
+ CURL_ERROR = /curl error 52 while downloading (?<url>.*): Empty reply from server/
648
642
 
649
643
  PRIVATE_SOURCE_AUTH_FAIL = T.let(
650
644
  [
@@ -655,9 +649,9 @@ module Dependabot
655
649
  T::Array[Regexp]
656
650
  )
657
651
 
658
- REQUIREMENT_ERROR = T.let(/^(?<req>.*) is invalid, it should not contain uppercase characters/, Regexp)
652
+ REQUIREMENT_ERROR = /^(?<req>.*) is invalid, it should not contain uppercase characters/
659
653
 
660
- NO_URL = T.let("No URL specified", String)
654
+ NO_URL = "No URL specified"
661
655
 
662
656
  sig { params(url: String).returns(String) }
663
657
  def sanitize_uri(url)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.390.0
4
+ version: 0.391.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.390.0
18
+ version: 0.391.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.390.0
25
+ version: 0.391.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: debug
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -276,7 +276,7 @@ licenses:
276
276
  - MIT
277
277
  metadata:
278
278
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
279
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.390.0
279
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.391.0
280
280
  rdoc_options: []
281
281
  require_paths:
282
282
  - lib