@wavemaker/rn-codegen 11.9.4-rc.5964 → 11.9.5-1.6099

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.
@@ -9,71 +9,70 @@
9
9
  "postinstall": "node ./scripts/post-build.js"
10
10
  },
11
11
  "dependencies": {
12
- "@wavemaker/app-rn-runtime": "11.9.4-rc.5964",
13
- "@wavemaker/variables": "11.9.4-rc.5964",
14
- "@wavemaker/rn-codegen": "11.9.4-rc.5964",
12
+ "@wavemaker/app-rn-runtime": "11.9.5-1.6099",
13
+ "@wavemaker/variables": "11.9.5-1.6099",
14
+ "@wavemaker/rn-codegen": "11.9.5-1.6099",
15
15
  "@wavemaker/wavepulse-agent": "1.0.11",
16
- "deprecated-react-native-prop-types": "4.1.0",
17
- "expo": "50.0.17",
18
- "expo-build-properties": "0.12.0",
19
- "@expo/vector-icons": "14.0.0",
20
- "@expo/metro-runtime": "3.1.3",
21
- "expo-font": "11.10.3",
22
- "expo-file-system": "16.0.9",
23
- "expo-camera": "14.1.3",
24
- "expo-av": "13.10.6",
25
- "expo-barcode-scanner": "12.9.3",
26
- "expo-web-browser": "12.8.2",
27
- "expo-device": "5.9.4",
28
- "expo-network": "5.8.0",
29
- "expo-location": "16.5.5",
30
- "expo-localization": "14.8.4",
31
- "expo-contacts": "12.8.2",
32
- "expo-calendar": "12.2.1",
33
- "expo-splash-screen": "0.26.5",
34
- "expo-document-picker": "11.10.1",
35
- "expo-constants": "15.4.6",
36
- "expo-modules-core": "1.11.13",
16
+ "expo": "52.0.17",
17
+ "expo-build-properties": "0.13.1",
18
+ "@expo/vector-icons": "14.0.2",
19
+ "@expo/metro-runtime": "4.0.0",
20
+ "expo-font": "13.0.1",
21
+ "expo-file-system": "18.0.4",
22
+ "expo-camera": "16.0.9",
23
+ "expo-av": "15.0.1",
24
+ "expo-web-browser": "14.0.1",
25
+ "expo-device": "7.0.1",
26
+ "expo-network": "7.0.3",
27
+ "expo-location": "18.0.3",
28
+ "expo-localization": "16.0.0",
29
+ "expo-contacts": "14.0.2",
30
+ "expo-calendar": "14.0.4",
31
+ "expo-splash-screen": "0.29.16",
32
+ "expo-document-picker": "13.0.1",
33
+ "expo-constants": "17.0.3",
34
+ "expo-modules-core": "2.1.1",
35
+ "expo-video": "2.0.2",
36
+ "expo-application": "6.0.1",
37
37
  "@react-native/assets": "1.0.0",
38
38
  "hermes-engine": "0.11.0",
39
- "imask": "7.6.0",
40
- "react": "18.2.0",
41
- "react-dom": "18.2.0",
42
- "react-native": "0.73.6",
43
- "react-native-web": "0.19.6",
44
- "@react-native/assets-registry": "0.74.83",
45
- "@react-native-async-storage/async-storage": "1.21.0",
46
- "@react-native-community/netinfo": "11.1.0",
47
- "react-native-gesture-handler": "2.14.0",
48
- "react-native-reanimated": "3.6.2",
49
- "react-native-bundle-splitter": "2.2.3",
50
- "react-native-safe-area-context": "4.8.2",
51
- "@react-native-community/datetimepicker": "7.6.3",
52
- "@react-native-community/slider": "4.5.2",
53
- "react-native-circular-progress": "1.4.0",
54
- "@react-native-masked-view/masked-view": "0.3.0",
55
- "react-native-snap-carousel": "3.9.1",
56
- "react-native-svg": "14.1.0",
39
+ "imask": "7.6.1",
40
+ "punycode": "2.3.1",
41
+ "react": "18.3.1",
42
+ "react-dom": "18.3.1",
43
+ "react-native": "0.76.3",
44
+ "react-native-web": "0.19.13",
45
+ "@react-native/assets-registry": "0.76.3",
46
+ "@react-native-async-storage/async-storage": "1.23.1",
47
+ "@react-native-community/netinfo": "11.4.1",
48
+ "react-native-gesture-handler": "2.20.2",
49
+ "react-native-reanimated": "3.16.1",
50
+ "react-native-bundle-splitter": "3.0.1",
51
+ "react-native-safe-area-context": "4.12.0",
52
+ "@react-native-community/datetimepicker": "8.2.0",
53
+ "@react-native-community/slider": "4.5.5",
54
+ "react-native-circular-progress": "1.4.1",
55
+ "@react-native-masked-view/masked-view": "0.3.2",
56
+ "react-native-svg": "15.8.0",
57
57
  "react-native-ssl-public-key-pinning": "1.2.3",
58
58
  "@wavemaker/react-native-ssl-publickey": "1.0.2",
59
- "victory-native": "36.6.11",
59
+ "victory-native": "37.3.2",
60
60
  "@react-navigation/native": "6.1.7",
61
- "react-native-pager-view": "6.2.3",
62
- "react-native-webview": "13.6.4",
63
- "react-native-vector-icons": "10.0.3",
61
+ "react-native-pager-view": "6.5.1",
62
+ "react-native-webview": "13.12.5",
63
+ "react-native-vector-icons": "10.2.0",
64
64
  "@react-navigation/drawer": "6.6.3",
65
- "react-native-screens": "3.29.0",
66
- "react-native-svg-transformer": "1.3.0",
67
- "lottie-react-native": "6.5.1",
68
- "react-lottie-player": "2.0.0",
65
+ "react-native-screens": "4.1.0",
66
+ "react-native-svg-transformer": "1.5.0",
67
+ "lottie-react-native": "7.1.0",
68
+ "react-lottie-player": "2.1.0",
69
69
  "react-native-mime-types": "2.5.0",
70
- "expo-linear-gradient": "12.7.2",
70
+ "expo-linear-gradient": "13.0.2",
71
71
  "setimmediate": "1.0.5",
72
72
  "react-native-restart": "0.0.27",
73
- "@expo/webpack-config": "19.0.1",
74
- "@babel/core": "7.20.2",
75
- "@babel/standalone": "7.23.10",
76
- "@babel/plugin-syntax-jsx": "7.21.4"
73
+ "@babel/core": "7.25.2",
74
+ "@babel/standalone": "7.26.3",
75
+ "@babel/plugin-syntax-jsx": "7.25.9"
77
76
  },
