Skip to content

Commit

Permalink
Fix dependencies URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienfilion committed Dec 23, 2020
1 parent 03b7497 commit 5719523
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export FL_TITLE="Functional Redis"
export FL_DESCRIPTION="A simple Redis client in tune with Functional Programming principles in JavaScript for Deno."
export FL_GITHUB_URL="https://github.com/sebastienfilion/functional-redis"
export FL_DENO_URL="https://deno.land/x/functional_redis"
export FL_VERSION="v0.1.2"
export FL_VERSION="v0.1.3"

deno run --allow-all --unstable ../@functional:generate-documentation/cli.js document \
"$FL_TITLE" \
Expand Down
4 changes: 2 additions & 2 deletions .github/readme-fragment-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ This example uses the Ramda library - for simplification - but you should be abl
import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
import File from "https://deno.land/x/[email protected]/library/File.js";
import { writeFile } from "https://deno.land/x/[email protected]/library/fs.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
import {
createRedisSession,
pipeRedisCommand
} from "https://deno.land/x/[email protected].2/library/client.js";
} from "https://deno.land/x/[email protected].3/library/client.js";

const copyHogeToFuga = createRedisSession(
compose(
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A simple Redis client in tune with Functional Programming principles in JavaScript for Deno.

[![deno land](http://img.shields.io/badge/available%20on-deno.land/x-lightgrey.svg?logo=deno&labelColor=black)](https://deno.land/x/[email protected].2)
[![deno land](http://img.shields.io/badge/available%20on-deno.land/x-lightgrey.svg?logo=deno&labelColor=black)](https://deno.land/x/[email protected].3)
[![deno version](https://img.shields.io/badge/deno-^1.6.1-lightgrey?logo=deno)](https://github.com/denoland/deno)
[![GitHub release](https://img.shields.io/github/v/release/sebastienfilion/functional-redis)](https://github.com/sebastienfilion/functional-redis/releases)
[![GitHub licence](https://img.shields.io/github/license/sebastienfilion/functional-redis)](https://github.com/sebastienfilion/functional-redis/blob/v0.1.2/LICENSE)
Expand All @@ -21,11 +21,11 @@ This example uses the Ramda library - for simplification - but you should be abl
import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
import File from "https://deno.land/x/[email protected]/library/File.js";
import { writeFile } from "https://deno.land/x/[email protected]/library/fs.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
import {
createRedisSession,
pipeRedisCommand
} from "https://deno.land/x/[email protected].2/library/client.js";
} from "https://deno.land/x/[email protected].3/library/client.js";

const copyHogeToFuga = createRedisSession(
compose(
Expand Down Expand Up @@ -383,7 +383,7 @@ This function takes an object for the connection options and, return a
[`Task`](https://github.com/sebastienfilion/functional#task-type) of a `Resource`.
```js
import { connectRedisClient } from "https://deno.land/x/[email protected].2/library/client.js";
import { connectRedisClient } from "https://deno.land/x/[email protected].3/library/client.js";

const container = await connectRedisClient({ port: 6379 }).run();
const redisResource = safeExtract("Failed to connect the client.", container);
Expand All @@ -396,7 +396,7 @@ This function takes a Resource and, return a
[`Task`](https://github.com/sebastienfilion/functional#task-type) of a `Resource`.
```js
import { disconnectRedisClient } from "https://deno.land/x/[email protected].2/library/client.js";
import { disconnectRedisClient } from "https://deno.land/x/[email protected].3/library/client.js";

await disconnectRedisClient(redisResource).run();
```
Expand All @@ -409,9 +409,9 @@ and, returns a [`Task`](https://github.com/sebastienfilion/functional#task-type)
```js
import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
import { executeRedisCommand } from "https://deno.land/x/[email protected].2/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
import RedisResponse from "https://deno.land/x/[email protected].2/library/RedisResponse.js";
import { executeRedisCommand } from "https://deno.land/x/[email protected].3/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
import RedisResponse from "https://deno.land/x/[email protected].3/library/RedisResponse.js";

const container = await executeRedisCommand(
RedisRequest.set({}, "hoge", "piyo"),
Expand All @@ -433,9 +433,9 @@ server. The function returns a [`Task`](https://github.com/sebastienfilion/funct
```js
import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
import { executeRedisCommandPipeline } from "https://deno.land/x/[email protected].2/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
import RedisResponse from "https://deno.land/x/[email protected].2/library/RedisResponse.js";
import { executeRedisCommandPipeline } from "https://deno.land/x/[email protected].3/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
import RedisResponse from "https://deno.land/x/[email protected].3/library/RedisResponse.js";

const container = await executeRedisCommandPipeline(
[
Expand Down Expand Up @@ -475,8 +475,8 @@ import { writeFile } from "https://deno.land/x/[email protected]/library/fs.j
import {
createRedisSession,
executeRedisCommand
} from "https://deno.land/x/[email protected].2/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
} from "https://deno.land/x/[email protected].3/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";

const writeHogeToFile = createRedisSession(
compose(
Expand Down Expand Up @@ -511,8 +511,8 @@ import { safeExtract } from "https://deno.land/x/[email protected]/library/utili
import {
createRedisSession,
pipeRedisCommand
} from "https://deno.land/x/[email protected].2/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
} from "https://deno.land/x/[email protected].3/library/client.js";
import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";

const copyHogeToFuga = createRedisSession(
compose(
Expand Down
30 changes: 15 additions & 15 deletions library/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import {
when
} from "https://deno.land/x/[email protected]/mod.ts";

import Pair, { factorizePair } from "../../functional/library/Pair.js";
import Task from "../../functional/library/Task.js";
import Pair, { factorizePair } from "https://deno.land/x/functional@v1.3.2/library/Pair.js";
import Task from "https://deno.land/x/functional@v1.3.2/library/Task.js";
import {
chainRec,
decodeRaw,
encodeText,
runSequentially
} from "../../functional/library/utilities.js";
} from "https://deno.land/x/functional@v1.3.2/library/utilities.js";
import { factorizeBuffer } from "https://deno.land/x/[email protected]/library/Buffer.js";
import Resource, { factorizeResource } from "https://deno.land/x/[email protected]/library/Resource.js";
import { close, readLine, readNBytes, write } from "https://deno.land/x/[email protected]/library/fs.js";
Expand Down Expand Up @@ -297,7 +297,7 @@ export const parseRedisResponse = compose(
* [`Task`](https://github.com/sebastienfilion/functional#task-type) of a `Resource`.
*
* ```js
* import { connectRedisClient } from "https://deno.land/x/[email protected].2/library/client.js";
* import { connectRedisClient } from "https://deno.land/x/[email protected].3/library/client.js";
*
* const container = await connectRedisClient({ port: 6379 }).run();
* const redisResource = safeExtract("Failed to connect the client.", container);
Expand All @@ -316,7 +316,7 @@ export const connectRedisClient = compose(
* [`Task`](https://github.com/sebastienfilion/functional#task-type) of a `Resource`.
*
* ```js
* import { disconnectRedisClient } from "https://deno.land/x/[email protected].2/library/client.js";
* import { disconnectRedisClient } from "https://deno.land/x/[email protected].3/library/client.js";
*
* await disconnectRedisClient(redisResource).run();
* ```
Expand Down Expand Up @@ -491,9 +491,9 @@ export const writeRedisPipeline = curry(
*
* ```js
* import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
* import { executeRedisCommand } from "https://deno.land/x/[email protected].2/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
* import RedisResponse from "https://deno.land/x/[email protected].2/library/RedisResponse.js";
* import { executeRedisCommand } from "https://deno.land/x/[email protected].3/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
* import RedisResponse from "https://deno.land/x/[email protected].3/library/RedisResponse.js";
*
* const container = await executeRedisCommand(
* RedisRequest.set({}, "hoge", "piyo"),
Expand Down Expand Up @@ -523,9 +523,9 @@ export const executeRedisCommand = curry(
*
* ```js
* import { safeExtract } from "https://deno.land/x/[email protected]/library/utilities.js";
* import { executeRedisCommandPipeline } from "https://deno.land/x/[email protected].2/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
* import RedisResponse from "https://deno.land/x/[email protected].2/library/RedisResponse.js";
* import { executeRedisCommandPipeline } from "https://deno.land/x/[email protected].3/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
* import RedisResponse from "https://deno.land/x/[email protected].3/library/RedisResponse.js";
*
* const container = await executeRedisCommandPipeline(
* [
Expand Down Expand Up @@ -571,8 +571,8 @@ export const executeRedisCommandPipeline = curry(
* import {
* createRedisSession,
* executeRedisCommand
* } from "https://deno.land/x/[email protected].2/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
* } from "https://deno.land/x/[email protected].3/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
*
* const writeHogeToFile = createRedisSession(
* compose(
Expand Down Expand Up @@ -621,8 +621,8 @@ export const createRedisSession = unaryFunction => compose(
* import {
* createRedisSession,
* pipeRedisCommand
* } from "https://deno.land/x/[email protected].2/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].2/library/RedisRequest.js";
* } from "https://deno.land/x/[email protected].3/library/client.js";
* import RedisRequest from "https://deno.land/x/[email protected].3/library/RedisRequest.js";
*
* const copyHogeToFuga = createRedisSession(
* compose(
Expand Down
4 changes: 2 additions & 2 deletions library/client_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import {
log,
safeExtract,
runSequentially
} from "../../functional/library/utilities.js";
} from "https://deno.land/x/functional@v1.3.2/library/utilities.js";
import Buffer from "https://deno.land/x/[email protected]/library/Buffer.js";
import File from "../../functional-io/library/File.js";
import File from "https://deno.land/x/[email protected]/library/File.js";
import Resource from "https://deno.land/x/[email protected]/library/Resource.js";
import { readFile, writeFile } from "https://deno.land/x/[email protected]/library/fs.js";

Expand Down

0 comments on commit 5719523

Please sign in to comment.