New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

findup-lit

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

findup-lit - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

dist/index.d.ts

20

dist/findup-lit.modern.js

@@ -194,5 +194,21 @@ import path from 'path';

/**
* @typedef {Object} Options
* @prop {URL | string} [cwd]
* @prop {'file' | 'directory'} [type]
* @prop {boolean} [allowSymlinks]
*/
/**
* @typedef {Object} AsyncOptions
* @prop {URL | string} [cwd]
* @prop {'file' | 'directory'} [type]
* @prop {boolean} [allowSymlinks]
* @prop {number} [concurrency]
* @prop {boolean} [preserveOrder]
*/
/**
* findUp walks the directory tree up until it finds the given `name`.
* @param {string|string[]|(directory: string) => string|undefined} name
* @param {Object} [options={}]
* @param {AsyncOptions} [options={}]
* @returns {Promise<string>|undefined}

@@ -241,3 +257,3 @@ */

* @param {string|string[]|(directory: string) => string|undefined} name
* @param {Object} [options={}]
* @param {Options} [options={}]
* @returns {string|undefined}

@@ -244,0 +260,0 @@ */

@@ -194,5 +194,21 @@ import path from 'path';

/**
* @typedef {Object} Options
* @prop {URL | string} [cwd]
* @prop {'file' | 'directory'} [type]
* @prop {boolean} [allowSymlinks]
*/
/**
* @typedef {Object} AsyncOptions
* @prop {URL | string} [cwd]
* @prop {'file' | 'directory'} [type]
* @prop {boolean} [allowSymlinks]
* @prop {number} [concurrency]
* @prop {boolean} [preserveOrder]
*/
/**
* findUp walks the directory tree up until it finds the given `name`.
* @param {string|string[]|(directory: string) => string|undefined} name
* @param {Object} [options={}]
* @param {AsyncOptions} [options={}]
* @returns {Promise<string>|undefined}

@@ -241,3 +257,3 @@ */

* @param {string|string[]|(directory: string) => string|undefined} name
* @param {Object} [options={}]
* @param {Options} [options={}]
* @returns {string|undefined}

@@ -244,0 +260,0 @@ */

7

package.json
{
"name": "findup-lit",
"description": "This package finds a file or directory by walking up parent directories.",
"version": "1.5.0",
"version": "1.6.0",
"author": "Joel Voss <mail@joelvoss.com>",

@@ -20,2 +20,3 @@ "license": "MIT",

"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/findup-lit.cjs",

@@ -35,6 +36,6 @@ "import": "./dist/findup-lit.modern.js"

"dependencies": {
"plimit-lit": "^1.4.1"
"plimit-lit": "^1.5.0"
},
"devDependencies": {
"@jvdx/core": "^3.0.0",
"@jvdx/core": "^3.1.0",
"fixturez": "^1.1.0"

@@ -41,0 +42,0 @@ },

Sorry, the diff of this file is not supported yet

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