New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.0.3 to 2.0.4

8

dist/index.js
// index.js
import { globby } from "globby";
import { glob } from "glob";
var DEFAULT_IGNORE = [

@@ -9,6 +9,6 @@ "**/node_modules/**",

];
async function getPackagesDir(packagesPath, ignoreFiles = DEFAULT_IGNORE) {
async function getPackagesDir(packagesPath, ignore = DEFAULT_IGNORE) {
const packageJsonPath = Array.isArray(packagesPath) ? normalizePatterns(packagesPath) : normalizePatterns([packagesPath]);
const values = sortFilesName(await globby(packageJsonPath, {
ignoreFiles
const values = sortFilesName(await glob(packageJsonPath, {
ignore
}));

@@ -15,0 +15,0 @@ const regExp = new RegExp("/package\\.json$");

{
"name": "@abmao/forb",
"version": "2.0.3",
"version": "2.0.4",
"description": "Get the directory path of `packages` and `packages.json` path",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.cjs",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"files": [

@@ -31,3 +36,3 @@ "dist",

"dependencies": {
"globby": "^13.1.4"
"glob": "^10.2.7"
},

@@ -34,0 +39,0 @@ "devDependencies": {

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