From 4955609d27dbcf7095265886660ff73cf4aef6af Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Wed, 28 Feb 2024 12:25:09 +0000 Subject: [PATCH] project: Remove usage and dependency tslib. It was only used with the spread operator in the tests files, so it's fine to embed the lib code instead of depending on tslib as a peer dependency. --- package-lock.json | 4 ---- package.json | 7 ++----- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 516fce0..b20d619 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,6 @@ "rollup-plugin-sourcemaps": "^0.6.3", "shx": "^0.3.4", "ts-jest": "^29.1.2", - "tslib": "^2.6.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-config-standard": "^9.0.0", @@ -40,9 +39,6 @@ "node": ">=8.5", "npm": ">=9.0", "yarn": "^1.0" - }, - "peerDependencies": { - "tslib": ">=1.11.1" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 1bee562..2b911ba 100644 --- a/package.json +++ b/package.json @@ -46,10 +46,8 @@ "lint:fix": "npm run lint -- --fix", "docs": "typedoc --options config/typedoc.json" }, - "peerDependencies": { - "tslib": ">=2.0.0" - }, "dependencies": {}, + "peerDependencies": {}, "devDependencies": { "@babel/core": "^7.23.9", "@babel/polyfill": "^7.12.1", @@ -69,7 +67,6 @@ "rollup-plugin-sourcemaps": "^0.6.3", "shx": "^0.3.4", "ts-jest": "^29.1.2", - "tslib": "^2.6.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-config-standard": "^9.0.0", @@ -78,4 +75,4 @@ "typedoc-neo-theme": "^1.1.1", "typescript": "^4.9.5" } -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index 4597973..b37696f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ "outDir": "dist/esm5", "resolveJsonModule": true, "useUnknownInCatchVariables": false, - "importHelpers": true + "importHelpers": false }, "include": [ "./src"