diff --git a/package.json b/package.json index 7adab44..bb10fee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cordis", "description": "AOP Framework for Modern JavaScript Applications", - "version": "3.0.3", + "version": "3.2.0", "sideEffects": false, "main": "lib/index.cjs", "module": "lib/index.mjs", @@ -21,8 +21,8 @@ "src" ], "scripts": { - "compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --target=es2019", - "compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --sources-content=false --platform=neutral --external:cosmokit --target=esnext", + "compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --target=es2022", + "compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --sources-content=false --platform=neutral --external:cosmokit --target=es2022", "build": "yarn compile:cjs && yarn compile:esm && yarn dtsc", "test": "mocha -r esbuild-register tests/*.spec.ts", "test:text": "shx rm -rf coverage && c8 -r text yarn test", @@ -30,20 +30,20 @@ "test:html": "shx rm -rf coverage && c8 -r html yarn test" }, "devDependencies": { - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", + "@types/chai": "^4.3.9", + "@types/chai-as-promised": "^7.1.7", "@types/mocha": "^9.1.1", - "@types/node": "^20.4.2", + "@types/node": "^20.8.9", "c8": "^7.14.0", - "chai": "^4.3.7", + "chai": "^4.3.10", "chai-as-promised": "^7.1.1", "dtsc": "^2.3.0", - "esbuild": "^0.18.14", - "esbuild-register": "^3.4.2", + "esbuild": "^0.18.20", + "esbuild-register": "^3.5.0", "jest-mock": "^28.1.3", "mocha": "^9.2.2", "shx": "^0.3.4", - "typescript": "^5.1.6" + "typescript": "^5.2.2" }, "dependencies": { "cosmokit": "^1.5.1"