erik-krogh
6289ae329b
fix a race-condition
2022-12-01 15:27:41 +01:00
erik-krogh
cddc9db690
change back to the old order of extracting externs before Xml
2022-11-30 15:46:46 +01:00
erik-krogh
de5ffd5cfa
bump extractor version
2022-11-29 21:32:43 +01:00
Erik Krogh Kristensen
d0cf709d2e
use proper path construction
...
Co-authored-by: Asger F <asgerf@github.com >
2022-11-29 21:30:50 +01:00
erik-krogh
63a5f8965e
fix tests
2022-11-29 14:08:21 +01:00
erik-krogh
136b6db2ad
only delete the src/ folder if it was empty
2022-11-29 13:42:27 +01:00
erik-krogh
f3f7a89ef8
make the JS autobuilder consistent with Ruby when no JS code was detected
2022-11-29 13:42:27 +01:00
erik-krogh
8cb68b79c1
bump extractor version
2022-11-15 22:09:09 +01:00
erik-krogh
75ef5b1b0b
add support for satisfies-expressions
2022-11-15 22:07:24 +01:00
erik-krogh
cec5045b52
Merge branch 'main' into erb
2022-11-15 17:16:05 +01:00
Asger F
2bcf9b86cf
JS: Bump extractor version string
2022-11-14 15:09:50 +01:00
Asger F
b028d72d51
JS: Handle DynamicImport in the context of a type
2022-11-14 15:07:59 +01:00
erik-krogh
676327d9e4
Merge branch 'main' into erb
2022-11-10 15:39:58 +01:00
erik-krogh
012fb28e25
only extract .html.erb files instead of all .erb files
2022-11-10 15:38:51 +01:00
erik-krogh
ad7fc34efd
extract .erb files as html
2022-11-09 12:43:19 +01:00
Asger F
fef922e417
JS: Bump extractor version string
2022-11-08 11:44:40 +01:00
Asger F
92e8f059c8
JS: Avoid emitting column zero in yaml files
2022-11-08 11:38:26 +01:00
erik-krogh
ccae0933c7
try to parse JS files without using the supported extensions
2022-09-19 12:20:20 +02:00
erik-krogh
56292cad26
don't modify the TypeScript nodes, instead forward illegalDecorators to the java extractor
2022-08-29 13:22:04 +02:00
erik-krogh
e0ff27331f
bump extractor version
2022-08-29 12:14:58 +02:00
erik-krogh
b7367ca649
update to TypeScript 4.8RC
2022-08-29 12:14:55 +02:00
erik-krogh
e7f009e879
support top-level for await statements
2022-08-11 09:53:32 +02:00
Edoardo Pirovano
5c3d39579a
JS: Change how TRAP cache is configured
2022-08-08 10:25:50 +01:00
Asger F
c8b2be616f
JS: Bump extractor version string
2022-06-27 13:52:44 +02:00
Asger F
c082578688
JS: Always sniff file type of TypeScript files
2022-06-27 13:48:00 +02:00
Asger F
15278fe94f
JS: Remove debug println
2022-06-17 14:57:03 +02:00
Asger F
6a4b3a190d
JS: Bump extractor version
2022-06-17 14:40:22 +02:00
Asger F
608de70568
JS: Associate symbols with external module decls
2022-06-17 14:40:22 +02:00
Asger F
c188aa87c7
Merge branch 'main' into js/madman-prep
2022-05-30 15:03:14 +02:00
Asger F
ec55c84abf
JS: Whitespace fixes in ASTExtractor
2022-05-24 14:30:36 +02:00
Asger F
d7e3e9e5db
JS: Fix extraction of identifiers in EXPORT_BASE context
...
This is needed to ensure that the base of the RHS of an ImportEqualsDeclaration is bound to a namespace. That is, B below should be bound to a namespace:
import A = B.C.D;
2022-05-24 14:30:36 +02:00
Asger F
2e858db848
JS: Declare variables from ambient declarations
...
fixup
2022-05-24 14:30:36 +02:00
Stephan Brandauer
813fbf27de
support for .mts and .cts file extensions
2022-05-20 13:33:52 +02:00
Stephan Brandauer
67697e1066
update meta information and release note for typescript 4.7 upgrade
2022-05-19 15:45:27 +02:00
Erik Krogh Kristensen
4c58f9781b
add support for TypeScript 4.6
2022-03-01 09:56:21 +01:00
Asger Feldthaus
3e6389cad6
JS: Bump extractor version string
2021-12-17 10:32:00 +01:00
Asger Feldthaus
61cc84ba69
JS: Recognize leading/trailing ~ and & in mustache-tags
2021-12-17 10:31:50 +01:00
Asger Feldthaus
ce68a6d1c5
JS: Remove unneeded qualifier in static field access
2021-12-17 10:31:50 +01:00
Erik Krogh Kristensen
73f2f52ed8
use the TYPE_ONLY_IMPORT context
2021-12-01 14:54:16 +01:00
Erik Krogh Kristensen
19bbe6d276
add JavaScript support for new private fields syntax
2021-11-29 13:51:25 +01:00
Erik Krogh Kristensen
d946802057
add support for type-only import specifiers
2021-11-29 13:49:10 +01:00
Erik Krogh Kristensen
9ce248c829
update to TypeScript 4.5.2
2021-11-29 13:49:10 +01:00
Erik Krogh Kristensen
2163648b39
fix location off-by-ones with regexp parsing
2021-11-15 13:43:39 +01:00
Erik Krogh Kristensen
80919e39a2
Merge branch 'main' into extractBigReg
2021-11-12 11:45:49 +01:00
Erik Krogh Kristensen
98da532c46
dont extract regular expressions from strings that are leaves in a string concat
2021-11-10 14:11:48 +01:00
Asger F
0c6680b2c0
Revert "JS: Skip files with unsupported file encoding"
2021-11-09 09:07:54 +00:00
Erik Krogh Kristensen
f01ee5914b
add a docstring, and rename rawString -> foldedString
2021-11-03 14:19:31 +01:00
Erik Krogh Kristensen
7b0ebd3f1a
use the context to determine whether or not a node is an operand of a binop
2021-11-03 14:09:44 +01:00
Erik Krogh Kristensen
737c747dbb
early exit if string becomes too big
2021-11-03 13:28:03 +01:00
Erik Krogh Kristensen
1ba6f448cd
compute concatenated string and offset at the same time
2021-11-03 13:26:19 +01:00