@moveo-ai/web-client 0.49.2 → 0.50.0-true.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": "@moveo-ai/web-client",
3
- "version": "0.49.2",
3
+ "version": "0.50.0-true.2",
4
4
  "description": "Client side library to load the moveo chat widget and connect it with your agent",
5
5
  "main": "dist/web-client.min.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "watch": "webpack --watch",
10
10
  "build": "webpack --config webpack.prod.js",
11
11
  "build:dev": "webpack --config webpack.config.js",
12
- "bundlesize": "bundlesize",
12
+ "bundlewatch": "bundlewatch",
13
13
  "test": "jest --runInBand",
14
14
  "test:ci": "npx playwright test",
15
15
  "lint": "npm run lint:js && npm run lint:scss",
@@ -17,8 +17,8 @@
17
17
  "lint:scss": "npx stylelint \"**/*.{css,scss}\"",
18
18
  "prettier": "prettier --write \"{src,test}/**/*.{ts,tsx,json}\"",
19
19
  "autofix": "eslint --fix .",
20
- "storybook": "start-storybook -p 6006",
21
- "build-storybook": "build-storybook"
20
+ "storybook": "storybook dev -p 6006",
21
+ "build-storybook": "storybook build"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"
@@ -33,110 +33,111 @@
33
33
  "author": "Môveo.AI (TM)",
34
34
  "license": "MIT",
