Comparing version 5.3.2 to 6.0.0
@@ -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 |
11
index.js
@@ -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": { |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
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
70411
7
1640
1