@expo/html-elements 0.13.8 → 0.13.9-canary-20251205-a1dedc6

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.md CHANGED
@@ -10,7 +10,9 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 0.13.8 2025-12-05
13
+ - Fixed check-packages error on Windows. ([#41194](https://github.com/expo/expo/pull/41194) by [@kudo](https://github.com/kudo))
14
+
15
+ ## 0.13.8 - 2025-12-05
14
16
 
15
17
  _This version does not introduce any user-facing changes._
16
18
 
package/babel.js CHANGED
@@ -78,12 +78,18 @@ function getPlatform(caller) {
78
78
  return caller && caller.platform;
79
79
  }
80
80
 
81
+ const REGEXP_REPLACE_SLASHES = /\\/g;
82
+
83
+ function toPosixPath(filePath) {
84
+ return filePath.replace(REGEXP_REPLACE_SLASHES, '/');
85
+ }
86
+
81
87
  module.exports = ({ types: t, ...api }, { expo }) => {
82
88
  const platform = api.caller(getPlatform);
83
89
 
84
90
  function replaceElement(path, state) {
85
91
  // Not supported in node modules
86
- if (/\/node_modules\//.test(state.filename)) {
92
+ if (/\/node_modules\//.test(toPosixPath(state.filename))) {
87
93
  return;
88
94
  }
89
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/html-elements",
3
- "version": "0.13.8",
3
+ "version": "0.13.9-canary-20251205-a1dedc6",
4
4
  "description": "Universal semantic HTML React components for iOS, Android, web, and desktop",
5
5
  "main": "src/Elements.tsx",
6
6
  "types": "build/Elements.d.ts",
@@ -74,7 +74,6 @@
74
74
  "@testing-library/jest-dom": "^6.6.3",
75
75
  "@testing-library/react": "^16.3.0",
76
76
  "@testing-library/react-native": "^13.2.0",
77
- "expo-module-scripts": "^5.0.8"
78
- },
79
- "gitHead": "172a69f5f70c1d0e043e1532f924de97210cabc3"
77
+ "expo-module-scripts": "5.1.0-canary-20251205-a1dedc6"
78
+ }
80
79
  }