Henry Mercer
d7474f91dc
Merge branch 'main' into henrymercer/diagnostics-verify-one-based
2023-04-26 17:26:36 +01:00
Asger F
799d92b218
TS: Fix self-reference check for alias types
2023-04-26 11:44:56 +02:00
Asger F
c3c3faa4b5
JS: Alias references are not always safe to expand
2023-04-25 11:27:40 +02:00
Asger F
3694ed5ed6
JS: Deduplicate union/intersection members
2023-04-25 11:27:40 +02:00
Asger F
cab76507e7
JS: Recognize type vars on anonymous function types
2023-04-25 11:27:40 +02:00
Henry Mercer
3d1da8a45d
JS: Update message when the file is not located in the source root
2023-04-24 21:08:00 +01:00
Henry Mercer
927522c563
JS: Only populate diagnostic locations within the source root
2023-04-24 20:53:42 +01:00
Arthur Baars
dcca0e0c6c
JavaScript: switch to shared YamlPopulator
2023-04-19 08:34:38 +02:00
erik-krogh
fe5e4845b1
use 1-based column locations for diagnostics
2023-04-12 08:14:15 +02:00
Asger F
d702c7b990
Merge pull request #12759 from asgerf/js/getset-in-pattern
...
JS: Fix parsing of 'get' or 'set' pattern with a default value
2023-04-11 14:03:00 +02:00
Henry Mercer
e1b3807dfc
Merge remote-tracking branch 'origin/rc/3.9' into henrymercer/merge-back-3.9
2023-04-05 14:57:57 +01:00
Asger F
621e2e71c8
JS: Don't try to parse "get=" as a method prop
2023-04-04 16:37:28 +02:00
Asger F
eb8046daef
JS: Add trap test showing parse error
2023-04-04 16:33:13 +02:00
erik-krogh
0b4f239ab5
only set the file in the diagnostics message if the file is within the source root
2023-04-03 13:49:29 +01:00
erik-krogh
4b3a419509
just use quoteWithBackticks
2023-03-28 15:23:15 +02:00
erik-krogh
70dfa6e15c
use StringUtil.quoteWithBackticks instead of manually quoting with a single backtick
2023-03-28 12:34:44 +02:00
erik-krogh
e5e20ab42c
add backticks around the concrete parse error
2023-03-28 10:57:13 +02:00
Henry Mercer
9d05d94f49
Merge pull request #12568 from github/rc/3.9
...
Merge `rc/3.9` back to `main`
2023-03-17 12:14:31 +00:00
erik-krogh
f1094cd3d6
bump to stable release
2023-03-16 22:38:54 +01:00
erik-krogh
f3c7aed1f9
bump to RC
2023-03-16 22:37:58 +01:00
erik-krogh
e00c41c6e2
add change-note and bump version
2023-03-16 22:37:56 +01:00
erik-krogh
d47659b48e
upgrade to TypeScript 5.0 beta, and unbreak things that broke
2023-03-16 22:37:35 +01:00
Henry Mercer
74cc1a42d0
JS: Update for renamed com.semmle.util.diagnostics package
2023-03-16 18:19:10 +00:00
Arthur Baars
fbe9823a42
Merge branch 'main' into henrymercer/polish-diagnostics
2023-03-14 23:42:33 +01:00
Henry Mercer
1394abcf98
JS: Update diagnostics IDs for consistency with rules
2023-03-14 21:44:19 +00:00
Henry Mercer
1f63c5d5e4
JS: Update parse error diagnostic name for consistency
2023-03-14 21:43:32 +00:00
Asger F
feb7c49006
Merge pull request #12382 from asgerf/js/import-assertion
...
JS: Support import assertions
2023-03-14 14:56:32 +01:00
Asger F
d74da30fc7
JS: Include trap test for trailing commas
2023-03-14 13:15:12 +01:00
Arthur Baars
1a70297662
JS: fix NPE
2023-03-10 12:52:41 +01:00
Arthur Baars
7ab0f88f78
JS: add link to docs to parse error diagnostic
2023-03-08 16:47:43 +01:00
Arthur Baars
51599b3cae
Address review comments
2023-03-06 18:40:29 +01:00
Asger F
1264029282
JS: Bump extractor version string
2023-03-03 12:21:20 +01:00
Asger F
7a55b003d2
JS: Fix location of assert clause
2023-03-03 12:21:20 +01:00
Asger F
38194c6ae7
JS: Extract import assertions to DB
2023-03-03 12:21:20 +01:00
Asger F
f454151e7a
JS: Convert TypeScript import assertions
2023-03-03 12:21:20 +01:00
Asger F
3af085afcb
JS: Drive-by allow trailing commas in dynamic imports
2023-03-03 12:21:20 +01:00
Asger F
8d9060f1f9
JS: Store in the Java AST
2023-03-03 12:21:03 +01:00
Asger F
c715de2a10
JS: parse import assertions without storing in AST
2023-03-03 12:21:03 +01:00
Asger F
5fdc293d82
JS: Add trap test for import assertions
2023-03-03 12:21:03 +01:00
erik-krogh
fc9e63275f
only print a constant when catching an OOM
2023-03-02 22:14:29 +01:00
Erik Krogh Kristensen
094a2b0c46
Apply suggestions from code review
...
Co-authored-by: Asger F <asgerf@github.com >
2023-03-02 22:14:17 +01:00
erik-krogh
88810420b1
add location to the parse-error diagnostics
2023-03-02 14:54:58 +01:00
erik-krogh
c460eae2e1
implement diagnostics
2023-03-02 14:54:54 +01:00
Asger F
b6ec9464eb
JS: Remove trailing whitespace
2023-03-01 15:29:51 +01:00
erik-krogh
505168f24b
fix upper-case .html.erb files
2023-02-27 17:19:43 +01:00
erik-krogh
271cc6b961
remove lefterover debug comment
2023-02-17 09:50:22 +01:00
erik-krogh
25a8469586
update expected output, now that .html.erb files are actually extracted
2023-02-15 10:28:05 +01:00
erik-krogh
710e79b2d5
bump extractor version
2023-02-15 10:26:00 +01:00
erik-krogh
f9b3a5b5e6
actually extract .html.erb files
2023-02-15 10:26:00 +01:00
Henning Makholm
3e85e9f7d9
remove com.semmle.util.data.Option from from extractor code interface II
...
com.semmle.util.data.Option is going away. Switch the single
cross-repo call that mentions it to use the new Option-less overload
that was introduced in semmle-code PR 44626.
2022-12-16 19:03:20 +01:00