Socket
Socket
Sign inDemoInstall

it-glob

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-glob - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

dist/src/index.d.ts

156

package.json
{
"name": "it-glob",
"version": "1.0.2",
"version": "2.0.0",
"description": "Async iterable filename pattern matcher",
"main": "index.js",
"repository": "github:achingbrain/it",
"author": "Alex Potsides <alex@achingbrain.net>",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/achingbrain/it/tree/master/packages/it-glob#readme",
"bugs": "https://github.com/achingbrain/it/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/achingbrain/it.git"
},
"bugs": {
"url": "https://github.com/achingbrain/it/issues"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist/src",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"test": "ava",
"lint": "standard",
"coverage": "nyc --reporter html --reporter lcov ava",
"clean": "rm -rf .nyc_output coverage dist",
"check": "tsc --noEmit",
"build": "npm run build:types",
"build:types": "tsc --emitDeclarationOnly --declarationDir dist",
"prepublishOnly": "npm run build"
"build": "aegir build",
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"test": "aegir test -t node",
"test:node": "aegir test -t node --cov",
"release": "aegir release"
},
"author": "Alex Potsides <alex@achingbrain.net>",
"license": "ISC",
"dependencies": {
"@types/minimatch": "^3.0.4",
"minimatch": "^3.0.4"
"@types/minimatch": "^5.1.2",
"minimatch": "^5.1.0"
},
"devDependencies": {
"ava": "^3.12.1",
"it-all": "^1.0.6",
"nyc": "^15.1.0",
"standard": "^16.0.3",
"typescript": "^4.0.2"
"aegir": "^37.5.0",
"it-all": "^2.0.0"
},
"browser": {
"fs": false,
"fs/promises": false,
"path": false
},
"types": "dist/index.d.ts",
"gitHead": "29126fa87dae108acef381693812f22ac8f9362b"
}
}

@@ -1,19 +0,27 @@

# it-glob
# it-glob <!-- omit in toc -->
[![Build status](https://github.com/achingbrain/it/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/achingbrain/it/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/achingbrain/it/badge.svg?branch=master)](https://coveralls.io/github/achingbrain/it?branch=master) [![Dependencies Status](https://david-dm.org/achingbrain/it/status.svg?path=packages/it-glob)](https://david-dm.org/achingbrain/it?path=packages/it-glob)
[![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it)
[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml)
> Async iterable filename pattern matcher
Like [`glob`](https://npmjs.com/package/glob) but async iterable.
## Table of contents <!-- omit in toc -->
## Installation
- [Install](#install)
- [Usage](#usage)
- [License](#license)
- [Contribute](#contribute)
## Install
```console
$ npm install --save it-glob
$ npm i it-glob
```
Like [`glob`](https://npmjs.com/package/glob) but async iterable.
## Usage
```javascript
const glob = require('it-glob')
import glob from 'it-glob'

@@ -34,1 +42,12 @@ const options = {

See the [minimatch docs](https://www.npmjs.com/package/minimatch#options) for the full list of options.
## License
Licensed under either of
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
## Contribute
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
dist/index.d.ts
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