Installations
npm install @midwayjs/glob
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
18.12.1
NPM Version
8.19.2
Score
72.5
Supply Chain
67.4
Quality
82.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (95.15%)
JavaScript (4.85%)
validate.email 🚀
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Developer
midwayjs
Download Statistics
Total Downloads
458,425
Last Day
388
Last Week
1,643
Last Month
8,421
Last Year
99,006
GitHub Statistics
1 Stars
25 Commits
2 Forks
3 Watchers
2 Branches
2 Contributors
Updated on Nov 17, 2022
Bundle Size
21.41 kB
Minified
7.68 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.1
Package Id
@midwayjs/glob@1.1.1
Unpacked Size
6.01 kB
Size
2.58 kB
File Count
4
NPM Version
8.19.2
Node Version
18.12.1
Published on
Feb 09, 2023
Total Downloads
Cumulative downloads
Total Downloads
458,425
Last Day
36.6%
388
Compared to previous day
Last Week
-25.6%
1,643
Compared to previous week
Last Month
64.2%
8,421
Compared to previous month
Last Year
22.1%
99,006
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
6
midway easy glob tools
实现一个基础轻量的 globby,为了兼容 faas-glob 语法,引入纯 js 版的 picomatch 库,除此之外,无其他依赖。
API
1import { run } from '@midwayjs/glob'; 2 3const result = run(['**/*.md'], { 4 cwd: join(__dirname, './fixtures/first'), 5 ignore: [ 6 '**/c.md', 7 '**/bbbb/**' 8 ] 9}); 10console.log(result); // Output: [ '/Users/harry/project/glob/test/fixtures/first/a.md' ] 11

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
Found 2/25 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/midwayjs/glob/nodejs.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/midwayjs/glob/nodejs.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/midwayjs/glob/nodejs.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/midwayjs/glob/nodejs.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/midwayjs/glob/nodejs.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/nodejs.yml:20
- Warn: npmCommand not pinned by hash: .github/workflows/nodejs.yml:20
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 5 are checked with a SAST tool
Score
3.1
/10
Last Scanned on 2025-03-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More