seanmorris / php-wasm

PHP in Browser, powered by WebAssembly.
https://seanmorris.github.io/php-wasm/
Apache License 2.0
606 stars 32 forks source link

php-wasm resolveDependencies has typo/bug #45

Closed mglaman closed 4 days ago

mglaman commented 4 days ago

In php-wasm the shipped resolveDependencies.[mjs|js] has a bug:

const libs = libs.map(libDef => {

It should be

const libs = _libs.map(libDef => {

It is correct in php-cgi-wasm

mglaman commented 4 days ago

It looks correct in php-wasm:^0.0.9-alpha-13. But for some reason NPM downloaded 0.0.9-alpha-9. This is a "me" problem struggling with NPM.