ibantools 4.5.0 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ibantools",
3
- "version": "4.5.0",
3
+ "version": "4.5.2",
4
4
  "description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list",
5
5
  "keywords": [
6
6
  "IBAN",
@@ -13,7 +13,8 @@
13
13
  "sideEffects": false,
14
14
  "homepage": "https://github.com/Simplify/ibantools",
15
15
  "bugs": "https://github.com/Simplify/ibantools/issues",
16
- "main": "build/ibantools.js",
16
+ "main": "jsnext/ibantools.js",
17
+ "type": "module",
17
18
  "module": "jsnext/ibantools.js",
18
19
  "jspm": {
19
20
  "main": "jsnext/ibantools.js",
@@ -38,16 +39,15 @@
38
39
  },
39
40
  "scripts": {
40
41
  "build": "npm run build-node && npm run build-bower && npm run build-module",
41
- "build-node": "rm -rf build && npx tsc src/*.ts --declaration --target es5 --module commonjs --outDir ./build/",
42
- "build-bower": "rm -rf dist && npx tsc src/*.ts --declaration --target es5 --module amd --outDir ./dist/",
43
- "build-module": "rm -rf jsnext && npx tsc src/*.ts --target es5 --module es2015 --outDir ./jsnext/",
42
+ "build-node": "rm -rf build && npx tsc src/*.ts --declaration --target es2017 --module commonjs --outDir ./build/",
43
+ "build-bower": "rm -rf dist && npx tsc src/*.ts --declaration --target es2017 --module amd --outDir ./dist/",
44
+ "build-module": "rm -rf jsnext && npx tsc src/*.ts --target es2017 --module es2020 --outDir ./jsnext/",
44
45
  "test": "npm run build && mocha 'test/**/*.js'",
45
- "karma": "karma start --single-run",
46
- "coverage": "nyc mocha && nyc report --reporter=text-lcov > test.lcov",
46
+ "coverage": "npm run build && c8 mocha && c8 report --reporter=text-lcov > test.lcov",
47
47
  "lint": "eslint 'src/**/*.ts' 'test/**/*.js'",
48
48
  "prepare": "npm run build-node",
49
49
  "docs": "typedoc src/ibantools.ts",
50
- "all": "npm run test && npm run lint && npm run karma && npm run docs"
50
+ "all": "npm run test && npm run lint && npm run docs"
51
51
  },
52
52
  "author": {
53
53
  "name": "Saša Jovanić",
@@ -55,25 +55,22 @@
55
55
  },
56
56
  "license": "MIT or MPL-2.0",
57
57
  "devDependencies": {
58
- "@typescript-eslint/eslint-plugin": "^7.0.0",
59
- "@typescript-eslint/parser": "^6.0.0",
60
- "chai": "^4.3.4",
61
- "coveralls-next": "^4.2.0",
58
+ "@eslint/eslintrc": "^3.3.5",
59
+ "@eslint/js": "^10.0.1",
60
+ "@typescript-eslint/eslint-plugin": "^8.58",
61
+ "@typescript-eslint/parser": "^8.58",
62
+ "c8": "^10.1.2",
63
+ "chai": "^5.0.10",
64
+ "coveralls-next": "^6.0.1",
62
65
  "docdash": "^2.0.0",
63
- "eslint": "^8.0.0",
66
+ "eslint": "^10.0.0",
64
67
  "eslint-config-prettier": "^9.0.0",
65
68
  "eslint-plugin-prettier": "^5.0.0",
66
- "jasmine-core": "^5.0.0",
67
- "karma": "^6.3.4",
68
- "karma-chrome-launcher": "^3.1",
69
- "karma-jasmine": "^5.0",
70
- "karma-requirejs": "^1.1",
71
- "mocha": "^10.0.0",
69
+ "mocha": "^11.0.1",
72
70
  "mocha-lcov-reporter": "^1.2.0",
73
- "nyc": "^15.1.0",
74
71
  "prettier": "^3.0.3",
75
72
  "requirejs": "^2.3.6",
76
- "typedoc": "^0.25.1",
73
+ "typedoc": "^0.27.2",
77
74
  "typescript": "^5.2"
78
75
  },
79
76
  "resolutions": {