is-plain-obj is a small utility that checks whether a JavaScript value is a plain object. It returns true for objects created with {}, new Object(), or Object.create(null), and false for arrays and other non-plain types.
Project status
- The source shows no recent changes since the last upstream push on 2024-05-04, and the most recent published update noted here is v4.1.0 from 2022-06-15, so it does not look actively active in the latest window based on the provided evidence.
- Apparent update cadence is relatively infrequent, with major changes in 2020 (v3.0.0), 2021 (v4.0.0), and a follow-up in 2022 (v4.1.0), suggesting maintenance rather than rapid iteration.
AI summary generated Today
Recent updates
v4.1.0
6/15/2022Release v4.1.0 focuses on performance and improving plain object detection when values come from different JavaScript realms (for example, objects created in a different VM context). The code change also tightens what qualifies as a plain object by adding extra symbol-based exclusions.
Featuresv4.0.0
4/16/2021v4.0.0 makes the package pure ESM and raises the minimum supported Node.js version to 12. The implementation is now a default-exported ESM function instead of a CommonJS `module.exports` export.
Breakingv3.0.0
10/12/2020v3.0.0 primarily enforces a newer Node.js baseline and makes the TypeScript type definitions more strict. Most code changes are around the published typings, with minor test and tooling/CI adjustments.
Breaking