Back to Explore

inspect-js/is-string

GitHub
3 watchersOpen source

Last release:

Checks whether a given value is a JavaScript string, either as a primitive or as a String object. It is designed to work across realms like iframes, which helps when validating values in different execution contexts.

Project status

  • Maintenance status: The repository shows intermittent activity, with the latest listed published update being v1.1.1 on 2024-12-16. An upstream push on 2025-12-30 suggests continued work, but there is no evidence of additional published updates since v1.1.1. Overall, this looks like low-frequency maintenance, not rapid ongoing development.
  • Updates cadence: Historically, updates are rare (large gaps between older versions), and the most recent published update is about 9 months before today (2026-09-10). Cadence is therefore slow, with at most occasional changes.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.1.1

    This release is a small patch bump (v1.1.0 to v1.1.1) with internal dependency and implementation refactors. The only functional change visible in the diff is switching the internal implementation to require the `call-bound` package directly instead of using `call-bind/callBound`.

  • v1.1.0

    Version 1.1.0 introduces runtime hardening by switching `index.js` to use `call-bind` for bound intrinsic methods, and it adds a new `index.d.ts` TypeScript definition. The release notes section is empty, so the actual behavioral, API surface (types), and packaging changes below are not documented there.

    Features
  • v1.0.7

    Release v1.0.7 was published on 2021-08-06, but the publisher did not provide any release notes. As a result, there is no documented information here about new features, bug fixes, breaking changes, security updates, or migration steps.

  • v1.0.6

    v1.0.6 introduces primarily maintenance changes (CI migration to GitHub Actions, test runner updates, and packaging metadata). It also includes a small but potentially behavior-affecting runtime change in index.js related to how Symbol.toStringTag support is detected. No release notes were provided by the publisher for this version.

  • v1.0.5

    This release is v1.0.5, but the publisher provided no release notes. The code diff shows the runtime library implementation is effectively unchanged, while most changes are repository and developer workflow updates (linting, test layout, CI configuration, and security/audit tooling).

    Security
  • v1.0.4

    Release v1.0.4 updates the `is-string` implementation and bumps the package version. The main change is adding a runtime feature check for `Symbol.toStringTag` and altering the string-detection logic accordingly.

  • v1.0.3

    Release v1.0.3 makes a small internal refactor of the exported `is-string` function. The only documented change is a refactor intended to aid optimization of non-try/catch code, with no mention of API or behavioral changes.

  • v1.0.2

    Release v1.0.2 is a small packaging-focused update with no visible runtime code changes. The diff shows only CHANGELOG.md and package.json were modified.

  • v1.0.1

    This release (v1.0.1) makes a small runtime change to the module’s exported function, isString, by adding early returns based on typeof checks. It also bumps some dev dependency versions and adjusts an ESLint rule severity.

    Breaking
  • v1.0.0

    Release v1.0.0 was published on 2015-01-29, but the publisher did not provide any release notes. Because no change log details are included, there is not enough information to identify new features, fixes, security updates, or migration requirements from the provided data.