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

@abmao/forb

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abmao/forb - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

index.js

@@ -7,5 +7,5 @@ import { globby } from 'globby'

const regExp = new RegExp('\/package\\.json$')
const filesPath = values.filter(item => regExp.test(item))
const filesPath = values.filter(item => regExp.test(item)).sort()
const dirs = filesPath.map(item => item.replace(regExp, ''))
return { dirs, filesPath }
}
{
"name": "@abmao/forb",
"version": "1.0.5",
"version": "1.0.6",
"description": "Get the directory path of `packages` and `packages.json` path",

@@ -5,0 +5,0 @@ "main": "index.js",

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