@lokse/core
Advanced tools
Comparing version 2.3.0 to 2.3.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadPlugins = exports.PluginError = void 0; | ||
const findNodeModules = require("find-node-modules"); | ||
const errors_1 = require("../errors"); | ||
@@ -10,3 +11,4 @@ const runner_1 = require("./runner"); | ||
function interopRequire(path) { | ||
const obj = require(path); | ||
const lookupPaths = findNodeModules({ cwd: process.cwd() }); | ||
const obj = require(require.resolve(path, { paths: lookupPaths })); | ||
return obj && obj.__esModule ? obj.default : obj; | ||
@@ -13,0 +15,0 @@ } |
{ | ||
"name": "@lokse/core", | ||
"description": "Core of localization from spreadsheet solution lokse", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"author": { | ||
@@ -13,2 +13,3 @@ "name": "Lukas Horak", | ||
"@types/dedent": "^0.7.0", | ||
"@types/find-node-modules": "^2.1.0", | ||
"@types/google-spreadsheet": "^3.0.1", | ||
@@ -20,2 +21,3 @@ "@types/mkdirp": "^1.0.1", | ||
"dedent": "^0.7.0", | ||
"find-node-modules": "^2.1.3", | ||
"google-spreadsheet": "^3.2.0", | ||
@@ -44,3 +46,3 @@ "lodash": "^4.17.20", | ||
}, | ||
"gitHead": "e7a3a3c7d07b0a8d927206ba9c66b368e56d35fd" | ||
"gitHead": "6032edbc060a10951c237fdc77ffb2484d269bda" | ||
} |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
41725
1010
13
6
+ Addedfind-node-modules@^2.1.3
+ Added@types/find-node-modules@2.1.2(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addeddetect-file@1.0.0(transitive)
+ Addedexpand-tilde@2.0.2(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfind-node-modules@2.1.3(transitive)
+ Addedfindup-sync@4.0.0(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedglobal-prefix@1.0.2(transitive)
+ Addedhomedir-polyfill@1.0.3(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedmerge@2.1.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedparse-passwd@1.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedresolve-dir@1.0.1(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedwhich@1.3.1(transitive)