From 0b647ed4d8eb2ce828ee0b353fc3e08d70b76456 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 17 May 2024 15:50:54 +0200 Subject: [PATCH] Remove old deprecated functions --- src/main/cljc/dda/c4k_common/common.cljc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/cljc/dda/c4k_common/common.cljc b/src/main/cljc/dda/c4k_common/common.cljc index 3fb2f43..bc7099d 100644 --- a/src/main/cljc/dda/c4k_common/common.cljc +++ b/src/main/cljc/dda/c4k_common/common.cljc @@ -7,21 +7,6 @@ :cljs [orchestra.core :refer-macros [defn-spec]]) [dda.c4k-common.predicate :as cp])) -;; deprecated functions were moved to dda.c4k-common.predicate -(defn ^{:deprecated "0.1"} bash-env-string? - [input] - (and (string? input) - (not (re-matches #".*['\"\$]+.*" input)))) - -(defn ^{:deprecated "0.1"} fqdn-string? - [input] - (and (string? input) - (some? (re-matches #"(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)" input)))) - -(defn ^{:deprecated "0.1"} letsencrypt-issuer? - [input] - (contains? #{:prod :staging} input)) - (defn-spec replace-named-value cp/map-or-seq? [coll cp/map-or-seq? name string?