Compare commits

...

6 Commits

Author SHA1 Message Date
Roman Hotsiy
021178b7b2
v1.22.1 2018-09-10 18:33:38 +03:00
Roman Hotsiy
fb7adb631a
fix: crash when using code-samples 2018-09-10 18:32:34 +03:00
Homa Wong
3b008a1215 fix: ip addresses not supported as host (#616)
* Update spec-manager.ts
* fix typo
2018-09-10 17:50:18 +03:00
Roman Hotsiy
dbbcfd4e2b
v1.22.0 2018-05-02 13:06:16 +03:00
Roman Hotsiy
a966b1fee2
chore: pinpoint hint.css version to 2.3.2 2018-05-02 12:44:58 +03:00
Roman Hotsiy
14a1418b80
docs: add version note [ci skip] 2018-03-21 17:45:26 +02:00
6 changed files with 36 additions and 13 deletions

View File

@ -1,3 +1,21 @@
<a name="1.22.1"></a>
## [1.22.1](https://github.com/Rebilly/ReDoc/compare/v1.22.0...v1.22.1) (2018-09-10)
### Bug Fixes
* crash when using code-samples ([fb7adb6](https://github.com/Rebilly/ReDoc/commit/fb7adb6))
* ip addresses not supported as host ([#616](https://github.com/Rebilly/ReDoc/issues/616)) ([3b008a1](https://github.com/Rebilly/ReDoc/commit/3b008a1))
<a name="1.22.0"></a>
# [1.22.0](https://github.com/Rebilly/ReDoc/compare/v1.21.2...v1.22.0) (2018-05-02)
### Bug Fixes
* pinpoint version of hint.css to 2.3.2 to prevent licensing issue [#478](https://github.com/Rebilly/ReDoc/issues/478), reported by [@rickity-cricket](https://github.com/rickity-cricket)
<a name="1.21.2"></a>
## [1.21.2](https://github.com/Rebilly/ReDoc/compare/v1.21.1...v1.21.2) (2018-02-26)

View File

@ -4,6 +4,9 @@
<p align="center">
<b>OpenAPI/Swagger-generated API Reference Documentation</b>
</p>
<p align="center">
<b> This is README for `1.x` version of ReDoc. `2.x` README is on <a href="https://github.com/Rebilly/ReDoc">the master branch</a></b>
</p>
[![Build Status](https://travis-ci.org/Rebilly/ReDoc.svg?branch=master)](https://travis-ci.org/Rebilly/ReDoc) [![Coverage Status](https://coveralls.io/repos/Rebilly/ReDoc/badge.svg?branch=master&service=github)](https://coveralls.io/github/Rebilly/ReDoc?branch=master) [![Tested on APIs.guru](http://api.apis.guru/badges/tested_on.svg)](https://APIs.guru) [![dependencies Status](https://david-dm.org/Rebilly/ReDoc/status.svg)](https://david-dm.org/Rebilly/ReDoc) [![devDependencies Status](https://david-dm.org/Rebilly/ReDoc/dev-status.svg)](https://david-dm.org/Rebilly/ReDoc#info=devDependencies) [![Stories in Ready](https://badge.waffle.io/Rebilly/ReDoc.png?label=ready&title=Ready)](https://waffle.io/Rebilly/ReDoc)

View File

@ -67,8 +67,8 @@ export class SpecManager {
/* calculate common used values */
init() {
let urlParts = this.specUrl ? urlParse(urlResolve(window.location.href, this.specUrl)) : {
protocol: undefined,
host: undefined
protocol: window.location.protocol,
host: window.location.host
};
let schemes = this._schema.schemes;
let protocol;

View File

@ -1,8 +1,10 @@
import 'prismjs';
import 'prismjs/components/prism-clike.js';
import 'prismjs/components/prism-actionscript.js';
import 'prismjs/components/prism-c.js';
import 'prismjs/components/prism-cpp.js';
import 'prismjs/components/prism-csharp.js';
import 'prismjs/components/prism-markup-templating.js'; // dep of php
import 'prismjs/components/prism-php.js';
import 'prismjs/components/prism-coffeescript.js';
import 'prismjs/components/prism-go.js';

View File

@ -1,7 +1,7 @@
{
"name": "redoc",
"description": "Swagger-generated API Reference Documentation",
"version": "1.21.2",
"version": "1.22.1",
"repository": {
"type": "git",
"url": "git://github.com/Rebilly/ReDoc"
@ -125,7 +125,7 @@
"dependencies": {
"core-js": "^2.5.1",
"dropkickjs": "~2.1.10",
"hint.css": "^2.3.2",
"hint.css": "2.3.2",
"https-browserify": "^1.0.0",
"json-pointer": "^0.6.0",
"json-schema-ref-parser": "^3.3.1",

View File

@ -1046,9 +1046,9 @@ clean-css@3.4.x, clean-css@^3.4.9:
commander "2.8.x"
source-map "0.4.x"
clipboard@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b"
clipboard@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.1.tgz#a12481e1c13d8a50f5f036b0560fe5d16d74e46a"
dependencies:
good-listener "^1.2.2"
select "^1.1.2"
@ -2957,9 +2957,9 @@ he@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
hint.css@^2.3.2:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hint.css/-/hint.css-2.5.0.tgz#38cae3667e42d91dfddbe503100ab34932f6fd65"
hint.css@2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/hint.css/-/hint.css-2.3.2.tgz#d9c0b604745f4b88e91af2a16e5861540c4c4d9d"
hmac-drbg@^1.0.0:
version "1.0.1"
@ -5255,10 +5255,10 @@ preserve@^0.2.0:
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
prismjs@^1.8.1:
version "1.10.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.10.0.tgz#77e5187c2ae6b3253fcc313029cf25fe53778721"
version "1.15.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.15.0.tgz#8801d332e472091ba8def94976c8877ad60398d9"
optionalDependencies:
clipboard "^1.7.1"
clipboard "^2.0.0"
process-nextick-args@~1.0.6:
version "1.0.7"