Skip to content

Commit

Permalink
Merge pull request #190 from nzzdev/release-7.1.5
Browse files Browse the repository at this point in the history
Release 7.1.5
  • Loading branch information
dnlbln committed Jan 6, 2023
2 parents e370ffa + 6b74556 commit b16d500
Show file tree
Hide file tree
Showing 12 changed files with 22,300 additions and 13,017 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
dist: trusty
dist: jammy
sudo: true
services:
- docker
language: node_js
node_js:
- '16'
cache:
directories:
- node_modules
- '18'
install:
- npm set-script prepare ""
- npm install
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use following version of node alpine as the base image
FROM node:16-alpine
FROM node:18-alpine

# Set work directory for run/cmd
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion dist/Q-Table.js

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions dist/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2839,8 +2839,11 @@ const route$j = {
},
handler: function (request, h) {
const params = request.params;
return h
.file(`${params.filename}.${params.extension}`)
// For some reason after updating deps on 7.1.5 ts is not detecting the
// type of h.file() and is complaining about the return type.
// @ts-ignore
// eslint-disable-next-line
return h.file(`${params.filename}.${params.extension}`)
.type('text/css')
.header('cache-control', `max-age=${60 * 60 * 24 * 365}, immutable`); // 1 year
},
Expand Down Expand Up @@ -3401,7 +3404,7 @@ const route$6 = {
payload: Joi.object(),
},
},
handler: function (request) {
handler: function () {
// const payload = request.payload as Payload;
// const item = payload.item;
// const data = item.data.table;
Expand Down Expand Up @@ -3575,6 +3578,10 @@ const route$3 = {
},
handler: (request, h) => {
const params = request.params;
// For some reason after updating deps on 7.1.5 ts is not detecting the
// type of h.file() and is complaining about the return type.
// @ts-ignore
// eslint-disable-next-line
return h.file(localesDir + params.lng + '/translation.json').type('application/json');
},
};
Expand Down
Loading

0 comments on commit b16d500

Please sign in to comment.