@telsho/react-google-flight-datepicker 1.1.4 → 1.1.6

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
@@ -4,63 +4,73 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Telsho/react-google-flight-datepicker.git"
6
6
  },
7
- "version": "1.1.4",
7
+ "version": "1.1.6",
8
8
  "main": "dist/index.js",
9
+ "module": "dist/index.mjs",
9
10
  "types": "dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.mjs",
14
+ "require": "./dist/index.js"
15
+ },
16
+ "./styles.scss": "./dist/styles.scss"
17
+ },
10
18
  "dependencies": {
11
19
  "@telsho/react-google-flight-datepicker": "file:",
12
- "classnames": "^2.3.2",
20
+ "classnames": "^2.5.1",
13
21
  "compression-webpack-plugin": "^11.1.0",
14
22
  "copy-webpack-plugin": "^12.0.2",
15
- "dayjs": "^1.11.10",
23
+ "dayjs": "^1.11.11",
16
24
  "esbuild-sass-plugin": "^3.3.1",
17
25
  "react-virtualized-auto-sizer": "^1.0.20",
18
26
  "react-window": "^1.8.10"
19
27
  },
20
28
  "peerDependencies": {
21
- "react": "^18.0.0",
22
- "react-dom": "^18.0.0"
29
+ "react": "^19.0.0",
30
+ "react-dom": "^19.0.0"
23
31
  },
24
32
  "devDependencies": {
25
- "@cfaester/enzyme-adapter-react-18": "^0.8.0",
26
33
  "@svgr/webpack": "^8.1.0",
27
- "@testing-library/jest-dom": "^6.1.4",
28
- "@types/react": "^18.2.0",
29
- "@types/react-dom": "^18.2.0",
34
+ "@testing-library/jest-dom": "^6.4.2",
35
+ "@testing-library/react": "^16.0.2",
36
+ "@testing-library/user-event": "^14.5.2",
37
+ "@types/react": "^19.0.0",
38
+ "@types/react-dom": "^19.0.0",
30
39
  "@types/react-window": "^1.8.8",
31
- "@typescript-eslint/eslint-plugin": "^6.9.0",
40
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
32
41
  "cross-env": "^7.0.3",
33
- "css-loader": "^6.8.1",
34
- "enzyme": "^3.11.0",
42
+ "css-loader": "^7.1.2",
43
+ "esbuild-css-modules-plugin": "^3.1.4",
44
+ "esbuild-plugin-copy": "^2.1.1",
35
45
  "esbuild-plugin-svgr": "^3.1.0",
36
- "eslint": "^8.51.0",
46
+ "eslint": "^8.57.0",
37
47
  "eslint-config-airbnb": "^19.0.4",
38
48
  "eslint-plugin-flowtype": "^8.0.3",
39
- "eslint-plugin-import": "^2.28.1",
40
- "eslint-plugin-jest": "^27.4.2",
41
- "eslint-plugin-jsx-a11y": "^6.7.1",
49
+ "eslint-plugin-import": "^2.29.1",
50
+ "eslint-plugin-jest": "^27.6.0",
51
+ "eslint-plugin-jsx-a11y": "^6.8.0",
42
52
  "eslint-plugin-react": "^7.33.2",
43
53
  "eslint-plugin-react-hooks": "^4.6.0",
44
54
  "file-loader": "^6.2.0",
45
- "html-webpack-plugin": "^5.5.3",
55
+ "html-webpack-plugin": "^5.6.0",
46
56
  "jest": "^29.7.0",
47
57
  "jest-environment-jsdom": "^29.7.0",
48
- "mini-css-extract-plugin": "^2.7.6",
49
- "react": "^18.2.0",
50
- "react-dom": "^18.2.0",
58
+ "mini-css-extract-plugin": "^2.9.2",
59
+ "react": "^19.0.0",
60
+ "react-dom": "^19.0.0",
51
61
  "rimraf": "^6.0.1",
52
- "sass": "^1.80.7",
53
- "sass-loader": "^16.0.3",
62
+ "sass": "^1.76.0",
63
+ "sass-loader": "^16.0.6",
54
64
  "style-loader": "^3.3.4",
55
- "terser-webpack-plugin": "^5.3.9",
56
- "ts-jest": "^29.1.0",
57
- "ts-loader": "^9.5.2",
65
+ "terser-webpack-plugin": "^5.3.10",
66
+ "ts-jest": "^29.1.2",
67
+ "ts-loader": "^9.5.1",
58
68
  "tsup": "^8.3.5",
59
- "typescript": "^5.7.3",
60
- "webpack": "^5.89.0",
69
+ "typescript": "^5.4.5",
70
+ "webpack": "^5.91.0",
61
71
  "webpack-bundle-analyzer": "^4.10.2",
62
- "webpack-cli": "^6.0.1",
63
- "webpack-dev-server": "^4.15.1"
72
+ "webpack-cli": "^5.1.4",
73
+ "webpack-dev-server": "^5.2.3"
64
74
  },
65
75
  "scripts": {
66
76
  "clean": "rimraf dist",
@@ -71,7 +81,12 @@
71
81
  "prepack": "npm run clean && npm run build"
72
82
  },
73
83
  "files": [
74
- "dist"
84
+ "dist",
85
+ "dist/styles.scss"
86
+ ],
87
+ "sideEffects": [
88
+ "**/*.scss",
89
+ "dist/**/*.scss"
75
90
  ],
76
91
  "jest": {
77
92
  "roots": [
@@ -83,10 +98,6 @@
83
98
  "!src/**/index.ts"
84
99
  ],
85
100
  "resolver": "jest-pnp-resolver",
86
- "setupFiles": [
87
- "react-app-polyfill/jsdom",
88
- "<rootDir>/config/enzymeConfig.js"
89
- ],
90
101
  "setupFilesAfterEnv": [
91
102
  "<rootDir>/config/setupTests.js"
92
103
  ],
@@ -128,10 +139,5 @@
128
139
  "jest-watch-typeahead/filename",
129
140
  "jest-watch-typeahead/testname"
130
141
  ]
131
- },
132
- "sideEffects": [
133
- "**/*.css",
134
- "**/*.scss",
135
- "dist/ssr-shim.js"
136
- ]
142
+ }
137
143
  }