From 7c6b8865c082a5db758c8ae4a8432160b5581bd1 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Fri, 13 Feb 2026 15:12:02 +0000 Subject: [PATCH] feat: add `is-plain-obj` to micro utilities Just the same as other plain object packages. --- manifests/micro-utilities.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/micro-utilities.json b/manifests/micro-utilities.json index 6df5749b..545459b6 100644 --- a/manifests/micro-utilities.json +++ b/manifests/micro-utilities.json @@ -144,6 +144,12 @@ "replacement": "Use (n % 2) === 1", "category": "micro-utilities" }, + { + "type": "simple", + "moduleName": "is-plain-obj", + "replacement": "Use v && typeof v === \"object\" && (Object.getPrototypeOf(v) === null || Object.getPrototypeOf(v) === Object.prototype)", + "category": "micro-utilities" + }, { "type": "simple", "moduleName": "is-plain-object",