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

@u4/tiny-glob

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@u4/tiny-glob - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

6

async.js

@@ -39,3 +39,7 @@ "use strict";

const dir = (0, path_1.resolve)(opts.cwd, prefix, dirname);
const files = await fs.promises.readdir(dir);
let files = [];
try {
files = await fs.promises.readdir(dir);
}
catch (_e) { }
const { dot, filesOnly } = opts;

@@ -42,0 +46,0 @@ for (const file of files) {

19

package.json
{
"name": "@u4/tiny-glob",
"version": "0.2.9",
"version": "0.2.10",
"description": "Tiny and extremely fast globbing",

@@ -20,11 +20,6 @@ "repository": {

],
"scripts": {
"bench": "node bench",
"build": "tsc",
"prepare": "npm run build",
"test": "ts-node node_modules/tape/bin/tape test/*.ts | tap-spec"
},
"devDependencies": {
"@types/node": "^18.8.4",
"@types/tape": "^4.13.2",
"rimraf": "^3.0.2",
"tap-spec": "^5.0.0",

@@ -41,3 +36,9 @@ "tape": "^5.6.1",

"expansion"
]
}
],
"scripts": {
"bench": "node bench",
"build": "tsc",
"clean": "rimraf {.,bench,test,test/helpers}/{*.js,*.d.ts}",
"test": "ts-node node_modules/tape/bin/tape test/*.test.ts | tap-spec"
}
}

@@ -39,3 +39,7 @@ "use strict";

const dir = (0, path_1.resolve)(opts.cwd, prefix, dirname);
const files = fs.readdirSync(dir);
let files = [];
try {
fs.readdirSync(dir);
}
catch (e) { }
const { dot, filesOnly } = opts;

@@ -42,0 +46,0 @@ for (const file of files) {

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