Socket
Socket
Sign inDemoInstall

glob

Package Overview
Dependencies
20
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.3.2 to 10.3.3

2

dist/cjs/package.json
{
"version": "10.3.2",
"version": "10.3.3",
"type": "commonjs"
}

@@ -65,2 +65,6 @@ "use strict";

constructor(pattern, opts) {
/* c8 ignore start */
if (!opts)
throw new TypeError('glob options required');
/* c8 ignore stop */
this.withFileTypes = !!opts.withFileTypes;

@@ -67,0 +71,0 @@ this.signal = opts.signal;

@@ -62,2 +62,6 @@ import { Minimatch } from 'minimatch';

constructor(pattern, opts) {
/* c8 ignore start */
if (!opts)
throw new TypeError('glob options required');
/* c8 ignore stop */
this.withFileTypes = !!opts.withFileTypes;

@@ -64,0 +68,0 @@ this.signal = opts.signal;

{
"version": "10.3.2",
"version": "10.3.3",
"type": "module"
}

@@ -5,3 +5,3 @@ {

"description": "the most correct and second fastest glob implementation in JavaScript",
"version": "10.3.2",
"version": "10.3.3",
"bin": "./dist/cjs/src/bin.js",

@@ -8,0 +8,0 @@ "repository": {

@@ -58,3 +58,3 @@ # Glob

// folder multiple times.
const g = new Glob('**/foo')
const g = new Glob('**/foo', {})
// glob objects are async iterators, can also do globIterate() or

@@ -362,2 +362,4 @@ // g.iterate(), same deal

Options object is required.
See full options descriptions below.

@@ -364,0 +366,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc