@adyen/adyen-web 5.31.3 → 5.32.0

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.
@@ -1,6 +1,5 @@
1
1
  import IssuerListContainer from '../helpers/IssuerListContainer';
2
2
  declare class OnlineBankingPL extends IssuerListContainer {
3
3
  static type: string;
4
- formatProps(props: any): any;
5
4
  }
6
5
  export default OnlineBankingPL;
@@ -10,6 +10,5 @@ export declare const isValidIBAN: (iban: any) => boolean;
10
10
  export declare const checkIbanStatus: (iban: any) => any;
11
11
  /**
12
12
  * Checks validity of a holder name
13
- * @param holder -
14
13
  */
15
- export declare const isValidHolder: (holder: any) => boolean;
14
+ export declare const isValidHolder: (value: any) => boolean;
@@ -0,0 +1,5 @@
1
+ export interface GenericError {
2
+ isValid?: boolean;
3
+ errorMessage: string;
4
+ error: string;
5
+ }
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "./dist/adyen.css": "./dist/adyen.css",
24
24
  "./package.json": "./package.json"
25
25
  },
26
- "version": "5.31.3",
26
+ "version": "5.32.0",
27
27
  "license": "MIT",
28
28
  "homepage": "https://docs.adyen.com/checkout",
29
29
  "repository": "github:Adyen/adyen-web",
@@ -44,6 +44,7 @@
44
44
  "type-check": "tsc --noEmit",
45
45
  "type-check-generate": "tsc --emitDeclarationOnly",
46
46
  "lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
47
+ "lint-styles": "stylelint '**/*.scss'",
47
48
  "lint:fix": "npm run lint -- --fix",
48
49
  "prepublishOnly": "npm run build",
49
50
  "prepare": "cd ../.. && husky install packages/lib/.husky"
@@ -66,16 +67,16 @@
66
67
  "@testing-library/preact": "^3.0.0",
67
68
  "@testing-library/preact-hooks": "^1.1.0",
68
69
  "@testing-library/user-event": "^14.4.3",
69
- "@types/jest": "^27.4.1",
70
+ "@types/jest": "29.2.6",
70
71
  "@typescript-eslint/eslint-plugin": "^5.37.0",
71
72
  "@typescript-eslint/parser": "^5.39.0",
72
- "autoprefixer": "^10.4.9",
73
- "babel-jest": "^27.3.1",
73
+ "autoprefixer": "10.4.13",
74
+ "babel-jest": "29.3.1",
74
75
  "cross-env": "^7.0.3",
75
- "cssnano": "^5.0.6",
76
+ "cssnano": "5.1.14",
76
77
  "dotenv": "^16.0.3",
77
- "enzyme": "^3.11.0",
78
- "enzyme-adapter-preact-pure": "^4.0.1",
78
+ "enzyme": "3.11.0",
79
+ "enzyme-adapter-preact-pure": "4.1.0",
79
80
  "eslint": "8.30.0",
80
81
  "eslint-plugin-import": "^2.26.0",
81
82
  "eslint-plugin-jsx-a11y": "^6.6.1",
@@ -85,21 +86,21 @@
85
86
  "filesize": "^10.0.0",
86
87
  "gzip-size": "^6.0.0",
87
88
  "husky": "^8.0.1",
88
- "jest": "^26.6.3",
89
+ "jest": "29.3.1",
90
+ "jest-environment-jsdom": "29.3.1",
89
91
  "jest-mock-extended": "^3.0.1",
90
92
  "lint-staged": "^13.0.3",
91
- "node-sass": "^6.0.1",
92
- "postcss": "^8.4.7",
93
- "postcss-reporter": "^7.0.5",
93
+ "postcss": "8.4.21",
94
94
  "rollup": "^2.79.1",
95
- "rollup-plugin-postcss": "^4.0.2",
95
+ "rollup-plugin-postcss": "4.0.2",
96
+ "rollup-plugin-stylelint": "1.0.0",
96
97
  "rollup-plugin-terser": "^7.0.2",
97
98
  "rollup-plugin-visualizer": "^5.8.3",
98
- "stylelint": "^13.13.1",
99
- "stylelint-config-recommended": "^5.0.0",
100
- "ts-jest": "^26.5.6",
99
+ "sass": "1.57.1",
100
+ "stylelint": "14.16.1",
101
+ "stylelint-config-standard-scss": "6.1.0",
101
102
  "tslib": "^2.4.1",
102
- "typescript": "^4.4.4",
103
+ "typescript": "4.5.3",
103
104
  "whatwg-fetch": "^3.6.2"
104
105
  },
105
106
  "dependencies": {
@@ -119,6 +120,6 @@
119
120
  "lint-staged": {
120
121
  "*.{js,jsx,ts,tsx}": "eslint",
121
122
  "*.{scss,css}": "stylelint",
122
- "*.{js,jsx,ts,tsx,scss,css,html}": "prettier --write"
123
+ "*.{js,jsx,ts,tsx,html}": "prettier --write"
123
124
  }
124
125
  }