35
35
  "devDependencies": {
36
- "@babel/core": "^7.20.12",
37
- "@babel/preset-env": "^7.20.2",
38
- "@commitlint/cli": "^17.4.2",
39
- "@commitlint/config-conventional": "^17.4.2",
40
- "@playwright/test": "^1.30.0",
41
- "@storybook/addon-actions": "^6.5.16",
42
- "@storybook/addon-essentials": "^6.5.16",
43
- "@storybook/addon-interactions": "^6.5.16",
44
- "@storybook/addon-links": "^6.5.16",
45
- "@storybook/builder-webpack5": "^6.5.16",
46
- "@storybook/manager-webpack5": "^6.5.16",
36
+ "@babel/core": "^7.22.1",
37
+ "@babel/preset-env": "^7.22.2",
38
+ "@commitlint/cli": "^17.6.3",
39
+ "@commitlint/config-conventional": "^17.6.3",
40
+ "@playwright/test": "^1.34.3",
41
+ "@storybook/addon-actions": "^7.0.18",
42
+ "@storybook/addon-essentials": "^7.0.18",
43
+ "@storybook/addon-interactions": "^7.0.18",
44
+ "@storybook/addon-links": "^7.0.18",
47
45
  "@storybook/preset-scss": "^1.0.3",
48
- "@storybook/react": "^6.5.16",
49
- "@storybook/testing-library": "^0.0.13",
50
- "@testing-library/dom": "^8.20.0",
46
+ "@storybook/react": "^7.0.18",
47
+ "@storybook/react-webpack5": "^7.0.18",
48
+ "@storybook/testing-library": "^0.1.0",
49
+ "@testing-library/dom": "^9.3.0",
51
50
  "@testing-library/jest-dom": "^5.16.5",
52
- "@testing-library/react": "^13.4.0",
51
+ "@testing-library/react": "^14.0.0",
53
52
  "@testing-library/user-event": "^14.4.3",
54
- "@types/debug": "^4.1.7",
55
- "@types/jest": "^27.5.0",
56
- "@types/node": "^18.11.18",
57
- "@types/react": "^18.0.27",
53
+ "@types/debug": "^4.1.8",
54
+ "@types/jest": "^29.5.1",
55
+ "@types/node": "^20.2.5",
56
+ "@types/react": "^18.2.7",
58
57
  "@types/ua-parser-js": "^0.7.36",
59
- "@typescript-eslint/eslint-plugin": "^5.49.0",
60
- "@typescript-eslint/parser": "^5.49.0",
61
- "anchorme": "^2.1.2",
62
- "babel-jest": "^27.5.1",
63
- "babel-loader": "^8.2.5",
64
- "bundlesize": "^0.18.1",
58
+ "@typescript-eslint/eslint-plugin": "^5.59.7",
59
+ "@typescript-eslint/parser": "^5.59.7",
60
+ "anchorme": "^3.0.5",
61
+ "babel-jest": "^29.5.0",
62
+ "babel-loader": "^9.1.2",
63
+ "bundlewatch": "^0.3.3",
65
64
  "classnames": "^2.3.2",
66
65
  "clean-webpack-plugin": "^4.0.0",
67
66
  "copy-webpack-plugin": "^11.0.0",
68
- "css-loader": "^6.7.3",
67
+ "css-loader": "^6.7.4",
69
68
  "css-modules-typescript-loader": "^4.0.1",
70
69
  "debug": "^4.3.4",
71
- "dompurify": "^2.4.3",
70
+ "dompurify": "^3.0.3",
72
71
  "dotenv": "^16.0.3",
73
- "eslint": "^8.32.0",
74
- "eslint-config-prettier": "^8.6.0",
75
- "eslint-import-resolver-typescript": "^2.7.1",
72
+ "eslint": "^8.41.0",
73
+ "eslint-config-prettier": "^8.8.0",
74
+ "eslint-import-resolver-typescript": "^3.5.5",
76
75
  "eslint-plugin-import": "^2.27.5",
77
76
  "eslint-plugin-jest-dom": "^4.0.3",
78
77
  "eslint-plugin-jsx-a11y": "^6.7.1",
79
78
  "eslint-plugin-prettier": "^4.2.1",
80
- "eslint-plugin-react": "^7.32.1",
79
+ "eslint-plugin-react": "^7.32.2",
81
80
  "eslint-plugin-react-hooks": "^4.6.0",
82
- "eslint-plugin-storybook": "^0.6.10",
83
- "eslint-plugin-testing-library": "^5.10.0",
84
- "html-webpack-plugin": "^5.5.0",
81
+ "eslint-plugin-storybook": "^0.6.12",
82
+ "eslint-plugin-testing-library": "^5.11.0",
83
+ "html-webpack-plugin": "^5.5.1",
85
84
  "husky": "^8.0.3",
86
- "i18next": "^22.4.9",
85
+ "i18next": "^22.5.0",
87
86
  "i18next-browser-languagedetector": "^7.0.1",
88
- "i18next-http-backend": "^2.1.1",
89
- "jest": "^27.5.1",
87
+ "i18next-http-backend": "^2.2.1",
88
+ "isbot": "^3.6.10",
89
+ "jest": "^29.5.0",
90
+ "jest-environment-jsdom": "^29.5.0",
90
91
  "keen-slider": "^6.8.5",
91
- "lint-staged": "^13.1.0",
92
+ "lint-staged": "^13.2.2",
92
93
  "lodash.debounce": "^4.0.8",
93
94
  "lodash.throttle": "^4.1.1",
94
- "nanoid": "^3.3.4",
95
- "postcss": "^8.4.21",
96
- "prettier": "^2.8.3",
95
+ "nanoid": "^4.0.2",
96
+ "postcss": "^8.4.23",
97
+ "prettier": "^2.8.8",
97
98
  "react": "^18.2.0",
98
99
  "react-dom": "^18.2.0",
99
- "react-hook-form": "^7.42.1",
100
- "react-i18next": "^12.1.4",
100
+ "react-hook-form": "^7.44.1",
101
+ "react-i18next": "^12.3.1",
101
102
  "react-modal": "^3.16.1",
102
103
  "react-page-visibility": "^7.0.0",
103
- "react-test-renderer": "^18.2.0",
104
104
  "react-transition-group": "^4.4.5",
105
105
  "react-use": "^17.4.0",
106
- "recoil": "^0.7.6",
106
+ "recoil": "^0.7.7",
107
107
  "redux": "^4.2.1",
108
108
  "rehype-stringify": "^9.0.3",
109
- "remark-parse": "^10.0.1",
109
+ "remark-parse": "^10.0.2",
110
110
  "remark-rehype": "^10.1.0",
111
- "sass": "^1.57.1",
112
- "sass-loader": "^13.2.0",
113
- "semantic-release": "^19.0.5",
111
+ "sass": "^1.62.1",
112
+ "sass-loader": "^13.3.0",
113
+ "semantic-release": "^21.0.2",
114
114
  "shader": "^1.0.0",
115
115
  "smooth-scroll-into-view-if-needed": "^2.0.0",
116
- "socket.io": "^4.5.4",
117
- "socket.io-client": "^4.5.4",
116
+ "socket.io": "^4.6.1",
117
+ "socket.io-client": "^4.6.1",
118
118
  "source-map-loader": "^4.0.1",
119
- "storybook-react-i18next": "^1.1.2",
120
- "style-loader": "^3.3.1",
121
- "stylelint": "^14.16.1",
122
- "stylelint-config-standard-scss": "^3.0.0",
123
- "stylelint-declaration-strict-value": "^1.9.1",
124
- "ts-deepmerge": "^2.0.4",
125
- "ts-jest": "^27.1.4",
126
- "ts-loader": "^9.4.2",
127
- "tsconfig-paths-webpack-plugin": "^3.5.2",
128
- "type-fest": "^2.17.0",
129
- "typescript": "^4.8.3",
130
- "ua-parser-js": "^1.0.33",
119
+ "storybook": "^7.0.18",
120
+ "storybook-react-i18next": "^2.0.1",
121
+ "style-loader": "^3.3.3",
122
+ "stylelint": "^15.6.2",
123
+ "stylelint-config-standard-scss": "^9.0.0",
124
+ "stylelint-declaration-strict-value": "^1.9.2",
125
+ "ts-deepmerge": "^6.0.3",
126
+ "ts-jest": "^29.1.0",
127
+ "ts-loader": "^9.4.3",
128
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
129
+ "type-fest": "^3.11.0",
130
+ "typescript": "^5.0.4",
131
+ "ua-parser-js": "^1.0.35",
131
132
  "unified": "^10.1.2",
132
133
  "url-loader": "^4.1.1",
133
- "webpack": "^5.75.0",
134
- "webpack-bundle-analyzer": "^4.7.0",
135
- "webpack-cli": "^4.10.0",
136
- "webpack-dev-server": "^4.11.1",
137
- "webpack-merge": "^5.8.0",
134
+ "webpack": "^5.84.1",
135
+ "webpack-bundle-analyzer": "^4.8.0",
136
+ "webpack-cli": "^5.1.1",
137
+ "webpack-dev-server": "^4.15.0",
138
+ "webpack-merge": "^5.9.0",
138
139
  "webpack-visualizer-plugin2": "^1.0.0",
139
- "yet-another-react-lightbox": "^2.2.7"
140
+ "yet-another-react-lightbox": "^3.10.0"
140
141
  },
141
142
  "repository": {
142
143
  "url": "https://github.com/moveo-ai/web-client"
@@ -158,7 +159,7 @@
158
159
  "setupFilesAfterEnv": [
159
160
  "./test/setupTests.ts"
160
161
  ],
161
- "testEnvironment": "jsdom",
162
+ "testEnvironment": "jest-environment-jsdom",
162
163
  "roots": [
163
164
  "<rootDir>/src"
164
165
  ],
@@ -166,16 +167,18 @@
166
167
  "<rootDir>/src"
167
168
  ]
168
169
  },
169
- "bundlesize": [
170
- {
171
- "path": "./dist/web-client.min.js",
172
- "maxSize": "30 kB"
173
- },
174
- {
175
- "path": "./dist/iframe.min.js",
176
- "maxSize": "286 kB"
177
- }
178
- ],
170
+ "bundlewatch": {
171
+ "files": [
172
+ {
173
+ "path": "./dist/web-client.min.js",
174
+ "maxSize": "30 kB"
175
+ },
176
+ {
177
+ "path": "./dist/iframe.min.js",
178
+ "maxSize": "286 kB"
179
+ }
180
+ ]
181
+ },
179
182
  "release": {
180
183
  "branches": [
181
184
  "main",