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

@cspell/cspell-resolver

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/cspell-resolver - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

7

dist/index.js

@@ -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

13

dist/requireResolve.js

@@ -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"
}
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