Repository: postmanlabs/postman-code-generators
Pull request #520 (2021-09-03 05:45:33)

[Snyk] Upgrade postman-collection from 3.6.8 to 3.6.11
<h3>Snyk has created this PR to upgrade postman-collection from 3.6.8 to 3.6.11.</h3>

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=postman-collection&from_version=3.6.8&to_version=3.6.11&pr_id=92d17d4e-0c52-4e26-a855-03c88cd09609&visibility=true&has_feature_flag=false)
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
<hr/>

- The recommended version is **3 versions** ahead of your current version.
- The recommended version was released **5 months ago**, on 2021-04-11.

The recommended version fixes:

Severity                   | Issue                | PriorityScore (*)                 | Exploit Maturity |
:-------------------------:|:-------------------------|-------------------------|:-------------------------
<img src="https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png" width="20" height="20" title="high severity"/>  | Regular Expression Denial of Service (ReDoS)<br/> [SNYK-JS-MARKED-1070800](https://snyk.io/vuln/SNYK-JS-MARKED-1070800) | **589/1000**  <br/> **Why?** Has a fix available, CVSS 7.5  | No Known Exploit 

(*) Note that the real score may have changed since the PR was raised.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>postman-collection</b></summary>
    <ul>
      <li>
        <b>3.6.11</b> - <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/releases/tag/v3.6.11">2021-04-11</a></br><p>Release v3.6.11</p>
      </li>
      <li>
        <b>3.6.10</b> - <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/releases/tag/v3.6.10">2021-03-23</a></br><p>Release v3.6.10</p>
      </li>
      <li>
        <b>3.6.9</b> - <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/releases/tag/v3.6.9">2021-01-02</a></br><p>Release v3.6.9</p>
      </li>
      <li>
        <b>3.6.8</b> - <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/releases/tag/v3.6.8">2020-10-07</a></br><p>Release v3.6.8</p>
      </li>
    </ul>
    from <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/releases">postman-collection GitHub release notes</a>
  </details>
</details>


<details>
  <summary><b>Commit messages</b></summary>
  </br>
  <details>
    <summary>Package name: <b>postman-collection</b></summary>
    <ul>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/86a3371749c13cbdf8efcf8c503295e3ee17e6b5">86a3371</a> Merge branch &#x27;release/3.6.11&#x27;</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/cf341b77826a5abd3e2ccd95d1e7f4a26a811396">cf341b7</a> Release v3.6.11</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/06e3400e69ee29760079094e9c400e9d5c0ec335">06e3400</a> Update CHANGELOG</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/dbe2dc295fca83e8010b74f7eb78f9491e1d7712">dbe2dc2</a> Merge pull request #1173 from postmanlabs/dependabot/npm_and_yarn/faker-5.5.3</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/cb64a8ae5b8aedfc3a60dfbc8708d548cef3266a">cb64a8a</a> Merge pull request #1172 from postmanlabs/dependabot/npm_and_yarn/postman-request-2.88.1-postman.30</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/14660ff977099dea188cdbdba1f54cabc38a153e">14660ff</a> Bump faker from 5.5.2 to 5.5.3</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/0e635cd7b4054d111fcca1b88cdd4c69cdbc9c5a">0e635cd</a> Bump postman-request from 2.88.1-postman.29 to 2.88.1-postman.30</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/4c1cacf6d4109496522eeea19e4611fbed362e0d">4c1cacf</a> Merge pull request #1163 from postmanlabs/dependabot/npm_and_yarn/postman-request-2.88.1-postman.29</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/c7337625e2a9e446d3add0fa0eef7ec2e2789382">c733762</a> Merge pull request #1162 from postmanlabs/dependabot/npm_and_yarn/jsdoc-to-markdown-7.0.1</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/457285a323669676416ab755a147e9b2702ee2ec">457285a</a> Merge pull request #1165 from postmanlabs/dependabot/npm_and_yarn/y18n-4.0.1</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/ab876d6195247837f1fe994f16e6e55315114d02">ab876d6</a> Merge pull request #1167 from postmanlabs/dependabot/npm_and_yarn/mime-types-2.1.30</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/c0c992ebb36a1d5fe05f59a86e8a075c02878389">c0c992e</a> Merge pull request #1168 from postmanlabs/dependabot/npm_and_yarn/faker-5.5.2</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/14a336a61da7558b29a01f6b8530602219bf4330">14a336a</a> Merge pull request #1169 from postmanlabs/dependabot/npm_and_yarn/mustache-4.2.0</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/2eded4aae156bdf732cd588924dadea93e7de90f">2eded4a</a> Merge pull request #1171 from dev-kanishk/contrib/RUNTIME-1628-On-saving-response-file-extension-get-changed-for-mp3</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/5180fe6e6d86cfca430b1a5d67f575dbd142eadb">5180fe6</a> [RUNTIME-1628] removed a comment</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/e3a86bf02fe01c44f6cea8868af67e100372f220">e3a86bf</a> [RUNTIME-1628] no need of rebuffering data</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/c560b79dceec5b6e92b00563ff9c72d98912a1c7">c560b79</a> [RUNTIME-1628] removed extra eslint disable</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/e2757ca6819c8f6c716fb59954b13fbb966d502d">e2757ca</a> Update test/unit/content-info.test.js</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/f08076c5f1b0337074a71246d577dfc0f7192730">f08076c</a> [RUNTIME-1628] moved mp3 encoded data to the fixtures</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/553afd50ca3de1060d57409725fa0546eb512dbb">553afd5</a> [RUNTIME-1628] Added the test case for mp3 files</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/12e2f621f20dbb10cae9e4836850a46d2035f7cc">12e2f62</a> [RUNTIME-1628] using file-type module for file extensions in case content type not provided</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/e0d2f1f5b932f46445710ef02e6af6c3a26c9c1d">e0d2f1f</a> Bump mustache from 4.1.0 to 4.2.0</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/3c31c11e64d4aa421a6f9f5afa9cd32cd3aa3551">3c31c11</a> Bump faker from 5.4.0 to 5.5.2</li>
      <li><a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/commit/4ff06b50ab590cdb5f2f6c17bede7368fdf7a219">4ff06b5</a> Bump mime-types from 2.1.29 to 2.1.30</li>
    </ul>

   <a href="https://snyk.io/redirect/github/postmanlabs/postman-collection/compare/8cd6dfbfd4bde1d17e910bd2693b43b338e51adf...86a3371749c13cbdf8efcf8c503295e3ee17e6b5">Compare</a>
  </details>
</details>
<hr/>

**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*

For more information:  <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5MmQxN2Q0ZS0wYzUyLTRlMjYtYTg1NS0wM2M4OGNkMDk2MDkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjkyZDE3ZDRlLTBjNTItNGUyNi1hODU1LTAzYzg4Y2QwOTYwOSJ9fQ==" width="0" height="0"/>

🧐 [View latest project report](https://app.snyk.io/org/postman/project/8519ba8e-6a7d-469a-88b3-7891b4c1c14e?utm_source&#x3D;github&amp;utm_medium&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/postman/project/8519ba8e-6a7d-469a-88b3-7891b4c1c14e/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/postman/project/8519ba8e-6a7d-469a-88b3-7891b4c1c14e/settings/integration?pkg&#x3D;postman-collection&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;upgrade-pr#auto-dep-upgrades)

<!--- (snyk:metadata:{"prId":"92d17d4e-0c52-4e26-a855-03c88cd09609","prPublicId":"92d17d4e-0c52-4e26-a855-03c88cd09609","dependencies":[{"name":"postman-collection","from":"3.6.8","to":"3.6.11"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/postman/project/8519ba8e-6a7d-469a-88b3-7891b4c1c14e?utm_source=github&utm_medium=upgrade-pr","projectPublicId":"8519ba8e-6a7d-469a-88b3-7891b4c1c14e","env":"prod","prType":"upgrade","vulns":["SNYK-JS-MARKED-1070800"],"issuesToFix":[{"issueId":"SNYK-JS-MARKED-1070800","severity":"high","title":"Regular Expression Denial of Service (ReDoS)","exploitMaturity":"no-known-exploit","priorityScore":589,"priorityScoreFactors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375}]}],"upgrade":["SNYK-JS-MARKED-1070800"],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2021-04-11T06:34:38.424Z"},"templateVariants":["merge-advice-badge-shown","priorityScore"],"hasFixes":true,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[589]}) --->


[RUNTIME-1628]: https://postmanlabs.atlassian.net/browse/RUNTIME-1628?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ


Patch:
diff --git a/.eslintrc b/.eslintrc
index faa56f0..d80fe87 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -8,9 +8,6 @@
     "node": true,
     "es6": true
   },
-  "parserOptions": {
-    "ecmaVersion": 2018
-  },
   "rules": {
     // Possible Errors
     "for-direction": "error",
diff --git a/.gitignore b/.gitignore
index 5a57e17..e3034d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -67,5 +67,4 @@ typings/
 out/
 
 newmanResponses.json
-dummyFile*.txt
-dummyBinaryFile
+dummyFile*.txt
\ No newline at end of file
diff --git a/codegens/curl/README.md b/codegens/curl/README.md
index a9962c1..c52d534 100644
--- a/codegens/curl/README.md
+++ b/codegens/curl/README.md
@@ -18,7 +18,7 @@ Convert function takes three parameters
     * `indentCount` - The number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
-    * `requestTimeoutInSeconds` - Integer denoting time after which the request will bail out in seconds
+    * `requestTimeout` - Integer denoting time after which the request will bail out in milli-seconds
     * `multiLine` - Boolean denoting whether to output code snippet with multi line breaks
     * `longFormat` - Boolean denoting whether to use longform cURL options in snippet
     * `quoteType` - String denoting the quote type to use (single or double) for URL
diff --git a/codegens/curl/lib/index.js b/codegens/curl/lib/index.js
index 253ffed..2688153 100644
--- a/codegens/curl/lib/index.js
+++ b/codegens/curl/lib/index.js
@@ -18,7 +18,7 @@ self = module.exports = {
       format, snippet, silent, url, quoteType;
 
     redirect = options.followRedirect;
-    timeout = options.requestTimeoutInSeconds;
+    timeout = options.requestTimeout;
     multiLine = options.multiLine;
     format = options.longFormat;
     trim = options.trimRequestBody;
@@ -222,11 +222,11 @@ self = module.exports = {
           '(Use double quotes when running curl in cmd.exe and single quotes for the rest)'
       },
       {
-        name: 'Set request timeout (in seconds)',
-        id: 'requestTimeoutInSeconds',
+        name: 'Set request timeout',
+        id: 'requestTimeout',
         type: 'positiveInteger',
         default: 0,
-        description: 'Set number of seconds the request should wait for a response before ' +
+        description: 'Set number of milliseconds the request should wait for a response before ' +
           'timing out (use 0 for infinity)'
       },
       {
diff --git a/codegens/curl/lib/util.js b/codegens/curl/lib/util.js
index 8346fb5..30173c1 100644
--- a/codegens/curl/lib/util.js
+++ b/codegens/curl/lib/util.js
@@ -5,7 +5,7 @@ var self = module.exports = {
      *
      * @param {String} inputString
      * @param {Boolean} [trim] - indicates whether to trim string or not
-     * @param {String} [quoteType] - indicates which quoteType has to be escaped
+     * @param {Boolean} [quoteType] - indicates which quoteType has to be escaped
      * @param {Boolean} [backSlash] - indicates whether to escape backslash(\\)
      * @returns {String}
      */
@@ -20,8 +20,6 @@ var self = module.exports = {
 
     if (quoteType === '"') {
       inputString = inputString.replace(/"/g, '\\"');
-      // Escape backslash if double quote was already escaped before call to sanitize
-      inputString = inputString.replace(/(?<!\\)\\\\"/g, '\\\\\\"');
     }
     else if (quoteType === '\'') {
       // for curl escaping of single quotes inside single quotes involves changing of ' to '\''
diff --git a/codegens/java-okhttp/lib/okhttp.js b/codegens/java-okhttp/lib/okhttp.js
index ee2aec5..e4d73b5 100644
--- a/codegens/java-okhttp/lib/okhttp.js
+++ b/codegens/java-okhttp/lib/okhttp.js
@@ -6,7 +6,7 @@ var _ = require('./lodash'),
   sanitizeOptions = require('./util').sanitizeOptions;
 
 //  Since Java OkHttp requires to add extralines of code to handle methods with body
-const METHODS_WITHOUT_BODY = ['HEAD', 'COPY', 'UNLOCK', 'UNLINK', 'PURGE', 'LINK', 'VIEW'];
+const METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'COPY', 'UNLOCK', 'UNLINK', 'PURGE', 'LINK', 'VIEW'];
 
 /**
  * returns snippet of java okhttp by parsing data from Postman-SDK request object
diff --git a/codegens/nodejs-native/package.json b/codegens/nodejs-native/package.json
index a49771d..57eb30f 100644
--- a/codegens/nodejs-native/package.json
+++ b/codegens/nodejs-native/package.json
@@ -30,7 +30,7 @@
     "postman-collection": "3.6.11"
   },
   "devDependencies": {
-    "follow-redirects": "1.14.1"
+    "follow-redirects": "1.13.3"
   },
   "engines": {
     "node": ">=8"
diff --git a/npm/ci-requirements.sh b/npm/ci-requirements.sh
index 21438b8..6563511 100755
--- a/npm/ci-requirements.sh
+++ b/npm/ci-requirements.sh
@@ -24,7 +24,7 @@ pushd ./codegens/csharp-restsharp &>/dev/null;
   sudo apt-get install dotnet-sdk-2.2
   dotnet new console -o testProject
   pushd ./testProject &>/dev/null;
-  dotnet add package RestSharp --version 106.15.0
+  dotnet add package RestSharp
   popd &>/dev/null;
 popd &>/dev/null;
 
diff --git a/package-lock.json b/package-lock.json
index d61099b..a5269de 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -523,12 +523,6 @@
       "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
       "dev": true
     },
-    "bluebird": {
-      "version": "3.7.2",
-      "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
-      "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
-      "dev": true
-    },
     "bn.js": {
       "version": "4.11.8",
       "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
@@ -850,12 +844,12 @@
       "dev": true
     },
     "catharsis": {
-      "version": "0.9.0",
-      "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz",
-      "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==",
+      "version": "0.8.11",
+      "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.8.11.tgz",
+      "integrity": "sha512-a+xUyMV7hD1BrDQA/3iPV7oc+6W26BgVJO05PGEoatMyIuPScQKsde6i3YorWX1qs+AZjnJ18NqdKoCtKiNh1g==",
       "dev": true,
       "requires": {
-        "lodash": "^4.17.15"
+        "lodash": "^4.17.14"
       }
     },
     "chai": {
@@ -2110,6 +2104,11 @@
       "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
       "dev": true
     },
+    "faker": {
+      "version": "5.5.3",
+      "resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz",
+      "integrity": "sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g=="
+    },
     "fast-deep-equal": {
       "version": "3.1.3",
       "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -3785,12 +3784,12 @@
       }
     },
     "js2xmlparser": {
-      "version": "4.0.2",
-      "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz",
-      "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==",
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.1.tgz",
+      "integrity": "sha512-KrPTolcw6RocpYjdC7pL7v62e55q7qOMHvLX1UCLc5AAS8qeJ6nukarEJAF2KL2PZxlbGueEbINqZR2bDe/gUw==",
       "dev": true,
       "requires": {
-        "xmlcreate": "^2.0.4"
+        "xmlcreate": "^2.0.3"
       }
     },
     "jsbn": {
@@ -3800,31 +3799,37 @@
       "dev": true
     },
     "jsdoc": {
-      "version": "3.6.7",
-      "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz",
-      "integrity": "sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==",
+      "version": "3.6.6",
+      "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.6.tgz",
+      "integrity": "sha512-znR99e1BHeyEkSvgDDpX0sTiTu+8aQyDl9DawrkOGZTTW8hv0deIFXx87114zJ7gRaDZKVQD/4tr1ifmJp9xhQ==",
       "dev": true,
       "requires": {
         "@babel/parser": "^7.9.4",
         "bluebird": "^3.7.2",
-        "catharsis": "^0.9.0",
+        "catharsis": "^0.8.11",
         "escape-string-regexp": "^2.0.0",
         "js2xmlparser": "^4.0.1",
         "klaw": "^3.0.0",
         "markdown-it": "^10.0.0",
         "markdown-it-anchor": "^5.2.7",
-        "marked": "^2.0.3",
+        "marked": "^0.8.2",
         "mkdirp": "^1.0.4",
         "requizzle": "^0.2.3",
         "strip-json-comments": "^3.1.0",
         "taffydb": "2.6.2",
-        "underscore": "~1.13.1"
+        "underscore": "~1.10.2"
       },
       "dependencies": {
         "@babel/parser": {
-          "version": "7.16.6",
-          "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz",
-          "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==",
+          "version": "7.12.1",
+          "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.1.tgz",
+          "integrity": "sha512-xjZsx0sBjb6J2+QkoHI69UeD2EWbsyUW0WyZKOoJ9sBrQLxfOApWEefR9dIVOYJVj97VRXnLKLDvnn3dPDNgww==",
+          "dev": true
+        },
+        "bluebird": {
+          "version": "3.7.2",
+          "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
+          "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
           "dev": true
         },
         "escape-string-regexp": {
@@ -3834,9 +3839,9 @@
           "dev": true
         },
         "marked": {
-          "version": "2.1.3",
-          "resolved": "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz",
-          "integrity": "sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==",
+          "version": "0.8.2",
+          "resolved": "https://registry.npmjs.org/marked/-/marked-0.8.2.tgz",
+          "integrity": "sha512-EGwzEeCcLniFX51DhTpmTom+dSA/MG/OBUDjnWtHbEnjAH180VzUeAw+oE4+Zv+CoYBWyRlYOTR0N8SO9R1PVw==",
           "dev": true
         },
         "mkdirp": {
@@ -3852,9 +3857,9 @@
           "dev": true
         },
         "underscore": {
-          "version": "1.13.2",
-          "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz",
-          "integrity": "sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==",
+          "version": "1.10.2",
+          "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz",
+          "integrity": "sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg==",
           "dev": true
         }
       }
@@ -4253,6 +4258,7 @@
       "version": "2.0.0",
       "resolved": "https://registry.npmjs.org/mime-format/-/mime-format-2.0.0.tgz",
       "integrity": "sha1-4p+IkeKE14JwJG8AUNaDS9u+EzI=",
+      "dev": true,
       "requires": {
         "charset": "^1.0.0"
       }
@@ -5198,31 +5204,26 @@
       }
     },
     "postman-collection": {
-      "version": "3.6.8",
-      "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-3.6.8.tgz",
-      "integrity": "sha512-TNPaK2dpVRhttUFo/WN0ReopXEtuSQMktwcvwJbQ0z8K+5hftvyx2ia40xgg9qFl/Ra78qoNTUmLL1s3lRqLMg==",
+      "version": "3.6.11",
+      "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-3.6.11.tgz",
+      "integrity": "sha512-22oIsOXwigdEGQJuTgS44964hj0/gN20E6/aiDoO469WiqqOk5JEEVQpW8zCDjsb9vynyk384JqE9zRyvfrH5A==",
       "requires": {
         "escape-html": "1.0.3",
-        "faker": "5.1.0",
+        "faker": "5.5.3",
         "file-type": "3.9.0",
         "http-reasons": "0.1.0",
         "iconv-lite": "0.6.2",
         "liquid-json": "0.3.1",
-        "lodash": "4.17.20",
-        "marked": "1.2.0",
-        "mime-format": "2.0.0",
-        "mime-types": "2.1.27",
-        "postman-url-encoder": "3.0.0",
+        "lodash": "4.17.21",
+        "marked": "2.0.1",
+        "mime-format": "2.0.1",
+        "mime-types": "2.1.30",
+        "postman-url-encoder": "3.0.1",
         "sanitize-html": "1.20.1",
-        "semver": "7.3.2",
+        "semver": "7.3.5",
         "uuid": "3.4.0"
       },
       "dependencies": {
-        "faker": {
-          "version": "5.1.0",
-          "resolved": "https://registry.npmjs.org/faker/-/faker-5.1.0.tgz",
-          "integrity": "sha512-RrWKFSSA/aNLP0g3o2WW1Zez7/MnMr7xkiZmoCfAGZmdkDQZ6l2KtuXHN5XjdvpRjDl8+3vf+Rrtl06Z352+Mw=="
-        },
         "iconv-lite": {
           "version": "0.6.2",
           "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz",
@@ -5231,33 +5232,62 @@
             "safer-buffer": ">= 2.1.2 < 3.0.0"
           }
         },
+        "lodash": {
+          "version": "4.17.21",
+          "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+          "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+        },
+        "lru-cache": {
+          "version": "6.0.0",
+          "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+          "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+          "requires": {
+            "yallist": "^4.0.0"
+          }
+        },
         "marked": {
-          "version": "1.2.0",
-          "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.0.tgz",
-          "integrity": "sha512-tiRxakgbNPBr301ihe/785NntvYyhxlqcL3YaC8CaxJQh7kiaEtrN9B/eK2I2943Yjkh5gw25chYFDQhOMCwMA=="
+          "version": "2.0.1",
+          "resolved": "https://registry.npmjs.org/marked/-/marked-2.0.1.tgz",
+          "integrity": "sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw=="
         },
         "mime-db": {
-          "version": "1.44.0",
-          "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
-          "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
+          "version": "1.47.0",
+          "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz",
+          "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw=="
+        },
+        "mime-format": {
+          "version": "2.0.1",
+          "resolved": "https://registry.npmjs.org/mime-format/-/mime-format-2.0.1.tgz",
+          "integrity": "sha512-XxU3ngPbEnrYnNbIX+lYSaYg0M01v6p2ntd2YaFksTu0vayaw5OJvbdRyWs07EYRlLED5qadUZ+xo+XhOvFhwg==",
+          "requires": {
+            "charset": "^1.0.0"
+          }
         },
         "mime-types": {
-          "version": "2.1.27",
-          "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
-          "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
+          "version": "2.1.30",
+          "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz",
+          "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==",
           "requires": {
-            "mime-db": "1.44.0"
+            "mime-db": "1.47.0"
           }
         },
         "semver": {
-          "version": "7.3.2",
-          "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
-          "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
+          "version": "7.3.5",
+          "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+          "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+          "requires": {
+            "lru-cache": "^6.0.0"
+          }
         },
         "uuid": {
           "version": "3.4.0",
           "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
           "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
+        },
+        "yallist": {
+          "version": "4.0.0",
+          "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+          "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
         }
       }
     },
@@ -5551,9 +5581,9 @@
       }
     },
     "postman-url-encoder": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/postman-url-encoder/-/postman-url-encoder-3.0.0.tgz",
-      "integrity": "sha512-bk5wus5/5Ei9pbh+sQXaAxS5n4ZwiNAaIA8VBvRcXP6QyKcue2yF6xk1HqdtaZoH1G8+6509SVeOBojoFQ7nrA==",
+      "version": "3.0.1",
+      "resolved": "https://registry.npmjs.org/postman-url-encoder/-/postman-url-encoder-3.0.1.tgz",
+      "integrity": "sha512-dMPqXnkDlstM2Eya+Gw4MIGWEan8TzldDcUKZIhZUsJ/G5JjubfQPhFhVWKzuATDMvwvrWbSjF+8VmAvbu6giw==",
       "requires": {
         "punycode": "^2.1.1"
       },
@@ -7292,9 +7322,9 @@
       "dev": true
     },
     "xmlcreate": {
-      "version": "2.0.4",
-      "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz",
-      "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==",
+      "version": "2.0.3",
+      "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.3.tgz",
+      "integrity": "sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ==",
       "dev": true
     },
     "xtend": {
diff --git a/package.json b/package.json
index 305469f..be0dfc0 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
   "dependencies": {
     "async": "2.6.3",
     "path": "0.12.7",
-    "postman-collection": "3.6.8",
+    "postman-collection": "3.6.11",
     "shelljs": "0.8.4"
   },
   "devDependencies": {
@@ -44,7 +44,7 @@
     "istanbul": "0.4.5",
     "js-yaml": "3.14.0",
     "newman": "5.2.0",
-    "jsdoc": "3.6.7",
+    "jsdoc": "3.6.6",
     "mocha": "5.2.0",
     "lodash": "4.17.20",
     "nyc": "14.1.1",


Test patch:
diff --git a/codegens/curl/test/unit/convert.test.js b/codegens/curl/test/unit/convert.test.js
index e54eff7..9d7f0e7 100644
--- a/codegens/curl/test/unit/convert.test.js
+++ b/codegens/curl/test/unit/convert.test.js
@@ -499,38 +499,6 @@ describe('curl convert function', function () {
       });
     });
 
-    it('should not add appropriate escaping characters when quote type is "double"', function () {
-      var request = new sdk.Request({
-        'method': 'POST',
-        'header': [],
-        'body': {
-          'mode': 'graphql',
-          'graphql': {
-            'query': '{\n  findScenes(\n    filter: {per_page: 0}\n    scene_filter: {is_missing: "performers"}){\n    count\n    scenes {\n      id\n      title\n      path\n    }\n  }\n}', // eslint-disable-line
-            'variables': '{\n\t"variable_key": "variable_value"\n}'
-          }
-        },
-        'url': {
-          'raw': 'https://postman-echo.com/post',
-          'protocol': 'https',
-          'host': [
-            'postman-echo',
-            'com'
-          ],
-          'path': [
-            'post'
-          ]
-        }
-      });
-      convert(request, { quoteType: 'double', lineContinuationCharacter: '^' }, function (error, snippet) {
-        if (error) {
-          expect.fail(null, null, error);
-        }
-
-        expect(snippet).to.include('{\\"query\\":\\"{\\n  findScenes(\\n    filter: {per_page: 0}\\n    scene_filter: {is_missing: \\\\\\"performers\\\\\\"})'); // eslint-disable-line
-      });
-    });
-
     describe('getUrlStringfromUrlObject function', function () {
       var rawUrl, urlObject, outputUrlString;
 
diff --git a/test/codegen/newman/fixtures/basicCollection.json b/test/codegen/newman/fixtures/basicCollection.json
index 0c0f9c7..6af3701 100644
--- a/test/codegen/newman/fixtures/basicCollection.json
+++ b/test/codegen/newman/fixtures/basicCollection.json
@@ -288,7 +288,7 @@
 				"body": {
 					"mode": "graphql",
 					"graphql": {
-						"query": "{\n  findScenes(\n    filter: {per_page: 0}\n    scene_filter: {is_missing: \"performers\"}){\n    count\n    scenes {\n      id\n      title\n      path\n    }\n  }\n}",
+						"query": "{\n    body{\n        graphql\n    }\n}",
 						"variables": "{\n\t\"variable_key\": \"variable_value\"\n}"
 					}
 				},
diff --git a/test/codegen/structure.test.js b/test/codegen/structure.test.js
index a70d962..7fbdf0b 100644
--- a/test/codegen/structure.test.js
+++ b/test/codegen/structure.test.js
@@ -44,13 +44,6 @@ const expectedOptions = {
       description: 'Set number of milliseconds the request should wait' +
       ' for a response before timing out (use 0 for infinity)'
     },
-    requestTimeoutInSeconds: {
-      name: 'Set request timeout (in seconds)',
-      type: 'positiveInteger',
-      default: 0,
-      description: 'Set number of seconds the request should wait' +
-      ' for a response before timing out (use 0 for infinity)'
-    },
     followRedirect: {
       name: 'Follow redirects',
       type: 'boolean',
@@ -91,7 +84,6 @@ const expectedOptions = {
     'indentCount',
     'trimRequestBody',
     'requestTimeout',
-    'requestTimeoutInSeconds',
     'silent',
     'includeBoilerplate',
     'followRedirect',