8000 Tags · google/tsec · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v0.2.10

Toggle v0.2.10's commit message
Keep "typsecript" dependency under 7.0.0

TS 7.0 reimplemented the compiler in GO, eliminating all compiler hooks tsec currently depends on. Ping the TS dependency below 7.0.0 to avoid breakage.

PiperOrigin-RevId: 1029021843
Change-Id: Iaa56cded57a98bdd8ee86b029080dd68edfded18

tsec-v0.2.10

Toggle tsec-v0.2.10's commit message
Add `Checker.hasSourceFileMatching(pattern)` (TypeScript) and

`Checker.HasSourceFileMatching(pattern)` (Go), which report whether any source
file path in the program (with or without its file extension) matches `pattern`.

Use this check during rule registration in `ban-wiz-element` (both
`ban_wiz_element.ts` and `ban_wiz_element.go`) to skip registering its
`Identifier` AST visitor when the program contains no source file matching the
rule's target module path.

Previously, `ban-wiz-element` visited every `Identifier` node in every compiled
file and queried the type checker to resolve symbols, even in programs that
never load the target factory module.

PiperOrigin-RevId: 1029346833
Change-Id: I89ceac89e9ca36485a8b31d2e5bb272f4e71ecba

v0.1.1

Toggle v0.1.1's commit message
Fix broken scripts & bump version to 0.1.1.

PiperOrigin-RevId: 352584071
Change-Id: Ia164ca109cf62d9770530b8e95db2dcfb1753800

archive/master

Toggle archive/master's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #16 from googleinterns/upstream

Merge from upstream
0