react-native-worklets 0.7.0 → 0.7.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.
@@ -12,6 +12,7 @@ ios_min_version = '13.4'
12
12
 
13
13
  feature_flags = "-DWORKLETS_FEATURE_FLAGS=\"#{worklets_get_static_feature_flags()}\""
14
14
  version_flags = "-DWORKLETS_VERSION=#{package['version']} -DREACT_NATIVE_MINOR_VERSION=#{$worklets_config[:react_native_minor_version]}"
15
+ hermes_v1_flag = ENV['RCT_HERMES_V1_ENABLED'] == '1' ? '-DHERMES_V1_ENABLED' : ''
15
16
 
16
17
  Pod::Spec.new do |s|
17
18
  s.name = "RNWorklets"
@@ -75,7 +76,7 @@ Pod::Spec.new do |s|
75
76
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
76
77
  "GCC_PREPROCESSOR_DEFINITIONS[config=*Debug*]" => "$(inherited) #{hermes_debug_hidden_flags} #{bundle_mode_flag}",
77
78
  "GCC_PREPROCESSOR_DEFINITIONS[config=*Release*]" => "$(inherited) #{bundle_mode_flag}",
78
- "OTHER_CFLAGS" => "$(inherited) #{feature_flags} #{version_flags}",
79
+ "OTHER_CFLAGS" => "$(inherited) #{feature_flags} #{version_flags} #{hermes_v1_flag}",
79
80
  }
80
81
  s.xcconfig = {
81
82
  "HEADER_SEARCH_PATHS" => [
@@ -3,7 +3,7 @@
3
3
  "react-native": ["0.79", "0.80", "0.81", "0.82"]
4
4
  },
5
5
  "0.7.x": {
6
- "react-native": ["0.79", "0.80", "0.81", "0.83"]
6
+ "react-native": ["0.79", "0.80", "0.81", "0.82", "0.83"]
7
7
  },
8
8
  "0.6.x": {
9
9
  "react-native": ["0.78", "0.79", "0.80", "0.81", "0.82"]
@@ -5,5 +5,5 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '0.7.0';
8
+ export const jsVersion = '0.7.2';
9
9
  //# sourceMappingURL=jsVersion.js.map
@@ -3,5 +3,5 @@
3
3
  * version used to build the native part of the library in runtime. Remember to
4
4
  * keep this in sync with the version declared in `package.json`
5
5
  */
6
- export declare const jsVersion = "0.7.0";
6
+ export declare const jsVersion = "0.7.2";
7
7
  //# sourceMappingURL=jsVersion.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-worklets",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "The React Native multithreading library",
5
5
  "keywords": [
6
6
  "react-native",
@@ -71,7 +71,7 @@
71
71
  "@babel/cli": "7.28.3",
72
72
  "@babel/core": "7.28.4",
73
73
  "@react-native-community/cli": "20.0.0",
74
- "@react-native/eslint-config": "0.82.0",
74
+ "@react-native/eslint-config": "0.83.1",
75
75
  "@types/jest": "30.0.0",
76
76
  "@types/node": "24.7.0",
77
77
  "@types/react": "19.2.2",
@@ -82,8 +82,8 @@
82
82
  "knip": "5.61.3",
83
83
  "madge": "8.0.0",
84
84
  "prettier": "3.6.2",
85
- "react": "19.1.1",
86
- "react-native": "0.82.0",
85
+ "react": "19.2.0",
86
+ "react-native": "0.83.1",
87
87
  "react-native-builder-bob": "0.40.13",
88
88
  "typescript": "5.8.3"
89
89
  },
@@ -118,6 +118,15 @@
118
118
  "!**/__mocks__",
119
119
  "!**/.*"
120
120
  ],
121
+ "sideEffects": [
122
+ "./src/index.ts",
123
+ "./lib/module/index.js",
124
+ "./**/runtimeKind.{js,ts}",
125
+ "./**/serializable.native.{js,ts}",
126
+ "./**/workletRuntimeEntry.native.{js,ts}",
127
+ "./**/initializers.native.{js,ts}",
128
+ "./**/featureFlags.native.{js,ts}"
129
+ ],
121
130
  "react-native-builder-bob": {
122
131
  "source": "src",
123
132
  "output": "lib",
@@ -5,4 +5,4 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '0.7.0';
8
+ export const jsVersion = '0.7.2';