cortad 0.4.4 → 0.4.5
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.
- package/lib/cli.mjs +2 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -105,9 +105,9 @@ const RELEASE = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
|
105
105
|
// The first cortad that holds a run to a number of conversations. An older one takes the number,
|
|
106
106
|
// plays every conversation the run chose and spends the person's whole key on it, so a run it cannot
|
|
107
107
|
// hold is refused here rather than handed to it (lib/verbs.mjs run).
|
|
108
|
-
const CAP_FROM = "0.4.
|
|
108
|
+
const CAP_FROM = "0.4.5";
|
|
109
109
|
// In release order on the numbers, with a prerelease counting below the release it leads to: a
|
|
110
|
-
// 0.4.
|
|
110
|
+
// 0.4.5 build from before this is not 0.4.5. A version this cannot read counts as older, never as
|
|
111
111
|
// new enough.
|
|
112
112
|
const olderThan = (version, floor) => {
|
|
113
113
|
const parts = (v) => { const m = /^(\d+)\.(\d+)\.(\d+)(?:-(.+))?$/.exec(v); return m ? [+m[1], +m[2], +m[3], m[4] ? 0 : 1] : null; };
|
package/package.json
CHANGED