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
63
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.7.0 to 8.8.0

dist/index.d.mts

1

dist/requireResolve.d.ts

@@ -1,3 +0,2 @@

export declare function resolveGlobal(modulesName: string): string | undefined;
export declare function requireResolve(filename: string, paths?: string[]): string | undefined;
//# sourceMappingURL=requireResolve.d.ts.map

@@ -1,14 +0,14 @@

import globalDirectory from 'global-directory';
export function resolveGlobal(modulesName) {
const paths = [globalDirectory.npm.packages, globalDirectory.yarn.packages];
return requireResolve(modulesName, paths);
}
export function requireResolve(filename, paths) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.requireResolve = void 0;
function requireResolve(filename, paths) {
try {
// eslint-disable-next-line unicorn/prefer-module
return require.resolve(filename, paths ? { paths } : undefined);
}
catch (e) {
catch {
return undefined;
}
}
exports.requireResolve = requireResolve;
//# sourceMappingURL=requireResolve.js.map

@@ -6,3 +6,3 @@ {

},
"version": "8.7.0",
"version": "8.8.0",
"description": "Library to help resolve module locations.",

@@ -16,6 +16,8 @@ "keywords": [

"license": "MIT",
"type": "module",
"type": "commonjs",
"sideEffects": false,
"exports": {
".": "./dist/index.js"
".": {
"import": "./dist/index.mjs"
}
},

@@ -57,3 +59,3 @@ "directories": {

},
"gitHead": "5318079ed11fe77e981287ecf1c40d6f28dd91ed"
"gitHead": "a42bce675c00cb2d51809b3ae3894119ea4f5ce7"
}
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