diff --git a/package-lock.json b/package-lock.json index c9b57e2..cf80298 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1323,14 +1323,6 @@ "requires": { "node-fetch": "^2.6.0", "shortid": "^2.2.14" - }, - "dependencies": { - "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", - "dev": true - } } }, "@serverless/core": { @@ -1366,17 +1358,17 @@ } }, "@serverless/enterprise-plugin": { - "version": "3.6.10", - "resolved": "https://registry.npmjs.org/@serverless/enterprise-plugin/-/enterprise-plugin-3.6.10.tgz", - "integrity": "sha512-z6/BKEfuuvgTqmFl7oCCNNfqL9QTZD/vPIsKjpbcZIo65qRFgbbMvpf+uVJKBwwDYHLKoLWyMHzpqqmZfa+W/A==", + "version": "3.6.11", + "resolved": "https://registry.npmjs.org/@serverless/enterprise-plugin/-/enterprise-plugin-3.6.11.tgz", + "integrity": "sha512-cnn9A9ebpdW5Q1v9FHB7nbcFHkAttcownaw2AALXIld04hrIMpR3YILa47WxdXFyvyPg0dyKT5OhEly9Cc2BMQ==", "dev": true, "requires": { "@serverless/event-mocks": "^1.1.1", - "@serverless/platform-client": "^0.25.6", + "@serverless/platform-client": "^0.25.7", "@serverless/platform-sdk": "^2.3.0", "chalk": "^2.4.2", - "child-process-ext": "^2.1.0", - "chokidar": "^3.3.1", + "child-process-ext": "^2.1.1", + "chokidar": "^3.4.0", "cli-color": "^2.0.0", "dependency-tree": "^7.2.1", "find-process": "^1.4.3", @@ -1385,22 +1377,38 @@ "iso8601-duration": "^1.2.0", "isomorphic-fetch": "^2.2.1", "js-yaml": "^3.13.1", - "jsonata": "^1.8.1", - "jszip": "^3.2.2", + "jsonata": "^1.8.3", + "jszip": "^3.4.0", "lodash": "^4.17.15", "memoizee": "^0.4.14", - "moment": "^2.24.0", + "moment": "^2.25.3", "node-dir": "^0.1.17", "node-fetch": "^2.6.0", "regenerator-runtime": "^0.13.5", "semver": "^6.3.0", "simple-git": "^1.132.0", - "source-map-support": "^0.5.16", + "source-map-support": "^0.5.19", "update-notifier": "^2.5.0", "uuid": "^3.4.0", "yamljs": "^0.3.0" }, "dependencies": { + "chokidar": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz", + "integrity": "sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==", + "dev": true, + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.1.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.4.0" + } + }, "fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -1412,11 +1420,14 @@ "universalify": "^0.1.0" } }, - "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", - "dev": true + "readdirp": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz", + "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } }, "semver": { "version": "6.3.0", @@ -1424,6 +1435,16 @@ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true }, + "source-map-support": { + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -1557,44 +1578,16 @@ "querystring": "^0.2.0", "traverse": "^0.6.6", "ws": "^7.2.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "@serverless/platform-client-china": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@serverless/platform-client-china/-/platform-client-china-1.0.9.tgz", - "integrity": "sha512-P2OXDa3S9meOOGJm2i4/d/9HlEjg8FwwfWl4Vq7jjJlA12cJaJnXy/mKgx16eA/YSYNtfW7i4NGyeADvIGNzmg==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@serverless/platform-client-china/-/platform-client-china-1.0.12.tgz", + "integrity": "sha512-bfEunU+6cXCygTtXTGylu6c01BeN8S7uU8hbG5ZT8zGpE9ik2hIL7iHg+xIXxIsSBlzZn8cASbo0x/FXkm7//w==", "dev": true, "requires": { "@serverless/utils-china": "^0.1.7", "adm-zip": "^0.4.13", - "axios": "^0.19.2", "dotenv": "^8.2.0", "https-proxy-agent": "^5.0.0", "isomorphic-ws": "^4.0.1", @@ -1605,33 +1598,6 @@ "traverse": "^0.6.6", "urlencode": "^1.1.0", "ws": "^7.2.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "@serverless/platform-sdk": { @@ -1656,6 +1622,37 @@ "ws": "<7.0.0" }, "dependencies": { + "agent-base": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", + "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "dev": true + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "https-proxy-agent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", + "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "dev": true, + "requires": { + "agent-base": "5", + "debug": "4" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, "ramda": { "version": "0.25.0", "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.25.0.tgz", @@ -1706,33 +1703,6 @@ "socket.io-client": "^2.3.0", "socket.io-stream": "^0.9.1", "winston": "^3.2.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "@sindresorhus/is": { @@ -2041,9 +2011,9 @@ } }, "@wizeline/serverless-amplify-plugin": { - "version": "1.6.1", - "resolved": "https://verdaccio.wizeline.sh/@wizeline%2fserverless-amplify-plugin/-/serverless-amplify-plugin-1.6.1.tgz", - "integrity": "sha512-hKbQUKjykrrUv8AiC01Rvb86EWJH5DUIA9G7Bd1KM7oyc8trxdaY6O4AI0l+X9axwwo5Puc+3o1wk5y2F8Cu1w==", + "version": "1.6.2", + "resolved": "https://verdaccio.wizeline.sh/@wizeline%2fserverless-amplify-plugin/-/serverless-amplify-plugin-1.6.2.tgz", + "integrity": "sha512-yCCKV3GuSfUmxzPftR2qYgnv+s3tMYntakLjYRwhWC6gUSXMl2i6WRPCEA3HpPX8QAgmtgi3qRSR1ByXC9pSmA==", "dev": true, "requires": { "ora": "^4.0.4", @@ -2872,12 +2842,6 @@ "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", "dev": true }, - "boolean": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.0.1.tgz", - "integrity": "sha512-HRZPIjPcbwAVQvOTxR4YE3o8Xs98NqbbL1iEZDCz7CL8ql0Lt5iOyJFxfnAB0oFs8Oh02F/lLlg30Mexv46LjA==", - "dev": true - }, "bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -3336,9 +3300,9 @@ } }, "ci-info": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", - "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, "cipher-base": { @@ -4020,12 +3984,6 @@ } } }, - "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", - "dev": true - }, "cookiejar": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", @@ -4052,12 +4010,6 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "core-js": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", - "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==", - "dev": true - }, "core-js-pure": { "version": "3.6.5", "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.5.tgz", @@ -4602,12 +4554,6 @@ "minimalistic-assert": "^1.0.0" } }, - "detect-node": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", - "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", - "dev": true - }, "detective-amd": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-3.0.0.tgz", @@ -4759,15 +4705,15 @@ "dev": true }, "detective-typescript": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-5.7.0.tgz", - "integrity": "sha512-4SQeACXWAjIOsd2kJykPL8gWC9nVA+z8w7KtAdtd/7BCpDfrpI2ZA7pdhsmHv/zxf3ofeqpYi72vCkZ65bAjtA==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-5.8.0.tgz", + "integrity": "sha512-SrsUCfCaDTF64QVMHMidRal+kmkbIc5zP8cxxZPsomWx9vuEUjBlSJNhf7/ypE5cLdJJDI4qzKDmyzqQ+iz/xg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "^2.4.0", - "ast-module-types": "^2.5.0", + "@typescript-eslint/typescript-estree": "^2.29.0", + "ast-module-types": "^2.6.0", "node-source-walk": "^4.2.0", - "typescript": "^3.6.4" + "typescript": "^3.8.3" } }, "diagnostics": { @@ -5391,12 +5337,6 @@ } } }, - "es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", - "dev": true - }, "es6-iterator": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", @@ -6972,9 +6912,9 @@ } }, "get-stdin": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", + "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 }, "get-stream": { @@ -7049,29 +6989,6 @@ "is-glob": "^4.0.1" } }, - "global-agent": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.1.8.tgz", - "integrity": "sha512-VpBe/rhY6Rw2VDOTszAMNambg+4Qv8j0yiTNDYEXXXxkUNGWLHp8A3ztK4YDBbFNcWF4rgsec6/5gPyryya/+A==", - "dev": true, - "requires": { - "boolean": "^3.0.0", - "core-js": "^3.6.4", - "es6-error": "^4.1.1", - "matcher": "^2.1.0", - "roarr": "^2.15.2", - "semver": "^7.1.2", - "serialize-error": "^5.0.0" - }, - "dependencies": { - "semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", - "dev": true - } - } - }, "global-dirs": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", @@ -7098,15 +7015,6 @@ } } }, - "globalthis": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.1.tgz", - "integrity": "sha512-mJPRTc/P39NH/iNG4mXa9aIhNymaQikTrnspeCa2ZuJ+mH2QN/rXwtX3XwKrHqWgUQFbNZKtHM105aHzJalElw==", - "dev": true, - "requires": { - "define-properties": "^1.1.3" - } - }, "globby": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", @@ -7425,21 +7333,15 @@ "dev": true }, "https-proxy-agent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", - "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", "dev": true, "requires": { - "agent-base": "5", + "agent-base": "6", "debug": "4" }, "dependencies": { - "agent-base": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", - "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", - "dev": true - }, "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", @@ -7771,6 +7673,14 @@ "dev": true, "requires": { "ci-info": "^1.5.0" + }, + "dependencies": { + "ci-info": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", + "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==", + "dev": true + } } }, "is-data-descriptor": { @@ -8056,6 +7966,18 @@ "requires": { "node-fetch": "^1.0.1", "whatwg-fetch": ">=0.10.0" + }, + "dependencies": { + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dev": true, + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } } }, "isomorphic-ws": { @@ -8815,12 +8737,6 @@ "es5-ext": "~0.10.2" } }, - "lsmod": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lsmod/-/lsmod-1.0.0.tgz", - "integrity": "sha1-mgD3bco26yP6BTUK/htYXUKZ5ks=", - "dev": true - }, "luxon": { "version": "1.24.1", "resolved": "https://registry.npmjs.org/luxon/-/luxon-1.24.1.tgz", @@ -8951,23 +8867,6 @@ } } }, - "matcher": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/matcher/-/matcher-2.1.0.tgz", - "integrity": "sha512-o+nZr+vtJtgPNklyeUKkkH42OsK8WAfdgaJE2FNxcjLPg+5QbeEoT6vRj8Xq/iv18JlQ9cmKsEu0b94ixWf1YQ==", - "dev": true, - "requires": { - "escape-string-regexp": "^2.0.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true - } - } - }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", @@ -9484,14 +9383,10 @@ } }, "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dev": true, - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", + "dev": true }, "node-libs-browser": { "version": "2.2.1", @@ -14773,33 +14668,6 @@ "safe-buffer": "^5.1.0" } }, - "raven": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/raven/-/raven-1.2.1.tgz", - "integrity": "sha1-lJwTTbAooZC3u/j3kKrlQbfAIL0=", - "dev": true, - "requires": { - "cookie": "0.3.1", - "json-stringify-safe": "5.0.1", - "lsmod": "1.0.0", - "stack-trace": "0.0.9", - "uuid": "3.0.0" - }, - "dependencies": { - "stack-trace": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", - "integrity": "sha1-qPbq7KkGdMMz58Q5U/J1tFFRBpU=", - "dev": true - }, - "uuid": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.0.tgz", - "integrity": "sha1-Zyj8BFnEUNeWqZwxg3VpvfZy1yg=", - "dev": true - } - } - }, "rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -15202,28 +15070,6 @@ "inherits": "^2.0.1" } }, - "roarr": { - "version": "2.15.3", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.3.tgz", - "integrity": "sha512-AEjYvmAhlyxOeB9OqPUzQCo3kuAkNfuDk/HqWbZdFsqDFpapkTjiw+p4svNEoRLvuqNTxqfL+s+gtD4eDgZ+CA==", - "dev": true, - "requires": { - "boolean": "^3.0.0", - "detect-node": "^2.0.4", - "globalthis": "^1.0.1", - "json-stringify-safe": "^5.0.1", - "semver-compare": "^1.0.0", - "sprintf-js": "^1.1.2" - }, - "dependencies": { - "sprintf-js": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", - "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", - "dev": true - } - } - }, "run-async": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz", @@ -15611,28 +15457,11 @@ } }, "semver-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz", - "integrity": "sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz", + "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==", "dev": true }, - "serialize-error": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-5.0.0.tgz", - "integrity": "sha512-/VtpuyzYf82mHYTtI4QKtwHa79vAdU5OQpNPAmE/0UDdlGT0ZxHwC+J6gXkw29wwoVI8fMPsfcVHOwXtUQYYQA==", - "dev": true, - "requires": { - "type-fest": "^0.8.0" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } - }, "serialize-javascript": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-2.1.2.tgz", @@ -15640,38 +15469,38 @@ "dev": true }, "serverless": { - "version": "1.69.0", - "resolved": "https://registry.npmjs.org/serverless/-/serverless-1.69.0.tgz", - "integrity": "sha512-af4gBZeto9JCkObSErzSXI+UcxoGNxUP4oQq7b/+QoCFa0NYjO4lCtW66MD6ONYg0YxDEukTQwzgkbD9VmunWg==", + "version": "1.70.0", + "resolved": "https://registry.npmjs.org/serverless/-/serverless-1.70.0.tgz", + "integrity": "sha512-YK/ue7i7KcJxvAT7U4Y95+KptiRw57Eug9BF2Zw+tpTOytFuZjfFWQEIdLgagnw7kYUh4/W5nfAbWirqFI/crg==", "dev": true, "requires": { "@serverless/cli": "^1.4.0", - "@serverless/components": "^2.30.2", - "@serverless/enterprise-plugin": "^3.6.8", + "@serverless/components": "^2.30.10", + "@serverless/enterprise-plugin": "^3.6.11", "archiver": "^1.3.0", "async": "^1.5.2", - "aws-sdk": "^2.665.0", + "aws-sdk": "^2.671.0", "bluebird": "^3.7.2", "boxen": "^3.2.0", "cachedir": "^2.3.0", "chalk": "^2.4.2", "child-process-ext": "^2.1.1", - "ci-info": "^1.6.0", + "ci-info": "^2.0.0", "d": "^1.0.1", - "dayjs": "^1.8.25", + "dayjs": "^1.8.26", "decompress": "^4.2.1", "download": "^7.1.0", "essentials": "^1.1.1", "fast-levenshtein": "^2.0.6", "filesize": "^3.6.1", "fs-extra": "^0.30.0", - "get-stdin": "^5.0.1", + "get-stdin": "^6.0.0", "globby": "^6.1.0", "graceful-fs": "^4.2.4", - "https-proxy-agent": "^4.0.0", + "https-proxy-agent": "^5.0.0", "inquirer": "^6.5.2", "is-docker": "^1.1.0", - "is-wsl": "^2.1.1", + "is-wsl": "^2.2.0", "js-yaml": "^3.13.1", "json-cycle": "^1.3.0", "json-refs": "^2.1.7", @@ -15681,15 +15510,14 @@ "mkdirp": "^0.5.4", "nanomatch": "^1.2.13", "ncjsm": "^4.0.1", - "node-fetch": "^1.7.3", + "node-fetch": "^2.6.0", "object-hash": "^2.0.3", "p-limit": "^2.3.0", "promise-queue": "^2.2.5", - "raven": "^1.2.1", "rc": "^1.2.8", "replaceall": "^0.1.6", "semver": "^5.7.1", - "semver-regex": "^1.0.0", + "semver-regex": "^2.0.0", "stream-promise": "^3.2.0", "tabtab": "^3.0.2", "untildify": "^3.0.3", @@ -15697,18 +15525,18 @@ "uuid": "^2.0.3", "write-file-atomic": "^2.4.3", "yaml-ast-parser": "0.0.43", - "yargs-parser": "^16.1.0" + "yargs-parser": "^18.1.3" }, "dependencies": { "@serverless/components": { - "version": "2.30.6", - "resolved": "https://registry.npmjs.org/@serverless/components/-/components-2.30.6.tgz", - "integrity": "sha512-NUn2oRRplgtWfAN/+9Ly27B8eKl11Ffs7bTgm1OCFj3guKnEREHeJA//N0PZ6pmgDmuw4rvtK1kmMzDaTdPdFA==", + "version": "2.30.10", + "resolved": "https://registry.npmjs.org/@serverless/components/-/components-2.30.10.tgz", + "integrity": "sha512-F6Y9FBh7lvAyKOkctcd6qIBtGZHUu1X5HTxvrQMPK3QlzSeyPonKw5/Xh57rlyurbki0GzKtXFK6qH75ZnNUAw==", "dev": true, "requires": { "@serverless/inquirer": "^1.1.0", "@serverless/platform-client": "^0.25.7", - "@serverless/platform-client-china": "^1.0.9", + "@serverless/platform-client-china": "^1.0.12", "@serverless/platform-sdk": "^2.3.0", "adm-zip": "^0.4.14", "ansi-escapes": "^4.3.1", @@ -15718,9 +15546,9 @@ "dotenv": "^8.2.0", "figures": "^3.2.0", "fs-extra": "^8.1.0", - "global-agent": "^2.1.8", "globby": "^10.0.2", "graphlib": "^2.1.8", + "https-proxy-agent": "^5.0.0", "ini": "^1.3.5", "js-yaml": "^3.13.1", "minimist": "^1.2.5", @@ -15728,6 +15556,7 @@ "open": "^7.0.3", "prettyoutput": "^1.2.0", "ramda": "^0.26.1", + "semver": "^7.3.2", "strip-ansi": "^5.2.0", "traverse": "^0.6.6", "uuid": "^3.4.0", @@ -15761,6 +15590,12 @@ "slash": "^3.0.0" } }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -15770,9 +15605,9 @@ } }, "aws-sdk": { - "version": "2.670.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.670.0.tgz", - "integrity": "sha512-hGRnZtp1wDUh6hZRBHO0Ki7thx/xbRlIEiTKlWes+f/0E1Nhm3KpelsBZ3L/Q6y1ragwkQd4Q720AmWEqemLyA==", + "version": "2.672.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.672.0.tgz", + "integrity": "sha512-ANxBUPTx5KvNX4OJhIkGT6IoNhBPuh63YvAGuf6tV55MsXNNpZXWuPtvIHxst+M5GrQFA2qDpfcuENzC3OzumQ==", "dev": true, "requires": { "buffer": "4.9.1", @@ -20154,9 +19989,9 @@ } }, "yargs-parser": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz", - "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==", + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, "requires": { "camelcase": "^5.0.0", diff --git a/package.json b/package.json index 8798507..e49dc45 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,16 @@ "start:ui": "cd packages/ui && npm start", "start:ui:offline": "REACT_APP_ApiEndpoint=http://localhost:4911 npm run start:ui", "start:api": "sls offline cloudside", - "remove-stack:dev": "sls remove --stage development", + "package:dev": "sls package --stage development", + "deploy-prepack:dev": "sls deploy --package .serverless --stage development", "deploy:dev": "sls deploy --stage development", + "package:staging": "NODE_ENV=production sls package --stage staging", + "deploy-prepack:staging": "NODE_ENV=production sls deploy --package .serverless --stage staging", "deploy:staging": "NODE_ENV=production sls deploy --stage staging", - "deploy:prod": "NODE_ENV=production sls deploy --stage production", - "deploy-prepack:prod": "NODE_ENV=production sls deploy --package .serverless --stage production", - "package:dev": "sls package --stage development", "package:prod": "NODE_ENV=production sls package --stage production", + "deploy-prepack:prod": "NODE_ENV=production sls deploy --package .serverless --stage production", + "deploy:prod": "NODE_ENV=production sls deploy --stage production", + "remove-stack:dev": "sls remove --stage development", "zip-release": "zip -r release.zip .serverless serverless.yaml package.json package-lock.json" }, "keywords": [], @@ -28,7 +31,7 @@ "@semantic-release/github": "^7.0.5", "@semantic-release/npm": "^7.0.5", "@semantic-release/release-notes-generator": "^9.0.1", - "@wizeline/serverless-amplify-plugin": "^1.6.1", + "@wizeline/serverless-amplify-plugin": "^1.6.2", "eslint": "^5.16.0 || ^6.1.0", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.18.2", @@ -37,7 +40,7 @@ "eslint-plugin-react-hooks": "^1.7.0", "nodemon": "^2.0.3", "semantic-release": "^17.0.4", - "serverless": "^1.69.0", + "serverless": "^1.70.0", "serverless-apigateway-service-proxy": "^1.7.0", "serverless-cloudside-plugin": "^1.0.3", "serverless-domain-manager": "^3.3.2", diff --git a/serverless.yaml b/serverless.yaml index 6cbc049..2206a0e 100644 --- a/serverless.yaml +++ b/serverless.yaml @@ -35,7 +35,6 @@ plugins: - serverless-stack-output - serverless-cloudside-plugin - serverless-plugin-aws-alerts - # NOTE: serverless-amplify-plugin must be after serverless-stack-output, since the UI build command relies on stack-outputs.json # - '../serverless-amplify-plugin' - '@wizeline/serverless-amplify-plugin' - serverless-offline