From 9e4b3be8a149cea0d926c10abd0067d7ef311d27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 20:04:26 +0000 Subject: [PATCH 1/3] Bump typescript from 5.7.2 to 6.0.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.2 to 6.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.2...v6.0.2) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8020152..3a3873d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ibantools", - "version": "4.5.2", + "version": "4.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ibantools", - "version": "4.5.2", + "version": "4.5.3", "license": "MIT or MPL-2.0", "devDependencies": { "@eslint/eslintrc": "^3.3.5", @@ -25,7 +25,7 @@ "prettier": "^3.0.3", "requirejs": "^2.3.6", "typedoc": "^0.28.18", - "typescript": "^5.2" + "typescript": "^6.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2836,9 +2836,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", + "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 3ff3915..b013509 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "prettier": "^3.0.3", "requirejs": "^2.3.6", "typedoc": "^0.28.18", - "typescript": "^5.2" + "typescript": "^6.0" }, "resolutions": { "source-map": "^0.8.0-beta.0" From a6c83de986be0162b42ba50b6a5b96431ff4dcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sas=CC=8Ca=20Jovanic=CC=81?= Date: Thu, 9 Apr 2026 21:25:25 +0100 Subject: [PATCH 2/3] Fix typsescript upgrade --- package.json | 6 +++--- tsconfig.json | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b013509..3d84202 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ }, "scripts": { "build": "npm run build-node && npm run build-bower && npm run build-module", - "build-node": "rm -rf build && npx tsc src/*.ts --declaration --target es2017 --module commonjs --outDir ./build/", - "build-bower": "rm -rf dist && npx tsc src/*.ts --declaration --target es2017 --module amd --outDir ./dist/", - "build-module": "rm -rf jsnext && npx tsc src/*.ts --target es2017 --module es2020 --outDir ./jsnext/", + "build-node": "rm -rf build && npx tsc --declaration --target es2017 --module commonjs --outDir ./build/", + "build-bower": "rm -rf dist && npx tsc --declaration --target es2017 --module amd --outDir ./dist/", + "build-module": "rm -rf jsnext && npx tsc --target es2017 --module es2020 --outDir ./jsnext/", "test": "npm run build && mocha 'test/**/*.js'", "coverage": "npm run build && c8 mocha && c8 report --reporter=text-lcov > test.lcov", "lint": "eslint 'src/**/*.ts' 'test/**/*.js'", diff --git a/tsconfig.json b/tsconfig.json index 81a2fc2..dd08789 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,11 +8,13 @@ "removeComments": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "rootDir": ".", - "sourceMap": true, + "rootDir": "src/", + "sourceMap": false, "listFiles": true, "newLine": "LF", - "noEmitOnError": true + "noEmitOnError": true, + "removeComments": false, + "ignoreDeprecations": "6.0" }, "filesGlob": [ "./**/*.ts", From f93f7f8f44243080c26cd643ca1f00ee5e18759f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sas=CC=8Ca=20Jovanic=CC=81?= Date: Thu, 9 Apr 2026 21:40:02 +0100 Subject: [PATCH 3/3] Update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7085c1..30bfa8c 100755 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ $ npm install ibantools $ bower install ibantools ``` +Note that Bower package will not be generated any more after TypeScript 7 release. + ## Usage See [full documentation](http://simplify.github.io/ibantools) with examples on Github pages. @@ -112,4 +114,3 @@ This work is dual-licensed under MIT and MPL-2.0. You can choose between one of them if you use this work. `SPDX-License-Identifier: MIT OR MPL-2.0` -