New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

meownica-web-fonts-loader

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

meownica-web-fonts-loader - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

3

index.js
/* global XMLHttpRequest, document */
export default (url) => {
export default (url, addClassOnLoad) => {
const xhr = new XMLHttpRequest()

@@ -10,2 +10,3 @@ xhr.open('GET', url, true)

document.head.appendChild(style)
if (addClassOnLoad) document.documentElement.className += ' ' + addClassOnLoad
}

@@ -12,0 +13,0 @@ }

{
"name": "meownica-web-fonts-loader",
"version": "1.0.0",
"version": "1.1.0",
"description": "An asynchronous web-font loader based on code by meowni.ca",

@@ -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