CodeQL CI
|
722b1a24f6
|
Merge pull request #4087 from erik-krogh/thisJsx
Approved by asgerf
|
2020-08-25 10:20:32 +01:00 |
|
Erik Krogh Kristensen
|
b0d4e79653
|
split out trap tests to avoid "package.json" naming conflict in trap test
|
2020-08-24 21:36:34 +02:00 |
|
Erik Krogh Kristensen
|
309346841a
|
Merge branch 'main' into packType
|
2020-08-24 12:44:24 +02:00 |
|
Erik Krogh Kristensen
|
5acfd92e0f
|
bump the extractor version
|
2020-08-24 12:42:19 +02:00 |
|
Erik Krogh Kristensen
|
d633410e3c
|
make the extractor not crash on invalid "package.json" files
|
2020-08-24 12:42:08 +02:00 |
|
Erik Krogh Kristensen
|
1b655f9046
|
use threadsafe cache stored in ExtractorState
|
2020-08-21 14:45:24 +02:00 |
|
Erik Krogh Kristensen
|
7aca84cd45
|
search directly for "package.json" instead of iterating through the files in a folder
|
2020-08-21 14:31:49 +02:00 |
|
Erik Krogh Kristensen
|
3f0f2c796c
|
pass extension instead of locationManager to isAlways*Module
|
2020-08-21 14:27:47 +02:00 |
|
Erik Krogh Kristensen
|
cef681d009
|
bump extractor version (again)
|
2020-08-20 15:58:44 +02:00 |
|
Erik Krogh Kristensen
|
68f7942820
|
Merge branch 'main' into noBin
|
2020-08-20 15:58:15 +02:00 |
|
Erik Krogh Kristensen
|
372e1a3d84
|
support the "type" field on package.json files while extracting
|
2020-08-20 14:26:15 +02:00 |
|
Erik Krogh Kristensen
|
bf88c81f78
|
bump extractor version
|
2020-08-20 12:57:48 +02:00 |
|
Erik Krogh Kristensen
|
a347569385
|
inline StandardCharsets.UTF_8
|
2020-08-20 12:57:05 +02:00 |
|
Erik Krogh Kristensen
|
410ef8fe0e
|
exit early if the default encoding is not UTF-8
|
2020-08-20 12:50:43 +02:00 |
|
Erik Krogh Kristensen
|
3d5c1560e4
|
basic support for .cjs files
|
2020-08-19 10:53:57 +02:00 |
|
Erik Krogh Kristensen
|
246d9b8c70
|
update expected trap files
|
2020-08-18 12:51:36 +02:00 |
|
Erik Krogh Kristensen
|
03cb95c82b
|
bump extractor version
|
2020-08-18 11:20:04 +02:00 |
|
Erik Krogh Kristensen
|
d1b3963e2d
|
correctly treat ES2015 modules as being in strict-mode in the extractor
|
2020-08-18 10:13:20 +02:00 |
|
Erik Krogh Kristensen
|
61d4648893
|
update expected output of trap test
|
2020-08-17 22:53:16 +02:00 |
|
Erik Krogh Kristensen
|
c28889225a
|
skip binary files when extracting JavaScript
|
2020-08-17 15:21:15 +02:00 |
|
Erik Krogh Kristensen
|
6f28ddf1f8
|
proper support for this inside a JSX-name
|
2020-08-17 14:23:42 +02:00 |
|
Erik Krogh Kristensen
|
2c7bb8c51f
|
adjust error message when files have been found while extracting
|
2020-08-13 11:18:27 +02:00 |
|
Asger Feldthaus
|
7a2c65f638
|
JS: Fix virtual source root in AutoBuildTest
|
2020-06-30 09:25:06 +01:00 |
|
Asger Feldthaus
|
3938856e61
|
JS: Make this work in qltest
|
2020-06-29 13:42:55 +01:00 |
|
Asger Feldthaus
|
1a16d7339a
|
JS: Set SourceType correctly
|
2020-06-29 13:42:22 +01:00 |
|
Asger Feldthaus
|
e46a9dac65
|
JS: Count lines of code correctly
|
2020-06-29 09:59:17 +01:00 |
|
Asger Feldthaus
|
9c65318f99
|
JS: Extract TypeScript in HTML files to a snippet in virtual source root
|
2020-06-29 09:59:17 +01:00 |
|
Asger Feldthaus
|
da58fb5e62
|
JS: Resolve relative imports across real and virtual source roots
|
2020-06-29 09:44:48 +01:00 |
|
Asger Feldthaus
|
d3b9ebe1d2
|
JS: Perform glob matching across source roots
|
2020-06-29 09:44:48 +01:00 |
|
Asger Feldthaus
|
1297d0f414
|
JS: Extract HTML before TypeScript
|
2020-06-29 09:44:48 +01:00 |
|
Asger Feldthaus
|
2c1567aedd
|
JS: Don't extract TypeScript from HTML
|
2020-06-29 09:44:48 +01:00 |
|
Asger Feldthaus
|
805deb13c0
|
JS: Fix whitespace
|
2020-06-29 09:44:45 +01:00 |
|
Asger Feldthaus
|
8632c2a3b2
|
JS: Factor out VirtualSourceRoot
|
2020-06-29 08:18:29 +01:00 |
|
Asger Feldthaus
|
bfedcb01c4
|
JS: Make TypeScript aware of custom extractor extensions
|
2020-06-29 08:16:58 +01:00 |
|
Asger Feldthaus
|
d55e3300f3
|
JS: Bundle FileExtractors into a class
|
2020-06-29 08:16:58 +01:00 |
|
Asger Feldthaus
|
ea6b99e726
|
JS: Add shouldExtract predicate
|
2020-06-29 08:16:58 +01:00 |
|
Asger Feldthaus
|
164a18f02d
|
JS: Factor out extractFiles
|
2020-06-29 08:16:05 +01:00 |
|
Asger Feldthaus
|
da3d1a3b5f
|
JS: Recognize 'lang' attribute of script tags
|
2020-06-29 08:15:52 +01:00 |
|
Asger Feldthaus
|
e28284bd01
|
JS: Fix javadoc
|
2020-06-25 15:39:00 +01:00 |
|
Asger Feldthaus
|
ad48c4e54d
|
JS: Always prepare package.json files
|
2020-06-25 15:38:20 +01:00 |
|
Asger Feldthaus
|
675c64d9d4
|
JS: Prefer extracting file with tsconfig that included it
|
2020-06-25 15:38:19 +01:00 |
|
Asger Feldthaus
|
4c4acd50bd
|
JS: Factor out loading of tsconfig files
|
2020-06-25 15:38:19 +01:00 |
|
Asger Feldthaus
|
cc3e62f535
|
JS: Move stack trace limit to top of file
|
2020-06-25 15:38:19 +01:00 |
|
Asger Feldthaus
|
cf78475799
|
JS: Only extract included files with a given tsconfig
|
2020-06-25 15:38:19 +01:00 |
|
Asger Feldthaus
|
6ff81377d5
|
JS: Also sort files in legacy extractor
|
2020-06-25 15:38:18 +01:00 |
|
Asger Feldthaus
|
6d15397fdc
|
JS: Ensure we never write outside the scratch dir
|
2020-06-25 15:38:18 +01:00 |
|
Asger Feldthaus
|
ba5d6bb2e9
|
JS: Actually set fields
|
2020-06-25 15:38:18 +01:00 |
|
Asger Feldthaus
|
dceb211021
|
JS: Pass source root to Node.js process
|
2020-06-25 15:38:18 +01:00 |
|
Asger Feldthaus
|
aaf141782f
|
JS: Fix source root
|
2020-06-25 15:38:17 +01:00 |
|
Asger Feldthaus
|
cb0a2498b0
|
JS: Sort files
|
2020-06-25 15:38:17 +01:00 |
|