fis3-hook-lego
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -13,6 +13,7 @@ /** | ||
useRootPackage = '', | ||
compare = require('compare-version'); | ||
compare = require('compare-version'), | ||
path = require('path'); | ||
var projRoot = fis.project.getProjectPath().replace(/\/src$/, ''), | ||
packRoot = require(projRoot + '\\package.json'); | ||
packRoot = require(path.join(projRoot,'package.json')); | ||
@@ -19,0 +20,0 @@ module.exports = function(id, opts) { |
{ | ||
"name": "fis3-hook-lego", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"description": "lego 包管理模块查找", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
var _ = fis.util, | ||
fs = _.fs, | ||
compare = require('compare-version'), | ||
root = 'lego_modules'; | ||
root = 'lego_modules', | ||
path = require('path'); | ||
var projRoot = fis.project.getProjectPath().replace(/\/src$/, ''), | ||
packRoot = require(projRoot + '\\package.json'); | ||
var projRoot = fis.project.getProjectPath().replace(/[\/]src$/, ''), | ||
packRoot = require(path.join(projRoot,'package.json')); | ||
@@ -9,0 +10,0 @@ module.exports = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
14328
285