
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
touka-tools
Advanced tools
npm install Touka-tools
const itheimaTime = require("./touka-tools/index");
// 调用 dateFormat 对时间进行格式化
let tmat = itheimaTime.dateFormat(t);
// 结果 2022-04-24 09:44:44
console.log(tmat);
//待转义的html字符串
const htmlStr = '<h1 title="abc">这是h1标签<span>123 </span></h1>';
// 调用 htmlEscape 方法进行转换
let htmls = itheimaTime.htmlEscape(htmlStr);
// 转换得到的结果 <h1 title="abc">这是h1标签<span>123&nbsp</span></h1>bsp</span></h1>
console.log(htmls);
// 调用 unEscape 方法还原待还原的html字符串
let unhtmls = itheimaTime.unEscape(htmls);
// 还原结果 <h1 title="abc">这是h1标签<span>123 </span></h1>
console.log(unhtmls);
ISC
FAQs
提供格式化时间,转义html字符
We found that touka-tools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.