Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ef2daaf

Browse files
fix: make library compatible with Node 8 (#587)
1 parent 3d2e0d8 commit ef2daaf

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

‎.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,15 @@
501501
"contributions": [
502502
"doc"
503503
]
504+
},
505+
{
506+
"login": "yoniholmes",
507+
"name": "Jonathan Holmes",
508+
"avatar_url": "https://avatars.githubusercontent.com/u/184589?v=4",
509+
"profile": "https://github.com/yoniholmes",
510+
"contributions": [
511+
"code"
512+
]
504513
}
505514
],
506515
"skipCi": true,

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
4343
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
4444

45-
4645
- [The problem](#the-problem)
4746
- [The solution](#the-solution)
4847
- [When to use this library](#when-to-use-this-library)
@@ -238,6 +237,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
238237
<td align="center"><a href="https://seanbaines.com/"><img src="https://avatars.githubusercontent.com/u/24367010?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sean Baines</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=mrseanbaines" title="Documentation">📖</a></td>
239238
<td align="center"><a href="https://www.linkedin.com/in/mike-vasin/"><img src="https://avatars.githubusercontent.com/u/12434833?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mikhail Vasin</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=mvasin" title="Documentation">📖</a></td>
240239
<td align="center"><a href="https://aleksandar.xyz"><img src="https://avatars.githubusercontent.com/u/7226555?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aleksandar Grbic</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=agjs" title="Documentation">📖</a></td>
240+
<td align="center"><a href="https://github.com/yoniholmes"><img src="https://avatars.githubusercontent.com/u/184589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jonathan Holmes</b></sub></a><br /><a href="https://github.com/testing-library/react-hooks-testing-library/commits?author=yoniholmes" title="Code">💻</a></td>
241241
</tr>
242242
</table>
243243

‎src/pure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function hasDependency(name: string) {
99
try {
1010
require(name)
1111
return true
12-
} catch {
12+
} catch (error){
1313
return false
1414
}
1515
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /