@duffel/components 2.3.0 → 2.4.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.
@@ -1,9 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
1
  /*!
8
2
  Copyright (c) 2018 Jed Watson.
9
3
  Licensed under the MIT License (MIT), see
@@ -26,8 +20,9 @@ object-assign
26
20
 
27
21
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
28
22
 
29
- /** @license React v0.20.2
30
- * scheduler.production.min.js
23
+ /**
24
+ * @license React
25
+ * react-dom.production.min.js
31
26
  *
32
27
  * Copyright (c) Facebook, Inc. and its affiliates.
33
28
  *
@@ -35,8 +30,9 @@ object-assign
35
30
  * LICENSE file in the root directory of this source tree.
36
31
  */
37
32
 
38
- /** @license React v17.0.2
39
- * react-dom.production.min.js
33
+ /**
34
+ * @license React
35
+ * react-jsx-runtime.production.min.js
40
36
  *
41
37
  * Copyright (c) Facebook, Inc. and its affiliates.
42
38
  *
@@ -44,8 +40,9 @@ object-assign
44
40
  * LICENSE file in the root directory of this source tree.
45
41
  */
46
42
 
47
- /** @license React v17.0.2
48
- * react-jsx-runtime.production.min.js
43
+ /**
44
+ * @license React
45
+ * react.production.min.js
49
46
  *
50
47
  * Copyright (c) Facebook, Inc. and its affiliates.
51
48
  *
@@ -53,8 +50,9 @@ object-assign
53
50
  * LICENSE file in the root directory of this source tree.
54
51
  */
55
52
 
56
- /** @license React v17.0.2
57
- * react.production.min.js
53
+ /**
54
+ * @license React
55
+ * scheduler.production.min.js
58
56
  *
59
57
  * Copyright (c) Facebook, Inc. and its affiliates.
60
58
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "2.3.0",
3
+ "version": "2.4.2",
4
4
  "description": "Set of pre-built UI components for integrating with Duffel API",
5
5
  "main": "dist/duffel-components.js",
6
6
  "module": "dist/duffel-components.esm.js",
@@ -27,7 +27,9 @@
27
27
  "e2e": "npx playwright test",
28
28
  "e2e:debug": "PWDEBUG=1 npx playwright test",
29
29
  "prettier": "prettier --write --loglevel=warn .",
30
- "prettier-check": "prettier --check ."
30
+ "prettier-check": "prettier --check .",
31
+ "local-package:update": "yarn build && yalc push --replace --changed",
32
+ "local-package:clean": "yalc installations clean @duffel/components"
31
33
  },
32
34
  "config": {
33
35
  "commitizen": {
@@ -51,88 +53,88 @@
51
53
  "react-dom": "^16.8.0 || ^17 || ^18"
52
54
  },
53
55
  "dependencies": {
54
- "@popperjs/core": "^2.10.1",
55
- "@stripe/react-stripe-js": "^1.6.0",
56
- "@stripe/stripe-js": "^1.19.1",
57
- "base64-js": "^1.5.1",
58
- "classnames": "^2.3.1",
59
- "ieee754": "^1.2.1",
60
- "prop-types": "^15.7.2",
61
- "react-popper": "^2.2.5",
62
- "smoothscroll-polyfill": "^0.4.4"
56
+ "@popperjs/core": "2.10.1",
57
+ "@stripe/react-stripe-js": "1.8.0",
58
+ "@stripe/stripe-js": "^1.35.0",
59
+ "base64-js": "1.5.1",
60
+ "classnames": "2.3.1",
61
+ "ieee754": "1.2.1",
62
+ "prop-types": "15.8.1",
63
+ "react-popper": "2.2.5",
64
+ "smoothscroll-polyfill": "0.4.4"
63
65
  },
64
66
  "devDependencies": {
65
- "@babel/core": "7.18.5",
66
- "@babel/plugin-proposal-unicode-property-regex": "7.17.12",
67
- "@babel/preset-env": "7.18.2",
68
- "@babel/preset-react": "7.17.12",
69
- "@babel/register": "7.17.7",
67
+ "@babel/core": "7.18.10",
68
+ "@babel/plugin-proposal-class-properties": "7.18.6",
69
+ "@babel/plugin-proposal-unicode-property-regex": "7.18.6",
70
+ "@babel/preset-env": "7.18.10",
71
+ "@babel/preset-react": "7.18.6",
72
+ "@babel/register": "7.18.9",
70
73
  "@commitlint/cli": "17.0.3",
71
74
  "@commitlint/config-angular": "17.0.3",
72
75
  "@commitlint/cz-commitlint": "17.0.3",
73
- "@playwright/test": "1.22.2",
76
+ "@playwright/test": "1.25.0",
74
77
  "@semantic-release/changelog": "6.0.1",
75
78
  "@semantic-release/commit-analyzer": "9.0.2",
76
79
  "@semantic-release/git": "10.0.1",
77
- "@storybook/addon-actions": "6.5.9",
78
- "@storybook/addon-controls": "6.5.9",
79
- "@storybook/addon-essentials": "6.5.9",
80
- "@storybook/addon-links": "6.5.8",
80
+ "@storybook/addon-actions": "6.5.10",
81
+ "@storybook/addon-controls": "6.5.10",
82
+ "@storybook/addon-essentials": "6.5.10",
83
+ "@storybook/addon-links": "6.5.10",
81
84
  "@storybook/addon-postcss": "2.0.0",
82
- "@storybook/builder-webpack5": "6.5.9",
83
- "@storybook/manager-webpack5": "6.5.8",
84
- "@storybook/react": "6.5.8",
85
- "@testing-library/jest-dom": "5.16.4",
86
- "@testing-library/react": "12.1.5",
87
- "@types/jest": "27.4.1",
88
- "@types/lodash": "4.14.182",
85
+ "@storybook/builder-webpack5": "6.5.10",
86
+ "@storybook/manager-webpack5": "6.5.10",
87
+ "@storybook/react": "6.5.10",
88
+ "@testing-library/jest-dom": "5.16.5",
89
+ "@testing-library/react": "13.3.0",
90
+ "@types/jest": "27.5.2",
91
+ "@types/lodash": "4.14.184",
89
92
  "@types/node": "17.0.42",
90
- "@types/react": "17.0.47",
91
- "@types/react-dom": "17.0.17",
93
+ "@types/react": "18.0.17",
94
+ "@types/react-dom": "18.0.6",
92
95
  "@types/smoothscroll-polyfill": "0.3.1",
93
- "@typescript-eslint/eslint-plugin": "5.27.1",
94
- "@typescript-eslint/parser": "5.27.1",
96
+ "@typescript-eslint/eslint-plugin": "5.33.1",
97
+ "@typescript-eslint/parser": "5.33.1",
95
98
  "babel-loader": "8.2.5",
96
99
  "babel-plugin-module-resolver": "4.1.0",
97
- "chromatic": "6.5.6",
100
+ "chromatic": "6.7.4",
98
101
  "clean-webpack-plugin": "4.0.0",
99
102
  "commitizen": "4.2.5",
100
103
  "css-loader": "6.7.1",
101
104
  "dotenv": "16.0.1",
102
- "dts-bundle-generator": "6.11.0",
103
- "eslint": "8.17.0",
105
+ "dts-bundle-generator": "6.12.0",
106
+ "eslint": "8.22.0",
104
107
  "eslint-config-prettier": "8.5.0",
105
- "eslint-plugin-react-hooks": "4.5.0",
108
+ "eslint-plugin-react-hooks": "4.6.0",
106
109
  "eslint-plugin-spellcheck": "0.0.19",
107
- "eslint-plugin-storybook": "0.5.12",
110
+ "eslint-plugin-storybook": "0.6.4",
108
111
  "fork-ts-checker-webpack-plugin": "7.2.13",
109
112
  "http-server": "14.1.1",
110
113
  "husky": "8.0.1",
111
- "inquirer": "8.2.4",
114
+ "inquirer": "9.1.0",
112
115
  "jest": "26.6.3",
113
116
  "lint-staged": "13.0.3",
114
117
  "lodash": "4.17.21",
115
- "mini-css-extract-plugin": "2.6.0",
116
- "node-polyfill-webpack-plugin": "1.1.4",
117
- "postcss": "8.4.14",
118
+ "mini-css-extract-plugin": "2.6.1",
119
+ "node-polyfill-webpack-plugin": "2.0.1",
120
+ "postcss": "8.4.16",
118
121
  "postcss-combine-duplicated-selectors": "10.0.3",
119
122
  "postcss-discard-duplicates": "5.1.0",
120
123
  "postcss-import": "14.1.0",
121
- "postcss-loader": "7.0.0",
124
+ "postcss-loader": "7.0.1",
122
125
  "postcss-nested": "5.0.6",
123
- "prettier": "2.6.2",
124
- "prop-types": "15.8.1",
125
- "react": "17.0.2",
126
- "react-dom": "17.0.2",
126
+ "prettier": "2.7.1",
127
+ "react": "18.2.0",
128
+ "react-dom": "18.2.0",
127
129
  "semantic-release": "19.0.3",
128
130
  "ts-jest": "26.5.6",
129
- "ts-loader": "9.3.0",
130
- "ts-node": "10.8.1",
131
+ "ts-loader": "9.3.1",
132
+ "ts-node": "10.9.1",
131
133
  "tslib": "2.4.0",
132
134
  "types-webpack-bundler": "1.0.2",
133
- "typescript": "4.7.3",
134
- "webpack": "5.73.0",
135
- "webpack-cli": "4.9.2",
135
+ "typescript": "4.7.4",
136
+ "webpack": "5.74.0",
137
+ "webpack-cli": "4.10.0",
136
138
  "webpack-node-externals": "3.0.0"
137
139
  },
138
140
  "engines": {
@@ -162,6 +164,11 @@
162
164
  {
163
165
  "breaking": true,
164
166
  "release": "major"
167
+ },
168
+ {
169
+ "type": "build",
170
+ "scope": "deps",
171
+ "release": "patch"
165
172
  }
166
173
  ]
167
174
  }
@@ -185,11 +192,11 @@
185
192
  "@types/webpack": "^5.28.0",
186
193
  "immer": "^9.0.6",
187
194
  "ansi-regex": "^5.0.1",
188
- "glob-parent": "^5.1.2",
195
+ "glob-parent": "^6.0.0",
189
196
  "browserslist": "^4.16.5",
190
- "trim": "^0.0.3",
191
- "@types/react-dom": "17.0.17",
192
- "@types/react": "17.0.47"
197
+ "trim": "^1.0.0",
198
+ "@types/react-dom": "18.0.6",
199
+ "@types/react": "18.0.17"
193
200
  },
194
201
  "keywords": [
195
202
  "seat",