Commit Graph

299 Commits

Author SHA1 Message Date
dependabot[bot]
3423231432
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 06:09:57 +00:00
Kam Low
3257da500b
Merge pull request #224 from MatheusCamelucci/fix/dependencies
Fix code bugs and update dependencies
2021-08-10 01:54:18 +02:00
Matheus Camelucci
daba405f78 Fixed commander options parse bug 2021-07-07 19:22:50 -03:00
Matheus Camelucci
e2165fd25f Fixed code issues due the dependencies update 2021-07-06 21:24:34 -03:00
Matheus Camelucci
0802dec360 Updated and installed dependencies 2021-07-06 21:23:28 -03:00
Kam Low
277591211b
Merge pull request #205 from ahmed-abdallah/update-node-sass
Update node-sass to 4.14.1
2020-05-21 10:42:58 +10:00
Ahmed Abdallah
564f4edc73 Update node-sass to 4.14.1 2020-05-19 17:07:57 -04:00
Kam Low
f3b3271f8e Release 1.1.0 2020-03-10 03:56:55 +01:00
Kam Low
c92c6b1bff
Merge pull request #199 from sourcey/dependabot/npm_and_yarn/js-yaml-3.13.1
Bump js-yaml from 3.12.0 to 3.13.1
2020-02-26 21:01:18 +01:00
Kam Low
0194d03316
Merge pull request #200 from sourcey/dependabot/npm_and_yarn/lodash-4.17.13
Bump lodash from 4.17.11 to 4.17.13
2020-02-26 21:01:06 +01:00
Kam Low
6fcbd861c5
Merge pull request #201 from sourcey/dependabot/npm_and_yarn/marked-0.6.1
Bump marked from 0.5.1 to 0.6.1
2020-02-26 21:00:56 +01:00
Kam Low
8fffe42b6b
Merge pull request #202 from sourcey/dependabot/npm_and_yarn/fstream-1.0.12
Bump fstream from 1.0.11 to 1.0.12
2020-02-26 21:00:43 +01:00
Kam Low
17cab7d1b6
Merge pull request #203 from sourcey/dependabot/npm_and_yarn/lodash.mergewith-4.6.2
Bump lodash.mergewith from 4.6.1 to 4.6.2
2020-02-26 21:00:15 +01:00
dependabot[bot]
8fea330afa
Bump lodash.mergewith from 4.6.1 to 4.6.2
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 19:58:31 +00:00
dependabot[bot]
31658d4205
Bump fstream from 1.0.11 to 1.0.12
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 19:58:27 +00:00
dependabot[bot]
18fcadc6f1
Bump marked from 0.5.1 to 0.6.1
Bumps [marked](https://github.com/markedjs/marked) from 0.5.1 to 0.6.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.5.1...v0.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 19:58:24 +00:00
dependabot[bot]
ac9183cd4d
Bump lodash from 4.17.11 to 4.17.13
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 19:58:19 +00:00
dependabot[bot]
a80d989335
Bump js-yaml from 3.12.0 to 3.13.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 19:58:16 +00:00
Kam Low
777e7cecfd
Merge pull request #197 from sourcey/dependabot/npm_and_yarn/handlebars-4.3.0
Bump handlebars from 4.0.12 to 4.3.0
2020-02-26 20:57:55 +01:00
Kam Low
dfca98510c
Merge pull request #198 from Damokl3s/fix-example-render
Fix example rendering
2020-02-26 20:57:24 +01:00
Daniel Schneider
f817d8b577 fix example rendering 2020-01-29 16:07:45 +01:00
dependabot[bot]
1c2fce757d
Bump handlebars from 4.0.12 to 4.3.0
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.3.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 01:21:48 +00:00
Kam Low
c7233ecee5
Merge pull request #190 from tommyschnabel/master
Fixed #141 by adding support for $ref based circular reference support
2019-06-29 11:06:28 +02:00
Tommy Schnabel
d9d15f5903 Fixed #141 by adding support for $ref based circular reference support 2019-06-28 13:37:28 -04:00
Kam Low
1feb924e8d
Merge pull request #185 from huttotw/master
Remove cache in resolve references since files change often
2019-04-09 12:37:31 +02:00
Trevor Hutto
17e9f0c8c0 fix conflicts 2019-04-08 14:33:32 -04:00
Kam Low
f747888674
Update common.js 2019-04-08 20:07:42 +02:00
Kam Low
a37e50a86d
Merge pull request #186 from elyesbenabdelkader/fix-display-response-examples
Fix displaying a response examples
2019-04-08 20:06:03 +02:00
Elyes Ben Abdelkader
9c3141ccae Fix typo 2019-04-05 09:41:26 +02:00
Elyes Ben Abdelkader
44fa1e48d1 Fix displaying a response examples
According to the OpenAPI v2.0 Specifications*, response examples have to be defined
in a 'examples' field, not 'example'. Furthermore, an example must be an Example Object**.

* https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#response-object
** https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#example-object
2019-04-04 15:24:41 +02:00
Trevor Hutto
b0b88a1cf6 remove cache in resolve references since files change often 2019-03-06 10:34:02 -05:00
Kam Low
378f89ef85 Release 1.0.7 2019-01-30 10:47:37 +01:00
Kam Low
46dc681b44
Merge pull request #182 from paulotokimatu/fix/code-block-overflow
Fixed overflow of code blocks
2019-01-30 10:45:24 +01:00
Kam Low
21252e92de
Merge pull request #160 from lionelvillard/yaml
yaml example support
2019-01-30 10:43:51 +01:00
Kam Low
2155a62db6
Merge pull request #177 from lionelvillard/fixhref
fix href with multiple dots
2019-01-30 10:43:11 +01:00
Kam Low
19426d7103
Merge pull request #180 from kellycampbell/fix_href_colonchar
Translate : to - in hrefs
2019-01-30 10:42:41 +01:00
paulotokimatu
865fd30327 Fixed overflow of code blocks 2019-01-29 21:16:47 -06:00
Kelly Campbell
4c6b529b52 Translate : to - in hrefs
Fixes #179
2019-01-09 11:18:16 -05:00
Lionel Villard
a37005d564 yaml example support 2018-11-28 21:05:15 -05:00
Lionel Villard
c54bf1ec31 fix href with multiple dots 2018-11-28 20:22:55 -05:00
Kam Low
220c048b36
Merge pull request #163 from craigbarrau/patch-1
Fixed docs from referencing an old file that does not exist in this repo
2018-11-28 12:02:36 +01:00
Kam Low
af8f5efbd3
Merge pull request #170 from martinxxD/dev-fix-depreciated-warning
Fix deprecated $header-sizes warning
2018-11-28 12:01:49 +01:00
Kam Low
fe65455487
Merge pull request #171 from yyamano/issue-165
Resolve app dir path to fix #165.
2018-11-28 12:01:01 +01:00
Kam Low
d227ffd3f2
Merge pull request #169 from martinxxD/dev-update-dependencies
Update dependencies & fix tests
2018-11-28 12:00:21 +01:00
Yuji Yamano
916baec7a2 Resolve app dir path to fix #165. 2018-10-19 13:35:59 +09:00
Martin
ef946b73de Fix deprecated $header-sizes warning
This commit fixes the following warning:
```bash
Running "sass:scss" (sass) task
WARNING: Note, that $header-sizes has been replaced with $header-styles. $header-sizes still works, but it is going to be depreciated.
         on line 77 of app/vendor/foundation/scss/typography/_base.scss, in function `build_from_header-sizes`
         from line 91 of app/vendor/foundation/scss/typography/_base.scss
         from line 10 of app/vendor/foundation/scss/typography/_typography.scss
         from line 31 of app/vendor/foundation/scss/foundation.scss
         from line 7 of app/stylesheets/spectacle.scss
```
2018-10-16 07:15:39 -07:00
Martin
1237e04292 Update dependencies & fix tests
Updates in detail:
cheerio                   ^0.19.0  → ^1.0.0-rc.2
clarify                   ^1.0.5  →       ^2.1.0
foundation-sites          ^6.4.1  →  ^6.5.0-rc.4
grunt-contrib-clean       ^1.1.0  →       ^2.0.0
grunt-contrib-connect     ^1.0.2  →       ^2.0.0
grunt-contrib-cssmin      ^2.2.1  →       ^3.0.0
grunt-contrib-jshint      ^1.1.0  →       ^2.0.0
grunt-contrib-uglify      ^3.3.0  →       ^4.0.0
json-refs                 ^2.1.6  →      ^3.0.12
marked                    ^0.3.5  →       ^0.5.1
sync-request              ^4.1.0  →       ^6.0.0
tmp                       0.0.31  →       0.0.33
trace                     ^1.1.0  →       ^3.1.0
chai                      ^3.5.0  →       ^4.2.0
mocha                     ^3.5.3  →       ^5.2.0
bluebird                  ^3.4.7  →       ^3.5.2
grunt-compile-handlebars  ^2.0.0  →       ^2.0.2
grunt-sass                ^3.0.0  →       ^3.0.2
handlebars                ^4.0.5  →      ^4.0.12
highlight.js              ^9.1.0  →      ^9.13.0
js-yaml                   ^3.8.2  →      ^3.12.0
lodash                    ^4.2.1  →     ^4.17.11
node-sass                 ^4.9.0  →       ^4.9.4
2018-10-16 07:09:27 -07:00
Kam Low
b0c1a52223 Release 1.0.6 2018-09-20 00:24:12 +02:00
Kam Low
8026b600bf Update LICENCE 2018-09-20 00:23:17 +02:00
Craig Barr
325ba4aace
Fixed README that references an old file that does not exist in this repository
Changed to reference `cheese.yml`

To prevent the following undesirable outcome for anyone playing along at home
```
spectacle -d -l test/fixtures/cheese.png test/fixtures/cheese.json
fs.js:663
  return binding.open(pathModule.toNamespacedPath(path),
                 ^

Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/spectacle-docs/test/fixtures/cheese.json'
  at Object.fs.openSync (fs.js:663:18)
  at Object.fs.readFileSync (fs.js:568:33)
  at Object.fetchReference (/usr/local/lib/node_modules/spectacle-docs/app/lib/resolve-references.js:66:16)
  at loadData (/usr/local/lib/node_modules/spectacle-docs/index.js:55:76)
  at module.exports (/usr/local/lib/node_modules/spectacle-docs/index.js:59:70)
  at Object.<anonymous> (/usr/local/lib/node_modules/spectacle-docs/bin/spectacle.js:39:1)
  at Module._compile (module.js:660:30)
  at Object.Module._extensions..js (module.js:671:10)
  at Module.load (module.js:573:32)
  at tryModuleLoad (module.js:513:12)
  at Function.Module._load (module.js:505:3)
  at Function.Module.runMain (module.js:701:10)
  at startup (bootstrap_node.js:193:16)
  at bootstrap_node.js:617:3
```
2018-08-22 04:53:18 +10:00