Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
gulp-nocache
Advanced tools
Version static assets. Clear cache of browser when you publish your webapp.
重命名所有静态资源,并替换相应的引用路径,用于解决web上线后浏览器缓存静态资源的问题。Web-NoCache
npm install gulp-nocache
./web
├── edit.png
├── index.html
├── index.js
├── main.css
└── main.js
./build
├── edit.bf460a.png
├── index.0060a9.js
├── index.html
├── main.01cb6e.css
└── main.9968bc.js
index.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>test web</title>
<link rel="stylesheet" type="text/css" href="main.01cb6e.css">
</head>
<body>
<h1>TEST</h1>
<script type="text/javascript" src="main.9968bc.js"></script>
<script type="text/javascript" src="/index.0060a9.js"></script>
</body>
</html>
#API
##getMap
返回处理前后文件路径对应关系的map
##setMap(value)
设置处理前后文件路径对应关系的map
FAQs
Version static assets. Clear cache of browser when you publish your webapp.
The npm package gulp-nocache receives a total of 1 weekly downloads. As such, gulp-nocache popularity was classified as not popular.
We found that gulp-nocache 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.