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

fis3-hook-lego

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-hook-lego - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

powerLego.js

9

index.js

@@ -7,3 +7,3 @@ /**

var lookup = require('./lookup');
var powerLego = require('./powerLego');
var entry = module.exports = function(fis, opts) {

@@ -18,2 +18,9 @@ fis.on('lookup:file', function(info, file) {

}
} else if (opts.powerLego && info.rest && powerLego.reg.test(info.rest) && !info.id) {
// 处理inline和样式
var ret = powerLego.lookup(info.rest, opts);
if (ret && ret.file) {
info.id = ret.file.getId();
info.file = ret.file;
}
}

@@ -20,0 +27,0 @@ });

@@ -0,0 +0,0 @@ /**

2

package.json
{
"name": "fis3-hook-lego",
"version": "0.2.3",
"version": "0.2.4",
"description": "lego 包管理模块查找",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,0 +0,0 @@ # fis3-hook-lego

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