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.
(<5kb) [📱iOS] Create Progressive Web App Dynamically.
$ npm install micro-app
$ npm cd node_modules/micro-app/
$ npm install
$ npm run demo
"micro-app"
.<script micro-app src="micro-app.min.js" capable></script>
"micro-app"
then set feature by "setAttribute"
.<script micro-app src="micro-app.min.js"></script>
<script>
document.querySelector('script[micro-app]').setAttribute('capable', true);
</script>
"microApp"
.<script src="micro-app.min.js"></script>
<script>
microApp.capable = true;
</script>
null
, that means remove the feature.microApp.capable = true
;<meta name="apple-mobile-web-app-capable" content="yes">
microApp.statusBarStyle = 'black-translucent'
;microApp["status-bar-style"]
and microApp.statusBarStyle
are same.<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
microApp.title = 'title'
;<meta name="apple-mobile-web-app-title" content="title">
microApp.icon = 'icon.jpg'
;<link rel="apple-touch-icon" href="icon.jpg">
microApp.icon = 'splash.jpg'
;<link rel="apple-touch-startup-image" href="splash.jpg">
Use Array
and Object
to set multiple icon
and splash
.
@see /demo/jquery/entry/index.js
Argument | Description |
---|---|
String | filter name |
Function | filter handler |
Return values |
---|
microApp |
rel="apple-touch-icon-precomposed"
.sizes
or media
after computed.MIT
FAQs
(<5kb) [📱iOS] Create Progressive Web App Dynamically.
The npm package micro-app receives a total of 8 weekly downloads. As such, micro-app popularity was classified as not popular.
We found that micro-app 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.