react-native-windows 0.66.12 → 0.66.13

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
@@ -2,7 +2,22 @@
2
2
  "name": "react-native-windows",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 21 Feb 2022 16:09:24 GMT",
5
+ "date": "Thu, 24 Feb 2022 16:39:54 GMT",
6
+ "tag": "react-native-windows_v0.66.13",
7
+ "version": "0.66.13",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Crash when getting Platform.osVersion on Windows 8.1",
12
+ "author": "30809111+acoates-ms@users.noreply.github.com",
13
+ "commit": "9e78137aab868033423df7f4a10a1188f381a3f0",
14
+ "package": "react-native-windows"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 21 Feb 2022 16:09:42 GMT",
6
21
  "tag": "react-native-windows_v0.66.12",
7
22
  "version": "0.66.12",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # Change Log - react-native-windows
2
2
 
3
- This log was last generated on Mon, 21 Feb 2022 16:09:24 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 24 Feb 2022 16:39:54 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.66.12
7
+ ## 0.66.13
8
8
 
9
- Mon, 21 Feb 2022 16:09:24 GMT
9
+ Thu, 24 Feb 2022 16:39:54 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Use temp folder for v8 bytecode cache (30809111+acoates-ms@users.noreply.github.com)
13
+ - Crash when getting Platform.osVersion on Windows 8.1 (30809111+acoates-ms@users.noreply.github.com)
14
14
 
15
+ ## 0.66.12
16
+
17
+ Mon, 21 Feb 2022 16:09:42 GMT
18
+
19
+ ### Patches
20
+
21
+ - Use temp folder for v8 bytecode cache (30809111+acoates-ms@users.noreply.github.com)
22
+
15
23
  ## 0.66.11
16
24
 
17
25
  Mon, 14 Feb 2022 16:10:47 GMT
@@ -60,6 +60,10 @@ std::map<std::string, folly::dynamic> PlatformConstantsModule::getConstants() {
60
60
  }
61
61
 
62
62
  /*static*/ int32_t PlatformConstantsModule::OsVersion() noexcept {
63
+ if (!IsWindows10OrGreater()) {
64
+ return -1;
65
+ }
66
+
63
67
  for (uint16_t i = 1;; ++i) {
64
68
  if (!ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", i)) {
65
69
  return i - 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.66.12",
3
+ "version": "0.66.13",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",