diff --git a/package-lock.json b/package-lock.json index 32130dafe2..48ab1a3a06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1323,10 +1323,10 @@ "uncontrollable": "4.1.0" }, "dependencies": { - "coffeescript": { + "coffee-script": { "version": "1.12.7", - "resolved": "https://registry.npmjs.org/coffeescript/-/coffeescript-1.12.7.tgz", - "integrity": "sha512-pLXHFxQMPklVoEekowk8b3erNynC+DVJzChxS/LCBBgR6/8AJkHivkm//zbowcfc7BTCAjryuhx6gPqPRfsFoA==" + "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", + "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==" }, "hoist-non-react-statics": { "version": "3.3.0", @@ -3938,10 +3938,10 @@ } } }, - "coffee-script": { + "coffeescript": { "version": "1.12.7", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", - "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==" + "resolved": "https://registry.npmjs.org/coffeescript/-/coffeescript-1.12.7.tgz", + "integrity": "sha512-pLXHFxQMPklVoEekowk8b3erNynC+DVJzChxS/LCBBgR6/8AJkHivkm//zbowcfc7BTCAjryuhx6gPqPRfsFoA==" }, "collapse-white-space": { "version": "1.0.5", @@ -7743,6 +7743,7 @@ "version": "1.2.9", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz", "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==", + "dev": true, "optional": true, "requires": { "nan": "2.14.0", @@ -7752,20 +7753,24 @@ "abbrev": { "version": "1.1.1", "bundled": true, + "dev": true, "optional": true }, "ansi-regex": { "version": "2.1.1", - "bundled": true + "bundled": true, + "dev": true }, "aproba": { "version": "1.2.0", "bundled": true, + "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.5", "bundled": true, + "dev": true, "optional": true, "requires": { "delegates": "1.0.0", @@ -7774,11 +7779,13 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "dev": true, "requires": { "balanced-match": "1.0.0", "concat-map": "0.0.1" @@ -7787,28 +7794,34 @@ "chownr": { "version": "1.1.1", "bundled": true, + "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "dev": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "dev": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "dev": true }, "core-util-is": { "version": "1.0.2", "bundled": true, + "dev": true, "optional": true }, "debug": { "version": "4.1.1", "bundled": true, + "dev": true, "optional": true, "requires": { "ms": "2.1.1" @@ -7817,21 +7830,25 @@ "deep-extend": { "version": "0.6.0", "bundled": true, + "dev": true, "optional": true }, "delegates": { "version": "1.0.0", "bundled": true, + "dev": true, "optional": true }, "detect-libc": { "version": "1.0.3", "bundled": true, + "dev": true, "optional": true }, "fs-minipass": { "version": "1.2.5", "bundled": true, + "dev": true, "optional": true, "requires": { "minipass": "2.3.5" @@ -7840,11 +7857,13 @@ "fs.realpath": { "version": "1.0.0", "bundled": true, + "dev": true, "optional": true }, "gauge": { "version": "2.7.4", "bundled": true, + "dev": true, "optional": true, "requires": { "aproba": "1.2.0", @@ -7860,6 +7879,7 @@ "glob": { "version": "7.1.3", "bundled": true, + "dev": true, "optional": true, "requires": { "fs.realpath": "1.0.0", @@ -7873,11 +7893,13 @@ "has-unicode": { "version": "2.0.1", "bundled": true, + "dev": true, "optional": true }, "iconv-lite": { "version": "0.4.24", "bundled": true, + "dev": true, "optional": true, "requires": { "safer-buffer": "2.1.2" @@ -7886,6 +7908,7 @@ "ignore-walk": { "version": "3.0.1", "bundled": true, + "dev": true, "optional": true, "requires": { "minimatch": "3.0.4" @@ -7894,6 +7917,7 @@ "inflight": { "version": "1.0.6", "bundled": true, + "dev": true, "optional": true, "requires": { "once": "1.4.0", @@ -7902,16 +7926,19 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "dev": true }, "ini": { "version": "1.3.5", "bundled": true, + "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "dev": true, "requires": { "number-is-nan": "1.0.1" } @@ -7919,22 +7946,26 @@ "isarray": { "version": "1.0.0", "bundled": true, + "dev": true, "optional": true }, "minimatch": { "version": "3.0.4", "bundled": true, + "dev": true, "requires": { "brace-expansion": "1.1.11" } }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, + "dev": true, "requires": { "safe-buffer": "5.1.2", "yallist": "3.0.3" @@ -7943,6 +7974,7 @@ "minizlib": { "version": "1.2.1", "bundled": true, + "dev": true, "optional": true, "requires": { "minipass": "2.3.5" @@ -7951,6 +7983,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "dev": true, "requires": { "minimist": "0.0.8" } @@ -7958,11 +7991,13 @@ "ms": { "version": "2.1.1", "bundled": true, + "dev": true, "optional": true }, "needle": { "version": "2.3.0", "bundled": true, + "dev": true, "optional": true, "requires": { "debug": "4.1.1", @@ -7973,6 +8008,7 @@ "node-pre-gyp": { "version": "0.12.0", "bundled": true, + "dev": true, "optional": true, "requires": { "detect-libc": "1.0.3", @@ -7990,6 +8026,7 @@ "nopt": { "version": "4.0.1", "bundled": true, + "dev": true, "optional": true, "requires": { "abbrev": "1.1.1", @@ -7999,11 +8036,13 @@ "npm-bundled": { "version": "1.0.6", "bundled": true, + "dev": true, "optional": true }, "npm-packlist": { "version": "1.4.1", "bundled": true, + "dev": true, "optional": true, "requires": { "ignore-walk": "3.0.1", @@ -8013,6 +8052,7 @@ "npmlog": { "version": "4.1.2", "bundled": true, + "dev": true, "optional": true, "requires": { "are-we-there-yet": "1.1.5", @@ -8023,16 +8063,19 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "object-assign": { "version": "4.1.1", "bundled": true, + "dev": true, "optional": true }, "once": { "version": "1.4.0", "bundled": true, + "dev": true, "requires": { "wrappy": "1.0.2" } @@ -8040,16 +8083,19 @@ "os-homedir": { "version": "1.0.2", "bundled": true, + "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", "bundled": true, + "dev": true, "optional": true }, "osenv": { "version": "0.1.5", "bundled": true, + "dev": true, "optional": true, "requires": { "os-homedir": "1.0.2", @@ -8059,16 +8105,19 @@ "path-is-absolute": { "version": "1.0.1", "bundled": true, + "dev": true, "optional": true }, "process-nextick-args": { "version": "2.0.0", "bundled": true, + "dev": true, "optional": true }, "rc": { "version": "1.2.8", "bundled": true, + "dev": true, "optional": true, "requires": { "deep-extend": "0.6.0", @@ -8080,6 +8129,7 @@ "minimist": { "version": "1.2.0", "bundled": true, + "dev": true, "optional": true } } @@ -8087,6 +8137,7 @@ "readable-stream": { "version": "2.3.6", "bundled": true, + "dev": true, "optional": true, "requires": { "core-util-is": "1.0.2", @@ -8101,6 +8152,7 @@ "rimraf": { "version": "2.6.3", "bundled": true, + "dev": true, "optional": true, "requires": { "glob": "7.1.3" @@ -8108,36 +8160,43 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true + "bundled": true, + "dev": true }, "safer-buffer": { "version": "2.1.2", "bundled": true, + "dev": true, "optional": true }, "sax": { "version": "1.2.4", "bundled": true, + "dev": true, "optional": true }, "semver": { "version": "5.7.0", "bundled": true, + "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", "bundled": true, + "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", "bundled": true, + "dev": true, "optional": true }, "string-width": { "version": "1.0.2", "bundled": true, + "dev": true, "requires": { "code-point-at": "1.1.0", "is-fullwidth-code-point": "1.0.0", @@ -8147,6 +8206,7 @@ "string_decoder": { "version": "1.1.1", "bundled": true, + "dev": true, "optional": true, "requires": { "safe-buffer": "5.1.2" @@ -8155,6 +8215,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, + "dev": true, "requires": { "ansi-regex": "2.1.1" } @@ -8162,11 +8223,13 @@ "strip-json-comments": { "version": "2.0.1", "bundled": true, + "dev": true, "optional": true }, "tar": { "version": "4.4.8", "bundled": true, + "dev": true, "optional": true, "requires": { "chownr": "1.1.1", @@ -8181,11 +8244,13 @@ "util-deprecate": { "version": "1.0.2", "bundled": true, + "dev": true, "optional": true }, "wide-align": { "version": "1.1.3", "bundled": true, + "dev": true, "optional": true, "requires": { "string-width": "1.0.2" @@ -8193,11 +8258,13 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true + "bundled": true, + "dev": true }, "yallist": { "version": "3.0.3", - "bundled": true + "bundled": true, + "dev": true } } }, @@ -12491,100 +12558,6 @@ "prop-types": "15.7.2", "react-resize-detector": "4.2.0", "topcoder-react-utils": "0.7.9" - }, - "dependencies": { - "config": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/config/-/config-3.2.2.tgz", - "integrity": "sha512-rOsfIOAcG82AWouK4/vBS/OKz3UPl2T/kP0irExmXJJOoWg2CmdfPLdx56bCoMUMFNh+7soQkQWCUC8DyemiwQ==", - "requires": { - "json5": "1.0.1" - } - }, - "hoist-non-react-statics": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz", - "integrity": "sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA==", - "requires": { - "react-is": "16.8.6" - } - }, - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "requires": { - "minimist": "1.2.0" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - }, - "react-redux": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-6.0.1.tgz", - "integrity": "sha512-T52I52Kxhbqy/6TEfBv85rQSDz6+Y28V/pf52vDWs1YRXG19mcFOGfHnY2HsNFHyhP+ST34Aih98fvt6tqwVcQ==", - "requires": { - "@babel/runtime": "7.5.5", - "hoist-non-react-statics": "3.3.0", - "invariant": "2.2.4", - "loose-envify": "1.4.0", - "prop-types": "15.7.2", - "react-is": "16.8.6" - } - }, - "redux": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/redux/-/redux-4.0.4.tgz", - "integrity": "sha512-vKv4WdiJxOWKxK0yRoaK3Y4pxxB0ilzVx6dszU2W8wLxlb2yikRph4iV/ymtdJ6ZxpBLFbyrxklnT5yBbQSl3Q==", - "requires": { - "loose-envify": "1.4.0", - "symbol-observable": "1.2.0" - } - }, - "topcoder-react-utils": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/topcoder-react-utils/-/topcoder-react-utils-0.7.9.tgz", - "integrity": "sha512-bH5t7lVTezl3rh2S1pguMWhUlJb39gOLLkCG9jwLCsMKTzri+LsOvpRJ6dOvYZPzA7GdmCgQNeGAoctiqAGb4g==", - "requires": { - "@babel/register": "7.5.5", - "@babel/runtime": "7.5.5", - "body-parser": "1.19.0", - "command-line-args": "5.1.1", - "command-line-usage": "5.0.5", - "compression": "1.7.4", - "config": "3.2.2", - "cookie-parser": "1.4.4", - "cross-env": "5.2.0", - "express": "4.17.1", - "helmet": "3.20.0", - "lodash": "4.17.15", - "moment": "2.24.0", - "morgan": "1.9.1", - "node-forge": "0.7.6", - "prop-types": "15.7.2", - "raf": "3.4.1", - "react": "16.8.6", - "react-css-super-themr": "2.2.0", - "react-dom": "16.8.6", - "react-helmet": "5.2.1", - "react-redux": "6.0.1", - "react-router-dom": "4.3.1", - "redux": "4.0.4", - "redux-actions": "2.6.5", - "redux-devtools": "3.5.0", - "redux-devtools-dock-monitor": "1.1.3", - "redux-devtools-log-monitor": "1.4.0", - "redux-promise": "0.6.0", - "request-ip": "2.1.3", - "serialize-javascript": "1.7.0", - "serve-favicon": "2.5.0", - "shortid": "2.2.14", - "url-parse": "1.4.7" - } - } } }, "ncname": { @@ -29654,7 +29627,7 @@ "redux-actions": "2.6.5", "tc-accounts": "git+https://github.com/appirio-tech/accounts-app.git#3eed30ff82db6927b008503b61cb714c65e4dc6c", "to-capital-case": "1.0.0", - "topcoder-react-utils": "0.7.8" + "topcoder-react-utils": "0.7.9" }, "dependencies": { "hoist-non-react-statics": { @@ -29681,29 +29654,31 @@ } }, "topcoder-react-ui-kit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/topcoder-react-ui-kit/-/topcoder-react-ui-kit-1.0.0.tgz", - "integrity": "sha512-Z1LKuB6Vn1aCmZMuIHD+eAhroG31/Mao5CWXdA1H5TIF/lEYNhkha7Dkf9k6oNTWGmPA5ZWUYgBHSVIHiKXW9w==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/topcoder-react-ui-kit/-/topcoder-react-ui-kit-1.0.3.tgz", + "integrity": "sha512-aqKAqygmobsowLNRvbibCIOrG6A9hIMl0lr9qhF28nADilVrl/nHWXSu4gJEdjSls534Da3MHt6A64LKNWXmvQ==", "requires": { "prop-types": "15.7.2", "react": "16.8.6", "react-css-super-themr": "2.2.0", "react-dom": "16.8.6", - "topcoder-react-utils": "0.7.8" + "topcoder-react-utils": "0.7.9" } }, "topcoder-react-utils": { - "version": "0.7.8", - "resolved": "https://registry.npmjs.org/topcoder-react-utils/-/topcoder-react-utils-0.7.8.tgz", - "integrity": "sha512-/QW4HMCce2Bc7RZ82d26Wzyit6kyrv2wuLwpzUttWwKbufg85uOx/f188Qu7yzas7Y+D85Rk6PCWiw/V88sRyQ==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/topcoder-react-utils/-/topcoder-react-utils-0.7.9.tgz", + "integrity": "sha512-bH5t7lVTezl3rh2S1pguMWhUlJb39gOLLkCG9jwLCsMKTzri+LsOvpRJ6dOvYZPzA7GdmCgQNeGAoctiqAGb4g==", "requires": { - "babel-runtime": "6.26.0", + "@babel/register": "7.5.5", + "@babel/runtime": "7.5.5", "body-parser": "1.19.0", "command-line-args": "5.1.1", "command-line-usage": "5.0.5", "compression": "1.7.4", - "config": "1.31.0", + "config": "3.2.2", "cookie-parser": "1.4.4", + "cross-env": "5.2.0", "express": "4.17.1", "helmet": "3.20.0", "lodash": "4.17.15", @@ -29716,9 +29691,9 @@ "react-css-super-themr": "2.2.0", "react-dom": "16.8.6", "react-helmet": "5.2.1", - "react-redux": "5.1.1", + "react-redux": "6.0.1", "react-router-dom": "4.3.1", - "redux": "3.7.2", + "redux": "4.0.4", "redux-actions": "2.6.5", "redux-devtools": "3.5.0", "redux-devtools-dock-monitor": "1.1.3", @@ -29729,6 +29704,59 @@ "serve-favicon": "2.5.0", "shortid": "2.2.14", "url-parse": "1.4.7" + }, + "dependencies": { + "config": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/config/-/config-3.2.2.tgz", + "integrity": "sha512-rOsfIOAcG82AWouK4/vBS/OKz3UPl2T/kP0irExmXJJOoWg2CmdfPLdx56bCoMUMFNh+7soQkQWCUC8DyemiwQ==", + "requires": { + "json5": "1.0.1" + } + }, + "hoist-non-react-statics": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz", + "integrity": "sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA==", + "requires": { + "react-is": "16.8.6" + } + }, + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "requires": { + "minimist": "1.2.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + }, + "react-redux": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-6.0.1.tgz", + "integrity": "sha512-T52I52Kxhbqy/6TEfBv85rQSDz6+Y28V/pf52vDWs1YRXG19mcFOGfHnY2HsNFHyhP+ST34Aih98fvt6tqwVcQ==", + "requires": { + "@babel/runtime": "7.5.5", + "hoist-non-react-statics": "3.3.0", + "invariant": "2.2.4", + "loose-envify": "1.4.0", + "prop-types": "15.7.2", + "react-is": "16.8.6" + } + }, + "redux": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/redux/-/redux-4.0.4.tgz", + "integrity": "sha512-vKv4WdiJxOWKxK0yRoaK3Y4pxxB0ilzVx6dszU2W8wLxlb2yikRph4iV/ymtdJ6ZxpBLFbyrxklnT5yBbQSl3Q==", + "requires": { + "loose-envify": "1.4.0", + "symbol-observable": "1.2.0" + } + } } }, "topo": { diff --git a/package.json b/package.json index a1bd30f7bb..da52d78a6a 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "tc-accounts": "git+https://github.com/appirio-tech/accounts-app.git#dev", "topcoder-react-lib": "0.7.11", "topcoder-react-ui-kit": "^1.0.3", - "topcoder-react-utils": "0.7.8", + "topcoder-react-utils": "0.7.9", "turndown": "^4.0.2", "url-parse": "^1.4.1", "uuid": "^3.3.2", diff --git a/src/server/__mocks__/docu-sign-mock.js b/src/server/__mocks__/docu-sign-mock.js index 28a0f44895..0f2e6565fa 100644 --- a/src/server/__mocks__/docu-sign-mock.js +++ b/src/server/__mocks__/docu-sign-mock.js @@ -1,5 +1,5 @@ export default returnUrl => ` - +