78
77
  "devDependencies": {
79
78
  "metro-minify-terser": "0.80.10",
@@ -83,10 +82,12 @@
83
82
  "esbuild": "0.15.15",
84
83
  "esbuild-plugin-resolve": "1.0.3",
85
84
  "fs-extra": "10.0.0",
85
+ "@babel/plugin-transform-class-static-block": "7.26.0",
86
86
  "@babel/plugin-proposal-export-namespace-from": "7.18.9",
87
87
  "babel-plugin-transform-remove-console": "6.9.4",
88
88
  "@babel/plugin-proposal-optional-chaining": "7.21.0",
89
89
  "@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
90
+ "@react-native-community/cli": "16.0.0",
90
91
  "@types/babel__standalone": "7.1.7"
91
92
  },
92
93
  "private": true
@@ -13,37 +13,8 @@ async function readAndReplaceFileContent(path, writeFn) {
13
13
  });
14
14
  }
15
15
 
16
- async function patchCarousel() {
17
- const path = `${__dirname}/../node_modules/react-native-snap-carousel/src`;
18
- const updateViewPropTypes = (content) => {
19
- if (content.indexOf('deprecated-react-native-prop-types') < 0) {
20
- return content.replace(/,\s*ViewPropTypes/, '')
21
- .replace('\'react-native\';', '\'react-native\';\nimport {ViewPropTypes} from \'deprecated-react-native-prop-types\';');
22
- }
23
- return content;
24
- };
25
- await readAndReplaceFileContent(`${path}/carousel/Carousel.js`, updateViewPropTypes);
26
- await readAndReplaceFileContent(`${path}/pagination/Pagination.js`, updateViewPropTypes);
27
- await readAndReplaceFileContent(`${path}/pagination/PaginationDot.js`, updateViewPropTypes);
28
- await readAndReplaceFileContent(`${path}/parallaximage/ParallaxImage.js`, updateViewPropTypes);
29
- console.log('Patched react-native-snap-carousel');
30
- }
31
-
32
- async function patchFlatList(){
33
- const path = `${__dirname}/../node_modules/react-native/Libraries/Lists/FlatList.js`;
34
- const updateProps = (content) => {
35
- if (content.includes("props: Props<ItemT>;")) {
36
- return content.replace("props: Props<ItemT>;", "");
37
- }
38
- return content;
39
- }
40
- await readAndReplaceFileContent(path, updateProps);
41
- console.log('Patched react-native FlatList')
42
- }
43
-
44
16
  function patch() {
45
- patchCarousel();
46
- patchFlatList()
17
+ return null;
47
18
  }
48
19
 
49
20
  patch();
@@ -3,6 +3,7 @@ import { Agent, WebSocketChannel } from '@wavemaker/wavepulse-agent/index';
3
3
  import { EVENTS, CALLS } from './constants';
4
4
  import axios from 'axios';
5
5
  import RN2CSS from './rn2css.json';
6
+ import { Platform } from 'react-native';
6
7
 
7
8
  const MAX_WAITING_TIME_FOR_CONNECTION = 30 * 1000;
8
9
  let wavePulseAgent = new (class WavePulseAgent extends Agent {
@@ -340,7 +341,6 @@ function bindCalls() {
340
341
  return App.getDependency('StorageService').getAll();
341
342
  }));
342
343
  wavePulseAgent.onInvoke(CALLS.PLATFORM.INFO, tryWith(() => {
343
- const { Platform } = require('react-native');
344
344
  return Promise.resolve({
345
345
  os: Platform.OS,
346
346
  version: (Platform.Version || '') + '',