From 8406bca3354399703d6fa7037613f212728b1dc5 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 13:18:13 +0100 Subject: [PATCH] chore(package): explicitly declare js module type --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index cba0d32..f370664 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "2.7.0", "description": "JSON parse with prototype poisoning protection", "main": "index.js", + "type": "commonjs", "types": "types/index.d.ts", "scripts": { "benchmark": "cd benchmarks && npm install && npm run all",