diff --git a/README.md b/README.md index ed935b5..67b17ab 100644 --- a/README.md +++ b/README.md @@ -259,59 +259,59 @@ the api of [`node-postgres`]: - release clients with [`Pool.release`] or [`Pool.destroy`] - release with [`Pool.end`] -[`Pool`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#t:Pool -[`Config`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#t:Config -[`Pool.make`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#v:make -[`Pool.end`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#v:end -[`Pool.connect`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#v:connect -[`Pool.destroy`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#v:destroy -[`Pool.release`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Pool#v:release +[`Pool`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#t:Pool +[`Config`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#t:Config +[`Pool.make`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#v:make +[`Pool.end`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#v:end +[`Pool.connect`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#v:connect +[`Pool.destroy`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#v:destroy +[`Pool.release`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Pool#v:release -[`Client`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#t:Client -[`Client.end`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:end -[`Client.make`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:make -[`Client.connected`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:connected -[`Client.query`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:query -[`Client.queryRaw`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:queryRaw -[`Client.exec`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Effect.Aff.Postgres.Client#v:exec +[`Client`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#t:Client +[`Client.end`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:end +[`Client.make`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:make +[`Client.connected`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:connected +[`Client.query`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:query +[`Client.queryRaw`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:queryRaw +[`Client.exec`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Effect.Aff.Postgres.Client#v:exec -[`Range`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Range#t:Range -[`Range.gt`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Range#v:gt -[`Range.gte`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Range#v:gte -[`Range.lt`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Range#v:lt -[`Range.lte`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Range#v:lte +[`Range`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Range#t:Range +[`Range.gt`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Range#v:gt +[`Range.gte`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Range#v:gte +[`Range.lt`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Range#v:lt +[`Range.lte`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Range#v:lte -[`Raw`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Raw#t:Raw -[`Null`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Raw#t:Null +[`Raw`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Raw#t:Raw +[`Null`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Raw#t:Null -[`Serialize`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres#t:Serialize -[`Deserialize`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres#t:Deserialize -[`Rep`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres#t:Rep -[`modifyPgTypes`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres#v:modifyPgTypes +[`Serialize`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres#t:Serialize +[`Deserialize`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres#t:Deserialize +[`Rep`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres#t:Rep +[`modifyPgTypes`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres#v:modifyPgTypes -[`Result`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Result#t:Result -[`FromRow`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Result#t:FromRow -[`FromRows`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Result#t:FromRows +[`Result`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Result#t:Result +[`FromRow`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Result#t:FromRow +[`FromRows`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Result#t:FromRows -[`Query`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Query#t:Query -[`AsQuery`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Query#t:AsQuery +[`Query`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Query#t:Query +[`AsQuery`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Query#t:AsQuery -[`Query.Builder`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Query.Builder#t:Builder -[`Query.Builder.param`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Query.Builder#v:param -[`Query.Builder.build`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Data.Postgres.Query.Builder#v:build +[`Query.Builder`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Query.Builder#t:Builder +[`Query.Builder.param`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Query.Builder#v:param +[`Query.Builder.build`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Data.Postgres.Query.Builder#v:build -[`MonadCursor`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#t:MonadCursor -[`MonadSession`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#t:MonadSession -[`CursorT`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#t:CursorT -[`SessionT`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#t:SessionT -[`PostgresT`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#t:PostgresT -[`cursor`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:cursor -[`session`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:session -[`transaction`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:transaction -[`runPostgres`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:runPostgres -[`query`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:query -[`exec`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:exec -[`exec_`]: https://pursuit.purescript.org//////////////////////////////////////////////////packages/purescript-postgresql/2.0.7/Control.Monad.Postgres#v:exec_ +[`MonadCursor`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#t:MonadCursor +[`MonadSession`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#t:MonadSession +[`CursorT`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#t:CursorT +[`SessionT`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#t:SessionT +[`PostgresT`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#t:PostgresT +[`cursor`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:cursor +[`session`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:session +[`transaction`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:transaction +[`runPostgres`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:runPostgres +[`query`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:query +[`exec`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:exec +[`exec_`]: https://pursuit.purescript.org///////////////////////////////////////////////////packages/purescript-postgresql/2.0.8/Control.Monad.Postgres#v:exec_ [`node-postgres`]: https://node-postgres.com/ [`pg-types`]: https://github.com/brianc/node-pg-types/ diff --git a/spago.lock b/spago.lock index 073f2e5..eaf62b5 100644 --- a/spago.lock +++ b/spago.lock @@ -25,6 +25,7 @@ workspace: - newtype: ">=5.0.0 <6.0.0" - node-buffer: ">=9.0.0 <10.0.0" - node-event-emitter: ">=3.0.0 <4.0.0" + - node-fs: ">=9.1.0 <9.2.0" - node-stream-pipes: ">=2.1.0 <3.0.0" - node-streams: ">=9.0.0 <10.0.0" - nullable: ">=6.0.0 <7.0.0" @@ -665,8 +666,8 @@ packages: - unsafe-coerce node-fs: type: registry - version: 9.2.0 - integrity: sha256-Sg0vkXycEzkEerX6hLccz21Ygd9w1+QSk1thotRZPGI= + version: 9.1.0 + integrity: sha256-TzhvGdrwcM0bazDvrWSqh+M/H8GKYf1Na6aGm2Qg4+c= dependencies: - datetime - effect diff --git a/spago.yaml b/spago.yaml index 35936d0..6ec3247 100644 --- a/spago.yaml +++ b/spago.yaml @@ -1,7 +1,7 @@ package: name: postgresql publish: - version: '2.0.7' + version: '2.0.8' license: 'GPL-3.0-or-later' location: githubOwner: 'cakekindel' @@ -54,6 +54,7 @@ package: - typelevel-prelude: ">=7.0.0 <8.0.0" - unlift: ">=1.0.1 <2.0.0" - unsafe-coerce: ">=6.0.0 <7.0.0" + - node-fs: ">=9.1.0 <9.2.0" test: main: Test.Main dependencies: diff --git a/src/Node.FS.PinnedVersion.purs b/src/Node.FS.PinnedVersion.purs new file mode 100644 index 0000000..6af4d6c --- /dev/null +++ b/src/Node.FS.PinnedVersion.purs @@ -0,0 +1,10 @@ +module Node.FS.PinnedVersion where + +import Prelude + +import Effect.Aff (Aff) +import Node.Encoding (Encoding(..)) +import Node.FS.Aff as FS + +foo :: Aff Unit +foo = FS.writeTextFile UTF8 "foo" "foo"