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

dynamic-resource-hints

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamic-resource-hints - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js
var makeHint = function makeHint(href, rel, as, crossorigin, type) {
var link = document.createElement("link");
link.setAttribute("rel", type);
link.setAttribute("rel", rel);
link.setAttribute("href", href);

@@ -5,0 +5,0 @@ crossorigin && link.setAttribute("crossorigin", crossorigin);

{
"name": "dynamic-resource-hints",
"version": "0.0.3",
"version": "0.0.4",
"description": "Dynamically add preload browser hints at runtime",

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

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