You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

module-root-sync

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-root-sync - npm Package Compare versions

Comparing version
1.1.9
to
1.1.10
+3
dist/cjs/index.d.cts
import type { RootOptions } from './types';
export * from './types';
export default function moduleRoot(dir: string, options?: RootOptions): string;
export interface RootOptions {
keyExists?: string;
}
import type { RootOptions } from './types';
export * from './types';
export default function moduleRoot(dir: string, options?: RootOptions): string;
export interface RootOptions {
keyExists?: string;
}
+7
-6
{
"name": "module-root-sync",
"version": "1.1.9",
"version": "1.1.10",
"description": "Finds the directory that the modules resides in",

@@ -26,9 +26,10 @@ "keywords": [

"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.ts"
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"types": "dist/cjs/index.d.cts",
"files": [

@@ -35,0 +36,0 @@ "dist"

import type { RootOptions } from './types';
export * from './types';
export default function moduleRoot(dir: string, options?: RootOptions): string;
export interface RootOptions {
keyExists?: string;
}