GitShow/Rich-Harris/is-reference
Rich-Harris

is-reference

Determine whether an AST node is a reference

by Rich-Harris
Star on GitHubForknpm

JavaScript

25 stars10 forks6 contributorsQuiet · 5mo agoSince 2016

Meet the team

See all 6 on GitHub →
Rich-Harris
Rich-Harris34 contributions
lukastaegert
lukastaegert5 contributions
MattiasBuelens
MattiasBuelens4 contributions
Ocean-OS
Ocean-OS2 contributions
ChristianMurphy
ChristianMurphy1 contribution
tanhauhau
tanhauhau1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 7 in progress · Last activity 5mo ago
See all on GitHub →
purajit
target es2020, since the package now uses optional chainingOpenPR

This change introduced optional chaining syntax, which is only available from ES2020[1] Right now, pre-es2020 projects can still resolve to , and fail. [1] https://262.ecma-international.org/11.0/index.html#prod-OptionalChain

purajit · 1y ago
benmccann
docs: type declaration improvementsOpenPR

closes https://github.com/Rich-Harris/is-reference/issues/15 I was trying to ramp up on the Svelte codebase and noticed that some docs for this type would have helped me

benmccann · 1y ago
benmccann
Update package.jsonOpenPR

is ignored so can be removed is gives better error messages than if you use it wrong

benmccann · 2y ago

Recent fixes

View closed PRs →
Ocean-OS
Fix: Check for `MetaProperty`s (eg `import.meta`)MergedPR

Fixes #20. Now, the in will return because it is not a reference. This adds tests for s as well.

Ocean-OS · 1y ago
Ocean-OS
Is-Reference does not work with MetaProperty nodes (`import.meta.*`)ClosedIssue

When parsing statements, is-reference does not check for MetaProperty nodes, and assumes that is a reference. Here's an example in the Svelte REPL.

Ocean-OS · 1y ago
Structured data for AI agents

Repository: Rich-Harris/is-reference. Description: Determine whether an AST node is a reference Stars: 25, Forks: 10. Primary language: JavaScript. Languages: JavaScript (100%). Open PRs: 7, open issues: 2. Last activity: 5mo ago. Community health: 28%. Top contributors: Rich-Harris, lukastaegert, MattiasBuelens, Ocean-OS, ChristianMurphy, tanhauhau.

·@ofershap

Replace github.com with gitshow.dev