The ibm_db dependency has an install script which installs native binaries for DB2/ODBC:
https://github.com/ibmdb/node-ibm_db/blob/f28fcb2c6e7d93f318851fbfea3b137c672a49d8/package.json#L40
In npm 12, lifecycle scripts will be disabled by default and controlled by the allowScripts option:
Install scripts are off by default. preinstall, install, and postinstall from dependencies won't run unless explicitly allowed.
Source: https://github.com/orgs/community/discussions/198547
Consider alternatives for the install script - we may be able to replace it with an Imperative postInstall script: https://github.com/zowe/zowe-cli/blob/71e5573e88f235b64360b8697b9cd8d070ac85f7/packages/imperative/src/imperative/src/plugins/AbstractPluginLifeCycle.ts#L36
The
ibm_dbdependency has aninstallscript which installs native binaries for DB2/ODBC:https://github.com/ibmdb/node-ibm_db/blob/f28fcb2c6e7d93f318851fbfea3b137c672a49d8/package.json#L40
In npm 12, lifecycle scripts will be disabled by default and controlled by the
allowScriptsoption:Source: https://github.com/orgs/community/discussions/198547
Consider alternatives for the
installscript - we may be able to replace it with an ImperativepostInstallscript: https://github.com/zowe/zowe-cli/blob/71e5573e88f235b64360b8697b9cd8d070ac85f7/packages/imperative/src/imperative/src/plugins/AbstractPluginLifeCycle.ts#L36