@office-iss/react-native-win32 0.75.6 → 0.75.7

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": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 10 Mar 2025 15:25:03 GMT",
5
+ "date": "Mon, 28 Apr 2025 15:25:33 GMT",
6
+ "version": "0.75.7",
7
+ "tag": "@office-iss/react-native-win32_v0.75.7",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "54227869+anupriya13@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "a70e22673d68cb41141dceee72b2f6d1541d0e3e",
14
+ "comment": "Integrate 0.75.5"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 10 Mar 2025 15:25:38 GMT",
6
21
  "version": "0.75.6",
7
22
  "tag": "@office-iss/react-native-win32_v0.75.6",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Mon, 10 Mar 2025 15:25:03 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 28 Apr 2025 15:25:33 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.75.6
7
+ ## 0.75.7
8
8
 
9
- Mon, 10 Mar 2025 15:25:03 GMT
9
+ Mon, 28 Apr 2025 15:25:33 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Refactor WebSocket resource class (#14377) (julio.rocha@microsoft.com)
13
+ - Integrate 0.75.5 (54227869+anupriya13@users.noreply.github.com)
14
14
 
15
+ ## 0.75.6
16
+
17
+ Mon, 10 Mar 2025 15:25:38 GMT
18
+
19
+ ### Patches
20
+
21
+ - Refactor WebSocket resource class (#14377) (julio.rocha@microsoft.com)
22
+
15
23
  ## 0.75.5
16
24
 
17
25
  Mon, 25 Nov 2024 16:28:03 GMT
@@ -16,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 75,
19
- patch: 3,
19
+ patch: 5,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -28,6 +28,15 @@ type FormDataPart =
28
28
  ...
29
29
  };
30
30
 
31
+ /**
32
+ * Encode a FormData filename compliant with RFC 2183
33
+ *
34
+ * https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#directives
35
+ */
36
+ function encodeFilename(filename: string): string {
37
+ return encodeURIComponent(filename.replace(/\//g, '_'));
38
+ }
39
+
31
40
  /**
32
41
  * Polyfill for XMLHttpRequest2 FormData API, allowing multipart POST requests
33
42
  * with mixed data (string, native files) to be submitted via XMLHttpRequest.
@@ -82,9 +91,8 @@ class FormData {
82
91
  // content type (cf. web Blob interface.)
83
92
  if (typeof value === 'object' && !Array.isArray(value) && value) {
84
93
  if (typeof value.name === 'string') {
85
- headers['content-disposition'] += `; filename="${
86
- value.name
87
- }"; filename*=utf-8''${encodeURI(value.name)}`;
94
+ headers['content-disposition'] +=
95
+ `; filename="${encodeFilename(value.name)}"`;
88
96
  }
89
97
  if (typeof value.type === 'string') {
90
98
  headers['content-type'] = value.type;
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.75.3",
10
+ "baseVersion": "0.75.5",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.75.6",
3
+ "version": "0.75.7",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,13 +30,13 @@
30
30
  "@react-native-community/cli-platform-android": "14.1.0",
31
31
  "@react-native-community/cli-platform-ios": "14.1.0",
32
32
  "@react-native/assets": "1.0.0",
33
- "@react-native/assets-registry": "0.75.3",
34
- "@react-native/codegen": "0.75.3",
35
- "@react-native/community-cli-plugin": "0.75.3",
36
- "@react-native/gradle-plugin": "0.75.3",
37
- "@react-native/js-polyfills": "0.75.3",
38
- "@react-native/normalize-colors": "0.75.3",
39
- "@react-native/virtualized-lists": "0.75.3",
33
+ "@react-native/assets-registry": "0.75.5",
34
+ "@react-native/codegen": "0.75.5",
35
+ "@react-native/community-cli-plugin": "0.75.5",
36
+ "@react-native/gradle-plugin": "0.75.5",
37
+ "@react-native/js-polyfills": "0.75.5",
38
+ "@react-native/normalize-colors": "0.75.5",
39
+ "@react-native/virtualized-lists": "0.75.5",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -72,7 +72,7 @@
72
72
  "devDependencies": {
73
73
  "@babel/core": "^7.20.0",
74
74
  "@babel/eslint-parser": "^7.20.0",
75
- "@react-native/metro-config": "0.75.3",
75
+ "@react-native/metro-config": "0.75.5",
76
76
  "@rnw-scripts/babel-react-native-config": "0.0.0",
77
77
  "@rnw-scripts/eslint-config": "1.2.23",
78
78
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.27",
@@ -88,7 +88,7 @@
88
88
  "just-scripts": "^1.3.3",
89
89
  "prettier": "2.8.8",
90
90
  "react": "18.3.1",
91
- "react-native": "0.75.3",
91
+ "react-native": "0.75.5",
92
92
  "react-native-platform-override": "^1.9.42",
93
93
  "typescript": "5.0.4"
94
94
  },