dependabot-bun 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 +4 -4
- data/helpers/package-lock.json +66 -66
- data/helpers/test/npm6/fixtures/conflicting-dependency-parser/deeply-nested/package-lock.json +4 -3
- data/lib/dependabot/bun/constraint_helper.rb +15 -21
- data/lib/dependabot/bun/file_parser.rb +1 -1
- data/lib/dependabot/bun/file_updater/npmrc_builder.rb +1 -1
- data/lib/dependabot/bun/metadata_finder.rb +1 -1
- data/lib/dependabot/bun/package/package_details_fetcher.rb +3 -3
- data/lib/dependabot/bun/registry_helper.rb +2 -2
- data/lib/dependabot/bun/requirement.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c780794b3492c9c16abad2a46f2d48797beec9bf74f951945e6d0d22772039d
|
|
4
|
+
data.tar.gz: 49f31895cd22a23cdd66d8ed57c9ba5b4eb7bb8ad948a71689e98ce2095e98b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c73c9ef6474b3e9b7ccd94c1568239f60cfb4524f087d414b79e11301bc718d93457524715939095523e4b30cf4a3983b3944befd0de2fb707906092f12c766
|
|
7
|
+
data.tar.gz: fc887be654050067bbfb8c8b23c8dc0e2667eb8e0a12d5dcb6e21d067941c41b1585f1dad1fa4381f6e41127b4463408184ba6f7d10bf2cf9924ebd27f0ebbd5
|
data/helpers/package-lock.json
CHANGED
|
@@ -2043,9 +2043,9 @@
|
|
|
2043
2043
|
}
|
|
2044
2044
|
},
|
|
2045
2045
|
"node_modules/@npmcli/arborist/node_modules/brace-expansion": {
|
|
2046
|
-
"version": "2.
|
|
2047
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
2048
|
-
"integrity": "sha512-
|
|
2046
|
+
"version": "2.1.4",
|
|
2047
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
2048
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
2049
2049
|
"dependencies": {
|
|
2050
2050
|
"balanced-match": "^1.0.0"
|
|
2051
2051
|
}
|
|
@@ -2173,9 +2173,9 @@
|
|
|
2173
2173
|
}
|
|
2174
2174
|
},
|
|
2175
2175
|
"node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": {
|
|
2176
|
-
"version": "2.
|
|
2177
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
2178
|
-
"integrity": "sha512-
|
|
2176
|
+
"version": "2.1.4",
|
|
2177
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
2178
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
2179
2179
|
"dependencies": {
|
|
2180
2180
|
"balanced-match": "^1.0.0"
|
|
2181
2181
|
}
|
|
@@ -2270,9 +2270,9 @@
|
|
|
2270
2270
|
}
|
|
2271
2271
|
},
|
|
2272
2272
|
"node_modules/@npmcli/package-json/node_modules/brace-expansion": {
|
|
2273
|
-
"version": "2.
|
|
2274
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
2275
|
-
"integrity": "sha512-
|
|
2273
|
+
"version": "2.1.4",
|
|
2274
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
2275
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
2276
2276
|
"dependencies": {
|
|
2277
2277
|
"balanced-match": "^1.0.0"
|
|
2278
2278
|
}
|
|
@@ -2993,9 +2993,9 @@
|
|
|
2993
2993
|
}
|
|
2994
2994
|
},
|
|
2995
2995
|
"node_modules/@tufjs/models/node_modules/brace-expansion": {
|
|
2996
|
-
"version": "2.
|
|
2997
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
2998
|
-
"integrity": "sha512-
|
|
2996
|
+
"version": "2.1.4",
|
|
2997
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
2998
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
2999
2999
|
"dependencies": {
|
|
3000
3000
|
"balanced-match": "^1.0.0"
|
|
3001
3001
|
}
|
|
@@ -3706,9 +3706,9 @@
|
|
|
3706
3706
|
}
|
|
3707
3707
|
},
|
|
3708
3708
|
"node_modules/brace-expansion": {
|
|
3709
|
-
"version": "1.1.
|
|
3710
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
3711
|
-
"integrity": "sha512-
|
|
3709
|
+
"version": "1.1.18",
|
|
3710
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",
|
|
3711
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
3712
3712
|
"dependencies": {
|
|
3713
3713
|
"balanced-match": "^1.0.0",
|
|
3714
3714
|
"concat-map": "0.0.1"
|
|
@@ -3863,9 +3863,9 @@
|
|
|
3863
3863
|
}
|
|
3864
3864
|
},
|
|
3865
3865
|
"node_modules/cacache/node_modules/brace-expansion": {
|
|
3866
|
-
"version": "2.
|
|
3867
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
3868
|
-
"integrity": "sha512-
|
|
3866
|
+
"version": "2.1.4",
|
|
3867
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
3868
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
3869
3869
|
"dependencies": {
|
|
3870
3870
|
"balanced-match": "^1.0.0"
|
|
3871
3871
|
}
|
|
@@ -5790,9 +5790,9 @@
|
|
|
5790
5790
|
}
|
|
5791
5791
|
},
|
|
5792
5792
|
"node_modules/ignore-walk/node_modules/brace-expansion": {
|
|
5793
|
-
"version": "2.
|
|
5794
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
5795
|
-
"integrity": "sha512-
|
|
5793
|
+
"version": "2.1.4",
|
|
5794
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
5795
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
5796
5796
|
"dependencies": {
|
|
5797
5797
|
"balanced-match": "^1.0.0"
|
|
5798
5798
|
}
|
|
@@ -5989,9 +5989,9 @@
|
|
|
5989
5989
|
}
|
|
5990
5990
|
},
|
|
5991
5991
|
"node_modules/ip-address": {
|
|
5992
|
-
"version": "10.
|
|
5993
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.
|
|
5994
|
-
"integrity": "sha512
|
|
5992
|
+
"version": "10.4.0",
|
|
5993
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz",
|
|
5994
|
+
"integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==",
|
|
5995
5995
|
"engines": {
|
|
5996
5996
|
"node": ">= 12"
|
|
5997
5997
|
}
|
|
@@ -8482,9 +8482,9 @@
|
|
|
8482
8482
|
}
|
|
8483
8483
|
},
|
|
8484
8484
|
"node_modules/make-fetch-happen/node_modules/brace-expansion": {
|
|
8485
|
-
"version": "2.
|
|
8486
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
8487
|
-
"integrity": "sha512-
|
|
8485
|
+
"version": "2.1.4",
|
|
8486
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
8487
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
8488
8488
|
"dependencies": {
|
|
8489
8489
|
"balanced-match": "^1.0.0"
|
|
8490
8490
|
}
|
|
@@ -9086,9 +9086,9 @@
|
|
|
9086
9086
|
}
|
|
9087
9087
|
},
|
|
9088
9088
|
"node_modules/node-gyp/node_modules/brace-expansion": {
|
|
9089
|
-
"version": "2.
|
|
9090
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
9091
|
-
"integrity": "sha512-
|
|
9089
|
+
"version": "2.1.4",
|
|
9090
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
9091
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
9092
9092
|
"dependencies": {
|
|
9093
9093
|
"balanced-match": "^1.0.0"
|
|
9094
9094
|
}
|
|
@@ -15096,9 +15096,9 @@
|
|
|
15096
15096
|
}
|
|
15097
15097
|
},
|
|
15098
15098
|
"node_modules/rimraf/node_modules/brace-expansion": {
|
|
15099
|
-
"version": "2.
|
|
15100
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
15101
|
-
"integrity": "sha512-
|
|
15099
|
+
"version": "2.1.4",
|
|
15100
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
15101
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
15102
15102
|
"dependencies": {
|
|
15103
15103
|
"balanced-match": "^1.0.0"
|
|
15104
15104
|
}
|
|
@@ -17869,9 +17869,9 @@
|
|
|
17869
17869
|
},
|
|
17870
17870
|
"dependencies": {
|
|
17871
17871
|
"brace-expansion": {
|
|
17872
|
-
"version": "2.
|
|
17873
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
17874
|
-
"integrity": "sha512-
|
|
17872
|
+
"version": "2.1.4",
|
|
17873
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
17874
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
17875
17875
|
"requires": {
|
|
17876
17876
|
"balanced-match": "^1.0.0"
|
|
17877
17877
|
}
|
|
@@ -17964,9 +17964,9 @@
|
|
|
17964
17964
|
},
|
|
17965
17965
|
"dependencies": {
|
|
17966
17966
|
"brace-expansion": {
|
|
17967
|
-
"version": "2.
|
|
17968
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
17969
|
-
"integrity": "sha512-
|
|
17967
|
+
"version": "2.1.4",
|
|
17968
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
17969
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
17970
17970
|
"requires": {
|
|
17971
17971
|
"balanced-match": "^1.0.0"
|
|
17972
17972
|
}
|
|
@@ -18038,9 +18038,9 @@
|
|
|
18038
18038
|
},
|
|
18039
18039
|
"dependencies": {
|
|
18040
18040
|
"brace-expansion": {
|
|
18041
|
-
"version": "2.
|
|
18042
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
18043
|
-
"integrity": "sha512-
|
|
18041
|
+
"version": "2.1.4",
|
|
18042
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
18043
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
18044
18044
|
"requires": {
|
|
18045
18045
|
"balanced-match": "^1.0.0"
|
|
18046
18046
|
}
|
|
@@ -18544,9 +18544,9 @@
|
|
|
18544
18544
|
},
|
|
18545
18545
|
"dependencies": {
|
|
18546
18546
|
"brace-expansion": {
|
|
18547
|
-
"version": "2.
|
|
18548
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
18549
|
-
"integrity": "sha512-
|
|
18547
|
+
"version": "2.1.4",
|
|
18548
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
18549
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
18550
18550
|
"requires": {
|
|
18551
18551
|
"balanced-match": "^1.0.0"
|
|
18552
18552
|
}
|
|
@@ -19112,9 +19112,9 @@
|
|
|
19112
19112
|
}
|
|
19113
19113
|
},
|
|
19114
19114
|
"brace-expansion": {
|
|
19115
|
-
"version": "1.1.
|
|
19116
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
19117
|
-
"integrity": "sha512-
|
|
19115
|
+
"version": "1.1.18",
|
|
19116
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",
|
|
19117
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
19118
19118
|
"requires": {
|
|
19119
19119
|
"balanced-match": "^1.0.0",
|
|
19120
19120
|
"concat-map": "0.0.1"
|
|
@@ -19236,9 +19236,9 @@
|
|
|
19236
19236
|
},
|
|
19237
19237
|
"dependencies": {
|
|
19238
19238
|
"brace-expansion": {
|
|
19239
|
-
"version": "2.
|
|
19240
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
19241
|
-
"integrity": "sha512-
|
|
19239
|
+
"version": "2.1.4",
|
|
19240
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
19241
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
19242
19242
|
"requires": {
|
|
19243
19243
|
"balanced-match": "^1.0.0"
|
|
19244
19244
|
}
|
|
@@ -20662,9 +20662,9 @@
|
|
|
20662
20662
|
},
|
|
20663
20663
|
"dependencies": {
|
|
20664
20664
|
"brace-expansion": {
|
|
20665
|
-
"version": "2.
|
|
20666
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
20667
|
-
"integrity": "sha512-
|
|
20665
|
+
"version": "2.1.4",
|
|
20666
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
20667
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
20668
20668
|
"requires": {
|
|
20669
20669
|
"balanced-match": "^1.0.0"
|
|
20670
20670
|
}
|
|
@@ -20816,9 +20816,9 @@
|
|
|
20816
20816
|
}
|
|
20817
20817
|
},
|
|
20818
20818
|
"ip-address": {
|
|
20819
|
-
"version": "10.
|
|
20820
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.
|
|
20821
|
-
"integrity": "sha512
|
|
20819
|
+
"version": "10.4.0",
|
|
20820
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz",
|
|
20821
|
+
"integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ=="
|
|
20822
20822
|
},
|
|
20823
20823
|
"is-arguments": {
|
|
20824
20824
|
"version": "1.1.0",
|
|
@@ -22659,9 +22659,9 @@
|
|
|
22659
22659
|
}
|
|
22660
22660
|
},
|
|
22661
22661
|
"brace-expansion": {
|
|
22662
|
-
"version": "2.
|
|
22663
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
22664
|
-
"integrity": "sha512-
|
|
22662
|
+
"version": "2.1.4",
|
|
22663
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
22664
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
22665
22665
|
"requires": {
|
|
22666
22666
|
"balanced-match": "^1.0.0"
|
|
22667
22667
|
}
|
|
@@ -23130,9 +23130,9 @@
|
|
|
23130
23130
|
},
|
|
23131
23131
|
"dependencies": {
|
|
23132
23132
|
"brace-expansion": {
|
|
23133
|
-
"version": "2.
|
|
23134
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
23135
|
-
"integrity": "sha512-
|
|
23133
|
+
"version": "2.1.4",
|
|
23134
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
23135
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
23136
23136
|
"requires": {
|
|
23137
23137
|
"balanced-match": "^1.0.0"
|
|
23138
23138
|
}
|
|
@@ -27576,9 +27576,9 @@
|
|
|
27576
27576
|
},
|
|
27577
27577
|
"dependencies": {
|
|
27578
27578
|
"brace-expansion": {
|
|
27579
|
-
"version": "2.
|
|
27580
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.
|
|
27581
|
-
"integrity": "sha512-
|
|
27579
|
+
"version": "2.1.4",
|
|
27580
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",
|
|
27581
|
+
"integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",
|
|
27582
27582
|
"requires": {
|
|
27583
27583
|
"balanced-match": "^1.0.0"
|
|
27584
27584
|
}
|
data/helpers/test/npm6/fixtures/conflicting-dependency-parser/deeply-nested/package-lock.json
CHANGED
|
@@ -144,9 +144,10 @@
|
|
|
144
144
|
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
|
|
145
145
|
},
|
|
146
146
|
"node_modules/brace-expansion": {
|
|
147
|
-
"version": "1.1.
|
|
148
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.
|
|
149
|
-
"integrity": "sha512-
|
|
147
|
+
"version": "1.1.18",
|
|
148
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",
|
|
149
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
150
|
+
"license": "MIT",
|
|
150
151
|
"dependencies": {
|
|
151
152
|
"balanced-match": "^1.0.0",
|
|
152
153
|
"concat-map": "0.0.1"
|
|
@@ -16,48 +16,42 @@ module Dependabot
|
|
|
16
16
|
# Matches semantic versions:
|
|
17
17
|
VERSION = T.let("#{DIGIT}(?:\\.#{DIGIT}){0,2}#{PRERELEASE}#{BUILD_METADATA}".freeze, String)
|
|
18
18
|
|
|
19
|
-
VERSION_REGEX =
|
|
19
|
+
VERSION_REGEX = /^#{VERSION}$/
|
|
20
20
|
|
|
21
21
|
# Base regex for SemVer (major.minor.patch[-prerelease][+build])
|
|
22
22
|
# This pattern extracts valid semantic versioning strings based on the SemVer 2.0 specification.
|
|
23
|
-
SEMVER_REGEX =
|
|
24
|
-
/
|
|
23
|
+
SEMVER_REGEX = /
|
|
25
24
|
(?<version>\d+\.\d+\.\d+) # Match major.minor.patch (e.g., 1.2.3)
|
|
26
25
|
(?:-(?<prerelease>[a-zA-Z0-9.-]+))? # Optional prerelease (e.g., -alpha.1, -rc.1, -beta.5)
|
|
27
26
|
(?:\+(?<build>[a-zA-Z0-9.-]+))? # Optional build metadata (e.g., +build.20231101, +exp.sha.5114f85)
|
|
28
|
-
/x
|
|
29
|
-
Regexp
|
|
30
|
-
)
|
|
27
|
+
/x
|
|
31
28
|
|
|
32
29
|
# Full SemVer validation regex (ensures the entire string is a valid SemVer)
|
|
33
30
|
# This ensures the entire input strictly follows SemVer, without extra characters before/after.
|
|
34
|
-
SEMVER_VALIDATION_REGEX =
|
|
31
|
+
SEMVER_VALIDATION_REGEX = /^#{SEMVER_REGEX}$/
|
|
35
32
|
|
|
36
33
|
# SemVer constraint regex (supports package.json version constraints)
|
|
37
34
|
# This pattern ensures proper parsing of SemVer versions with optional operators.
|
|
38
|
-
SEMVER_CONSTRAINT_REGEX =
|
|
39
|
-
/
|
|
35
|
+
SEMVER_CONSTRAINT_REGEX = /
|
|
40
36
|
(?: (>=|<=|>|<|=|~|\^)\s*)? # Make operators optional (e.g., >=, ^, ~)
|
|
41
37
|
(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.-]+)?(?:\+[a-zA-Z0-9.-]+)?) # Match full SemVer versions
|
|
42
38
|
| (\*|latest) # Match wildcard (*) or 'latest'
|
|
43
|
-
/x
|
|
44
|
-
Regexp
|
|
45
|
-
)
|
|
39
|
+
/x
|
|
46
40
|
|
|
47
41
|
# /(>=|<=|>|<|=|~|\^)\s*(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.-]+)?(?:\+[a-zA-Z0-9.-]+)?)|(\*|latest)/
|
|
48
42
|
|
|
49
43
|
SEMVER_OPERATOR_REGEX = /^(>=|<=|>|<|~|\^|=)$/
|
|
50
44
|
|
|
51
45
|
# Constraint Types as Constants
|
|
52
|
-
CARET_CONSTRAINT_REGEX =
|
|
53
|
-
TILDE_CONSTRAINT_REGEX =
|
|
54
|
-
EXACT_CONSTRAINT_REGEX =
|
|
55
|
-
GREATER_THAN_EQUAL_REGEX =
|
|
56
|
-
LESS_THAN_EQUAL_REGEX =
|
|
57
|
-
GREATER_THAN_REGEX =
|
|
58
|
-
LESS_THAN_REGEX =
|
|
59
|
-
WILDCARD_REGEX =
|
|
60
|
-
LATEST_REGEX =
|
|
46
|
+
CARET_CONSTRAINT_REGEX = /^\^\s*(#{VERSION})$/
|
|
47
|
+
TILDE_CONSTRAINT_REGEX = /^~\s*(#{VERSION})$/
|
|
48
|
+
EXACT_CONSTRAINT_REGEX = /^\s*(#{VERSION})$/
|
|
49
|
+
GREATER_THAN_EQUAL_REGEX = /^>=\s*(#{VERSION})$/
|
|
50
|
+
LESS_THAN_EQUAL_REGEX = /^<=\s*(#{VERSION})$/
|
|
51
|
+
GREATER_THAN_REGEX = /^>\s*(#{VERSION})$/
|
|
52
|
+
LESS_THAN_REGEX = /^<\s*(#{VERSION})$/
|
|
53
|
+
WILDCARD_REGEX = /^\*$/
|
|
54
|
+
LATEST_REGEX = /^latest$/
|
|
61
55
|
SEMVER_CONSTANTS = ["*", "latest"].freeze
|
|
62
56
|
|
|
63
57
|
# Unified Regex for Valid Constraints
|
|
@@ -27,7 +27,7 @@ module Dependabot
|
|
|
27
27
|
require "dependabot/file_parsers/base/dependency_set"
|
|
28
28
|
require_relative "file_parser/lockfile_parser"
|
|
29
29
|
|
|
30
|
-
DEPENDENCY_TYPES =
|
|
30
|
+
DEPENDENCY_TYPES = %w(dependencies devDependencies optionalDependencies).freeze
|
|
31
31
|
GIT_URL_REGEX = %r{
|
|
32
32
|
(?<git_prefix>^|^git.*?|^github:|^bitbucket:|^gitlab:|github\.com/)
|
|
33
33
|
(?<username>[a-z0-9-]+)/
|
|
@@ -14,7 +14,7 @@ module Dependabot
|
|
|
14
14
|
class NpmrcBuilder
|
|
15
15
|
extend T::Sig
|
|
16
16
|
|
|
17
|
-
CENTRAL_REGISTRIES =
|
|
17
|
+
CENTRAL_REGISTRIES = %w(registry.npmjs.org).freeze
|
|
18
18
|
|
|
19
19
|
SCOPED_REGISTRY = /^\s*@(?<scope>\S+):registry\s*=\s*(?<registry>\S+)/
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ module Dependabot
|
|
|
17
17
|
extend T::Sig
|
|
18
18
|
|
|
19
19
|
# RFC 3986 unreserved; others need encoding (explicit ASCII class avoids UTF-8 \w issues)
|
|
20
|
-
CHARS_REQUIRING_ENCODING =
|
|
20
|
+
CHARS_REQUIRING_ENCODING = /[^A-Za-z0-9._~-]/
|
|
21
21
|
private_constant :CHARS_REQUIRING_ENCODING
|
|
22
22
|
|
|
23
23
|
sig { override.returns(T.nilable(String)) }
|
|
@@ -49,9 +49,9 @@ module Dependabot
|
|
|
49
49
|
dependency_files:,
|
|
50
50
|
credentials:
|
|
51
51
|
)
|
|
52
|
-
@dependency =
|
|
53
|
-
@dependency_files =
|
|
54
|
-
@credentials =
|
|
52
|
+
@dependency = dependency
|
|
53
|
+
@dependency_files = dependency_files
|
|
54
|
+
@credentials = credentials
|
|
55
55
|
|
|
56
56
|
@npm_details = T.let(nil, T.nilable(T::Hash[String, T.untyped]))
|
|
57
57
|
@dist_tags = T.let(nil, T.nilable(T::Hash[String, String]))
|
|
@@ -26,8 +26,8 @@ module Dependabot
|
|
|
26
26
|
).void
|
|
27
27
|
end
|
|
28
28
|
def initialize(registry_config_files, credentials)
|
|
29
|
-
@registry_config_files =
|
|
30
|
-
@credentials =
|
|
29
|
+
@registry_config_files = registry_config_files
|
|
30
|
+
@credentials = credentials
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
private
|
|
@@ -12,15 +12,15 @@ module Dependabot
|
|
|
12
12
|
class Requirement < Dependabot::Requirement
|
|
13
13
|
extend T::Sig
|
|
14
14
|
|
|
15
|
-
AND_SEPARATOR =
|
|
16
|
-
OR_SEPARATOR =
|
|
15
|
+
AND_SEPARATOR = /(?<=[a-zA-Z0-9*])\s+(?:&+\s+)?(?!\s*[|-])/
|
|
16
|
+
OR_SEPARATOR = /(?<=[a-zA-Z0-9*])\s*\|+/
|
|
17
17
|
|
|
18
18
|
# Override the version pattern to allow a 'v' prefix
|
|
19
19
|
quoted = OPS.keys.map { |k| Regexp.quote(k) }.join("|")
|
|
20
20
|
version_pattern = "v?#{Bun::Version::VERSION_PATTERN}"
|
|
21
21
|
|
|
22
22
|
PATTERN_RAW = T.let("\\s*(#{quoted})?\\s*(#{version_pattern})\\s*".freeze, String)
|
|
23
|
-
PATTERN =
|
|
23
|
+
PATTERN = /\A#{PATTERN_RAW}\z/
|
|
24
24
|
|
|
25
25
|
sig do
|
|
26
26
|
params(
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-bun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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.
|
|
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.
|
|
25
|
+
version: 0.391.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -354,7 +354,7 @@ licenses:
|
|
|
354
354
|
- MIT
|
|
355
355
|
metadata:
|
|
356
356
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
357
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
357
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.391.0
|
|
358
358
|
rdoc_options: []
|
|
359
359
|
require_paths:
|
|
360
360
|
- lib
|