@cspell/cspell-resolver
Advanced tools
Comparing version 8.0.0 to 8.1.0
@@ -1,7 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.resolveGlobal = exports.requireResolve = void 0; | ||
var requireResolve_js_1 = require("./requireResolve.js"); | ||
Object.defineProperty(exports, "requireResolve", { enumerable: true, get: function () { return requireResolve_js_1.requireResolve; } }); | ||
Object.defineProperty(exports, "resolveGlobal", { enumerable: true, get: function () { return requireResolve_js_1.resolveGlobal; } }); | ||
export { requireResolve, resolveGlobal } from './requireResolve.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,11 +0,7 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.requireResolve = exports.resolveGlobal = void 0; | ||
const global_dirs_1 = require("global-dirs"); | ||
function resolveGlobal(modulesName) { | ||
const paths = [global_dirs_1.npm.packages, global_dirs_1.yarn.packages]; | ||
import globalDirectory from 'global-directory'; | ||
export function resolveGlobal(modulesName) { | ||
const paths = [globalDirectory.npm.packages, globalDirectory.yarn.packages]; | ||
return requireResolve(modulesName, paths); | ||
} | ||
exports.resolveGlobal = resolveGlobal; | ||
function requireResolve(filename, paths) { | ||
export function requireResolve(filename, paths) { | ||
try { | ||
@@ -18,3 +14,2 @@ return require.resolve(filename, paths ? { paths } : undefined); | ||
} | ||
exports.requireResolve = requireResolve; | ||
//# sourceMappingURL=requireResolve.js.map |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "Library to help resolve module locations.", | ||
@@ -16,5 +16,6 @@ "keywords": [ | ||
"license": "MIT", | ||
"type": "commonjs", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js" | ||
}, | ||
"directories": { | ||
@@ -52,5 +53,5 @@ "dist": "dist" | ||
"dependencies": { | ||
"global-dirs": "^3.0.1" | ||
"global-directory": "^4.0.1" | ||
}, | ||
"gitHead": "67c22bf98baed1c17bbc658fba8656262d17e370" | ||
"gitHead": "28568808deaf39b9ffa71fd0f722441ff1b8c794" | ||
} |
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
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
Yes
3746
17
+ Addedglobal-directory@^4.0.1
+ Addedglobal-directory@4.0.1(transitive)
+ Addedini@4.1.1(transitive)
- Removedglobal-dirs@^3.0.1
- Removedglobal-dirs@3.0.1(transitive)
- Removedini@2.0.0(transitive)