Commit Graph

1688 Commits

Author SHA1 Message Date
swaggerhub-bot
57402ecdd8 release: v3.22.3 2019-06-08 18:14:11 +00:00
kyle
5628ff02f4 security: CVE-2018-20834 (via #5368)
* bump minimum `bundlesize` version

* bump `node-sass`

* bump webpack + webpack-dev-server; update lockfile
2019-05-21 17:17:14 -07:00
Peter Goldthorp
1497271155 housekeeping: remove react-addons-perf dependency (via #5229)
* Remove react-addons-perf dependency

* update lockfile

* include ReactPerf in non-production builds
2019-03-14 17:36:49 -07:00
Helen Kosova
80625d0b8a housekeeping: bump minimum Cypress version (via #5233)
* Update Cypress version

* regenerate package-lock.json
2019-03-12 11:19:28 -07:00
kyle
7025773fbf feature: swagger-ui-react module (via #5207)
* swagger-ui-react alpha.0

* alpha.1

* alpha.2

* alpha.3

* begin updating README

* alpha.4

* WIP: `displayOperationId` support

* move loading error readouts to BaseLayout

* add `url` prop

* export React component as default

* add interceptor support

* modify docs markup

* add `onComplete` prop

* add `spec` prop

* Update README.md

* alpha.6

* remove independent manifest; build releasable exclusively from template

* ensure dist is present; drop config field in manifest

* drop alpha field

this script is now able to release to npm!

* remove unused selector references

* Update README.md
2019-03-01 20:41:30 -08:00
swaggerhub-bot
080c70ae76 release: v3.20.9 2019-02-24 01:37:48 +00:00
kyle
d9f460f4a8 fix: gracefully handle non-string operation summaries (via #5189) 2019-02-19 15:41:16 -08:00
swaggerhub-bot
85d82fc0a8 release: v3.20.8 2019-02-16 02:50:26 +00:00
Helder Sepulveda
3f0c0666ba housekeeping: bump minimum lodash version (via #5156)
* Update lodash

fix for Regular Expression Denial of Service:
https://snyk.io/vuln/SNYK-JS-LODASH-73639

* update lockfile
2019-02-12 17:29:56 -06:00
swaggerhub-bot
ed8267af89 release: v3.20.6 2019-02-02 06:59:27 +00:00
Helder Sepulveda
be3500c299 housekeeping: address url-parse vulnerability (via #5130)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:url-parse:20180731
2019-01-18 18:43:55 -08:00
kyle
a5568f9e16 improve: OAuth2 UI and test suite (via #5066)
* create `features` folder

* add base oauth2 server

* continue implementing OAuth tests

* WIP

* add password flow tests

* modify Password flow credential types

* remove query string credential type

* add test case for Authorization flow

* add specific Authorization value for Password flow test

* WIP

* fix linter issues
2018-12-07 20:54:29 +01:00
kyle
91b1becc65 fix: label models section as Schemas in OpenAPI 3 (via #5065)
* fix: label models section `Schemas` in OpenAPI 3

* Update swos-63.js
2018-12-07 20:29:35 +01:00
Jennifer Kaplan
aec4e378ce housekeeping: remove Topbar CWM & unneeded empty lines (via #5018)
* removed componentWillMount and removed unneeded empty lines

* saved file again
2018-11-12 14:28:28 +01:00
swaggerhub-bot
30f3f10bf5 release: v3.19.5 2018-11-05 05:26:25 +00:00
kyle
b9300211bb housekeeping: xml -> @kyleshockey/xml (via #4985) 2018-11-01 14:33:05 -04:00
kyle
1bdcde7b0e fix(packaging): move webpack-dev-server to devDependencies (via #4984) 2018-10-30 23:16:00 -04:00
kyle
ecfc23972a fix: inconsistent behavior with multiple invocations of SwaggerUI (via #4923)
* add narrow e2e tests
* add failing system unit test
* break plugin object inheritance in combinePlugins
* style: add braces to if block
* drop unused `lodash.repeat` import
* remove deep-freeze from lockfile
2018-10-04 18:00:38 -05:00
swaggerhub-bot
6f43bf11e9 release: v3.19.0 2018-09-15 05:49:16 +00:00
kyle
6bf651f5d7 housekeeping: automated releases via release-it (via #4875)
* add `release-it`

* `swagger-ui-testing`

* add automated-release npm script

* tweak GIT_TAG behavior and test command

* disable Cypress video recording

* Revert "`swagger-ui-testing`"

This reverts commit c3de2ec70d10d1dc5d08513f940df0d036508b2c.
2018-09-13 15:09:26 -07:00
kyle
1c52a9c77b release: 3.18.3 (via #4860)
* release: 3.18.3
* Update package-lock.json
2018-09-07 21:06:27 -07:00
kyle
1b2fbda646 meta: introduce Cypress end-to-end testing (via #4827)
* `test/e2e` -> `test/e2e-selenium`

* add Cypress

* ESLint fixes

* MOAR cypress

* `integration` -> `tests`

* wire Cypress up to a hot e2e server

* linter fixes

* don't run in CI
2018-08-23 15:10:00 -07:00
kyle
6ba514583d release: 3.18.1 (via #4810)
* v3.18.1
* rebuild dist
2018-08-10 22:59:08 -07:00
Kyle Shockey
689f658b52 v3.18.0 2018-08-04 02:06:58 -07:00
kyle
dd3afdc456 fix: anchor tag safety (via #4789)
* v3.17.6

* release(3.17.6): rebuild dist

* add failing tests

* fix Link component

* fix OnlineValidatorBadge component

* switch from <a> to <Link> in operation components

* make Markdown inputs safe

* use Link component in Info block, for target safety

* add eslint rule for unsafe `target` usage
2018-08-04 00:54:03 -07:00
kyle
5431eed1cd release: v3.17.6
* v3.17.6

* release(3.17.6): rebuild dist
2018-07-27 20:43:43 -07:00
Kyle Shockey
0af67642ec v3.17.5 2018-07-19 15:34:17 -07:00
kyle
0359f9c364 housekeeping: bundle size reductions (#4713)
* set new bundlesize goal
* preserve `GeneratorFunction` instead of all function names
* use js-yaml fork that doesn't require esprima
* set HTML content directly, instead of using React-Markdown
* use remarkable for all Markdown rendering
* add babel-plugin-transform-react-remove-prop-types
* remove SplitPaneMode plugin
* remove react-collapse
* remove AST plugin, and yaml-js
* trim Markdown HTML string output before rendering
* disable obsolete function name preservation
* add `getComponent` to propTypes
2018-07-19 13:48:39 -07:00
olevitt
17f6a55d58 Add http-server as a dev-dependency, need for serve-static. (#4728) 2018-07-17 18:52:46 -04:00
kyle
a3578fcafb v3.17.4 (#4731)
* v3.17.4
* rebuild dist
2018-07-14 03:44:47 -04:00
kyle
478d93ae08 Example (#4730)
* add tests for example feature
* refactor ParameterRow value setter logic
* aside: fix property access in sampleFromSchema
* prioritize media type examples for OAS3 responses
* use `example` in schema level example
* refactor: move stringify to utils
* prioritize media type examples in OAS3 request bodies
* modify nightwatch config
* fix parameter/response regressions
* reorder and broaden default value sources
* update lockfile
2018-07-14 03:09:37 -04:00
kyle
ef95d6e00c housekeeping: use bundlesize (#4701)
* housekeeping: use bundlesize

* evaluate bundle size after success
2018-07-05 14:33:16 -05:00
kyle
bf21ebbc0c v3.17.2 (via #4684)
* improvement: re-enable and improve Models jump-to-path
* preserve function names
without this, a recent Swagger Client change breaks
cc: f8fccb4510

* bump swagger-client to 3.8.7
* bump selenium-server-standalone-jar
* lock down `selenium-server-standalone-jar` version
* v3.17.2
* parallelize build command
* use npm-run-all for compound scripts
* rebuild dist
2018-06-30 14:26:41 -05:00
Dennis Roche
b78ec5bd9d Bug/update dependencies (#4543)
* Add package-lock

* Remove karma* as no longer used. mocha is the test runner now

* Update patch and minor dev dependencies

* Update other dev dependencies, one at time

* Update webpack to v3 and fix package warnings

* Update production dependencies

* Update to react-inspector and Remove react-addons-shallow-compare as no longer used/required in 15.6

* Unused dependencies

* brace
* getbase
* matcher
* promise-worker
* react-addons-test-utils
* react-height
* redux-logger
* scroll-to-element
* shallowequal
* whatwg-fetch

* initial perf, which gets stripped out in production (#4131)

* Refactor deep-linking, in the process extracted out OperationsTag (#4349)

* add configsActions.loaded hook

* add OperationTag to hold Operations

* fix test for operations

* refactor deep-linking plugin

* [FIX] nested `url` option replacement when $API_URLS contains `url: .*,` pattern (#4601)

* fix(try-it-out): initially unset required booleans (#4613)

* fix(tio-params): disable empty values for required+enum booleans (#4615)

* feat(rendering): gate rendering based on valid version identifiers (#4614)

* create VersionPragmaFilter component

* use VersionPragmaFilter in BaseLayout

* tighten version idenitifier constraints

* handle case where user specifies a valid `swagger` and `openapi` field

* add traceable class names for each message

* add tests

* linter fixes!

* UNRELATED CHANGE: remove travis short-circuit

* add bypass switch to VersionPragmaFilter

* v3.17.0 (#4616)

* v3.17.0

* rebuild dist

* Update system.js (#4626)

Fix typo

* Revert "initial perf, which gets stripped out in production (#4131)" (#4636)

This reverts commit 5ea2150ae7.

* Update add-plugin.md (#4620)

Fixed some spacing

* fix: sample generation for nested oject schemas (#4648)

* Fix improper markdown (#4645)

escape `|`

* housekeeping: factor out components for easier BaseLayout reuse (#4604)

* improve: wrap schemes to encapsulate rendering logic
* improve: wrap filter to encapsulate rendering logic
* improve: wrap info section to encapsulate rendering logic
* improve: wrap servers plugin to encapsulate rendering logic
* improve: added tests for schemes-wrapper rendering logic
* improve: added tests for info-wrapper rendering logic, also do not render info if info is undefined
* improve: added tests for filter rendering logic
* improve: added tests for servers-wrapper rendering logic
* `InfoWrapper` -> `InfoContainer`
* add `containers` alias to Babel configuration
* `SchemesWrapper` -> `SchemesContainer`
* drop `container` from container file names
* `ServersWrapper` -> `ServersContainer`
* `Filter` -> `FilterContainer`
* follow `core/containers` pattern in BasePreset

* use HTTPS for Petstore by default (#4652)

* housekeeping: update e2e selectors (#4655)

* v3.17.1 (#4656)

* v3.17.1

* rebuild dist

* Doc updates

* Improvement: Hash-keyed Try-It-Out parameter value storage (#4670)

* allow param update by identity + hashed value storage

* add specActions.changeParamByIdentity

* add identity-based lookup support in spec selectors

* migrate `changeParam` usage to `changeParamByIdentity`

* migrate usage of `parameterWithMeta` to `parameterWithMetaByIdentity`

* update invocations of `changeParamByIdentity` to match fn signature

* use OrderedMap throughout hash-based selectors for consistency

* normalize usage of ParameterRow `onChange`

* migrate bug 4557 tests to reflect new ParameterRow interface

* remove exclusive test blocks

* linter fixes

* copy Parameters changes into OAS3 wrapper

* use rawParam for meta lookups in ParameterRow

* drop unused dependencies from `package.json`

* re-pin selenium dependency version
2018-06-21 22:42:28 -07:00
Kyle Shockey
0ab6fde25f Remove problematic package-lock.json (for now) 2017-06-09 20:37:47 -07:00
Kyle Shockey
5952bb6cbf Bump fast-json-patch in lockfile 2017-06-03 00:16:44 -07:00
Kyle Shockey
19f7668b48 Bump declared version and upstream minimum versions 2017-06-02 22:42:18 -07:00
Kyle Shockey
af2b1e20f1 Sanitize Markdown inputs 2017-06-01 22:14:44 -07:00