
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
@expofp/config
Advanced tools
The effective-config layer for the ExpoFP SDK. loadConfig() assembles the runtime's single copy of
the expo data by layering manifest (+ legacy data.js) → options → localStorage → URL, resolving
$refs via @expofp/resolve against @expofp/schema; setConfig/getConfig hold the result.
setConfig(await loadConfig(manifestUrl));
const config = getConfig();
Schema validation of the manifest and referenced documents (data.js, drawing, wayfinding) is an
opt-in diagnostic — off by default (parsing the large expo documents costs time). Enable it per page
load with ?validateSchema=1 in the URL or efp-validateSchema=true in localStorage (also a
@expofp/debug panel toggle); timing for the parses it turns on logs on the efp:config:validate
namespace. It is a load-time input only — the effective config never carries it.
Intents from the URL ride the query in two forms, merged canonical-first: the bracketed array
(?intents[0][name]=selectBooth&intents[0][args][0]=A-12) and a typable shortcut — the intent name
as the key (?selectBooth=A-12, ?changeLanguage=fr; multi-arg via ?name[0]=…&name[1]=…). The
shortcut keys are the IntentsSchema arm names, so the schema stays the URL allowlist; one shortcut
per intent name, and a value that doesn't fit its intent is dropped (a visitor-edited URL never
breaks boot).
The legacy URL grammar (legacy-url.ts) is the compact deep-link language the floor plan has
always spoken — ?<slug>, ?route:B-12:A-3:false, ?tour=t1, ?planner=a:b&from=c, one-shot
params like ?blue-dot=…. parseLegacyQuery turns a raw location.search into typed commands and
serializeSelection writes a selection back in the same grammar (round-trip covered by tests), so
shared links stay bidirectional. The floor plan's url-dispatch service binds the commands to
stores and public methods; this codec stays pure — no DOM, no stores.
Also: applyIntents (dispatch selectBooth / changeLanguage / … to the floor plan),
serializeConfigResources (collect schema-tagged assets + payloads for offline copies), and
toDebugSettings (config schema → @expofp/debug panel). Types re-export from @expofp/schema.
Build/test: nx build config · nx test config.
FAQs
ExpoFP SDK internal: config layer and schemas
The npm package @expofp/config receives a total of 431 weekly downloads. As such, @expofp/config popularity was classified as not popular.
We found that @expofp/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.