Skip to content

Commit

Permalink
Bump deps (skimming, validator4oak, oak)
Browse files Browse the repository at this point in the history
  • Loading branch information
petruki committed May 25, 2024
1 parent c0a99a7 commit 5001afe
Show file tree
Hide file tree
Showing 25 changed files with 213 additions and 277 deletions.
4 changes: 1 addition & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ LOG_LEVEL=INFO
APP_URL=https://raw.githubusercontent.com/petruki/skimming/master/
APP_FILES=README.md
APP_CACHE_EXP_DURATION=5
APP_CACHE_SIZE=100
APP_ALLOW_URL=true
APP_ALLOW_FILES=true
APP_CACHE_SIZE=100
4 changes: 1 addition & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ LOG_LEVEL=Log level (DEBUG, INFO, ERROR)
APP_URL=URL to be used for the search
APP_FILES=List of files to be used for the search separated by comma
APP_CACHE_EXP_DURATION=Expiration duration of the cache in minutes
APP_CACHE_SIZE=Size of the cache
APP_ALLOW_URL=Whether to allow URL search as query parameter
APP_ALLOW_FILES=Wether to allow file search as query parameter
APP_CACHE_SIZE=Size of the cache
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.41.0
- name: Setup Deno v1.43.6
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.43.6

- name: Setup LCOV
run: sudo apt install -y lcov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/re-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}

- name: Setup Deno v1.41.0
- name: Setup Deno v1.43.6
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.43.6

- name: Verify formatting
run: deno task fmt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.41.0
- name: Setup Deno v1.43.6
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.43.6

- name: Verify formatting
run: deno task fmt
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:alpine-1.41.0
FROM denoland/deno:alpine-1.43.6

ENV APP_HOME=/home/app
WORKDIR $APP_HOME
Expand All @@ -11,6 +11,6 @@ COPY /src .

RUN addgroup -S app && \
adduser -S app -G app && \
chown -R app:app $APP_HOME /deno-dir
chown -R app:app "$APP_HOME" /deno-dir

USER app
176 changes: 96 additions & 80 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@ services:
- APP_FILES=README.md
- APP_CACHE_EXP_DURATION=5
- APP_CACHE_SIZE=100
- APP_ALLOW_URL=false
- APP_ALLOW_FILES=false
# volumes:
# - switcherapi-tls:/etc/ssl/certs
40 changes: 2 additions & 38 deletions resources/Switcher SearchDocs.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@
"value": "Sk",
"disabled": true
},
{
"key": "url",
"value": "https://deno.land/std/",
"disabled": true
},
{
"key": "files",
"value": "manual.md",
"disabled": true
},
{
"key": "ignoreCase",
"value": "false",
Expand All @@ -105,7 +95,7 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/?query=install.sh&url=https://raw.githubusercontent.com/denoland/deno/main/&files=README.md&previewLength=100&ignoreCase=false",
"raw": "{{url}}/?query=install.sh&previewLength=100&ignoreCase=false",
"host": [
"{{url}}"
],
Expand All @@ -117,14 +107,6 @@
"key": "query",
"value": "install.sh"
},
{
"key": "url",
"value": "https://raw.githubusercontent.com/denoland/deno/main/"
},
{
"key": "files",
"value": "README.md"
},
{
"key": "previewLength",
"value": "100"
Expand Down Expand Up @@ -154,7 +136,7 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/?query=Switcher&url=https://raw.githubusercontent.com/petruki/switcher-management/master/src/assets/documentation/&files=components.md,environment.md,overview.md&previewLength=-1&ignoreCase=false",
"raw": "{{url}}/?query=Switcher&previewLength=-1&ignoreCase=false",
"host": [
"{{url}}"
],
Expand All @@ -166,24 +148,6 @@
"key": "query",
"value": "Switcher"
},
{
"key": "url",
"value": "https://raw.githubusercontent.com/petruki/switcher-management/master/src/assets/documentation/"
},
{
"key": "files",
"value": "components.md,environment.md,libjava.md,libjavascript.md,metrics.md,overview.md,permissions.md,setup.md,strategies.md,team.md",
"disabled": true
},
{
"key": "files",
"value": "components.md,environment.md,overview.md"
},
{
"key": "files",
"value": "components.md",
"disabled": true
},
{
"key": "previewLength",
"value": "-1"
Expand Down
8 changes: 0 additions & 8 deletions src/api-docs/paths/path-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ export default {
type: 'string',
example: '100',
},
allowUrl: {
type: 'string',
example: 'false',
},
allowFiles: {
type: 'string',
example: 'false',
},
},
},
},
Expand Down
2 changes: 0 additions & 2 deletions src/api-docs/paths/path-searchdocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export default {
operationId: 'searchdocs',
parameters: [
queryParameter('query', 'The term to search for.', true),
queryParameter('url', 'The url of the documentation.', false),
queryParameter('files', 'The files to search in (separated by comma).', false),
queryParameter('previewLength', 'The length of the result preview.', false),
queryParameter('ignoreCase', 'Ignore case.', false),
queryParameter('trimContent', 'Trim content.', false),
Expand Down
Loading

0 comments on commit 5001afe

Please sign in to comment.