Comments (4)
@boesing I believe it is related to this package. We should "normalize" the Composer
version string composerJson['require']['php'].replace(/,\s/i, ' ')
to the format NPM
understands.
NPM
Advanced ranges may be combined in the same way as primitive comparators using white space (
) or (
||
). https://docs.npmjs.com/cli/v6/using-npm/semver
eg. https://jubianchi.github.io/semver-check/#/%3E%3D1.2.7%20%3C1.3.0/1.2.8
Composer
You can define multiple ranges. Ranges separated by a space (
) or comma (
,
) will be treated as a logical AND. A double pipe (||
) will be treated as a logical OR. AND has higher precedence than OR.
https://getcomposer.org/doc/articles/versions.md#version-range
from laminas-ci-matrix-action.
Hey, thanks for reporting back.
I am unsure if this is related to this package or to upstream https://github.com/npm/node-semver
We do not implement semver ourselves and thus I'd report it there.
Since there was no update since 03/2021, the current matrix action container should already contain the latest version of node-semver
.
Do you know any other semver parsing library which could replace the current semver
dependency in this action?
from laminas-ci-matrix-action.
Thanks @ghostwriter!
from laminas-ci-matrix-action.
Got it, thanks for pointing that out @ghostwriter!
from laminas-ci-matrix-action.
Related Issues (20)
- Verify `composer.json` constraint changes
- Implement dependency injection HOT 2
- `ext-pdo_sqlite` is not really installable HOT 12
- Consider composer validation commands HOT 4
- support for the config.bin-dir options in composer.json HOT 2
- Initial clone not working for private repositories HOT 5
- Add in `composer-require-checker` as a globally installed tool HOT 5
- Run psalm against highest PHP version? HOT 3
- Bump `package.json` to use `node:^19` HOT 1
- Stable PHP version should be changed to PHP 8.0 HOT 1
- GHA `set-output` is deprecated
- Implement a mechanism to shrink the `vimeo/psalm` baseline, when possible HOT 1
- [RFC]: stop testing `latest` dependencies HOT 7
- Marking extensions as optional HOT 1
- Missing `backwardCompatibilityCheck` configuration flag documentation
- Enable `backwardsCompatibilityCheck` by-default for laminas components
- Allow org-wide configuration
- Invalid composer.json isn't handled gracefully HOT 1
- Missing support for `psalm/phar` HOT 15
- Allow `additional_checks` and `checks` to declare `filesToCheck`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminas-ci-matrix-action.