diff --git a/docs/form-submission.md b/docs/form-submission.md index 9fdaea2..9728e9d 100644 --- a/docs/form-submission.md +++ b/docs/form-submission.md @@ -53,7 +53,7 @@ I waved away some of the complexity that's associated with generating that token ```clojure (import joy) -(import json) +(import spork/json) (defn create [{:body body}] (let [name (get body :username)] diff --git a/project.janet b/project.janet index 6ac3f25..0a0fc7f 100644 --- a/project.janet +++ b/project.janet @@ -2,8 +2,7 @@ :name "joy" :description "A full stack web framework written in janet" :dependencies [{:repo "https://github.com/andrewchambers/janet-uri" :tag "9737a6aee88cc2e426b496532014d6d85605afc2"} - {:repo "https://github.com/janet-lang/json" :tag "61437d96b5df6eb7e524f88847e7d7521201662d"} - {:repo "https://github.com/janet-lang/path" :tag "0ae7b60b8aaaa7f80f84692b7efb8e46b7d38eb3"} + {:repo "https://github.com/janet-lang/spork" :tag "f547fee9ebfe96c09029bfe232336aab1212a617"} {:repo "https://github.com/pyrmont/musty" :tag "e1a821940072a5ae5ddc9d3cb2ae6d1bdba41468"} "https://github.com/joy-framework/cipher" "https://github.com/joy-framework/halo2" diff --git a/src/joy/cli/controller.janet b/src/joy/cli/controller.janet index 6545feb..04763b3 100644 --- a/src/joy/cli/controller.janet +++ b/src/joy/cli/controller.janet @@ -1,7 +1,7 @@ (import ../helper :prefix "") (import ../env :as env) (import db) -(import path) +(import spork/path) (import musty) diff --git a/src/joy/cli/projects.janet b/src/joy/cli/projects.janet index f32d00b..9d8bbdb 100644 --- a/src/joy/cli/projects.janet +++ b/src/joy/cli/projects.janet @@ -1,5 +1,5 @@ (import ../helper :prefix "") -(import path) +(import spork/path) (import cipher) (import musty) diff --git a/src/joy/cli/route.janet b/src/joy/cli/route.janet index 0feaae5..523e5bf 100644 --- a/src/joy/cli/route.janet +++ b/src/joy/cli/route.janet @@ -1,7 +1,7 @@ (import ../helper :prefix "") (import ../env :as env) (import db) -(import path) +(import spork/path) (import musty) diff --git a/src/joy/middleware.janet b/src/joy/middleware.janet index f244776..171e724 100644 --- a/src/joy/middleware.janet +++ b/src/joy/middleware.janet @@ -5,8 +5,8 @@ (import ./responder :as responder) (import ./html :as html) (import cipher) -(import path) -(import json) +(import spork/path) +(import spork/json) (defn layout diff --git a/src/joy/responder.janet b/src/joy/responder.janet index 1939249..182f25e 100644 --- a/src/joy/responder.janet +++ b/src/joy/responder.janet @@ -1,4 +1,4 @@ -(import json) +(import spork/json) (import ./html) (defn- content-type [k]