From 41bc8bb952d3574abd1dc80df87e29d6791afa13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20R=C3=A4ntil=C3=A4?= Date: Sun, 21 Mar 2021 21:22:13 +0100 Subject: [PATCH] feat(nodejs): require >= 12 --- package.json | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a70e45a..e5a2664 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "types": "./dist/index.d.ts", "directories": {}, "engines": { - "node": ">=10" + "node": ">=12" }, "files": [ "dist" diff --git a/tsconfig.json b/tsconfig.json index 538de15..305b9c3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,13 @@ "allowJs": false, "declaration": true, "sourceMap": true, - "lib": [ "ES2017" ], + "lib": [ "ES2019" ], "types": [ "node", "jest" ], "outDir": "dist", - "target": "ES2017", + "target": "ES2019", "module": "CommonJS", "moduleResolution": "node", "noImplicitAny": true,