494 Commits

Author SHA1 Message Date
Ran Benita 0a3ed5f2a1 1.15.0 v1.15.0 2025-10-15 22:50:39 +03:00
akcyp d4de0971b7 Support objects methods definitions 2025-10-15 22:47:56 +03:00
Ran Benita 15409b2dc9 Allow newer versions of commander dependency 2025-10-15 22:46:15 +03:00
Ran Benita 0bfad2bec2 ci: update image and action versions 2025-10-15 22:42:14 +03:00
Ran Benita fa961e1378 1.14.1 v1.14.1 2022-03-21 15:26:29 +02:00
Ran Benita 6e16b05bdb Fix command-line parsing with commander>=7.0.0 2022-03-21 15:23:09 +02:00
Ran Benita 951ac77f18 1.14.0 v1.14.0 2022-01-31 11:58:39 +02:00
Ran Benita d748a1ec39 Some style fixes 2022-01-31 11:54:35 +02:00
Newbie012 d4a04c05d0 Add try/catch without an argument test case 2022-01-31 11:53:12 +02:00
Eliya Cohen 2f825bca8a Skip createScope on catch without argument 2022-01-31 11:53:12 +02:00
Ran Benita 0b78a50589 Require latest versions of acorn 2022-01-31 11:14:01 +02:00
Ran Benita ba2e0175d4 tests: change deprecated coffee-script -> coffeescript 2022-01-31 11:06:37 +02:00
Ran Benita 8000f8a181 Allow newer commander versions 2022-01-31 11:01:33 +02:00
Ran Benita d0167c11f5 tests: verify that async-await is parsed 2020-12-04 21:09:50 +02:00
Ran Benita 3473f3c029 1.13.0 v1.13.0 2020-11-26 16:15:35 +02:00
Ran Benita dff099ba67 Change ci back to install for older npm versions 2020-11-26 16:15:01 +02:00
Ran Benita f5c9ca403d Remove travis 2020-11-26 16:12:52 +02:00
Ran Benita 8bf001237e Add github actions CI 2020-11-26 16:09:15 +02:00
Ran Benita 2fbefe2608 Update diff 4 -> 5 2020-11-26 15:22:53 +02:00
Ran Benita ae643ef526 Update commander 4 -> 6 2020-11-26 15:16:12 +02:00
Ran Benita 939dd5d91e Change default acorn ecmaVersion to "latest"
This way we don't need to update it every time.
2020-11-26 15:15:00 +02:00
Ran Benita 2d4499053a Update acorn 7 -> 8 2020-11-26 15:15:00 +02:00
Ran Benita b7da34a80d Auto-update package-lock.json to lockfileVersion 2 2020-11-26 15:14:47 +02:00
Ran Benita e31ffb58d8 Some npm auto-update of "bin" key in package.json 2020-11-26 15:14:40 +02:00
Ran Benita 578b2ecf42 1.12.0 v1.12.0 2020-03-10 23:29:46 +02:00
Ran Benita 23ae784f25 Don't crash on ES2018 object spread
For now they are not handled, just ignored.

Fixes #18.
2020-03-10 23:25:34 +02:00
Ran Benita 3f780a0bf5 Replace array.forEach with for (const ... of ..) 2020-03-10 23:06:21 +02:00
Ran Benita 59a74d0c53 Update dependencies 2020-03-10 22:47:07 +02:00
Ran Benita d1c6efa87d Update version in package-lock.json 2020-03-10 22:44:03 +02:00
Donny Mellstrom d1b1c3b64e Add newer Node.js versions to Travis CI build 2019-10-23 09:46:32 +03:00
Donny Mellstrom f4eec01f36 Remove unused functions, variables, & parameters; add missing semicolons 2019-10-22 09:50:45 +03:00
Ran Benita 954ccdf1d6 1.11.1
Forgot to bump the package.json.
v1.11.1
2019-09-03 23:48:06 +03:00
Ran Benita 1a6a1c5423 1.11.0 v1.11.0 2019-09-03 23:45:18 +03:00
Ran Benita 365240cd1e Switch from optimist to commander for argument parsing
It has no transitive dependencies, has TypeScript definitions and is
maintained. Sounds better.
2019-09-03 23:39:27 +03:00
Ran Benita 554ffce7b7 Update to acorn 7, bump ecmaVersion to 11, deprecate the dynamicImport option
acorn, with ecmaVersion set to 11, now support dynamic imports, so we
can drop the acorn-dynamic-import dependency, and just enable parsing
import()s unconditionally.
2019-09-03 22:47:38 +03:00
Ran Benita 9f109d92fc 1.10.0 v1.10.0 2019-06-22 22:17:13 +03:00
Alexander von Weiss c8544a2b77 Add arrow function support (#14)
Fixes #12
2019-06-22 22:07:28 +03:00
Ran Benita 4ecfe6b43a 1.9.0 v1.9.0 2019-01-25 13:48:23 +02:00
Filipe Costa 046971248e Support ES6 classes
- Annotated class
- Annotated expression class
- Annotated constructor
- Prologue directive on constructor

Originally authored by @nevcos (Filipe Costa <fcosta@fuze.com>) - closes #5.

Updated and improved by @FRSgit (kkkubas@o2.pl <pozdro1994elo>) - closes #13.

Fixes #4.
2019-01-25 13:43:32 +02:00
Ran Benita 5a22691c8d Update source-map 0.5 -> 0.6 2019-01-24 22:11:06 +02:00
Ran Benita 7ce681b9f6 Update acorn 5 -> 6 2019-01-24 21:52:20 +02:00
Ran Benita c726973aec 1.8.1 v1.8.1 2019-01-19 22:17:48 +02:00
Ran Benita 4efa6f52b7 1.8.0 v1.8.0 2019-01-19 22:12:57 +02:00
Ran Benita cde0550061 Update diff ^2.2.1 -> ^4.0.0 2019-01-19 22:02:19 +02:00
Ran Benita df45c87067 Remove find-line-column dependency 2019-01-19 21:59:12 +02:00
Ran Benita e6576d68e1 Remove stringmap dependency 2019-01-19 21:59:12 +02:00
Ran Benita 2eb135d7f6 Remove stringset dependency 2019-01-19 21:59:12 +02:00
Ran Benita 73b02df42c Remove alter dependency
The code is adapted from the package, but it's by the same author as
this package so copyright is the same.
2019-01-19 21:59:12 +02:00
Ran Benita e2a05a110a Remove stable dependency 2019-01-19 21:59:12 +02:00
Ran Benita b551cf173f Remove tryor dependency 2019-01-19 21:59:12 +02:00