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

webfonts-loader

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webfonts-loader - npm Package Compare versions

Comparing version 7.3.0 to 7.4.0

.github/workflows/node.js.yml

5

index.js

@@ -119,2 +119,3 @@ var loaderUtils = require('loader-utils');

if ('startCodepoint' in fontConfig) generatorOptions.startCodepoint = fontConfig.startCodepoint;
if ('ligature' in fontConfig) generatorOptions.ligature = fontConfig.ligature;

@@ -134,2 +135,6 @@ if ('htmlTemplate' in fontConfig) generatorOptions.htmlTemplate = fontConfig.htmlTemplate;

if (fontConfig.cssContext) {
generatorOptions.cssContext = fontConfig.cssContext;
}
if (fontConfig.cssTemplate) {

@@ -136,0 +141,0 @@ generatorOptions.cssTemplate = path.resolve(this.context, fontConfig.cssTemplate);

2

package.json
{
"name": "webfonts-loader",
"version": "7.3.0",
"version": "7.4.0",
"description": "A WebPack loader to automatically generate font files and CSS to make your own icon font",

@@ -5,0 +5,0 @@ "repository": "jeerbl/webfonts-loader",

@@ -5,3 +5,3 @@ # webfonts-loader

[![npm](https://img.shields.io/npm/dm/webfonts-loader.svg)](https://www.npmjs.com/package/webfonts-loader)
[![Travis](https://img.shields.io/travis/jeerbl/webfonts-loader.svg)](https://travis-ci.com/jeerbl/webfonts-loader)
[![GitHub Action](https://img.shields.io/github/workflow/status/jeerbl/webfonts-loader/Node.js%20CI)](https://github.com/jeerbl/webfonts-loader/actions/workflows/node.js.yml)
[![license](https://img.shields.io/github/license/jeerbl/webfonts-loader.svg)](https://github.com/jeerbl/webfonts-loader/blob/master/LICENSE)

@@ -122,2 +122,7 @@

##### `cssContext`, String
Add parameters or helpers to your template.
See [webfonts-generator#cssContext](https://github.com/vusion/webfonts-generator#cssContext)
##### `cssTemplate`, String

@@ -248,1 +253,5 @@

See [webfonts-generator#htmltemplate](https://github.com/vusion/webfonts-generator#htmltemplate)
##### `startCodepoint`, Number
See [webfonts-generator#startcodepoint](https://github.com/vusion/webfonts-generator#startcodepoint)
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