Skip to content

Commit f30cf9e

Browse files
committed
rename GitHub references: fs-opensource -> futurestudio
1 parent 93793dd commit f30cf9e

File tree

4 files changed

+37
-31
lines changed

4 files changed

+37
-31
lines changed

CHANGELOG.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## Version [3.2.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.2.0...v3.2.1) (2019-01-22)
3+
## Version [3.2.2](https://github.com/futurestudio/hapi-dev-errors/compare/v3.2.1...v3.2.2) (2019-01-26)
4+
5+
### Updated
6+
- Readme: rename GitHub references `futurestudio -> futurestudio`
7+
8+
9+
## Version [3.2.1](https://github.com/futurestudio/hapi-dev-errors/compare/v3.2.0...v3.2.1) (2019-01-22)
410

511
### Updated
612
- use `request.path` over `request.url.path` to support hapi 18
@@ -13,21 +19,21 @@
1319
- update tests to use `it` over `test`
1420

1521

16-
## Version [3.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.1.0...v3.2.0) (2018-10-10)
17-
- `add` new option [`links`](https://github.com/fs-opensource/hapi-dev-errors#plugin-registration-options) which represents an array of callback functions to render helpful links. By default, `hapi-dev-errors` renders linked SVG icons for Google and Stack Overflow to search for help based on the error message
22+
## Version [3.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.1.0...v3.2.0) (2018-10-10)
23+
- `add` new option [`links`](https://github.com/futurestudio/hapi-dev-errors#plugin-registration-options) which represents an array of callback functions to render helpful links. By default, `hapi-dev-errors` renders linked SVG icons for Google and Stack Overflow to search for help based on the error message
1824

1925

20-
## Version [3.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.0.1...v3.1.0) (2018-09-28)
26+
## Version [3.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.0.1...v3.1.0) (2018-09-28)
2127
- `add` pass `request` to custom view: this allows you to access every request property
2228
- `add` pass `error` to custom view: this allows you to access every response property
23-
- `add` tests to verify plugin functionality for failed response validations (thank you [venikman](https://github.com/fs-opensource/hapi-dev-errors/pull/6))
29+
- `add` tests to verify plugin functionality for failed response validations (thank you [venikman](https://github.com/futurestudio/hapi-dev-errors/pull/6))
2430
- `update` dependencies
2531

26-
## Version [3.0.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v3.0.0...v3.0.1) (2018-08-21)
32+
## Version [3.0.1](https://github.com/futurestudio/hapi-dev-errors/compare/v3.0.0...v3.0.1) (2018-08-21)
2733
- `update` readme: quick navigation and logo size fix for small screens
2834

2935

30-
## Version [3.0.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.3.0...v3.0.0) (2018-07-17)
36+
## Version [3.0.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.3.0...v3.0.0) (2018-07-17)
3137
- `add` Youch error view as the default error view
3238
- `add` Insomnia REST client to list of REST clients
3339
- `add` register plugin only once by activating the hapi plugin’s `once: true` attribute
@@ -43,60 +49,60 @@ The most important breaking change is the removed `useYouch` option. Upgrading t
4349
If you used the default error view before, you’ll now see the Youch error details instead. You’ll like it :)
4450

4551

46-
## Version [2.3.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.2.0...v2.3.0) (2018-07-12)
52+
## Version [2.3.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.2.0...v2.3.0) (2018-07-12)
4753
- `add` new plugin option: `toTerminal`, default: `true`
4854
- `add` pretty error details in the terminal besides the web view. Based on [`youch-terminal`](https://github.com/poppinss/youch-terminal)
4955
- `update` minor code reformats and restructuring
5056

5157

52-
## Version [2.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.1.0...v2.2.0) (2018-06-02)
58+
## Version [2.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.1.0...v2.2.0) (2018-06-02)
5359
- `add` JSON response for CLI requests (cURL, Postman, wget) (thank you @pi0)
5460

5561

56-
## Version [2.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.1...v2.1.0) (2018-02-12)
62+
## Version [2.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.1...v2.1.0) (2018-02-12)
5763
- `add` status code to Youch error and show it in the view
5864
- `update` example code in readme to async/await
5965
- `update` examples to fully async/await code
6066

6167

62-
## Version [2.0.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.0...v2.0.1) (2017-11-06)
68+
## Version [2.0.1](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.0...v2.0.1) (2017-11-06)
6369
- `update` dependencies to latest stable releases
6470
- `update` readme
6571

6672

67-
## Version [2.0.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v2.0.0-rc.1...v2.0.0) (2017-11-06)
73+
## Version [2.0.0](https://github.com/futurestudio/hapi-dev-errors/compare/v2.0.0-rc.1...v2.0.0) (2017-11-06)
6874
- `update` readme: requirements and examples
6975

7076

71-
## Version [2.0.0-rc.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.2...v2.0.0-rc.1) (2017-10-27)
77+
## Version [2.0.0-rc.1](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.2...v2.0.0-rc.1) (2017-10-27)
7278
- `update` code to support hapi v17
7379
- `update` dependencies to newest versions
7480

7581

76-
## Version [1.3.2](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.1...v1.3.2) (2017-10-18)
82+
## Version [1.3.2](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.1...v1.3.2) (2017-10-18)
7783
- `update` code formatting to ESLint styling for hapi, based on `eslint-config-hapi`
7884
- `add` Handlebars as devDependency for template example
7985

8086

81-
## Version [1.3.1](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.3.0...v1.3.1) (2017-10-17)
87+
## Version [1.3.1](https://github.com/futurestudio/hapi-dev-errors/compare/v1.3.0...v1.3.1) (2017-10-17)
8288
- `remove` editor config for code formatting (`.editorconfig` file)
8389
- `add` eslint configuration via `.eslintrc.json`
8490
- `add` required engine in `package.json`: `>=4.0.0`. This package required Node.js v4+ with release 1.0. This setting makes sure that NPM follows this dependency.
8591

8692

87-
## Version [1.3.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.2.0...v1.3.0) (2017-10-12)
93+
## Version [1.3.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.2.0...v1.3.0) (2017-10-12)
8894
- `add` handling of promise rejections, like `reply(Promise.reject(new Error('')))` (Thank you [Tafari](https://github.com/tafarij))
8995

9096

91-
## Version [1.2.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.1.0...v1.2.0) (2017-08-18)
97+
## Version [1.2.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.1.0...v1.2.0) (2017-08-18)
9298
- `add` new option `useYouch` (boolean) to delegate the error handling to Youch and use its view
9399
- `add` preview of Youch’s error view in the readme introduction
94100
- `add` examples for the default, Youch and custom templates. Located within the `examples` directory
95101
- `update` preview of default error view to show updated layout
96102
- `update` highlight JS files in stacktrace (via RegEx) on default layout
97103

98104

99-
## Version [1.1.0](https://github.com/fs-opensource/hapi-dev-errors/compare/v1.0.0...v1.1.0) (2017-06-14)
105+
## Version [1.1.0](https://github.com/futurestudio/hapi-dev-errors/compare/v1.0.0...v1.1.0) (2017-06-14)
100106
- `optimize` plugin registration: abort early if `showErrors` is false, don’t get the template from filesystem and don’t hook the the request lifecycle extension point
101107

102108

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<img width="471" style="max-width:100%;" src="https://github.com/fs-opensource/hapi-dev-errors/blob/master/media/hapi-dev-errors.png?raw=true" alt="hapi-dev-errors logo">
2+
<img width="471" style="max-width:100%;" src="https://github.com/futurestudio/hapi-dev-errors/blob/master/media/hapi-dev-errors.png?raw=true" alt="hapi-dev-errors logo">
33
<br/>
44
<br/>
55
<p>
@@ -14,10 +14,10 @@
1414
<br/>
1515
<br/>
1616
<p>
17-
<a href="https://travis-ci.org/fs-opensource/hapi-dev-errors"><img src="https://camo.githubusercontent.com/9f56ef242c6f588f74f39f0bd61c1acd34d853af/68747470733a2f2f7472617669732d63692e6f72672f66732d6f70656e736f757263652f686170692d67656f2d6c6f636174652e7376673f6272616e63683d6d6173746572" alt="Build Status" data-canonical-src="https://travis-ci.org/fs-opensource/hapi-dev-errors.svg?branch=master" style="max-width:100%;"></a>
18-
<a href="https://snyk.io/test/github/fs-opensource/hapi-dev-errors"><img src="https://snyk.io/test/github/fs-opensource/hapi-dev-errors/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/fs-opensource/hapi-dev-errors" style="max-width:100%;"></a>
17+
<a href="https://travis-ci.org/futurestudio/hapi-dev-errors"><img src="https://camo.githubusercontent.com/9f56ef242c6f588f74f39f0bd61c1acd34d853af/68747470733a2f2f7472617669732d63692e6f72672f66732d6f70656e736f757263652f686170692d67656f2d6c6f636174652e7376673f6272616e63683d6d6173746572" alt="Build Status" data-canonical-src="https://travis-ci.org/futurestudio/hapi-dev-errors.svg?branch=master" style="max-width:100%;"></a>
18+
<a href="https://snyk.io/test/github/futurestudio/hapi-dev-errors"><img src="https://snyk.io/test/github/futurestudio/hapi-dev-errors/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/futurestudio/hapi-dev-errors" style="max-width:100%;"></a>
1919
<a href="https://www.npmjs.com/package/hapi-dev-errors"><img src="https://img.shields.io/npm/v/hapi-dev-errors.svg" alt="hapi-dev-errors Version" data-canonical-src="https://img.shields.io/npm/v/hapi-dev-errors.svg" style="max-width:100%;"></a>
20-
<a href="https://greenkeeper.io/" rel="nofollow"><img src="https://camo.githubusercontent.com/dfb11cc7fc0b1600f0ba93236eff58bb592b8500/68747470733a2f2f6261646765732e677265656e6b65657065722e696f2f66732d6f70656e736f757263652f686170692d6465762d6572726f72732e737667" alt="Greenkeeper badge" data-canonical-src="https://badges.greenkeeper.io/fs-opensource/hapi-dev-errors.svg" style="max-width:100%;"></a>
20+
<a href="https://greenkeeper.io/" rel="nofollow"><img src="https://camo.githubusercontent.com/dfb11cc7fc0b1600f0ba93236eff58bb592b8500/68747470733a2f2f6261646765732e677265656e6b65657065722e696f2f66732d6f70656e736f757263652f686170692d6465762d6572726f72732e737667" alt="Greenkeeper badge" data-canonical-src="https://badges.greenkeeper.io/futurestudio/hapi-dev-errors.svg" style="max-width:100%;"></a>
2121
</p>
2222
<p>
2323
<em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> for updates!</em>
@@ -41,7 +41,7 @@ A hapi plugin to return an error view for web requests, providing more details o
4141

4242
`hapi-dev-errors` seamlessly integrates [Youch](https://github.com/poppinss/youch) to show the error details.
4343

44-
Besides the web view, `hapi-dev-errors` prints pretty error details to the terminal. This is nice when running your hapi server as an API. Printing error details to the console is enabled by default. To disable the terminal error, use the [`toTerminal: false` option](https://github.com/fs-opensource/hapi-dev-errors#plugin-registration-options).
44+
Besides the web view, `hapi-dev-errors` prints pretty error details to the terminal. This is nice when running your hapi server as an API. Printing error details to the console is enabled by default. To disable the terminal error, use the [`toTerminal: false` option](https://github.com/futurestudio/hapi-dev-errors#plugin-registration-options).
4545

4646
![hapi-dev-errors pretty terminal error](media/hapi-dev-errors-on-terminal.png)
4747

@@ -75,7 +75,7 @@ npm i -S hapi-dev-errors@1.3.2
7575

7676

7777
## Examples
78-
Check out the [examples](https://github.com/fs-opensource/hapi-dev-errors/tree/master/examples) directory and get
78+
Check out the [examples](https://github.com/futurestudio/hapi-dev-errors/tree/master/examples) directory and get
7979
an impression on how to configure `hapi-dev-errors` with the individual plugins options and how to customize the
8080
error view.
8181

@@ -115,7 +115,7 @@ await server.register({
115115
toTerminal: true,
116116
links: [ (error) => {
117117
return `
118-
<a href="https://github.com/fs-opensource/hapi-dev-errors/search?q=${error.message}">
118+
<a href="https://github.com/futurestudio/hapi-dev-errors/search?q=${error.message}">
119119
Search hapi-dev-errors on GitHub
120120
</a>`
121121
}
@@ -148,7 +148,7 @@ Available properties to use in your custom error view:
148148

149149
## Feature Requests
150150
Do you miss a feature? Please don’t hesitate to
151-
[create an issue](https://github.com/fs-opensource/hapi-dev-errors/issues) with a short description of your
151+
[create an issue](https://github.com/futurestudio/hapi-dev-errors/issues) with a short description of your
152152
desired addition to this plugin.
153153

154154

@@ -175,5 +175,5 @@ MIT © [Future Studio](https://futurestud.io)
175175
---
176176

177177
> [futurestud.io](https://futurestud.io) &nbsp;&middot;&nbsp;
178-
> GitHub [@fs-opensource](https://github.com/fs-opensource/) &nbsp;&middot;&nbsp;
178+
> GitHub [@futurestudio](https://github.com/futurestudio/) &nbsp;&middot;&nbsp;
179179
> Twitter [@futurestud_io](https://twitter.com/futurestud_io)

examples/with-links.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async function launchIt () {
1212
toTerminal: false,
1313
links: [
1414
(error) => {
15-
return `<a rel="noopener noreferrer" target="_blank" href="https://github.com/fs-opensource/hapi-dev-errors/search?q=${error.message}">
15+
return `<a rel="noopener noreferrer" target="_blank" href="https://github.com/futurestudio/hapi-dev-errors/search?q=${error.message}">
1616
Search hapi-dev-errors on GitHub
1717
</a>`
1818
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.2.1",
55
"author": "Future Studio <info@futurestud.io>",
66
"bugs": {
7-
"url": "https://github.com/fs-opensource/hapi-dev-errors/issues"
7+
"url": "https://github.com/futurestudio/hapi-dev-errors/issues"
88
},
99
"dependencies": {
1010
"youch": "~2.0.10",
@@ -29,7 +29,7 @@
2929
"engines": {
3030
"node": ">=8"
3131
},
32-
"homepage": "https://github.com/fs-opensource/hapi-dev-errors#readme",
32+
"homepage": "https://github.com/futurestudio/hapi-dev-errors#readme",
3333
"keywords": [
3434
"hapi",
3535
"hapijs",
@@ -43,7 +43,7 @@
4343
"main": "lib/index.js",
4444
"repository": {
4545
"type": "git",
46-
"url": "git+https://github.com/fs-opensource/hapi-dev-errors.git"
46+
"url": "git+https://github.com/futurestudio/hapi-dev-errors.git"
4747
},
4848
"scripts": {
4949
"test": "lab --assert code --leaks --coverage --lint",

0 commit comments

Comments
 (0)