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

postcss-font-grabber

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-font-grabber - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

dist/index.js

@@ -37,2 +37,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFRQTs7OztBQUNBOzs7Ozs7Ozs7Ozs7Ozs7OztBQU1BLElBQU0sU0FBUyxrQkFBUSxNQUFSLENBQWUsc0JBQWYsRUFBdUMsVUFBQyxJQUFELEVBQVU7QUFDOUQsU0FBTyxzQkFBWSxpQkFBWixDQUE4QixJQUE5QixDQUFQO0FBQ0QsQ0FGYyxDQUFmOzs7OztrQkFPZSxNIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXHJcbiAqIFBvc3Rjc3MgRm9udCBHcmFiYmVyXHJcbiAqXHJcbiAqIEBsaWNlbnNlICAgICAgICBBcGFjaGUgMi4wXHJcbiAqIEBjb3B5cmlnaHQgIChjKSAyMDE2LCBBYXJvbkphblxyXG4gKiBAYXV0aG9yICAgICAgICAgQWFyb25KYW4gPGh0dHBzOi8vZ2l0aHViLmNvbS9BYXJvbkphbi9wb3N0Y3NzLWZvbnQtZ3JhYmJlcj5cclxuICovXHJcblxyXG5pbXBvcnQgcG9zdGNzcyBmcm9tICdwb3N0Y3NzJztcclxuaW1wb3J0IEZvbnRHcmFiYmVyIGZyb20gJy4vbGliL2ZvbnQtZ3JhYmJlcic7XHJcblxyXG5cclxuLy9cclxuLy8gTWFrZSBwbHVnaW4gaW5zdGFuY2UuXHJcbi8vXHJcbmNvbnN0IHBs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HJvY2Vzc29yKSk7XG4gICAgICBcbiAgICAgIHJldHVybiAoXG4gICAgICAgIHByb2Nlc3NQcm9taXNlcy5sZW5ndGggPT09IDAgP1xuICAgICAgICAgIFByb21pc2UucmVzb2x2ZSgpIDpcbiAgICAgICAgICBQcm9taXNlLmFsbChwcm9jZXNzUHJvbWlzZXMpXG4gICAgICApO1xuICAgIH07XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgRm9udEdyYWJiZXI7Il19

@@ -11,3 +11,3 @@ "use strict";

var extractUrlFromFontFaceSrcRegex = /^url\s*\(\s*[\'\"]?(https?:[^\)]*?)[\'\"]?\s*\)/;
var validFontExtensionRegex = /\.(ttf|otf|woff|eot|svg)$/;
var validFontExtensionRegex = /\.(ttf|otf|woff|woff2|eot|svg)$/;
var trimRegex = /(^\s+|\s+$)/g;

@@ -22,2 +22,2 @@ var isFontFaceSrcContainsRemoteFontUrlRegex = /(\s*|,|^)url\s*\(\s*[\'\"]?https?:/;

exports.isRemoteFontUrlRegex = isRemoteFontUrlRegex;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvcmVnZXhlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFJQSxJQUFNLGlDQUEwQyxpREFBaEQ7QUFDQSxJQUFNLDBCQUEwQywyQkFBaEQ7QUFDQSxJQUFNLFlBQTBDLGNBQWhEO0FBQ0EsSUFBTSwwQ0FBMEMsb0NBQWhEO0FBQ0EsSUFBTSx1QkFBMEMsK0JBQWhEOztRQUdFLDhCLEdBQUEsOEI7UUFDQSx1QixHQUFBLHVCO1FBQ0EsUyxHQUFBLFM7UUFDQSx1QyxHQUFBLHVDO1FBQ0Esb0IsR0FBQSxvQiIsImZpbGUiOiJyZWdleGVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBEZWZpbmUgYWxsIHJlZ3VsYXIg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cmxSZWdleCxcbn07XG4iXX0=
{
"name": "postcss-font-grabber",
"version": "1.0.6",
"version": "1.0.7",
"description": "Grab remote font in @font-face, download it and update your CSS, end of story.",

@@ -5,0 +5,0 @@ "author": "AaronJan <aaronjan@qq.com>",

@@ -6,3 +6,3 @@ /**

const extractUrlFromFontFaceSrcRegex = /^url\s*\(\s*[\'\"]?(https?:[^\)]*?)[\'\"]?\s*\)/;
const validFontExtensionRegex = /\.(ttf|otf|woff|eot|svg)$/;
const validFontExtensionRegex = /\.(ttf|otf|woff|woff2|eot|svg)$/;
const trimRegex = /(^\s+|\s+$)/g;

@@ -9,0 +9,0 @@ const isFontFaceSrcContainsRemoteFontUrlRegex = /(\s*|,|^)url\s*\(\s*[\'\"]?https?:/;

@@ -51,2 +51,3 @@ /**

t.true(regexes.validFontExtensionRegex.test('file.woff'));
t.true(regexes.validFontExtensionRegex.test('file.woff2'));
t.true(regexes.validFontExtensionRegex.test('file.eot'));

@@ -53,0 +54,0 @@ t.true(regexes.validFontExtensionRegex.test('file.svg'));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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