Skip to content

Commit

Permalink
Merge pull request #11 from mvc-works/replace-alpha
Browse files Browse the repository at this point in the history
allow alpha versions to be replaced; upgrade deps
  • Loading branch information
csvwolf authored Nov 16, 2020
2 parents 4180d9b + e07fc56 commit 5e38a0a
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 126 deletions.
29 changes: 22 additions & 7 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -797,14 +797,29 @@
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560878737971) (:text |:params) (:id |h6zVmeqq8Wleaf)
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560878738502) (:text |x) (:id |GoAFk55NH5)
|r $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560880301943) (:id |scGs4pi5a)
|r $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1605455835102)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880311364) (:text |re-matches) (:id |scGs4pi5aleaf)
|r $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880343891) (:text "|#\"\\d+\\.\\d+\\.\\d+") (:id |9JojKsjrc)
|v $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560880434909) (:id |7fHCTvH6t1)
|T $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560880301943) (:id |scGs4pi5a)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880434909) (:text |:data) (:id |kDkFDdZkIC)
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880434909) (:text |x) (:id |PoVAYLN-2j)
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880311364) (:text |re-matches) (:id |scGs4pi5aleaf)
|r $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880343891) (:text "|#\"\\d+\\.\\d+\\.\\d+") (:id |9JojKsjrc)
|v $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1605455843242)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1605455843242) (:text |last)
|j $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1605455843242)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1605455843242) (:text |:params)
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1605455843242) (:text |x)
|D $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1605455836487) (:text |if)
|j $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560880301943) (:id |scGs4pi5a)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880311364) (:text |re-matches) (:id |scGs4pi5aleaf)
|r $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880343891) (:text "|#\"\\d+\\.\\d+\\.\\d+") (:id |9JojKsjrc)
|v $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560880434909) (:id |7fHCTvH6t1)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880434909) (:text |:data) (:id |kDkFDdZkIC)
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560880434909) (:text |x) (:id |PoVAYLN-2j)
|r $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1605455847697) (:text |true)
|v $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1560878750360) (:id |785E3jVHt0)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1560878750978) (:text |map) (:id |785E3jVHt0leaf)
Expand Down Expand Up @@ -1569,7 +1584,7 @@
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1554532913241) (:text |write) (:id |kC7PCIz7IH)
|r $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1554532913241) (:id |qiyI6Litax)
:data $ {}
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1554532923735) (:text "|&") (:id |3jEHKcANt)
|T $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1554532923735) (:text |&) (:id |3jEHKcANt)
|j $ {} (:type :leaf) (:by |yeKFqj7rX) (:at 1554532924184) (:text |xs) (:id |gvGKkGMI3-)
|v $ {} (:type :expr) (:by |yeKFqj7rX) (:at 1554532918137) (:id |X2p9ecryG)
:data $ {}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mvc-works/clojars-outdated",
"version": "0.1.6",
"version": "0.1.7-a1",
"scripts": {
"watch": "yarn shadow-cljs watch app",
"prepare": "yarn build",
Expand All @@ -14,12 +14,12 @@
"author": "jiyinyiyong <[email protected]>",
"license": "MIT",
"devDependencies": {
"shadow-cljs": "^2.10.15",
"shadow-cljs": "^2.11.7",
"source-map-support": "^0.5.19",
"ws": "^7.3.1"
"ws": "^7.4.0"
},
"dependencies": {
"axios": "^0.19.2",
"axios": "^0.21.0",
"chalk": "^4.1.0",
"latest-version": "^5.1.0"
}
Expand Down
4 changes: 3 additions & 1 deletion src/app/main.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@
(fn [x]
(and (:ok? x)
(not= (:data x) (last (:params x)))
(re-matches #"\d+\.\d+\.\d+" (:data x)))))
(if (re-matches #"\d+\.\d+\.\d+" (last (:params x)))
(re-matches #"\d+\.\d+\.\d+" (:data x))
true))))
(map
(fn [x]
{:pkg (first (:params x)),
Expand Down
Loading

0 comments on commit 5e38a0a

Please sign in to comment.