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

@universal-packages/directory-traversal

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@universal-packages/directory-traversal - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

package.json
{
"name": "@universal-packages/directory-traversal",
"version": "1.3.0",
"version": "1.3.1",
"description": "Simple tool to traverse a directory deeply and get desired info",

@@ -19,3 +19,3 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",

"dependencies": {
"@universal-packages/fs-utils": "1.0.1"
"@universal-packages/fs-utils": "^1.0.3"
},

@@ -26,3 +26,3 @@ "devDependencies": {

"@types/node": "^18.11.9",
"@universal-packages/maintenance": "^1.2.4",
"@universal-packages/maintenance": "^1.2.5",
"jest": "^29.7.0",

@@ -29,0 +29,0 @@ "prettier": "^3.0.3",

@@ -24,3 +24,3 @@ # Directory Traversal

const directoryMap = await traverse('~/projects')
const directoryMap = traverse('~/projects')

@@ -38,3 +38,3 @@ console.log(directoryMap)

```js
const directoryMap = await traverse('~/projects', {
const directoryMap = traverse('~/projects', {
callback: (directoryMap) => {

@@ -41,0 +41,0 @@ if (directoryMap.path.include('homework')) {

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