Jakob Ackermann
25205ab967
[misc] prepare for monorepo
...
- add git ignore entries
- sync/create package-lock.json
- delete .nvmrc
2021-07-27 16:35:23 +01:00
dependabot[bot]
3d38d900c3
Bump hosted-git-info from 2.8.8 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 10:27:11 +01:00
dependabot[bot]
67f8d430aa
Bump lodash from 4.17.19 to 4.17.21 ( #21 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 12:21:40 +01:00
dependabot[bot]
e1b06cbfa3
Bump handlebars from 4.7.6 to 4.7.7 ( #20 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 12:21:28 +01:00
dependabot[bot]
9203e26d99
Bump y18n from 4.0.0 to 4.0.1
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 04:45:14 +01:00
John Lees-Miller
354fd3c3a6
Bump version to 3.3.1
2021-01-26 12:10:25 +00:00
Alasdair Smith
5f1297548f
Install core-js to fix issue with compiled module ( #18 )
...
Since Babel is configured to inject core-js built-ins where needed, we
must also install the core-js package.
2021-01-26 12:06:28 +00:00
John Lees-Miller
3a392fd8c1
Bump version to 3.3.0
2021-01-25 19:45:24 +00:00
Alasdair Smith
1e1d493556
Add corejs config to allow polyfilling of Symbol for IE11 ( #17 )
2021-01-22 12:12:07 +00:00
Alasdair Smith
f1ed04cc58
Transpile with Babel to ES5 ( #16 )
2021-01-22 10:29:31 +00:00
Jakob Ackermann
96b585544a
[misc] version bump to 3.2.0
...
- [OError] getFullInfo returns the error context of nested causes (#14 )
2020-12-02 12:32:41 +00:00
Jakob Ackermann
a5e5d9b1cd
[OError] getFullInfo returns the error context of nested causes ( #14 )
...
* [OError] add getFullInfoIncludeCause for retrieving nested cause info
* Revert "[OError] add getFullInfoIncludeCause for retrieving nested cause info"
This reverts commit 4c7517255a0f37ba94223e559a3926f19bab618d
* [OError] getFullInfo returns the error context of nested causes
* [OError] getFullInfo flip sequence of merging, add test case for it
2020-12-02 11:44:17 +00:00
John Lees-Miller
9b739f1c7d
Bump version to 3.1.0
2020-09-25 16:10:12 +01:00
John Lees-Miller
258cc08717
Add a limit on the number of tags, OError.maxTags ( #13 )
...
* Add OError.maxTags
* Tidy up package scripts and add a build script
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
2020-09-17 15:17:44 +01:00
John Lees-Miller
ea2d76de51
Improve tagging for a (maybe) null error ( #12 )
...
* Document a way of handling an error that might be null
* Make typecheck strict
* Test some edge cases
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-09-11 10:05:54 +01:00
dependabot[bot]
2c088b3d20
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 17:09:14 +00:00
John Lees-Miller
6cc03cad0c
Add coverage
2020-05-15 17:18:01 +01:00
John Lees-Miller
c9d9982615
Update package.json metadata
2020-05-15 16:50:37 +01:00
John Lees-Miller
d2f47e69a8
Bump version to 3.0.0
2020-05-15 11:25:12 +01:00
John Lees-Miller
fd6ea2bb70
Add typescript types
2020-05-15 11:24:14 +01:00
John Lees-Miller
497f2a7936
Make tag check stricter and use a map
2020-05-15 11:07:08 +01:00
John Lees-Miller
4b0060f0b1
Remove HTTPErrors from v3
2020-05-15 10:45:08 +01:00
John Lees-Miller
90494fd75f
Fix demo require path
2020-05-15 10:36:00 +01:00
John Lees-Miller
8af22ae878
Improve assertion messages in test utility
2020-05-15 10:32:18 +01:00
John Lees-Miller
c44054a31b
Add cast for the fake TaggedError
2020-05-05 09:06:15 +01:00
John Lees-Miller
fc197630be
Avoid capturing stack trace twice
...
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
2020-05-05 09:02:11 +01:00
John Lees-Miller
6078aa963d
Add typecheck to CI
2020-04-30 10:29:23 +01:00
John Lees-Miller
f6eb185f84
Update README for v3
2020-04-30 10:29:23 +01:00
John Lees-Miller
09cd72d51c
Rework to favor tagging over wrapping
2020-04-29 21:08:58 +01:00
John Lees-Miller
1a38f4e4ff
Add typescript for type checking
2020-04-29 21:03:41 +01:00
John Lees-Miller
c46075aaab
Make constructor take only message and info
2020-04-17 15:45:08 +01:00
John Lees-Miller
c000bdc43c
Add standard and fix complaints
2020-04-17 10:59:27 +01:00
John Lees-Miller
4b903626b4
Apply linting rules
2020-04-17 09:14:35 +01:00
John Lees-Miller
f80753fe40
Add linting and formatting
2020-04-17 09:14:35 +01:00
John Lees-Miller
113c2cc5ec
Add CI badge
2020-04-17 09:13:04 +01:00
John Lees-Miller
ad6b25e2c1
Add .circleci/config.yml
2020-04-17 09:10:47 +01:00
John Lees-Miller
59156ec89e
Fix incorrect expect
2020-01-27 10:45:31 +00:00
John Lees-Miller
f0d59bc192
Bump lodash version
2019-07-30 09:34:49 +01:00
Tim Alby
9229c9b3a9
add common HTTP errors
2019-07-29 18:25:31 +02:00
John Lees-Miller
0dd8b124bd
Remove private from package.json
2019-07-08 13:24:03 +01:00
John Lees-Miller
bc224b43c9
Add repository to package.json
2019-07-08 13:22:49 +01:00
John Lees-Miller
79804a8e2f
Remove unreachable code
2019-07-08 11:57:28 +01:00
John Lees-Miller
9725b1bf0c
Bump to 2.0.0
2019-07-08 11:52:59 +01:00
John Lees-Miller
96ab30883a
Remove ES5 interface
2019-07-08 11:52:59 +01:00
John Lees-Miller
bdde7fac65
Move shrinkwrap to package-lock
2019-07-08 11:46:11 +01:00
John Lees-Miller
295a603ca5
Update readme for @overleaf/o-error
2019-07-08 11:45:41 +01:00
John Lees-Miller
970dcb4e8e
Update metadata for publishing
2019-07-08 11:35:29 +01:00
Tim Alby
d63812c557
update tests
2019-07-05 18:55:53 +02:00
Tim Alby
9afd8e4e5d
change exports
2019-07-05 18:45:43 +02:00
Tim Alby
626e6267ae
update README with OError naming
2019-07-05 15:50:58 +02:00