Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
update devDependencies; remove mjs.
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Mar 23, 2020
1 parent 6a198fd commit f2a8668
Show file tree
Hide file tree
Showing 8 changed files with 743 additions and 971 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2019 thunks
Copyright (c) 2014-2020 thunks

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -721,7 +721,7 @@ So pay attention to that. **We can't return a non-thunkable function** in thunk.
## License

thunks is licensed under the [MIT](https://github.com/thunks/thunks/blob/master/LICENSE) license.
Copyright © 2014-2019 thunks.
Copyright © 2014-2020 thunks.

[npm-url]: https://npmjs.org/package/thunks
[npm-image]: http://img.shields.io/npm/v/thunks.svg
Expand Down
21 changes: 0 additions & 21 deletions examples/async_await.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion examples/function-error.js
Expand Up @@ -11,7 +11,7 @@ thunk(function (a, b) {})(function (err) {
console.log(2, err) // 2 [Error: Not thunkable function: function (a, b) {}]
})

thunk(function () { let callback = arguments[0]; callback() })(function (err) {
thunk(function () { const callback = arguments[0]; callback() })(function (err) {
console.log(3, err) // 3 [Error: Not thunkable function: function () { let callback = arguments[0]; callback() }]
})

Expand Down
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -393,8 +393,8 @@
}

thunks.NAME = 'thunks'
thunks.VERSION = '4.9.4'
thunks['default'] = thunks
thunks.VERSION = '4.9.6'
thunks.default = thunks
thunks.Scope = Scope
thunks.thunk = thunks()
thunks.promise = thunks.thunk.promise
Expand Down

0 comments on commit f2a8668

Please sign in to comment.