Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prefetch

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prefetch - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "prefetch",
"version": "0.1.2",
"version": "0.1.3",
"description": "Customizable interaction-based link prefetching.",

@@ -5,0 +5,0 @@ "main": "prefetch.js",

@@ -166,3 +166,3 @@ /**

el.addEventListener(type, function (e){
if(e.target.matches('a')){
if(e.target.matches('a') || getLinkTarget(e.target)){
switch(type){

@@ -177,4 +177,4 @@ case 'touchstart': touchstart(e); break;

}
return new Prefetch().init();
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc