diff --git a/package-lock.json b/package-lock.json index 9cf0598..af1b651 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@types/node-fetch": "^2.5.8", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", - "@vercel/ncc": "^0.33.4", + "@vercel/ncc": "^0.34.0", "ava": "^5.1.0", "eslint": "^7.5.0", "eslint-config-prettier": "^6.11.0", @@ -654,9 +654,9 @@ } }, "node_modules/@vercel/ncc": { - "version": "0.33.4", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", - "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.34.0.tgz", + "integrity": "sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==", "dev": true, "bin": { "ncc": "dist/ncc/cli.js" @@ -4162,9 +4162,9 @@ } }, "@vercel/ncc": { - "version": "0.33.4", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", - "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.34.0.tgz", + "integrity": "sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index ba6311a..5d8ef02 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@types/node-fetch": "^2.5.8", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", - "@vercel/ncc": "^0.33.4", + "@vercel/ncc": "^0.34.0", "ava": "^5.1.0", "eslint": "^7.5.0", "eslint-config-prettier": "^6.11.0", @@ -43,4 +43,4 @@ "compile": false } } -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index ea5ff78..d90c637 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,11 @@ "compilerOptions": { "outDir": "./lib", "rootDir": "./src", - "module": "commonjs", - "target": "esnext", - "lib": ["es2015", "es2017", "es2020.string"], + "module": "node16", + "target": "es2021", + "lib": [ + "es2021" + ], "strict": true, "esModuleInterop": true, "skipLibCheck": true, @@ -12,8 +14,13 @@ "noUnusedParameters": true, "noImplicitAny": true, "removeComments": false, - "preserveConstEnums": true + "preserveConstEnums": true, + "moduleResolution": "node" }, - "include": ["src/**/*.ts"], - "exclude": ["node_modules"], -} + "include": [ + "src/**/*.ts" + ], + "exclude": [ + "node_modules" + ], +} \ No newline at end of file