0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit/middleware/api
Hannah Wolfe b1cfa6e342 Improved version match logic (#8922)
closes #8821

- Use semver to do constraint matching
- Use client to generate a caret constraint
- E.g. if the client is 1.1, then the constraint ^1.1.0 will match >=1.1.0 <2.0.0
- Updated tests
2017-08-22 10:59:01 +01:00
..
cors_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
version-match_spec.js Improved version match logic (#8922) 2017-08-22 10:59:01 +01:00