react-native-windows 0.67.3 → 0.67.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.
package/CHANGELOG.json CHANGED
@@ -1,6 +1,48 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 14 Mar 2022 15:13:47 GMT",
6
+ "tag": "react-native-windows_v0.67.4",
7
+ "version": "0.67.4",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "tudor.mihai@microsoft.com",
12
+ "package": "react-native-windows",
13
+ "commit": "d43b5dda0de80e9aae6a67a305a3d6492b80f80e",
14
+ "comment": "Safe re-entrancy for EnsureHermesLoaded"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 28 Feb 2022 16:14:50 GMT",
21
+ "tag": "react-native-windows_v0.67.3",
22
+ "version": "0.67.3",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "vmorozov@microsoft.com",
27
+ "package": "react-native-windows",
28
+ "commit": "not available",
29
+ "comment": "Enable TurboModule Promise completion from any thread (#9595)"
30
+ },
31
+ {
32
+ "author": "tudor.mihai@microsoft.com",
33
+ "package": "react-native-windows",
34
+ "commit": "not available",
35
+ "comment": "Expose InlineSourceMap property"
36
+ },
37
+ {
38
+ "author": "30809111+acoates-ms@users.noreply.github.com",
39
+ "package": "react-native-windows",
40
+ "commit": "not available",
41
+ "comment": "Crash when getting Platform.osVersion on Windows 8.1"
42
+ }
43
+ ]
44
+ }
45
+ },
4
46
  {
5
47
  "date": "Mon, 28 Feb 2022 16:14:37 GMT",
6
48
  "tag": "react-native-windows_v0.67.3",
package/CHANGELOG.md CHANGED
@@ -1,19 +1,37 @@
1
1
  # Change Log - react-native-windows
2
2
 
3
- This log was last generated on Mon, 28 Feb 2022 16:14:37 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 14 Mar 2022 15:13:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.67.3
7
+ ## 0.67.4
8
8
 
9
- Mon, 28 Feb 2022 16:14:37 GMT
9
+ Mon, 14 Mar 2022 15:13:47 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Enable TurboModule Promise completion from any thread (#9595) (vmorozov@microsoft.com)
14
- - Expose InlineSourceMap property (tudor.mihai@microsoft.com)
15
- - Crash when getting Platform.osVersion on Windows 8.1 (30809111+acoates-ms@users.noreply.github.com)
13
+ - Safe re-entrancy for EnsureHermesLoaded (tudor.mihai@microsoft.com)
16
14
 
15
+ ## 0.67.3
16
+
17
+ Mon, 28 Feb 2022 16:14:50 GMT
18
+
19
+ ### Patches
20
+
21
+ - Enable TurboModule Promise completion from any thread (#9595) (vmorozov@microsoft.com)
22
+ - Expose InlineSourceMap property (tudor.mihai@microsoft.com)
23
+ - Crash when getting Platform.osVersion on Windows 8.1 (30809111+acoates-ms@users.noreply.github.com)
24
+
25
+ ## 0.67.3
26
+
27
+ Mon, 28 Feb 2022 16:14:37 GMT
28
+
29
+ ### Patches
30
+
31
+ - Enable TurboModule Promise completion from any thread (#9595) (vmorozov@microsoft.com)
32
+ - Expose InlineSourceMap property (tudor.mihai@microsoft.com)
33
+ - Crash when getting Platform.osVersion on Windows 8.1 (30809111+acoates-ms@users.noreply.github.com)
34
+
17
35
  ## 0.67.2
18
36
 
19
37
  Mon, 21 Feb 2022 16:18:09 GMT
@@ -10,10 +10,10 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.67.3</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.67.4</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>67</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>3</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>4</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
18
  </PropertyGroup>
19
19
  </Project>
@@ -39,8 +39,12 @@ constexpr const char *dumpSampledTraceToFileSymbol =
39
39
  "?dumpSampledTraceToFile@HermesRuntime@hermes@facebook@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z";
40
40
  #endif
41
41
 
42
+ static std::once_flag s_hermesLoading;
43
+
42
44
  static void EnsureHermesLoaded() noexcept {
43
- if (!s_hermesModule) {
45
+ std::call_once(s_hermesLoading, []() {
46
+ VerifyElseCrashSz(!s_hermesModule, "Invalid state: \"hermes.dll\" being loaded again.");
47
+
44
48
  s_hermesModule = LoadLibrary(L"hermes.dll");
45
49
  VerifyElseCrashSz(s_hermesModule, "Could not load \"hermes.dll\"");
46
50
 
@@ -59,7 +63,7 @@ static void EnsureHermesLoaded() noexcept {
59
63
  s_dumpSampledTraceToFile = reinterpret_cast<decltype(s_dumpSampledTraceToFile)>(
60
64
  GetProcAddress(s_hermesModule, dumpSampledTraceToFileSymbol));
61
65
  VerifyElseCrash(s_dumpSampledTraceToFile);
62
- }
66
+ });
63
67
  }
64
68
 
65
69
  std::unique_ptr<facebook::hermes::HermesRuntime> makeHermesRuntime(const hermes::vm::RuntimeConfig &runtimeConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.67.3",
3
+ "version": "0.67.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",