
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@xmini/utils
Advanced tools
常用方法收集
npm run test
报错Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
参考 https://github.com/facebook/jest/issues/1456
npm publish
报错403 Forbidden - PUT http://registry.npmjs.org/dwd-utils - dwd-utils cannot be republished until 24 hours have passed.
-f
参数,参见参考 https://github.com/muwenzi/Program-Blog/issues/12
npm run test
报错# 报错误
TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'
这里升级 node 版本 11.11.0后引起,可以退回版本11.10.1或升级到11.12.0
# 报错误
ReferenceError: regeneratorRuntime is not defined
调整 babel.config.js
,添加
'@babel/preset-env',
{
targets: {
node: 'current',
},
}
FAQs
utils
The npm package @xmini/utils receives a total of 0 weekly downloads. As such, @xmini/utils popularity was classified as not popular.
We found that @xmini/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.