Skip to content

Commit

Permalink
Development (#174)
Browse files Browse the repository at this point in the history
* Update dependency @ove-lib/utils to v0.5.0

* Update dependency remark-preset-lint-recommended to v3.0.4

* Update dependency eslint-plugin-node to v11.1.0

* Update jest monorepo

* Update dependency lerna to v3.22.1

* Update dependency eslint-plugin-jest to v23.20.0

* Update dependency eslint-plugin-import to v2.22.1

* Update dependency node-fetch to v2.6.1 [SECURITY]

* Update remark monorepo

* Update dependency eslint-plugin-standard to v4.1.0

* Update dependency json-server to v0.16.3

* Update dependency eslint-config-standard to v16

* Update jest monorepo to v26

* Update dependency http-status-codes to v2

* Update dependency nodemon to v2.0.7

* Update dependency swagger-ui-express to v4.1.6

* Update babel monorepo

* Update dependency underscore to v1.13.1

* Update dependency eslint to v7

* Update dependency eslint-plugin-jest to v24

* Adding build:new command for handling babel in new Node and npm versions and updated babel/preset-env to v7.8.7

* Updating renovate/lerna-monorepo

* Updating packages to use ove-lib-utils-0.x

* Removing build:new

* Changing let to const to fix errors in api.js

* Minor fixes to move to Node LTS version 14

Co-authored-by: Renovate Bot <[email protected]>
  • Loading branch information
bcd00 and renovate-bot authored May 7, 2021
1 parent e46112c commit 6aa9f99
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sudo: false
language: node_js
node_js: stable
node_js: lts/*

services:
- docker
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-stretch
FROM node:14-stretch
WORKDIR /usr/src/app

# Bundle app source
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"start:dev": "lerna run start:dev"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/cli": "7.13.16",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "25.1.0",
"eslint": "6.8.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-node": "11.0.0",
"babel-jest": "26.6.3",
"eslint": "7.25.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"jest": "25.1.0",
"remark": "11.0.2",
"remark-preset-lint-recommended": "3.0.3",
"lerna": "3.20.2",
"eslint-plugin-standard": "4.1.0",
"jest": "26.6.3",
"lerna": "3.22.1",
"remark": "13.0.0",
"remark-preset-lint-recommended": "5.0.0",
"rimraf": "3.0.2",
"supertest": "4.0.2"
}
Expand Down
46 changes: 23 additions & 23 deletions packages/ove-service-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,40 +28,40 @@
"test:benchmark": "node benchmark/benchmark.js"
},
"dependencies": {
"@ove-lib/utils": "0.4.1",
"@ove-lib/utils": "0.5.0",
"body-parser": "1.19.0",
"cors": "latest",
"cors": "2.8.5",
"express": "4.17.1",
"http-status-codes": "1.4.0",
"node-fetch": "2.6.0",
"swagger-ui-express": "4.1.3",
"underscore": "1.9.2",
"http-status-codes": "2.1.4",
"node-fetch": "2.6.1",
"swagger-ui-express": "4.1.6",
"underscore": "1.13.1",
"validate.js": "0.13.1",
"yamljs": "0.3.0"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-proposal-decorators": "7.8.3",
"@babel/plugin-proposal-export-namespace-from": "7.8.3",
"@babel/plugin-proposal-function-sent": "7.8.3",
"@babel/plugin-proposal-json-strings": "7.8.3",
"@babel/plugin-proposal-numeric-separator": "7.8.3",
"@babel/plugin-proposal-throw-expressions": "7.8.3",
"@babel/cli": "7.13.16",
"@babel/core": "7.13.16",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-decorators": "7.13.15",
"@babel/plugin-proposal-export-namespace-from": "7.12.13",
"@babel/plugin-proposal-function-sent": "7.12.13",
"@babel/plugin-proposal-json-strings": "7.13.8",
"@babel/plugin-proposal-numeric-separator": "7.12.13",
"@babel/plugin-proposal-throw-expressions": "7.12.13",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.8.3",
"@babel/preset-env": "7.8.4",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.13.15",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "25.1.0",
"babel-jest": "26.6.3",
"benchmark": "2.1.4",
"eslint": "6.8.0",
"eslint-plugin-jest": "23.7.0",
"jest": "25.1.0",
"eslint": "7.25.0",
"eslint-plugin-jest": "24.3.6",
"jest": "26.6.3",
"jest-coverage-badges": "1.1.2",
"json-server": "0.16.0",
"json-server": "0.16.3",
"microtime": "3.0.0",
"nodemon": "2.0.2",
"nodemon": "2.0.7",
"supertest": "4.0.2",
"sync-request": "6.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/ove-service-persistence-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"author": "Senaka Fernando <[email protected]>",
"license": "MIT",
"dependencies": {
"@ove-lib/utils": "0.4.1",
"@ove-lib/utils": "0.5.0",
"cors": "2.8.5",
"express": "4.17.1",
"http-status-codes": "1.4.0"
"http-status-codes": "2.1.4"
},
"jest": {
"collectCoverageFrom": [
Expand Down
6 changes: 3 additions & 3 deletions packages/ove-service-persistence-inmemory/src/server/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const HttpStatus = require('http-status-codes');
// Logs have been left out from most of the methods on purpose, as it contributes to significant
// log file sizes.
module.exports = function (app, log, Utils) {
let items = {};
const items = {};
const getKeys = function (req, res) {
// Keys do not start with a slash like paths in a URI, and therefore we ignore it. If the
// path was '/', the key would be an empty string. For all other paths, the first path
// segment would be the name of app to which the key belongs to. The subsequent segments
// would correspond to the actual key used in an app.
if (!req.url.substring(1)) {
// If the key was an empty string, we return a list for keys belonging to all apps.
let result = {};
const result = {};
Object.keys(items).forEach(function (appName) {
Object.keys(items[appName]).forEach(function (item) {
result[appName + '/' + item] = items[appName][item].timestamp;
Expand All @@ -31,7 +31,7 @@ module.exports = function (app, log, Utils) {
if (appItems === undefined) {
Utils.sendEmptySuccess(res);
} else {
let result = {};
const result = {};
Object.keys(appItems).forEach(function (item) {
result[item] = appItems[item].timestamp;
});
Expand Down

0 comments on commit 6aa9f99

Please sign in to comment.