← Home

string-left-right

Looks up the first non-whitespace character to the left/right of a given index

6
Versions
MIT
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures gitHead linked

Maintainers

royston

Keywords

checkleftlooklookuplooprightseestringtextthetotraversaltraverse

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance publisher-changed AI (provenance): Transition to GitHub Actions CI/CD publishing with SLSA provenance; stable for this package. ai
phantom-deps phantom-dep:rfdc AI (phantom-deps): Declared dep referenced in config files; stable false positive. ai
phantom-deps phantom-dep:codsen-utils AI (phantom-deps): Declared dep referenced in config files; stable false positive. ai

Versions (showing 6 of 6)

Version Deps Published
6.1.3 2 / 0
6.1.0 2 / 0
6.0.32 2 / 0
6.0.31 2 / 0
6.0.30 2 / 0
6.0.21 2 / 0

v6.1.3

1 finding
INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v6.1.0

2 findings
HIGH Publisher changed: royston → GitHub Actions (on 2025-10-15) provenance

This version was published by a different npm account than previous versions on 2025-10-15. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v6.0.32

2 findings
HIGH Publisher changed: royston → GitHub Actions (on 2025-10-12) provenance

This version was published by a different npm account than previous versions on 2025-10-12. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v6.0.31

2 findings
HIGH Publisher changed: royston → GitHub Actions (on 2025-10-08) provenance

This version was published by a different npm account than previous versions on 2025-10-08. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v6.0.30

2 findings
HIGH Publisher changed: royston → GitHub Actions (on 2025-10-07) provenance

This version was published by a different npm account than previous versions on 2025-10-07. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v6.0.21

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.