Socket
Socket
Sign inDemoInstall

font-face-extract

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-face-extract - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

9

lib/getFontFaceText.js

@@ -53,7 +53,12 @@ class GetPageFontFaceText {

let selectors = cssSelect[i],
oe,
oe = [],
string = '';
//遍历选择器,获取其文本
selectors.forEach(item => {
oe = config.dom.window.document.querySelectorAll(item);
let list = config.dom.window.document.querySelectorAll(item);
//将获取的元素添加到一个列表
list.forEach(_item => {
oe.push(_item);
});
});

@@ -60,0 +65,0 @@ oe.forEach(item => {

@@ -0,0 +0,0 @@ class getPagesFontFaceText{

{
"name": "font-face-extract",
"version": "0.5.6",
"version": "0.5.7",
"description": "html font-face text extraction",

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

@@ -0,0 +0,0 @@ # font-face-extract

@@ -5,3 +5,3 @@ const path = require('path'),

let fontCatch = new FontCatch({
src:[path.join(__dirname,'demo.html'),path.join(__dirname,'demo1.html')]
src:[path.join(__dirname,'../../index.html')]
});

@@ -8,0 +8,0 @@

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

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