Commit Graph

4710 Commits

Author SHA1 Message Date
Tim Lai
560b428f0a fix(build): add es-bundle to .npmignore non-exclusion list (#6328) 2020-08-19 11:26:37 -07:00
Renovate Bot
b1499a5c6f housekeeping(dev-deps): webpack@4.44.1 2020-08-19 08:27:00 +00:00
Renovate Bot
8e0a46b489 housekeeping(dev-deps): terser-webpack-plugin@1.4.5 2020-08-19 07:53:58 +00:00
Renovate Bot
06d9bf74ca housekeeping(dev-deps): open@7.1.0 2020-08-19 06:00:55 +00:00
Renovate Bot
f4b75f51bf housekeeping(dev-deps): nightwatch@1.3.7 2020-08-19 04:44:32 +00:00
Renovate Bot
16270e5fc2 housekeeping(dev-deps): mini-css-extract-plugin@^0.10.0 2020-08-19 03:20:59 +00:00
Renovate Bot
28bb59a2f2 housekeeping(dev-deps): less@3.12.2 2020-08-19 02:12:40 +00:00
renovate[bot]
bf90b84c68 housekeeping(dev-deps): eslint-plugin-react@7.20.6 (#6318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-18 18:42:40 -07:00
swagger-bot
63621bb266 chore(release): cut the v3.32.2 release 2020-08-19 00:36:00 +00:00
renovate[bot]
b6e49f101b housekeeping(dev-deps): autoprefixer@9.8.6 (#6317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-18 16:57:13 -07:00
Tim Lai
87d974ca15 chore(deps): remove unused imports-loader (#6316) 2020-08-18 16:32:29 -07:00
Tim Lai
20b32d8b90 fix(build): css stylesheets bundle config and deps (#6315) 2020-08-18 16:05:31 -07:00
Tim Lai
549b2d2b61 chore(deps-dev): update release-it from 12.4.3 to 13.6.5 (#6313)
* also bump @release-it/conventional-changelog from 1.1.0 to 1.1.4
2020-08-18 15:00:26 -07:00
Tim Lai
e66065bde7 refactor(release-it): update command substitution syntax (#6314) 2020-08-18 14:46:26 -07:00
Tim Lai
a26bb9284d chore(deps): update react-syntax-highlighter from 12.2.1 to 13.5.0 (#6312)
* fix(cypress): use less restrictive 'include.text' assertion

* includes prismjs@1.21.0 security update
2020-08-18 13:51:50 -07:00
Tim Lai
6ecc1809a7 chore(deps-dev): update cypress from 3.8.3 to 4.12.1 (#6310) 2020-08-17 15:33:24 -07:00
Tim Lai
02e0515b97 fix(cypress): deep-linking tests should use cy.location (#6309) 2020-08-17 14:55:17 -07:00
Tim Lai
471c24dfcb fix(cypress): tests should fail on uncaught exception (#6308)
* also remove broken file logging

ref #6305
2020-08-17 13:58:57 -07:00
Tim Lai
168d0ae7ac fix(Models): onLoad should check this.props.layoutSelectors method (#6307)
ref #6305
2020-08-17 13:38:16 -07:00
swaggerhub-bot
3e144f5f7d chore(release): cut the v3.32.1 release 2020-08-14 23:16:14 +00:00
Tim Lai
c362329614 fix(build): init new es-bundle files (#6304) 2020-08-14 15:52:24 -07:00
swaggerhub-bot
28a8912a19 chore(release): cut the v3.32.0 release 2020-08-14 21:28:40 +00:00
Tim Lai
c5753248ab feat(swagger-ui-react): es module (#6303) 2020-08-14 13:53:05 -07:00
Tim Lai
d521b8c5b1 build: change globalObject to "this" for es bundles (#6301) 2020-08-14 11:10:27 -07:00
Pontus Wallberg
d0ae61f8c9 change globalObject to "this" (#6287)
Co-authored-by: Pontus Wallberg <pontus.wallberg@configura.com>
2020-08-14 10:47:32 -07:00
Tim Lai
b579c713d9 fix: remove missing script references (#6300) 2020-08-14 08:24:46 -07:00
Tim Lai
e1573527de docs(scripts): update building and testing scripts (#6298) 2020-08-13 19:53:16 -07:00
Tim Lai
2eaa6c10e4 feat(build): es2015 bundle artifact (#6291)
* es2015 bundle with dependencies via npm script build:es:bundle
* es2015 bundle without dependencies via npm script build:es:bundle
* jest dependency for test:artifact
* migrate babel.config.json to babel.config.js and maintain env support for commonjs and es2015
* remove polyfill
* fix es syntax: replace module.exports with export
* fix es syntax: remove .jsx extension inside import
2020-08-13 17:21:55 -07:00
geraldglynn
d9f5691f65 fix(OAS3): relative urls (#5341)
* Added tooling for appending OAS3 relative URLs to selected Server

Info
* Terms of service URL
* Contact URL
* License URL
* External Docs URL

Tag
* Tag External Docs URL

Operation
* Operation External Docs
** Operation Tag


Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-08-04 13:21:19 -07:00
Alec Theriault
225a915cf8 fix: escape $ in curl request bodies and headers (#6245)
This address a bug where a `$` character in a request body or header
would not be properly escaped in a string in the generated curl command.

Fixes #5390
2020-08-03 09:07:06 -07:00
dependabot[bot]
28b3b4c4b6 build(deps): bump elliptic from 6.5.2 to 6.5.3 (#6274)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-08-03 08:45:15 -07:00
geraldglynn
084b236f76 fix(Models): use specPath for isShownKey to toggle models (#6200)
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-07-31 18:40:47 -07:00
Irena Shaigorodsky
d7d166d0a4 fix: specify charset utf-8 in html script declaration (#6278)
ref: #5311
2020-07-31 16:51:17 -07:00
Tim Lai
22668ee8d3 fix(OAS3): servers component update on definition change (#6280)
* fix(OAS3): servers component should use nextProps

* test(OAS3): cypress tests for selecting multiple servers

* test(OAS3): multiple server test with definition change
2020-07-31 16:22:17 -07:00
Tim Lai
abcc3837e9 fix(requestInterceptor): use async/await to support return new Promise (#6279)
ref: #4778
2020-07-31 10:07:52 -07:00
swaggerhub-bot
752488edf7 chore(release): cut the v3.31.1 release 2020-07-30 18:09:18 +00:00
Tim Lai
7a6999b7f3 fix(swagger-ui-react): updated babel config file target (#6277) 2020-07-30 10:48:28 -07:00
swaggerhub-bot
9bae8fd78b chore(release): cut the v3.31.0 release 2020-07-30 16:58:58 +00:00
Tim Lai
aebfcc091a Tmkasun ft/5367 support passing presets and default models expand depth (#6275)
* feat(swagger-ui-react): support for presets and defaultModelsExpandDepth


Co-authored-by: Kasun Thennakoon <tmkasun@gmail.com>
2020-07-29 16:50:16 -07:00
Tim Lai
b99ebe7dd3 feat(swagger-ui-react): option for showMutatedRequest (#6273)
Co-authored-by: neel <neelima.sri.vathsavai@autodesk.com>
2020-07-29 16:11:20 -07:00
Helen Kosova
fd5a59a3fd feat: Display minProperties an maxProperties for object schemas (#6272) 2020-07-29 14:06:24 -07:00
David Goss
cfede146ff fix(style): make paths try to stay on single line in opblock (#6243) 2020-07-29 13:30:20 -07:00
Helen Kosova
4cbae095fc fix(try-it-out): Better tooltips for min/max validations (#6266) 2020-07-28 17:10:40 -07:00
Helen Kosova
bd9117da8e fix: Replace an inline styleswith propClass (#6265) 2020-07-28 16:58:57 -07:00
Helen Kosova
887563ab79 docs: Improve descriptions of syntaxHighlight parameters (#6242) 2020-07-28 16:46:25 -07:00
Tim Lai
14278e83dc fix: use es2015 modules for react-syntax-highlighter (#6246) 2020-07-28 16:35:53 -07:00
Tim Lai
83a2b497b7 Merge housekeeping: update mocha with webpack env 2020-07-28 15:53:25 -07:00
Timothy Lai
85c40f16af config(mocha): require 'esm' depedency 2020-07-28 13:37:07 -07:00
Timothy Lai
f0208e8f41 config(webpack): add env.test and replace .babelrc
* .babelrc replacement ref: https://babeljs.io/docs/en/config-files
2020-07-24 13:53:54 -07:00
Timothy Lai
e13bc29aad config(mocha): create .mocharc config file 2020-07-24 13:53:54 -07:00