2020-10-01 14:42:02 +00:00
|
|
|
--TEST--
|
|
|
|
Test filters irrelevant package "package/b" in version 1.0.0
|
|
|
|
|
|
|
|
--REQUEST--
|
|
|
|
{
|
|
|
|
"require": {
|
|
|
|
"package/a": "^1.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
--POOL-BEFORE--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "package/a",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"require": {
|
2022-03-12 13:16:38 +00:00
|
|
|
"package/b": ">=1.0 <1.1 || ^1.2"
|
2020-10-01 14:42:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "package/b",
|
|
|
|
"version": "1.0.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "package/b",
|
|
|
|
"version": "1.0.1"
|
2022-03-12 13:16:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "package/b",
|
|
|
|
"version": "1.2.0"
|
2020-10-01 14:42:02 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
--POOL-AFTER--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "package/a",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"require": {
|
|
|
|
"package/b": "^1.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "package/b",
|
|
|
|
"version": "1.0.1"
|
2022-03-12 13:16:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "package/b",
|
|
|
|
"version": "1.2.0"
|
2020-10-01 14:42:02 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
|