Summary: | Не отображается версия в выводе npm config get user-agent | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Alexander Makeenkov <amakeenk> |
Component: | npm | Assignee: | Vitaly Lipatov <lav> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | lav |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Alexander Makeenkov
2022-08-02 18:04:07 MSK
npm-8.15.0-alt1 - ошибка воспроизводится. Проблему исправляет --- /usr/lib/node_modules/npm/lib/utils/config/definitions.js~ 2022-09-30 04:02:36.000000000 +0300 +++ /usr/lib/node_modules/npm/lib/utils/config/definitions.js 2022-10-20 12:34:19.604520442 +0300 @@ -2205,7 +2205,7 @@ // We can't clobber the original or else subsequent flattening will fail // (i.e. when we change the underlying config values) - // obj[key] = flatOptions.userAgent + obj[key] = flatOptions.userAgent // user-agent is a unique kind of config item that gets set from a template // and ends up translated. Because of this, the normal "should we set this npm-8.19.2-alt2 -> sisyphus: Fri Oct 21 2022 Vitaly Lipatov <lav@altlinux.ru> 8.19.2-alt2 - fix npm config get user-agent output (ALT bug 43430) $ npm config get user-agent npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci} $ epmqf npm > npm is placed as /usr/bin/npm $ rpm -qf /usr/bin/npm npm-10.2.4-alt1.noarch > /usr/bin/npm is link to ../lib/node_modules/npm/bin/npm-cli.js $ rpm -qf /usr/lib/node_modules/npm/bin/npm-cli.js npm-10.2.4-alt1.noarch node-20.11.1-alt2 -> sisyphus: Fri Mar 01 2024 Vitaly Lipatov <lav@altlinux.ru> 20.11.1-alt2 - fix npm config get user-agent output again (ALT bug 43430) |