From febfe5981f7cf258a963fdda0edfa70fbb84776f Mon Sep 17 00:00:00 2001 From: Dominique Emond Date: Wed, 3 Jul 2019 14:10:49 -0400 Subject: [PATCH] chore: remove passport dependencies Signed-off-by: Dominique Emond --- package-lock.json | 150 +++++-- package.json | 4 +- packages/recommender/package-lock.json | 144 +++--- packages/recommender/package.json | 6 +- packages/shopping/package-lock.json | 410 ++++++++++-------- packages/shopping/package.json | 25 +- .../src/controllers/ping.controller.ts | 1 - 7 files changed, 444 insertions(+), 296 deletions(-) diff --git a/package-lock.json b/package-lock.json index c339f8dfe..5edde3020 100644 --- a/package-lock.json +++ b/package-lock.json @@ -500,12 +500,20 @@ } }, "@hapi/topo": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.0.tgz", - "integrity": "sha512-gZDI/eXOIk8kP2PkUKjWu9RW8GGVd2Hkgjxyr/S7Z+JF+0mr7bAlbw+DkTRxnD580o8Kqxlnba9wvqp5aOHBww==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.2.tgz", + "integrity": "sha512-r+aumOqJ5QbD6aLPJWqVjMAPsx5pZKz+F5yPqXZ/WWG9JTtHbQqlzrJoknJ0iJxLj9vlXtmpSdjlkszseeG8OA==", "dev": true, "requires": { - "@hapi/hoek": "6.x.x" + "@hapi/hoek": "8.x.x" + }, + "dependencies": { + "@hapi/hoek": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.0.2.tgz", + "integrity": "sha512-O6o6mrV4P65vVccxymuruucb+GhP2zl9NLCG8OdoFRS8BEGw3vwpPp20wpAtpbQQxz1CEUtmxJGgWhjq1XA3qw==", + "dev": true + } } }, "@lerna/add": { @@ -1791,20 +1799,20 @@ } }, "@loopback/build": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.2.tgz", - "integrity": "sha512-Omjh+YJ8CwLO4wJ0CCEpaEgbO/In96hvY7NJQt9OqGQ6j+9HsoAkP7E6tQ9+FgkCgpOMCvC9N3k+by7e29tDSQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.3.tgz", + "integrity": "sha512-R8DIpFZxVvpftivOpDQei7YBEZk0a5JKF0mnZz9xhUxu0R9KD0i7vxdOsS7EJtpNG6jdh/iY0HRjGJRTOIZJCA==", "dev": true, "requires": { - "@loopback/eslint-config": "^1.1.2", + "@loopback/eslint-config": "^2.0.0", "@types/mocha": "^5.2.7", - "@types/node": "^10.14.9", - "@typescript-eslint/eslint-plugin": "^1.10.2", - "@typescript-eslint/parser": "^1.10.2", + "@types/node": "^10.14.10", + "@typescript-eslint/eslint-plugin": "^1.11.0", + "@typescript-eslint/parser": "^1.11.0", "cross-spawn": "^6.0.5", "debug": "^4.1.1", - "eslint": "^5.16.0", - "eslint-config-prettier": "^5.0.0", + "eslint": "^6.0.1", + "eslint-config-prettier": "^6.0.0", "eslint-plugin-eslint-plugin": "^2.1.0", "eslint-plugin-mocha": "^5.3.0", "fs-extra": "^8.0.1", @@ -1817,10 +1825,16 @@ "typescript": "~3.5.2" }, "dependencies": { + "@loopback/eslint-config": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@loopback/eslint-config/-/eslint-config-2.0.0.tgz", + "integrity": "sha512-kVJ/7vlVAmI5gTkg0z/t9OQUgjGseISjNNrLw1/ah2S1VH/Ec/J3kgNdQwa45tQxSIjR7NUzBdl1nSlnU7kTMg==", + "dev": true + }, "@types/node": { - "version": "10.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.10.tgz", - "integrity": "sha512-V8wj+w2YMNvGuhgl/MA5fmTxgjmVHVoasfIaxMMZJV6Y8Kk+Ydpi1z2whoShDCJ2BuNVoqH/h1hrygnBxkrw/Q==", + "version": "10.14.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.11.tgz", + "integrity": "sha512-2Qpzc8qymedQsbY/nuJAUGfGEKTOCE34fmqLNpb4JyqSOuk/z8iQFPY1Sa9VH5q73bcgodda7Q4nuJpOJKE/fg==", "dev": true }, "cross-spawn": { @@ -1836,20 +1850,60 @@ "which": "^1.2.9" } }, - "eslint-config-prettier": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-5.1.0.tgz", - "integrity": "sha512-+tpiaLm3wl6fPW5nq0dDyVowQM0FT61lAdWZ+sDWgk6kKzgbOnCDwlcbwI38cyCBhq+Z3ret5Iofp6/gZpO0zw==", - "dev": true, - "requires": { - "get-stdin": "^6.0.0" + "eslint": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.0.1.tgz", + "integrity": "sha512-DyQRaMmORQ+JsWShYsSg4OPTjY56u1nCjAmICrE8vLWqyLKxhFXOthwMj1SA8xwfrv0CofLNVnqbfyhwCkaO0w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "ajv": "^6.10.0", + "chalk": "^2.1.0", + "cross-spawn": "^6.0.5", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "eslint-scope": "^4.0.3", + "eslint-utils": "^1.3.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^6.0.0", + "esquery": "^1.0.1", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^3.1.0", + "globals": "^11.7.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "inquirer": "^6.2.2", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.11", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "progress": "^2.0.0", + "regexpp": "^2.0.1", + "semver": "^5.5.1", + "strip-ansi": "^4.0.0", + "strip-json-comments": "^2.0.1", + "table": "^5.2.3", + "text-table": "^0.2.0" } }, - "get-stdin": { + "espree": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", - "dev": true + "resolved": "https://registry.npmjs.org/espree/-/espree-6.0.0.tgz", + "integrity": "sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==", + "dev": true, + "requires": { + "acorn": "^6.0.7", + "acorn-jsx": "^5.0.0", + "eslint-visitor-keys": "^1.0.0" + } }, "semver": { "version": "5.7.0", @@ -1866,14 +1920,14 @@ "dev": true }, "@loopback/testlab": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@loopback/testlab/-/testlab-1.6.2.tgz", - "integrity": "sha512-LDgaFYjhG5nSDO5t3JBNr8CJQ6io1/tWgsq75hnyBUPfGXeRLh/SkNrWub9B6dq6jl8IXss66ORzrW43xBTrXw==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/@loopback/testlab/-/testlab-1.6.3.tgz", + "integrity": "sha512-BuHxqxUdS1G7WG8cQCRFjinCiCLAqX9sZjlomjedtMYVD5s/S9X4Sis30ZssdUmrq/CzfSw8yBIEXIKqG6WSCw==", "dev": true, "requires": { "@hapi/shot": "^4.0.7", "@types/express": "^4.17.0", - "@types/fs-extra": "^7.0.0", + "@types/fs-extra": "^8.0.0", "@types/shot": "^4.0.0", "@types/sinon": "^7.0.13", "@types/supertest": "^2.0.7", @@ -2099,9 +2153,9 @@ } }, "@types/fs-extra": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-7.0.0.tgz", - "integrity": "sha512-ndoMMbGyuToTy4qB6Lex/inR98nPiNHacsgMPvy+zqMLgSxbt8VtWpDArpGp69h1fEDQHn1KB+9DWD++wgbwYA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.0.tgz", + "integrity": "sha512-bCtL5v9zdbQW86yexOlXWTEGvLNqWxMFyi7gQA7Gcthbezr2cPSOb8SkESVKA937QD5cIwOFLDFt0MQoXOEr9Q==", "dev": true, "requires": { "@types/node": "*" @@ -2163,9 +2217,9 @@ "dev": true }, "@types/superagent": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.1.tgz", - "integrity": "sha512-NetXrraTWPcdGG6IwYJhJ5esUGx8AYNiozbc1ENWEsF6BsD4JmNODJczI6Rm1xFPVp6HZESds9YCfqz4zIsM6A==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.2.tgz", + "integrity": "sha512-GISrJnl+eZSzkVdsP2bXARXaroe/qKTwl/7v/d7bHP4OhlZKKIExcvQexwTDWHGtalHSLVuM78/Ri54laoOFfQ==", "dev": true, "requires": { "@types/cookiejar": "*", @@ -2173,9 +2227,9 @@ } }, "@types/supertest": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.7.tgz", - "integrity": "sha512-GibTh4OTkal71btYe2fpZP/rVHIPnnUsYphEaoywVHo+mo2a/LhlOFkIm5wdN0H0DA0Hx8x+tKgCYMD9elHu5w==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.8.tgz", + "integrity": "sha512-wcax7/ip4XSSJRLbNzEIUVy2xjcBIZZAuSd2vtltQfRK7kxhx5WMHbLHkYdxN3wuQCrwpYrg86/9byDjPXoGMA==", "dev": true, "requires": { "@types/superagent": "*" @@ -4959,14 +5013,22 @@ } }, "fs-extra": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.0.1.tgz", - "integrity": "sha512-W+XLrggcDzlle47X/XnS7FXrXu9sDo+Ze9zpndeBxdgv88FHLm1HtmkhEwavruS6koanBjp098rUpHs65EmG7A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", + "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", "universalify": "^0.1.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", + "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", + "dev": true + } } }, "fs-minipass": { diff --git a/package.json b/package.json index a7b9a2331..11f1189e2 100644 --- a/package.json +++ b/package.json @@ -49,9 +49,9 @@ "@commitlint/config-conventional": "8.0.0", "@commitlint/config-lerna-scopes": "8.0.0", "@commitlint/travis-cli": "8.0.0", - "@loopback/build": "2.0.2", + "@loopback/build": "2.0.3", "@loopback/eslint-config": "1.1.2", - "@loopback/testlab": "1.6.2", + "@loopback/testlab": "1.6.3", "@types/node": "12.0.10", "@typescript-eslint/eslint-plugin": "1.11.0", "@typescript-eslint/parser": "1.11.0", diff --git a/packages/recommender/package-lock.json b/packages/recommender/package-lock.json index d69de0c5f..7036695cc 100644 --- a/packages/recommender/package-lock.json +++ b/packages/recommender/package-lock.json @@ -129,20 +129,20 @@ } }, "@loopback/build": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.2.tgz", - "integrity": "sha512-Omjh+YJ8CwLO4wJ0CCEpaEgbO/In96hvY7NJQt9OqGQ6j+9HsoAkP7E6tQ9+FgkCgpOMCvC9N3k+by7e29tDSQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.3.tgz", + "integrity": "sha512-R8DIpFZxVvpftivOpDQei7YBEZk0a5JKF0mnZz9xhUxu0R9KD0i7vxdOsS7EJtpNG6jdh/iY0HRjGJRTOIZJCA==", "dev": true, "requires": { - "@loopback/eslint-config": "^1.1.2", + "@loopback/eslint-config": "^2.0.0", "@types/mocha": "^5.2.7", - "@types/node": "^10.14.9", - "@typescript-eslint/eslint-plugin": "^1.10.2", - "@typescript-eslint/parser": "^1.10.2", + "@types/node": "^10.14.10", + "@typescript-eslint/eslint-plugin": "^1.11.0", + "@typescript-eslint/parser": "^1.11.0", "cross-spawn": "^6.0.5", "debug": "^4.1.1", - "eslint": "^5.16.0", - "eslint-config-prettier": "^5.0.0", + "eslint": "^6.0.1", + "eslint-config-prettier": "^6.0.0", "eslint-plugin-eslint-plugin": "^2.1.0", "eslint-plugin-mocha": "^5.3.0", "fs-extra": "^8.0.1", @@ -156,9 +156,9 @@ }, "dependencies": { "@types/node": { - "version": "10.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.10.tgz", - "integrity": "sha512-V8wj+w2YMNvGuhgl/MA5fmTxgjmVHVoasfIaxMMZJV6Y8Kk+Ydpi1z2whoShDCJ2BuNVoqH/h1hrygnBxkrw/Q==", + "version": "10.14.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.11.tgz", + "integrity": "sha512-2Qpzc8qymedQsbY/nuJAUGfGEKTOCE34fmqLNpb4JyqSOuk/z8iQFPY1Sa9VH5q73bcgodda7Q4nuJpOJKE/fg==", "dev": true }, "debug": { @@ -179,15 +179,15 @@ } }, "@loopback/eslint-config": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@loopback/eslint-config/-/eslint-config-1.1.2.tgz", - "integrity": "sha512-BQq3j6EWxJeJ2xFJgiwDW2XW182gJuJMlIGROxuHOZBnTWlmLaep+5qsPVB4AHh6yU7aL92q8IGADgi422Yw3A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@loopback/eslint-config/-/eslint-config-2.0.0.tgz", + "integrity": "sha512-kVJ/7vlVAmI5gTkg0z/t9OQUgjGseISjNNrLw1/ah2S1VH/Ec/J3kgNdQwa45tQxSIjR7NUzBdl1nSlnU7kTMg==", "dev": true }, "@loopback/http-server": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@loopback/http-server/-/http-server-1.4.3.tgz", - "integrity": "sha512-bTTISshtk+3nQjvxkgV687bDKz50mW3K4LP0Exv0V2ljdowrcc2Mg3pjWuysW6oM7LW8C1+W4+/Qk/WXAnURtg==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@loopback/http-server/-/http-server-1.4.4.tgz", + "integrity": "sha512-OwbszplOOkgirfRqCKFSFmpm0Co6HvDL/DRMxCS+fcVzjBhB54MGpjdsEqnTsg56oJnTb5kkW4yMh3HTimKeSA==", "requires": { "p-event": "^4.1.0" } @@ -251,9 +251,9 @@ "dev": true }, "@types/node": { - "version": "11.13.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-11.13.15.tgz", - "integrity": "sha512-x6ypl5Uzly+j23hbxmMzf12Eb4lOhIEqQz0HuczpTUa1KIx1GpbN/o4E3aAED20UoEsdK0wvyY8QcffuWSLDkw==", + "version": "12.0.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.10.tgz", + "integrity": "sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==", "dev": true }, "@types/range-parser": { @@ -767,13 +767,13 @@ "dev": true }, "eslint": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", - "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.0.1.tgz", + "integrity": "sha512-DyQRaMmORQ+JsWShYsSg4OPTjY56u1nCjAmICrE8vLWqyLKxhFXOthwMj1SA8xwfrv0CofLNVnqbfyhwCkaO0w==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "ajv": "^6.9.1", + "ajv": "^6.10.0", "chalk": "^2.1.0", "cross-spawn": "^6.0.5", "debug": "^4.0.1", @@ -781,18 +781,19 @@ "eslint-scope": "^4.0.3", "eslint-utils": "^1.3.1", "eslint-visitor-keys": "^1.0.0", - "espree": "^5.0.1", + "espree": "^6.0.0", "esquery": "^1.0.1", "esutils": "^2.0.2", "file-entry-cache": "^5.0.1", "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", + "glob-parent": "^3.1.0", "globals": "^11.7.0", "ignore": "^4.0.6", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "inquirer": "^6.2.2", - "js-yaml": "^3.13.0", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.3.0", "lodash": "^4.17.11", @@ -800,7 +801,6 @@ "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", "progress": "^2.0.0", "regexpp": "^2.0.1", "semver": "^5.5.1", @@ -834,9 +834,9 @@ } }, "eslint-config-prettier": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-5.1.0.tgz", - "integrity": "sha512-+tpiaLm3wl6fPW5nq0dDyVowQM0FT61lAdWZ+sDWgk6kKzgbOnCDwlcbwI38cyCBhq+Z3ret5Iofp6/gZpO0zw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz", + "integrity": "sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==", "dev": true, "requires": { "get-stdin": "^6.0.0" @@ -880,9 +880,9 @@ "dev": true }, "espree": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", - "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-6.0.0.tgz", + "integrity": "sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==", "dev": true, "requires": { "acorn": "^6.0.7", @@ -1123,12 +1123,12 @@ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, "fs-extra": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.0.1.tgz", - "integrity": "sha512-W+XLrggcDzlle47X/XnS7FXrXu9sDo+Ze9zpndeBxdgv88FHLm1HtmkhEwavruS6koanBjp098rUpHs65EmG7A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", + "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", "universalify": "^0.1.0" } @@ -1186,6 +1186,27 @@ "path-is-absolute": "^1.0.0" } }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -1193,9 +1214,9 @@ "dev": true }, "graceful-fs": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", + "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", "dev": true }, "growl": { @@ -1293,9 +1314,9 @@ "dev": true }, "import-fresh": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", - "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", + "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -1396,12 +1417,27 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -1469,9 +1505,9 @@ }, "dependencies": { "semver": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz", - "integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", + "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", "dev": true } } @@ -2195,6 +2231,12 @@ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -2207,12 +2249,6 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", diff --git a/packages/recommender/package.json b/packages/recommender/package.json index d8b5a0c9f..c231625eb 100644 --- a/packages/recommender/package.json +++ b/packages/recommender/package.json @@ -33,13 +33,13 @@ "src" ], "dependencies": { - "@loopback/http-server": "1.4.3", + "@loopback/http-server": "1.4.4", "express": "4.17.1" }, "devDependencies": { - "@loopback/build": "2.0.2", + "@loopback/build": "2.0.3", "@types/express": "4.17.0", - "@types/node": "11.13.15", + "@types/node": "12.0.10", "typescript": "3.5.2" }, "copyright.owner": "IBM Corp." diff --git a/packages/shopping/package-lock.json b/packages/shopping/package-lock.json index 4ccc70fba..d18a14b6f 100644 --- a/packages/shopping/package-lock.json +++ b/packages/shopping/package-lock.json @@ -161,38 +161,44 @@ } }, "@hapi/topo": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.0.tgz", - "integrity": "sha512-gZDI/eXOIk8kP2PkUKjWu9RW8GGVd2Hkgjxyr/S7Z+JF+0mr7bAlbw+DkTRxnD580o8Kqxlnba9wvqp5aOHBww==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.2.tgz", + "integrity": "sha512-r+aumOqJ5QbD6aLPJWqVjMAPsx5pZKz+F5yPqXZ/WWG9JTtHbQqlzrJoknJ0iJxLj9vlXtmpSdjlkszseeG8OA==", "dev": true, "requires": { - "@hapi/hoek": "6.x.x" + "@hapi/hoek": "8.x.x" + }, + "dependencies": { + "@hapi/hoek": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.0.2.tgz", + "integrity": "sha512-O6o6mrV4P65vVccxymuruucb+GhP2zl9NLCG8OdoFRS8BEGw3vwpPp20wpAtpbQQxz1CEUtmxJGgWhjq1XA3qw==", + "dev": true + } } }, "@loopback/authentication": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@loopback/authentication/-/authentication-2.1.4.tgz", - "integrity": "sha512-GjsgEQkuJ2TSeoTkKfz3k1lZNF+y4PCECnpaJZLKkX7V9ftNZBSk9X2L/NWr59BphluCQIY/sthVXy7mgspodQ==", - "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", - "@loopback/metadata": "^1.2.4", - "@loopback/openapi-v3": "^1.6.4", - "@loopback/rest": "^1.16.2", - "@types/express": "^4.17.0", - "passport": "^0.4.0", - "passport-strategy": "^1.0.0" + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@loopback/authentication/-/authentication-2.1.5.tgz", + "integrity": "sha512-yyu1VFEjvvsjOvGiiwaqjHvWcsxP9EltBTomMi/3QrfrKBZMBEC9dktjrsuiBdd3ulc4+4Mv0Z7Kr0JKtljSwQ==", + "requires": { + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", + "@loopback/metadata": "^1.2.5", + "@loopback/openapi-v3": "^1.7.0", + "@loopback/rest": "^1.16.3", + "@types/express": "^4.17.0" } }, "@loopback/boot": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@loopback/boot/-/boot-1.4.3.tgz", - "integrity": "sha512-EA1QjBnlQny/UV8P+iYhKzewUU5RP3SiWdPg582tp33ExejysyWjF7BzUydqFGJhA61wGl9y3jLXlXhxMgofdQ==", - "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", - "@loopback/repository": "^1.8.1", - "@loopback/service-proxy": "^1.2.4", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@loopback/boot/-/boot-1.4.4.tgz", + "integrity": "sha512-+843VJnfsm6Hub920Wgo1qIOcytwrZhzHY3P6a/Yy/u5aquUldK+Z8/N9yG4BwPk9Nh2x3wxxGXq9+oNC9Cf1g==", + "requires": { + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", + "@loopback/repository": "^1.8.2", + "@loopback/service-proxy": "^1.2.5", "@types/debug": "^4.1.4", "@types/glob": "^7.1.1", "debug": "^4.1.1", @@ -200,20 +206,20 @@ } }, "@loopback/build": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.2.tgz", - "integrity": "sha512-Omjh+YJ8CwLO4wJ0CCEpaEgbO/In96hvY7NJQt9OqGQ6j+9HsoAkP7E6tQ9+FgkCgpOMCvC9N3k+by7e29tDSQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@loopback/build/-/build-2.0.3.tgz", + "integrity": "sha512-R8DIpFZxVvpftivOpDQei7YBEZk0a5JKF0mnZz9xhUxu0R9KD0i7vxdOsS7EJtpNG6jdh/iY0HRjGJRTOIZJCA==", "dev": true, "requires": { - "@loopback/eslint-config": "^1.1.2", + "@loopback/eslint-config": "^2.0.0", "@types/mocha": "^5.2.7", - "@types/node": "^10.14.9", - "@typescript-eslint/eslint-plugin": "^1.10.2", - "@typescript-eslint/parser": "^1.10.2", + "@types/node": "^10.14.10", + "@typescript-eslint/eslint-plugin": "^1.11.0", + "@typescript-eslint/parser": "^1.11.0", "cross-spawn": "^6.0.5", "debug": "^4.1.1", - "eslint": "^5.16.0", - "eslint-config-prettier": "^5.0.0", + "eslint": "^6.0.1", + "eslint-config-prettier": "^6.0.0", "eslint-plugin-eslint-plugin": "^2.1.0", "eslint-plugin-mocha": "^5.3.0", "fs-extra": "^8.0.1", @@ -227,51 +233,51 @@ }, "dependencies": { "@types/node": { - "version": "10.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.10.tgz", - "integrity": "sha512-V8wj+w2YMNvGuhgl/MA5fmTxgjmVHVoasfIaxMMZJV6Y8Kk+Ydpi1z2whoShDCJ2BuNVoqH/h1hrygnBxkrw/Q==", + "version": "10.14.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.11.tgz", + "integrity": "sha512-2Qpzc8qymedQsbY/nuJAUGfGEKTOCE34fmqLNpb4JyqSOuk/z8iQFPY1Sa9VH5q73bcgodda7Q4nuJpOJKE/fg==", "dev": true } } }, "@loopback/context": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/@loopback/context/-/context-1.20.1.tgz", - "integrity": "sha512-yE74RjsJVATl5d5DwQLKYyj/dr2y9+9w+8iTDeEN1DBcOsZRoSUWLnIskTuXz86G2N8zhAA83zcK3tMqKIALFw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@loopback/context/-/context-1.20.2.tgz", + "integrity": "sha512-nk54GaMK292Npg48ew/auSPNa09XB7tOqTqkIGByYk4xpZKcG2GK07puXeFfu11PynuUpqTm/voOVXeRYRoB8A==", "requires": { - "@loopback/metadata": "^1.2.4", + "@loopback/metadata": "^1.2.5", "debug": "^4.1.1", "p-event": "^4.1.0", "uuid": "^3.3.2" } }, "@loopback/core": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/@loopback/core/-/core-1.8.4.tgz", - "integrity": "sha512-oZx1gJQqolUiE76py+BWkwn8unP8hOxSTmBTa9g5ReNHARFaenFOtOMyepwchPUVwspjmRELyBCwUkuQ6x+umQ==", + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/@loopback/core/-/core-1.8.5.tgz", + "integrity": "sha512-g2ntW7GHaO4oQcHRRs+CcZ6nqewSJpR97sJDowdETk3R1AkjOnGvFuhhF8GuJlzvDrkEwTAlztTTyL++Y8rKCQ==", "requires": { - "@loopback/context": "^1.20.1", + "@loopback/context": "^1.20.2", "debug": "^4.1.1" } }, "@loopback/eslint-config": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@loopback/eslint-config/-/eslint-config-1.1.2.tgz", - "integrity": "sha512-BQq3j6EWxJeJ2xFJgiwDW2XW182gJuJMlIGROxuHOZBnTWlmLaep+5qsPVB4AHh6yU7aL92q8IGADgi422Yw3A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@loopback/eslint-config/-/eslint-config-2.0.0.tgz", + "integrity": "sha512-kVJ/7vlVAmI5gTkg0z/t9OQUgjGseISjNNrLw1/ah2S1VH/Ec/J3kgNdQwa45tQxSIjR7NUzBdl1nSlnU7kTMg==", "dev": true }, "@loopback/http-server": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@loopback/http-server/-/http-server-1.4.3.tgz", - "integrity": "sha512-bTTISshtk+3nQjvxkgV687bDKz50mW3K4LP0Exv0V2ljdowrcc2Mg3pjWuysW6oM7LW8C1+W4+/Qk/WXAnURtg==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@loopback/http-server/-/http-server-1.4.4.tgz", + "integrity": "sha512-OwbszplOOkgirfRqCKFSFmpm0Co6HvDL/DRMxCS+fcVzjBhB54MGpjdsEqnTsg56oJnTb5kkW4yMh3HTimKeSA==", "requires": { "p-event": "^4.1.0" } }, "@loopback/metadata": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@loopback/metadata/-/metadata-1.2.4.tgz", - "integrity": "sha512-+HUgXXd3iu41yFLJ22sC8sUPYhXY2yrQbX4isl10AhxbRM9zN1OAhue+ZC0c7BaNbeAtxi1uuNGprHrDsH2nVQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@loopback/metadata/-/metadata-1.2.5.tgz", + "integrity": "sha512-/H8Ol7v+TCTIEHTiK34uYlpSH7kvzBeA1xvfhC4dBRl2gdmua/fFfctR/EnXHQ3ezEE8Zy11f6SO5VGrFa21vg==", "requires": { "debug": "^4.1.1", "lodash": "^4.17.11", @@ -279,59 +285,50 @@ } }, "@loopback/openapi-v3": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/@loopback/openapi-v3/-/openapi-v3-1.6.4.tgz", - "integrity": "sha512-cArv0xC4pLrkdMuJIV+Yn/uVwDqZMGLeSDBfgucX2Z4X0CMAkKTsq3a256J82Z3d/adCmmuxQcy3ohs6jCkupg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@loopback/openapi-v3/-/openapi-v3-1.7.0.tgz", + "integrity": "sha512-ZLd7Abz4VMvcNJIq/9psRy22Ca4QHdO1A1kzytOSFXgXnBl7bRUlSZ5rFJUG0W8LysdCke0J0VdX1OwXKY/kcQ==", "requires": { - "@loopback/context": "^1.20.1", - "@loopback/openapi-v3-types": "^1.1.4", - "@loopback/repository-json-schema": "^1.7.2", + "@loopback/context": "^1.20.2", + "@loopback/repository-json-schema": "^1.8.0", "debug": "^4.1.1", - "lodash": "^4.17.11" - } - }, - "@loopback/openapi-v3-types": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@loopback/openapi-v3-types/-/openapi-v3-types-1.1.4.tgz", - "integrity": "sha512-BdjCk0AWMP3KtVTO1Mi+xrDnv+X6o698VAJgC6ggakzZH+FMfutRXXGzeDPw6/PB9fGF6iEbwPCsMjRkveBasw==", - "requires": { + "lodash": "^4.17.11", "openapi3-ts": "^1.3.0" } }, "@loopback/repository": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@loopback/repository/-/repository-1.8.1.tgz", - "integrity": "sha512-jvsYN3AUk9nzP6ZNUvDOOau9notfTp6sB+VwkTFcLtMwWSI8y6DtZtRseR+YVmZGm9aqr+s3CkN5s3pMKNPhBg==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@loopback/repository/-/repository-1.8.2.tgz", + "integrity": "sha512-o3Lj9jSkSBWrsyLscbybd4/m9fA5QIQ3e7VRvCb/Fgcjs10VbAgjbvc/nOgHHtGTzPNoYJ+gpuR5RSOOzUz8sA==", "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", "@types/debug": "^4.1.4", "debug": "^4.1.1", "lodash": "^4.17.11", - "loopback-datasource-juggler": "^4.8.1" + "loopback-datasource-juggler": "^4.8.2" } }, "@loopback/repository-json-schema": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@loopback/repository-json-schema/-/repository-json-schema-1.7.2.tgz", - "integrity": "sha512-ylaWGhwbpdAMqlNPphB2QzDaNYOvcVRcU0Q8inCoGmec47+9wa+AxQu/dyFavCgLWmdaVrjpgv+U0hEY2gcIyw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@loopback/repository-json-schema/-/repository-json-schema-1.8.0.tgz", + "integrity": "sha512-zAPVl+cvonkZ2tIhq6Ks3F11f1nH1h2Gct3jqolix7BEFnTq2S8iia22TGgNJGbAZtQ68EzHkvBYW1UWPw8MJg==", "requires": { - "@loopback/context": "^1.20.1", - "@loopback/metadata": "^1.2.4", - "@loopback/repository": "^1.8.1", + "@loopback/context": "^1.20.2", + "@loopback/metadata": "^1.2.5", + "@loopback/repository": "^1.8.2", "@types/json-schema": "^7.0.3" } }, "@loopback/rest": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/@loopback/rest/-/rest-1.16.2.tgz", - "integrity": "sha512-8SRm5G4aq9hmGsJXVSl9Tc0Fy62z4FQuJUCseSmtZ9bMzYmfwGZ7ytZzXD7h/YjSeOmDGqf7jXlCUTLc4+jouw==", - "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", - "@loopback/http-server": "^1.4.3", - "@loopback/openapi-v3": "^1.6.4", - "@loopback/openapi-v3-types": "^1.1.4", + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/@loopback/rest/-/rest-1.16.3.tgz", + "integrity": "sha512-B6N5D1cjy4PeEhAc4zFc7ccAv2n33h5FeZA/CQj53M5WND6gSHYCGEXMkJPKgasPFklbdsWFZg5isDglYj5fqQ==", + "requires": { + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", + "@loopback/http-server": "^1.4.4", + "@loopback/openapi-v3": "^1.7.0", "@types/body-parser": "^1.17.0", "@types/cors": "^2.8.5", "@types/express": "^4.17.0", @@ -345,7 +342,7 @@ "cors": "^2.8.5", "debug": "^4.1.1", "express": "^4.17.1", - "http-errors": "^1.7.2", + "http-errors": "^1.7.3", "js-yaml": "^3.13.1", "lodash": "^4.17.11", "on-finished": "^2.3.0", @@ -355,39 +352,63 @@ "strong-error-handler": "^3.2.0", "type-is": "^1.6.18", "validator": "^11.0.0" + }, + "dependencies": { + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "http-errors": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz", + "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + } } }, "@loopback/rest-explorer": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@loopback/rest-explorer/-/rest-explorer-1.2.4.tgz", - "integrity": "sha512-zfGZI105owkJAYyInk/FpKcZNhEdhRQXqYyqnOoPW5nMsLZ5RdhtUwCRDSYEBAmiV7K03fro3oFSu6fCTBf8kw==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@loopback/rest-explorer/-/rest-explorer-1.2.5.tgz", + "integrity": "sha512-c6xeQRA+p1fGaA14rMRCcET2LSGUrGV9m7xE6knHr3FFBWRlKgoVa3JKIljyJPi4vWr/Gaj8PgQEwitB4eNwEA==", "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", - "@loopback/rest": "^1.16.2", + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", + "@loopback/rest": "^1.16.3", "ejs": "^2.6.2", "swagger-ui-dist": "^3.22.3" } }, "@loopback/service-proxy": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@loopback/service-proxy/-/service-proxy-1.2.4.tgz", - "integrity": "sha512-sPFrKO8MMFviAGMQu5RFfkUsF4R/4zi2kzRDR/5tclDBo9hWXGoq+9cA+ygmJ0ZDUwLKBwRgHc7ilcBRnnd8xg==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@loopback/service-proxy/-/service-proxy-1.2.5.tgz", + "integrity": "sha512-Fh2yD9h5lK9cTdQLb02FClQJuT9KoQw8G96gCH2J+jEqY5lVx6J4otcZFQsKK5QV1Gn1hyFtSVq/H/yR5LX7Eg==", "requires": { - "@loopback/context": "^1.20.1", - "@loopback/core": "^1.8.4", - "loopback-datasource-juggler": "^4.8.1" + "@loopback/context": "^1.20.2", + "@loopback/core": "^1.8.5", + "loopback-datasource-juggler": "^4.8.2" } }, "@loopback/testlab": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@loopback/testlab/-/testlab-1.6.2.tgz", - "integrity": "sha512-LDgaFYjhG5nSDO5t3JBNr8CJQ6io1/tWgsq75hnyBUPfGXeRLh/SkNrWub9B6dq6jl8IXss66ORzrW43xBTrXw==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/@loopback/testlab/-/testlab-1.6.3.tgz", + "integrity": "sha512-BuHxqxUdS1G7WG8cQCRFjinCiCLAqX9sZjlomjedtMYVD5s/S9X4Sis30ZssdUmrq/CzfSw8yBIEXIKqG6WSCw==", "dev": true, "requires": { "@hapi/shot": "^4.0.7", "@types/express": "^4.17.0", - "@types/fs-extra": "^7.0.0", + "@types/fs-extra": "^8.0.0", "@types/shot": "^4.0.0", "@types/sinon": "^7.0.13", "@types/supertest": "^2.0.7", @@ -529,9 +550,9 @@ } }, "@types/fs-extra": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-7.0.0.tgz", - "integrity": "sha512-ndoMMbGyuToTy4qB6Lex/inR98nPiNHacsgMPvy+zqMLgSxbt8VtWpDArpGp69h1fEDQHn1KB+9DWD++wgbwYA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.0.0.tgz", + "integrity": "sha512-bCtL5v9zdbQW86yexOlXWTEGvLNqWxMFyi7gQA7Gcthbezr2cPSOb8SkESVKA937QD5cIwOFLDFt0MQoXOEr9Q==", "dev": true, "requires": { "@types/node": "*" @@ -545,6 +566,13 @@ "@types/events": "*", "@types/minimatch": "*", "@types/node": "*" + }, + "dependencies": { + "@types/node": { + "version": "12.0.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.11.tgz", + "integrity": "sha512-2AWzR/QLHtsQtARV5vQc+9m4sGtMrVl7t/0/EIoB8LCW5gb+bPgcJB6rySmyNkO/nl4th+OwzLYHlmSGbgXcKw==" + } } }, "@types/http-errors": { @@ -595,9 +623,10 @@ "dev": true }, "@types/node": { - "version": "11.13.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-11.13.15.tgz", - "integrity": "sha512-x6ypl5Uzly+j23hbxmMzf12Eb4lOhIEqQz0HuczpTUa1KIx1GpbN/o4E3aAED20UoEsdK0wvyY8QcffuWSLDkw==" + "version": "12.0.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.10.tgz", + "integrity": "sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==", + "dev": true }, "@types/on-finished": { "version": "2.3.1", @@ -605,14 +634,13 @@ "integrity": "sha512-mzVYaYcFs5Jd2n/O6uYIRUsFRR1cHyZLRvkLCU0E7+G5WhY0qBDAR5fUCeZbvecYOSh9ikhlesyi2UfI8B9ckQ==", "requires": { "@types/node": "*" - } - }, - "@types/passport": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/passport/-/passport-1.0.0.tgz", - "integrity": "sha512-R2FXqM+AgsMIym0PuKj08Ybx+GR6d2rU3b1/8OcHolJ+4ga2pRPX105wboV6hq1AJvMo2frQzYKdqXS5+4cyMw==", - "requires": { - "@types/express": "*" + }, + "dependencies": { + "@types/node": { + "version": "12.0.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.11.tgz", + "integrity": "sha512-2AWzR/QLHtsQtARV5vQc+9m4sGtMrVl7t/0/EIoB8LCW5gb+bPgcJB6rySmyNkO/nl4th+OwzLYHlmSGbgXcKw==" + } } }, "@types/range-parser": { @@ -645,9 +673,9 @@ "dev": true }, "@types/superagent": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.1.tgz", - "integrity": "sha512-NetXrraTWPcdGG6IwYJhJ5esUGx8AYNiozbc1ENWEsF6BsD4JmNODJczI6Rm1xFPVp6HZESds9YCfqz4zIsM6A==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.2.tgz", + "integrity": "sha512-GISrJnl+eZSzkVdsP2bXARXaroe/qKTwl/7v/d7bHP4OhlZKKIExcvQexwTDWHGtalHSLVuM78/Ri54laoOFfQ==", "dev": true, "requires": { "@types/cookiejar": "*", @@ -655,9 +683,9 @@ } }, "@types/supertest": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.7.tgz", - "integrity": "sha512-GibTh4OTkal71btYe2fpZP/rVHIPnnUsYphEaoywVHo+mo2a/LhlOFkIm5wdN0H0DA0Hx8x+tKgCYMD9elHu5w==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.8.tgz", + "integrity": "sha512-wcax7/ip4XSSJRLbNzEIUVy2xjcBIZZAuSd2vtltQfRK7kxhx5WMHbLHkYdxN3wuQCrwpYrg86/9byDjPXoGMA==", "dev": true, "requires": { "@types/superagent": "*" @@ -669,6 +697,13 @@ "integrity": "sha512-q8d51ZdF/D8xebrtNDsZH+4XBUFdz8xEgWhE4U4F4WWmcBZ8+i/r/qs9DmjAprYh5qQTYlY4BxaVKDrWIwNQ9w==", "requires": { "@types/node": "*" + }, + "dependencies": { + "@types/node": { + "version": "12.0.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.11.tgz", + "integrity": "sha512-2AWzR/QLHtsQtARV5vQc+9m4sGtMrVl7t/0/EIoB8LCW5gb+bPgcJB6rySmyNkO/nl4th+OwzLYHlmSGbgXcKw==" + } } }, "@typescript-eslint/eslint-plugin": { @@ -1522,13 +1557,13 @@ "dev": true }, "eslint": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", - "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.0.1.tgz", + "integrity": "sha512-DyQRaMmORQ+JsWShYsSg4OPTjY56u1nCjAmICrE8vLWqyLKxhFXOthwMj1SA8xwfrv0CofLNVnqbfyhwCkaO0w==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "ajv": "^6.9.1", + "ajv": "^6.10.0", "chalk": "^2.1.0", "cross-spawn": "^6.0.5", "debug": "^4.0.1", @@ -1536,18 +1571,19 @@ "eslint-scope": "^4.0.3", "eslint-utils": "^1.3.1", "eslint-visitor-keys": "^1.0.0", - "espree": "^5.0.1", + "espree": "^6.0.0", "esquery": "^1.0.1", "esutils": "^2.0.2", "file-entry-cache": "^5.0.1", "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", + "glob-parent": "^3.1.0", "globals": "^11.7.0", "ignore": "^4.0.6", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "inquirer": "^6.2.2", - "js-yaml": "^3.13.0", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.3.0", "lodash": "^4.17.11", @@ -1555,7 +1591,6 @@ "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", "progress": "^2.0.0", "regexpp": "^2.0.1", "semver": "^5.5.1", @@ -1566,9 +1601,9 @@ } }, "eslint-config-prettier": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-5.1.0.tgz", - "integrity": "sha512-+tpiaLm3wl6fPW5nq0dDyVowQM0FT61lAdWZ+sDWgk6kKzgbOnCDwlcbwI38cyCBhq+Z3ret5Iofp6/gZpO0zw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz", + "integrity": "sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==", "dev": true, "requires": { "get-stdin": "^6.0.0" @@ -1612,9 +1647,9 @@ "dev": true }, "espree": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", - "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-6.0.0.tgz", + "integrity": "sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==", "dev": true, "requires": { "acorn": "^6.0.7", @@ -1935,12 +1970,12 @@ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, "fs-extra": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.0.1.tgz", - "integrity": "sha512-W+XLrggcDzlle47X/XnS7FXrXu9sDo+Ze9zpndeBxdgv88FHLm1HtmkhEwavruS6koanBjp098rUpHs65EmG7A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", + "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", "universalify": "^0.1.0" } @@ -2003,6 +2038,27 @@ "path-is-absolute": "^1.0.0" } }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, "globalize": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/globalize/-/globalize-1.4.2.tgz", @@ -2018,9 +2074,9 @@ "dev": true }, "graceful-fs": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", + "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", "dev": true }, "grapheme-splitter": { @@ -2166,9 +2222,9 @@ "dev": true }, "import-fresh": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", - "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", + "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -2324,12 +2380,27 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -2418,9 +2489,9 @@ }, "dependencies": { "semver": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz", - "integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", + "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", "dev": true } } @@ -3678,19 +3749,11 @@ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" }, - "passport": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/passport/-/passport-0.4.0.tgz", - "integrity": "sha1-xQlWkTR71a07XhgCOMORTRbwWBE=", - "requires": { - "passport-strategy": "1.x.x", - "pause": "0.0.1" - } - }, - "passport-strategy": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", - "integrity": "sha1-tVOaqPwiWj0a0XlHbd8ja0QPUuQ=" + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true }, "path-exists": { "version": "3.0.0", @@ -3703,12 +3766,6 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", @@ -3742,11 +3799,6 @@ } } }, - "pause": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", - "integrity": "sha1-HUCLP9t2kjuVQ9lvtMnf1TXZy10=" - }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -4487,9 +4539,9 @@ } }, "swagger-ui-dist": { - "version": "3.22.3", - "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.22.3.tgz", - "integrity": "sha512-tmjAsqT43pqg5UoiQ2805c+juX0ASSoI/Ash/0c19jjAOFtTfE93ZrzmFd9hjqVgre935CYeXT0uaku42Lu8xg==" + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.23.0.tgz", + "integrity": "sha512-DMnt69K3p8BwnKf8f8uOqsts/teZNRS4LlXAqjfa8HS2RKWWOCSiVEHkMzY3zlU4wqu/olPdF0zDEm9Ed5JZ4A==" }, "table": { "version": "5.4.1", diff --git a/packages/shopping/package.json b/packages/shopping/package.json index 9a5a60b2d..a202a14d4 100644 --- a/packages/shopping/package.json +++ b/packages/shopping/package.json @@ -42,17 +42,16 @@ "src" ], "dependencies": { - "@loopback/authentication": "2.1.4", - "@loopback/boot": "1.4.3", - "@loopback/context": "1.20.1", - "@loopback/core": "1.8.4", - "@loopback/openapi-v3": "1.6.4", - "@loopback/repository": "1.8.1", - "@loopback/rest": "1.16.2", - "@loopback/rest-explorer": "^1.2.4", - "@loopback/service-proxy": "1.2.4", + "@loopback/authentication": "2.1.5", + "@loopback/boot": "1.4.4", + "@loopback/context": "1.20.2", + "@loopback/core": "1.8.5", + "@loopback/openapi-v3": "1.7.0", + "@loopback/repository": "1.8.2", + "@loopback/rest": "1.16.3", + "@loopback/rest-explorer": "1.2.5", + "@loopback/service-proxy": "1.2.5", "@types/jsonwebtoken": "8.3.2", - "@types/passport": "1.0.0", "bcryptjs": "2.4.3", "debug": "4.1.1", "express": "4.17.1", @@ -64,14 +63,14 @@ "loopback-connector-rest": "3.4.1" }, "devDependencies": { - "@loopback/build": "2.0.2", - "@loopback/testlab": "1.6.2", + "@loopback/build": "2.0.3", + "@loopback/testlab": "1.6.3", "@types/bcryptjs": "2.4.2", "@types/debug": "4.1.4", "@types/express": "4.17.0", "@types/lodash": "4.14.135", "@types/mocha": "5.2.7", - "@types/node": "11.13.15", + "@types/node": "12.0.10", "concurrently": "4.1.1", "loopback4-example-recommender": "^1.0.0", "mocha": "6.1.4", diff --git a/packages/shopping/src/controllers/ping.controller.ts b/packages/shopping/src/controllers/ping.controller.ts index 965d9785c..5a945ab08 100644 --- a/packages/shopping/src/controllers/ping.controller.ts +++ b/packages/shopping/src/controllers/ping.controller.ts @@ -5,7 +5,6 @@ import {Request, RestBindings, get, ResponseObject} from '@loopback/rest'; import {inject} from '@loopback/context'; -import {} from '@loopback/openapi-v3-types'; /** * OpenAPI response for ping()