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.4 to 1.0.5

4

index.js
import { globby } from 'globby'
export async function getPackagesDir(packagesPath) {
const values = await globby(packagesPath)
const ignore = '!**/node_modules'
const params = Array.isArray(packagesPath) ? [...packagesPath, ignore] : [packagesPath, ignore]
const values = await globby(params)
const regExp = new RegExp('\/package\\.json$')

@@ -5,0 +7,0 @@ const filesPath = values.filter(item => regExp.test(item))

{
"name": "@abmao/forb",
"version": "1.0.4",
"version": "1.0.5",
"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