From 674a9395159af616ed6c03c2ee4e1f426ee9f4bf Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Fri, 13 Sep 2024 15:05:18 +0100 Subject: [PATCH] Switch to Node16 module resolution Change-type: patch --- package.json | 1 + tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a02494d..7616cb7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "pinejs-client-supertest", "version": "2.1.4", "description": "This module provides the nodejs interface for the pinejs API using request.", + "type": "commonjs", "main": "build/index.js", "types": "build/index.d.ts", "repository": { diff --git a/tsconfig.json b/tsconfig.json index 1ba9ac2..545d2b3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "module": "commonjs", + "module": "Node16", "outDir": "build", "noImplicitAny": true, "noUnusedParameters": true,