Upgrade Node and deps

This commit is contained in:
Jonathan Cremin 2020-04-28 19:53:41 +01:00
parent 02fce6694f
commit 5ba3016557
5 changed files with 955 additions and 933 deletions

View file

@ -1,9 +1,7 @@
FROM node:13.6.0-alpine3.11
FROM node:14.0.0
WORKDIR /app
RUN apk add --update git python make g++
COPY package.json package.json
COPY yarn.lock yarn.lock

View file

@ -1,9 +1,7 @@
FROM node:13.6.0-alpine3.11
FROM node:14.0.0
WORKDIR /app
RUN apk add --update git python make g++
ENV PORT 3000
EXPOSE 3000

View file

@ -21,7 +21,7 @@
"dependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/polyfill": "^7.8.7",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/register": "^7.10.1",
"@sentry/node": "^5.17.0",
@ -30,29 +30,29 @@
"bluebird": "^3.7.2",
"bulma": "^0.9.0",
"co": "~4.6.0",
"css-loader": "^3.4.2",
"css-loader": "^3.6.0",
"debug": "^4.1.1",
"ejs": "^3.1.3",
"file-loader": "^6.0.0",
"iso8601-duration": "^1.1.1",
"kcors": "^2.2.1",
"koa": "^2.11.0",
"koa": "^2.12.1",
"koa-bodyparser": "^4.3.0",
"koa-compress": "~4.0.1",
"koa-favicon": "~2.1.0",
"koa-logger": "~3.2.1",
"koa-route": "~3.2.0",
"koa-static": "^5.0.0",
"koa-views": "^6.2.1",
"koa-views": "^6.3.0",
"kue": "^0.11.6",
"mini-css-extract-plugin": "^0.9.0",
"mocha-esm": "^1.1.1",
"node-sass": "^4.14.1",
"nodebrainz": "^2.1.1",
"pg": "^7.18.2",
"pg": "^8.2.1",
"playmusic": "^2.3.0",
"sass-loader": "^8.0.2",
"sequelize": "^5.21.12",
"sequelize": "^5.21.13",
"sequelize-cli-esm": "^5.0.6",
"spotify-web-api-node": "^4.0.0",
"superagent": "^5.2.2",
@ -69,9 +69,9 @@
},
"devDependencies": {
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.21.2",
"istanbul": "^0.4.0",
"mocha": "^8.0.1",
"nodemon": "^2.0.4",

View file

@ -3,7 +3,7 @@ import lookup from '../lib/lookup.js';
describe('Search with url', function(){
it('should find album by url', async function (){
const result = await lookup('https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay');
result.name.should.equal('Phase 5');
const result = await lookup('https://play.google.com/music/m/Bw2bwajaddrgr5vakp3vluqothq');
result.name.should.equal('Breaking');
});
});

1858
yarn.lock

File diff suppressed because it is too large Load diff