cronofy-elements 1.66.2 → 1.66.4

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.
@@ -2,9 +2,9 @@
2
2
 
3
3
  /**
4
4
  * @license React
5
- * react-dom.production.min.js
5
+ * react-dom-client.production.js
6
6
  *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
8
  *
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
@@ -12,9 +12,9 @@
12
12
 
13
13
  /**
14
14
  * @license React
15
- * react.production.min.js
15
+ * react-dom.production.js
16
16
  *
17
- * Copyright (c) Facebook, Inc. and its affiliates.
17
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
18
18
  *
19
19
  * This source code is licensed under the MIT license found in the
20
20
  * LICENSE file in the root directory of this source tree.
@@ -22,9 +22,29 @@
22
22
 
23
23
  /**
24
24
  * @license React
25
- * scheduler.production.min.js
25
+ * react-jsx-runtime.production.js
26
26
  *
27
- * Copyright (c) Facebook, Inc. and its affiliates.
27
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
28
+ *
29
+ * This source code is licensed under the MIT license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */
32
+
33
+ /**
34
+ * @license React
35
+ * react.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */
42
+
43
+ /**
44
+ * @license React
45
+ * scheduler.production.js
46
+ *
47
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
28
48
  *
29
49
  * This source code is licensed under the MIT license found in the
30
50
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "cronofy-elements",
3
- "version": "1.66.2",
3
+ "version": "1.66.4",
4
4
  "description": "Fast track scheduling with Cronofy's embeddable UI Elements",
5
5
  "main": "dist/CronofyElements.js",
6
6
  "scripts": {
7
7
  "lint": "eslint src",
8
8
  "test": "jest --maxWorkers=4 --workerIdleMemoryLimit=128M",
9
+ "test:coverage": "yarn test --coverage",
10
+ "test:watch": "yarn test --watch",
9
11
  "build": "webpack --mode=production",
10
12
  "build_analyse": "webpack --mode=production --analyze",
11
13
  "build_compat": "webpack --config compat.config.js --mode=production",
@@ -25,29 +27,6 @@
25
27
  "files": [
26
28
  "/dist/**/*"
27
29
  ],
28
- "jest": {
29
- "verbose": true,
30
- "collectCoverage": false,
31
- "collectCoverageFrom": [
32
- "**/src/js/components/**/*.{js,jsx}",
33
- "**/src/js/helpers/**/*.{js,jsx}"
34
- ],
35
- "transform": {
36
- "^.+\\.js$": "babel-jest"
37
- },
38
- "automock": false,
39
- "setupFilesAfterEnv": [
40
- "./tests/setupJest.js"
41
- ],
42
- "moduleNameMapper": {
43
- "^.+\\.(css|less|scss)$": "babel-jest",
44
- "^.+/environments/environment$": "<rootDir>/src/js/environments/environment.dev.js"
45
- },
46
- "snapshotSerializers": [
47
- "@emotion/jest/serializer"
48
- ],
49
- "testEnvironment": "jsdom"
50
- },
51
30
  "author": "",
52
31
  "license": "ISC",
53
32
  "devDependencies": {
@@ -62,29 +41,32 @@
62
41
  "@emotion/babel-preset-css-prop": "^10.2",
63
42
  "@emotion/core": "^10.1",
64
43
  "@emotion/jest": "^11.3",
44
+ "@testing-library/dom": "^10.4.1",
65
45
  "@testing-library/jest-dom": "^5.11",
66
- "@testing-library/react": "^15.0.6",
67
- "@testing-library/user-event": "^14.5.2",
46
+ "@testing-library/react": "^16.3.0",
47
+ "@testing-library/user-event": "^14.6.1",
68
48
  "autoprefixer": "^10.2",
49
+ "babel-jest": "^30.2.0",
69
50
  "babel-loader": "^8.2",
70
51
  "babel-plugin-emotion": "^10.0",
71
52
  "core-js": "^3.8",
72
53
  "css-loader": "^5.2",
73
54
  "deepmerge": "^2.2",
74
55
  "ejs": "^3.1",
75
- "eslint": "^8.0",
76
- "eslint-config-prettier": "^9.1",
77
- "eslint-plugin-import": ">2.24",
78
- "eslint-plugin-jsx-a11y": ">6.4",
79
- "eslint-plugin-prettier": ">5.0",
80
- "eslint-plugin-react": ">7.24",
81
- "eslint-plugin-unused-imports": ">1.1",
82
- "express": "^4.21",
56
+ "eslint": "^9.39.1",
57
+ "eslint-config-prettier": "^10.1.8",
58
+ "eslint-plugin-import": "^2.32.0",
59
+ "eslint-plugin-jsx-a11y": "^6.10.2",
60
+ "eslint-plugin-prettier": "^5.5.4",
61
+ "eslint-plugin-react": "^7.37.5",
62
+ "eslint-plugin-unused-imports": "^4.3.0",
63
+ "express": "^4.22.1",
83
64
  "fs": ">0.0.1-security",
84
65
  "git-revision-webpack-plugin": "^5.0",
85
- "jest": "^29.6.2",
86
- "jest-axe": "^9.0.0",
87
- "jest-environment-jsdom": "^29.6.2",
66
+ "globals": "^16.5.0",
67
+ "jest": "^30.2.0",
68
+ "jest-axe": "^10.0.0",
69
+ "jest-environment-jsdom": "^30.2.0",
88
70
  "jest-fetch-mock": "^3.0",
89
71
  "moment": "^2.29",
90
72
  "moment-timezone": "^0.5",
@@ -94,13 +76,12 @@
94
76
  "polished": "^2.3",
95
77
  "postcss-loader": "^5.3",
96
78
  "prettier": "^3.0.0",
97
- "react": "^18.3.1",
79
+ "react": "^19.2.0",
98
80
  "react-custom-scrollbars": "^4.2.1",
99
- "react-day-picker": "^8.10.1",
100
- "react-dom": "^18.3.1",
81
+ "react-day-picker": "^9.11.2",
82
+ "react-dom": "^19.2.0",
101
83
  "react-emotion": "^10.0.0",
102
- "react-select": "^5.8.0",
103
- "react-transition-group": "^4.4",
84
+ "react-transitioning": "^1.0.9",
104
85
  "sass": "^1.49.0",
105
86
  "sass-loader": "^12.1",
106
87
  "style-loader": "^3.0",
@@ -109,5 +90,12 @@
109
90
  "webpack-bundle-analyzer": "^4.4",
110
91
  "webpack-cli": "^4.7",
111
92
  "whatwg-fetch": "^3.5"
93
+ },
94
+ "peerDependencies": {
95
+ "@emotion/core": "^10.0.17",
96
+ "dequal": "^2.0.3",
97
+ "lodash.escaperegexp": "^4.1.2",
98
+ "polished": "^2.3.3",
99
+ "react-custom-scrollbars": "^4.2.1"
112
100
  }
113
101
  }