swagger-client 3.27.5 → 3.27.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -348,7 +348,7 @@ function buildOas3UrlWithContext(ourUrl = '', contextUrl = '') {
348
348
  }
349
349
  function getVariableTemplateNames(str) {
350
350
  const results = [];
351
- const re = /{([^}]+)}/g;
351
+ const re = /{([^}]{1,29})}/g;
352
352
  let text;
353
353
 
354
354
  // eslint-disable-next-line no-cond-assign
@@ -357,7 +357,7 @@ function buildOas3UrlWithContext(ourUrl = '', contextUrl = '') {
357
357
  }
358
358
  function getVariableTemplateNames(str) {
359
359
  const results = [];
360
- const re = /{([^}]+)}/g;
360
+ const re = /{([^}]{1,29})}/g;
361
361
  let text;
362
362
 
363
363
  // eslint-disable-next-line no-cond-assign
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swagger-client",
3
- "version": "3.27.5",
3
+ "version": "3.27.6",
4
4
  "description": "SwaggerJS - a collection of interfaces for OAI specs",
5
5
  "browser": {
6
6
  "./src/helpers/btoa.node.js": "./src/helpers/btoa.browser.js",