You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the npm docs a scope can contain URL-safe characters, no leading dots or underscores. This includes dashes and/or underscores within the name (e.g. @scope-name/package).
However, the following line in utils uses the \w regex match, which only matches [a-zA-Z0-9_], which does not include dashes. This makes prebuild-install look for the binaries in the wrong location (e.g. https://github.com/scope-name/package/releases/download/v1.0.0/@scope-name/package-v1.0.0-node-v83-win32-x64.tar.gz) which obviously doesn't work.
According to the npm docs a scope can contain
URL-safe characters, no leading dots or underscores
. This includes dashes and/or underscores within the name (e.g.@scope-name/package
).However, the following line in utils uses the
\w
regex match, which only matches[a-zA-Z0-9_]
, which does not include dashes. This makes prebuild-install look for the binaries in the wrong location (e.g.https://github.com/scope-name/package/releases/download/v1.0.0/@scope-name/package-v1.0.0-node-v83-win32-x64.tar.gz
) which obviously doesn't work.prebuild-install/util.js
Line 8 in 2e3fedb
The text was updated successfully, but these errors were encountered: