chore: update

This commit is contained in:
2026-02-18 21:52:32 +01:00
parent aed786cf2c
commit 1f2e4e96dd
399 changed files with 4173 additions and 10273 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ buildscript {
def reactNativeVersion = project.extensions.getByType(ExpoModuleExtension).reactNativeVersion
group = 'host.exp.exponent'
version = '54.0.32'
version = '54.0.33'
expoModule {
// We can't prebuild the module because it depends on the generated files.
@@ -43,7 +43,7 @@ android {
namespace "expo.core"
defaultConfig {
versionCode 1
versionName "54.0.32"
versionName "54.0.33"
consumerProguardFiles("proguard-rules.pro")
}
testOptions {
+3 -3
View File
@@ -42,7 +42,7 @@
"expo-document-picker": "~14.0.8",
"expo-file-system": "~19.0.21",
"expo-font": "~14.0.11",
"expo-gl": "~16.0.9",
"expo-gl": "~16.0.10",
"expo-glass-effect": "~0.1.8",
"expo-google-app-auth": "~8.3.0",
"expo-haptics": "~15.0.8",
@@ -71,7 +71,7 @@
"expo-notifications": "~0.32.16",
"expo-print": "~15.0.8",
"expo-live-photo": "~1.0.8",
"expo-router": "~6.0.22",
"expo-router": "~6.0.23",
"expo-screen-capture": "~8.0.9",
"expo-screen-orientation": "~9.0.8",
"expo-secure-store": "~15.0.8",
@@ -92,7 +92,7 @@
"expo-video-thumbnails": "~10.0.8",
"expo-video": "~3.0.15",
"expo-web-browser": "~15.0.10",
"jest-expo": "~54.0.16",
"jest-expo": "~54.0.17",
"lottie-react-native": "~7.3.1",
"react": "19.1.0",
"react-dom": "19.1.0",
+1 -1
View File
@@ -123,7 +123,7 @@ const args = (0, _arg().default)({
});
if (args['--version']) {
// Version is added in the build script.
console.log("54.0.22");
console.log("54.0.23");
process.exit(0);
}
if (args['--non-interactive']) {
@@ -15,19 +15,11 @@ function _ws() {
};
return data;
}
const _net = require("../../../utils/net");
function createDevToolsPluginWebsocketEndpoint({ serverBaseUrl }) {
function createDevToolsPluginWebsocketEndpoint() {
const wss = new (_ws()).WebSocketServer({
noServer: true
});
wss.on('connection', (ws, request)=>{
// Explicitly limit devtools websocket to loopback requests
if (!(0, _net.isLocalSocket)(request.socket) || !(0, _net.isMatchingOrigin)(request, serverBaseUrl)) {
// NOTE: `socket.close` nicely closes the websocket, which will still allow incoming messages
// `socket.terminate` instead forcefully closes down the socket
ws.terminate();
return;
}
ws.on('message', (message, isBinary)=>{
// Broadcast the received message to all other connected clients
wss.clients.forEach((client)=>{
@@ -1 +1 @@
{"version":3,"sources":["../../../../../src/start/server/metro/DevToolsPluginWebsocketEndpoint.ts"],"sourcesContent":["import { WebSocket, WebSocketServer } from 'ws';\n\nimport { isLocalSocket, isMatchingOrigin } from '../../../utils/net';\n\ninterface DevToolsPluginWebsocketEndpointParams {\n serverBaseUrl: string;\n}\n\nexport function createDevToolsPluginWebsocketEndpoint({\n serverBaseUrl,\n}: DevToolsPluginWebsocketEndpointParams): Record<string, WebSocketServer> {\n const wss = new WebSocketServer({ noServer: true });\n\n wss.on('connection', (ws, request) => {\n // Explicitly limit devtools websocket to loopback requests\n if (!isLocalSocket(request.socket) || !isMatchingOrigin(request, serverBaseUrl)) {\n // NOTE: `socket.close` nicely closes the websocket, which will still allow incoming messages\n // `socket.terminate` instead forcefully closes down the socket\n ws.terminate();\n return;\n }\n\n ws.on('message', (message, isBinary) => {\n // Broadcast the received message to all other connected clients\n wss.clients.forEach((client) => {\n if (client !== ws && client.readyState === WebSocket.OPEN) {\n client.send(message, { binary: isBinary });\n }\n });\n });\n });\n\n return { '/expo-dev-plugins/broadcast': wss };\n}\n"],"names":["createDevToolsPluginWebsocketEndpoint","serverBaseUrl","wss","WebSocketServer","noServer","on","ws","request","isLocalSocket","socket","isMatchingOrigin","terminate","message","isBinary","clients","forEach","client","readyState","WebSocket","OPEN","send","binary"],"mappings":";;;;+BAQgBA;;;eAAAA;;;;yBAR2B;;;;;;qBAEK;AAMzC,SAASA,sCAAsC,EACpDC,aAAa,EACyB;IACtC,MAAMC,MAAM,IAAIC,CAAAA,KAAc,iBAAC,CAAC;QAAEC,UAAU;IAAK;IAEjDF,IAAIG,EAAE,CAAC,cAAc,CAACC,IAAIC;QACxB,2DAA2D;QAC3D,IAAI,CAACC,IAAAA,kBAAa,EAACD,QAAQE,MAAM,KAAK,CAACC,IAAAA,qBAAgB,EAACH,SAASN,gBAAgB;YAC/E,6FAA6F;YAC7F,+DAA+D;YAC/DK,GAAGK,SAAS;YACZ;QACF;QAEAL,GAAGD,EAAE,CAAC,WAAW,CAACO,SAASC;YACzB,gEAAgE;YAChEX,IAAIY,OAAO,CAACC,OAAO,CAAC,CAACC;gBACnB,IAAIA,WAAWV,MAAMU,OAAOC,UAAU,KAAKC,eAAS,CAACC,IAAI,EAAE;oBACzDH,OAAOI,IAAI,CAACR,SAAS;wBAAES,QAAQR;oBAAS;gBAC1C;YACF;QACF;IACF;IAEA,OAAO;QAAE,+BAA+BX;IAAI;AAC9C"}
{"version":3,"sources":["../../../../../src/start/server/metro/DevToolsPluginWebsocketEndpoint.ts"],"sourcesContent":["import { WebSocket, WebSocketServer } from 'ws';\n\nexport function createDevToolsPluginWebsocketEndpoint(): Record<string, WebSocketServer> {\n const wss = new WebSocketServer({ noServer: true });\n\n wss.on('connection', (ws, request) => {\n ws.on('message', (message, isBinary) => {\n // Broadcast the received message to all other connected clients\n wss.clients.forEach((client) => {\n if (client !== ws && client.readyState === WebSocket.OPEN) {\n client.send(message, { binary: isBinary });\n }\n });\n });\n });\n\n return { '/expo-dev-plugins/broadcast': wss };\n}\n"],"names":["createDevToolsPluginWebsocketEndpoint","wss","WebSocketServer","noServer","on","ws","request","message","isBinary","clients","forEach","client","readyState","WebSocket","OPEN","send","binary"],"mappings":";;;;+BAEgBA;;;eAAAA;;;;yBAF2B;;;;;;AAEpC,SAASA;IACd,MAAMC,MAAM,IAAIC,CAAAA,KAAc,iBAAC,CAAC;QAAEC,UAAU;IAAK;IAEjDF,IAAIG,EAAE,CAAC,cAAc,CAACC,IAAIC;QACxBD,GAAGD,EAAE,CAAC,WAAW,CAACG,SAASC;YACzB,gEAAgE;YAChEP,IAAIQ,OAAO,CAACC,OAAO,CAAC,CAACC;gBACnB,IAAIA,WAAWN,MAAMM,OAAOC,UAAU,KAAKC,eAAS,CAACC,IAAI,EAAE;oBACzDH,OAAOI,IAAI,CAACR,SAAS;wBAAES,QAAQR;oBAAS;gBAC1C;YACF;QACF;IACF;IAEA,OAAO;QAAE,+BAA+BP;IAAI;AAC9C"}
@@ -262,9 +262,7 @@ async function instantiateMetroAsync(metroBundler, options, { isExporting, exp =
}
return middleware.use(metroMiddleware);
};
const devtoolsWebsocketEndpoints = (0, _DevToolsPluginWebsocketEndpoint.createDevToolsPluginWebsocketEndpoint)({
serverBaseUrl
});
const devtoolsWebsocketEndpoints = (0, _DevToolsPluginWebsocketEndpoint.createDevToolsPluginWebsocketEndpoint)();
Object.assign(websocketEndpoints, devtoolsWebsocketEndpoints);
}
// Attach Expo Atlas if enabled
File diff suppressed because one or more lines are too long
@@ -33,7 +33,7 @@ class FetchClient {
this.headers = {
accept: 'application/json',
'content-type': 'application/json',
'user-agent': `expo-cli/${"54.0.22"}`,
'user-agent': `expo-cli/${"54.0.23"}`,
authorization: 'Basic ' + _nodebuffer().Buffer.from(`${target}:`).toString('base64')
};
}
@@ -83,7 +83,7 @@ function createContext() {
cpu: summarizeCpuInfo(),
app: {
name: 'expo/cli',
version: "54.0.22"
version: "54.0.23"
},
ci: _ciinfo().isCI ? {
name: _ciinfo().name,
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@expo/cli",
"version": "54.0.22",
"version": "54.0.23",
"description": "The Expo CLI",
"main": "build/bin/cli",
"bin": {
@@ -169,5 +169,5 @@
"tree-kill": "^1.2.2",
"tsd": "^0.28.1"
},
"gitHead": "5205083d153ffa0c5e48db969aeaa1f9810453fc"
"gitHead": "cfd65241fb73317b63e6736e7890a784a69940fc"
}
+3 -2
View File
@@ -110,8 +110,9 @@ Options:
-l --loose
Interpret versions and ranges loosely
-n <0|1>
This is the base to be used for the prerelease identifier.
-n <0|1|false>
Base number for prerelease identifier (default: 0).
Use false to omit the number altogether.
-p --include-prerelease
Always include prerelease versions in range matching
+1 -1
View File
@@ -105,7 +105,7 @@ const main = () => {
versions = versions.map((v) => {
return coerce ? (semver.coerce(v, options) || { version: v }).version : v
}).filter((v) => {
return semver.valid(v)
return semver.valid(v, options)
})
if (!versions.length) {
return fail()
+1 -1
View File
@@ -53,7 +53,7 @@ const diff = (version1, version2) => {
return prefix + 'patch'
}
// high and low are preleases
// high and low are prereleases
return 'prerelease'
}
+2 -2
View File
@@ -78,8 +78,8 @@ createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
// ## Pre-release Version Identifier
// A numeric identifier, or a non-numeric identifier.
// Non-numberic identifiers include numberic identifiers but can be longer.
// Therefore non-numberic identifiers must go first.
// Non-numeric identifiers include numeric identifiers but can be longer.
// Therefore non-numeric identifiers must go first.
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
}|${src[t.NUMERICIDENTIFIER]})`)
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "semver",
"version": "7.7.3",
"version": "7.7.4",
"description": "The semantic version parser used by npm.",
"main": "index.js",
"scripts": {
@@ -14,8 +14,8 @@
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
},
"devDependencies": {
"@npmcli/eslint-config": "^5.0.0",
"@npmcli/template-oss": "4.25.1",
"@npmcli/eslint-config": "^6.0.0",
"@npmcli/template-oss": "4.29.0",
"benchmark": "^2.1.4",
"tap": "^16.0.0"
},
@@ -52,7 +52,7 @@
"author": "GitHub Inc.",
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.25.1",
"version": "4.29.0",
"engines": ">=10",
"distPaths": [
"classes/",
+1 -1
View File
@@ -38,7 +38,7 @@ const compare = require('../functions/compare.js')
// - If LT
// - If LT.semver is greater than any < or <= comp in C, return false
// - If LT is <=, and LT.semver does not satisfy every C, return false
// - If GT.semver has a prerelease, and not in prerelease mode
// - If LT.semver has a prerelease, and not in prerelease mode
// - If no C has a prerelease and the LT.semver tuple, return false
// - Else return true
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "expo",
"version": "54.0.32",
"version": "54.0.33",
"description": "The Expo SDK",
"main": "src/Expo.ts",
"module": "src/Expo.ts",
@@ -75,7 +75,7 @@
"homepage": "https://github.com/expo/expo/tree/main/packages/expo",
"dependencies": {
"@babel/runtime": "^7.20.0",
"@expo/cli": "54.0.22",
"@expo/cli": "54.0.23",
"@expo/config": "~12.0.13",
"@expo/config-plugins": "~54.0.4",
"@expo/devtools": "0.1.8",
@@ -124,5 +124,5 @@
"optional": true
}
},
"gitHead": "5205083d153ffa0c5e48db969aeaa1f9810453fc"
"gitHead": "cfd65241fb73317b63e6736e7890a784a69940fc"
}
BIN
View File
Binary file not shown.