@u4/tiny-glob
Advanced tools
Comparing version 0.2.10 to 0.3.0
{ | ||
"name": "@u4/tiny-glob", | ||
"version": "0.2.10", | ||
"version": "0.3.0", | ||
"description": "Tiny and extremely fast globbing", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/mjs/index.js", | ||
"types": "dist/mjs/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/mjs/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"repository": { | ||
@@ -9,20 +18,28 @@ "type": "git", | ||
}, | ||
"types": "index.d.ts", | ||
"license": "MIT", | ||
"author": { | ||
"name": "Terkel Gjervig", | ||
"email": "terkel@terkel.com", | ||
"url": "https://terkel.com" | ||
}, | ||
"contributors": [ | ||
"Uriel Chemouni <uchemouni@gmail.com> (https://urielch.github.io/)", | ||
"Terkel Gjervig <terkel@terkel.com> (https://terkel.com)" | ||
], | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
], | ||
"scripts": { | ||
"build": "rimraf dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && npm run fixup", | ||
"fixup": "copyfiles -f misc/cjs/package.json dist/cjs/ && copyfiles -f misc/mjs/package.json dist/mjs/", | ||
"bench": "node bench", | ||
"prepare": "npm run build", | ||
"clean": "rimraf {src,bench,test,test/helpers}/{*.js,*.d.ts} dist", | ||
"test": "ts-node --project tsconfig-cjs.json node_modules/tape/bin/tape test/*.test.ts | tap-spec" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.8.4", | ||
"@types/tape": "^4.13.2", | ||
"copyfiles": "^2.4.1", | ||
"rimraf": "^3.0.2", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^5.6.1", | ||
"ts-node": "^10.9.1" | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
}, | ||
@@ -37,8 +54,6 @@ "keywords": [ | ||
], | ||
"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" | ||
"engines": { | ||
"node": ">=12.0.0", | ||
"npm": ">=7.0.0" | ||
} | ||
} | ||
} |
<p align="center"> | ||
<img src="https://github.com/terkelg/tiny-glob/raw/master/tiny-glob.png" alt="Tiny Glob" width="450" /> | ||
<img src="https://github.com/urielch/tiny-glob/raw/master/tiny-glob.png" alt="Tiny Glob" width="450" /> | ||
</p> | ||
@@ -8,13 +8,13 @@ | ||
<p align="center"> | ||
<a href="https://npmjs.org/package/tiny-glob"> | ||
<img src="https://img.shields.io/npm/v/tiny-glob.svg" alt="version" /> | ||
<a href="https://npmjs.org/package/@u4/tiny-glob"> | ||
<img src="https://img.shields.io/npm/v/@u4/tiny-glob.svg" alt="version" /> | ||
</a> | ||
<a href="https://github.com/terkelg/tiny-glob/actions"> | ||
<img src="https://github.com/terkelg/tiny-glob/actions/workflows/ci.yml/badge.svg" alt="CI" /> | ||
<a href="https://github.com/urielch/tiny-glob/actions"> | ||
<img src="https://github.com/urielch/tiny-glob/actions/workflows/ci.yml/badge.svg" alt="CI" /> | ||
</a> | ||
<a href="https://npmjs.org/package/tiny-glob"> | ||
<img src="https://img.shields.io/npm/dm/tiny-glob.svg" alt="downloads" /> | ||
<a href="https://www.npmjs.com/package/@u4/tiny-glob"> | ||
<img src="https://img.shields.io/npm/dm/@u4/tiny-glob.svg" alt="downloads" /> | ||
</a> | ||
<a href="https://packagephobia.now.sh/result?p=tiny-glob"> | ||
<img src="https://packagephobia.now.sh/badge?p=tiny-glob" alt="install size" /> | ||
<a href="https://packagephobia.now.sh/result?p=@u4/tiny-glob"> | ||
<img src="https://packagephobia.now.sh/badge?p=@u4/tiny-glob" alt="install size" /> | ||
</a> | ||
@@ -34,3 +34,3 @@ </p> | ||
``` | ||
npm install tiny-glob | ||
npm install @u4/tiny-glob | ||
``` | ||
@@ -50,4 +50,8 @@ | ||
```js | ||
const glob = require('tiny-glob'); | ||
```ts | ||
import glob from '@u4/tiny-glob'; | ||
// or | ||
import { async as glob } from '@u4/tiny-glob'; | ||
// or | ||
import { glob } from '@u4/tiny-glob'; | ||
@@ -54,0 +58,0 @@ (async function(){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
tiny-glob |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
152
0
0
8493
8
4
11
1