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

ignore

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore - npm Package Compare versions

Comparing version 5.3.2 to 6.0.0

index.mjs

4

index.d.ts

@@ -57,6 +57,4 @@ type Pathname = string

declare namespace ignore {
export function isPathValid (pathname: string): boolean
}
export function isPathValid (pathname: string): boolean
export default ignore

@@ -606,7 +606,3 @@ // A simple implementation of make-array

// Fixes typescript
factory.default = factory
module.exports = factory
// Windows

@@ -638,1 +634,8 @@ // --------------------------------------------------------------

}
// COMMONJS_EXPORTS ////////////////////////////////////////////////////////////
// Fixes typescript
factory.default = factory
module.exports = factory

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

// Fixes typescript
factory["default"] = factory;
module.exports = factory;
// Windows

@@ -561,1 +557,7 @@ // --------------------------------------------------------------

}
// COMMONJS_EXPORTS ////////////////////////////////////////////////////////////
// Fixes typescript
factory["default"] = factory;
module.exports = factory;
{
"name": "ignore",
"version": "5.3.2",
"version": "6.0.0",
"description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"files": [
"legacy.js",
"index.js",
"index.mjs",
"index.d.ts",

@@ -13,5 +17,6 @@ "LICENSE-MIT"

"prepublishOnly": "npm run build",
"build": "babel -o legacy.js index.js",
"build": "babel -o legacy.js index.js && node ./scripts/build.js",
"test:lint": "eslint .",
"test:tsc": "tsc ./test/ts/simple.ts --lib ES6",
"test:tsc:16": "tsc ./test/ts/simple.ts --lib ES6 --moduleResolution Node16 --module Node16",
"test:ts": "node ./test/ts/simple.js",

@@ -25,3 +30,3 @@ "tap": "tap --reporter classic",

"test:no-coverage": "npm run tap test/*.js -- --no-check-coverage",
"test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
"test:only": "npm run test:lint && npm run build && npm run test:tsc && npm run test:tsc:16 && npm run test:ts && npm run test:cases",
"test": "npm run test:only",

@@ -71,3 +76,3 @@ "test:win32": "IGNORE_TEST_WIN32=1 npm run test",

"tmp": "0.2.3",
"typescript": "^5.1.6"
"typescript": "^5.6.2"
},

@@ -74,0 +79,0 @@ "engines": {

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