From 2f87c3cf6974606fe6a389b7ccf20ec2fb64370a Mon Sep 17 00:00:00 2001 From: sirius Date: Mon, 4 Dec 2023 18:36:46 +0800 Subject: [PATCH] update target to es2015 --- package-lock.json | 12 ++++++------ package.json | 4 ++-- tsconfig.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51df940..8c16b8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@unipackage/ddd", - "version": "0.1.3", + "version": "0.1.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unipackage/ddd", - "version": "0.1.3", + "version": "0.1.4", "license": "MIT", "dependencies": { "@types/lodash": "^4.14.199", "@types/node": "20.6.2", - "@unipackage/utils": "^0.1.4", + "@unipackage/utils": "^0.1.5", "fp-ts": "^2.16.1", "immutable": "^5.0.0-beta.4" }, @@ -30,9 +30,9 @@ "integrity": "sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==" }, "node_modules/@unipackage/utils": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@unipackage/utils/-/utils-0.1.4.tgz", - "integrity": "sha512-/gC+AaVwAvEodHCMnS5EP5sxLBnHYFRsS7zTOmBYDOL7S99aXlZkR6PM2dlUgOcVdIgW1F6GkhhFBj1CKJK1xA==", + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@unipackage/utils/-/utils-0.1.5.tgz", + "integrity": "sha512-BPb7xhtqdr+1e8iiyH+imw1tPQ2e9iB7cZAGx7zavI7ivWvaR8mu2n1uEMl9HHSHZHAMM6KNyaWItSsTNZB24w==", "dependencies": { "@types/lodash": "^4.14.199", "@types/node": "20.6.2", diff --git a/package.json b/package.json index a9a569f..54c4315 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "build": "rm -rf ./dist;npx tsc", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 0" }, "repository": { "type": "git", @@ -26,7 +26,7 @@ "dependencies": { "@types/lodash": "^4.14.199", "@types/node": "20.6.2", - "@unipackage/utils": "^0.1.4", + "@unipackage/utils": "^0.1.5", "fp-ts": "^2.16.1", "immutable": "^5.0.0-beta.4" }, diff --git a/tsconfig.json b/tsconfig.json index ce86b87..e9c3d13 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "outDir": "./dist", "declaration": true, - "target": "es5", + "target": "ES2015", "strict": true, "forceConsistentCasingInFileNames": true, "esModuleInterop": true,