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

list-github-dir-content

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

list-github-dir-content - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

4

index.js

@@ -36,3 +36,3 @@ async function api(endpoint, token) {

} else if (item.type === 'dir') {
requests.push(...getDirectoryContentViaContentsApi({
requests.push(getDirectoryContentViaContentsApi({
user,

@@ -48,3 +48,3 @@ repository,

return [...files, ...await Promise.all(requests)];
return [...files, ...await Promise.all(requests)].flat();
}

@@ -51,0 +51,0 @@

{
"name": "list-github-dir-content",
"version": "4.0.3",
"version": "4.0.4",
"description": "List all the files in a GitHub repo’s directory",

@@ -5,0 +5,0 @@ "keywords": [

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