Commons is a small JavaScript library that provides simple shared functions used across the Sinon end user libraries. It emphasizes pure functions with no side effects, and follows Sinon.JS compatibility and formatting conventions.
Project status
- The repo appears effectively dormant, with the most recent upstream push on 2024-06-16 and the latest listed updates from 2024-01-20, which is more than 2 years ago relative to 2026-08-12.
- Update cadence looks bursty rather than regular, with no updates evident between 2022-11-28 (v3.0.0) and early 2024 (v3.0.1 and v4.0.0-alpha.0), and nothing shown after 2024-06-16.
AI summary generated
Recent updates
v4.0.0-alpha.0
v4.0.0-alpha.0 makes a major module-system shift from CommonJS source files to an ESM-first codebase, then bundles dual outputs into dist for both ESM and CJS consumers. It also modernizes test tooling (c8 instead of nyc) and updates CI to newer GitHub Actions and Node setup. No publisher release notes were provided in the input, so the following findings are based on the actual code diff.
BreakingFeaturesv3.0.1
Release v3.0.1 makes a small runtime behavior adjustment related to how `className()` derives display names, removing legacy IE11-specific fallback logic. It also updates a large set of development dependencies in the lockfile, while the public runtime surface appears largely unchanged.
v3.0.0
Release v3.0.0 was published on 2022-11-28, but the publisher did not include any release notes. No developer-impacting changes (features, fixes, breaking changes, security, performance, or migration guidance) can be extracted from the provided information.
v1.8.6
No release notes were provided for v1.8.6. The code diff shows a small change focused on ES5 compatibility in the deprecated message helper, along with version metadata updates.
v2.0.0
Release v2.0.0 contains essentially a single functional code change plus version bookkeeping. The only substantive implementation difference is in how prototype methods are filtered when copying from one object to another.
v1.8.5
Version v1.8.5 makes a small internal compatibility fix. Specifically, it replaces use of Array.prototype.includes with indexOf in a prototype-copying helper to restore ES5 compatibility for consumers.
v1.8.4
Release v1.8.4 contains mostly internal changes related to how prototype methods are copied and safely handled in environments where accessing __proto__ can throw. It also updates the repository's development tooling (CI, linting, formatting, and devDependencies). The provided release notes are effectively empty, so the functional change that fixes __proto__ access errors is not explicitly documented there.
v1.8.3
Release v1.8.3 does not include provided release notes. The diff shows no changes to the library's runtime logic, and the updates are primarily tooling and CI configuration, plus a small transitive dependency bump (y18n).
v1.8.2
v1.8.2 appears to primarily add TypeScript declaration (.d.ts) generation and packaging support, by introducing a tsc-based build step that compiles declarations from the existing JSDoc. The only runtime code edits in the diff look limited to ESLint comment changes, while the rest of the changes are packaging, tooling, and configuration updates.
Featuresv1.8.1
Release v1.8.1 was published on 2020-07-17, but the publisher did not provide any release notes or change log content. As a result, the specific functionality, API, or dependency changes introduced in this version cannot be determined from the provided material.