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

glob

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob - npm Package Compare versions

Comparing version 10.3.4 to 10.3.7

dist/commonjs/glob.d.ts

56

package.json

@@ -5,4 +5,4 @@ {

"description": "the most correct and second fastest glob implementation in JavaScript",
"version": "10.3.4",
"bin": "./dist/cjs/src/bin.js",
"version": "10.3.7",
"bin": "./dist/esm/bin.mjs",
"repository": {

@@ -12,14 +12,12 @@ "type": "git",

},
"main": "./dist/cjs/src/index.js",
"module": "./dist/mjs/index.js",
"types": "./dist/mjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/mjs/index.d.ts",
"default": "./dist/mjs/index.js"
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/src/index.d.ts",
"default": "./dist/cjs/src/index.js"
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}

@@ -35,9 +33,9 @@ }

"prepublishOnly": "git push origin --follow-tags",
"prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash fixup.sh",
"prepare": "tshy",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "c8 tap",
"snap": "c8 tap",
"test": "tap",
"snap": "tap",
"format": "prettier --write . --loglevel warn",
"typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts",
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts",
"prepublish": "npm run benchclean",

@@ -50,3 +48,3 @@ "profclean": "rm -f v8.log profile.txt",

"prof": "bash prof.sh",
"benchclean": "node benchclean.js"
"benchclean": "node benchclean.cjs"
},

@@ -73,23 +71,14 @@ "prettier": {

"@types/node": "^20.3.2",
"@types/tap": "^15.0.7",
"c8": "^7.12.0",
"memfs": "^3.4.13",
"mkdirp": "^2.1.4",
"mkdirp": "^3.0.1",
"prettier": "^2.8.3",
"rimraf": "^4.1.3",
"rimraf": "^5.0.1",
"sync-content": "^1.0.2",
"tap": "^16.3.4",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
"tap": "^18.1.4",
"tshy": "^1.1.1",
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"tap": {
"before": "test/00-setup.ts",
"coverage": false,
"node-arg": [
"--no-warnings",
"--loader",
"ts-node/esm"
],
"ts": false
"before": "test/00-setup.ts"
},

@@ -102,3 +91,10 @@ "license": "ISC",

"node": ">=16 || 14 >=14.17"
},
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
}
}

@@ -92,3 +92,3 @@ # Glob

const timeSortedFiles = results
.sort((a, b) => a.mtimeMS - b.mtimeMS)
.sort((a, b) => a.mtimeMs - b.mtimeMs)
.map(path => path.fullpath())

@@ -95,0 +95,0 @@

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