@trustpayments/js-payments-card 2.2.1079 → 2.2.1081

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -15
package/README.md CHANGED
@@ -29,7 +29,7 @@ Then open address `https://localhost:8443` in your web browser.
29
29
 
30
30
  ##### QA:
31
31
 
32
- - [Jest](https://jestjs.io/) for unit testing
32
+ - [vitest](https://vitest.dev/) for unit testing
33
33
 
34
34
  ## Distribution
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustpayments/js-payments-card",
3
- "version": "2.2.1079",
3
+ "version": "2.2.1081",
4
4
  "description": "TypeScript Payment Card",
5
5
  "author": "Trust Payments <support@trustpayments.com>",
6
6
  "homepage": "https://docs.trustpayments.com",
@@ -59,8 +59,9 @@
59
59
  "dev": "vite",
60
60
  "preview": "vite preview",
61
61
  "prod": "npm run build:prod",
62
- "test": "jest --watchAll",
63
- "coverage": "jest --coverage",
62
+ "test": "vitest --watch",
63
+ "test:run": "vitest run",
64
+ "coverage": "vitest run --coverage",
64
65
  "lint": "npx eslint ./src",
65
66
  "lint:fix": "npx eslint --fix ./src",
66
67
  "typescript:check": "npx tsc --noEmit -p tsconfig.json",
@@ -71,32 +72,28 @@
71
72
  "devDependencies": {
72
73
  "@eslint/js": "9.39.4",
73
74
  "@stylistic/stylelint-plugin": "4.0.1",
74
- "@types/jest": "30.0.0",
75
- "@typescript-eslint/eslint-plugin": "8.59.0",
76
- "@typescript-eslint/parser": "8.59.0",
75
+ "@typescript-eslint/eslint-plugin": "8.59.1",
76
+ "@typescript-eslint/parser": "8.59.1",
77
77
  "@vitejs/plugin-basic-ssl": "2.3.0",
78
+ "@vitest/coverage-v8": "4.1.5",
79
+ "@vitest/eslint-plugin": "1.6.16",
78
80
  "better-npm-audit": "3.11.0",
79
81
  "eslint-config-prettier": "10.1.8",
80
82
  "eslint-plugin-compat": "7.0.1",
81
83
  "eslint-plugin-import": "2.32.0",
82
- "eslint-plugin-jest": "29.15.2",
83
84
  "eslint-plugin-prettier": "5.5.5",
84
85
  "eslint-plugin-unused-imports": "4.4.1",
85
- "jest": "30.3.0",
86
- "jest-each": "30.3.0",
87
- "jest-environment-jsdom": "30.3.0",
88
- "jest-fetch-mock": "3.0.3",
89
86
  "prettier": "3.8.3",
90
87
  "sass": "1.99.0",
91
88
  "stylelint": "16.26.1",
92
89
  "stylelint-scss": "6.14.0",
93
- "ts-jest": "29.4.9",
94
90
  "typescript": "5.9.3",
95
- "typescript-eslint": "8.59.0",
91
+ "typescript-eslint": "8.59.1",
96
92
  "vite": "8.0.8",
97
93
  "vite-plugin-css-injected-by-js": "5.0.0",
98
94
  "vite-plugin-dts": "4.5.4",
99
- "vite-plugin-html": "3.2.2"
95
+ "vite-plugin-html": "3.2.2",
96
+ "vitest": "4.1.5"
100
97
  },
101
98
  "dependencies": {
102
99
  "@babel/runtime": "7.29.2",
@@ -104,5 +101,5 @@
104
101
  "@trustpayments/ts-luhn-check": "2.0.610",
105
102
  "core-js": "3.49.0"
106
103
  },
107
- "gitHead": "beeff50e36e98267c7f0aee1806ca5e72bb0157a"
104
+ "gitHead": "380acdedc14ac94e940bb233cb5c62f15a9cec88"
108
105
  }