gulp-plugin-extras
Advanced tools
Comparing version 0.3.0 to 1.0.0
{ | ||
"name": "gulp-plugin-extras", | ||
"version": "0.3.0", | ||
"version": "1.0.0", | ||
"description": "Useful utilities for creating Gulp plugins", | ||
@@ -18,2 +18,3 @@ "license": "MIT", | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
@@ -37,3 +38,3 @@ "node": ">=18" | ||
"dependencies": { | ||
"@types/vinyl": "^2.0.9", | ||
"@types/vinyl": "^2.0.12", | ||
"chalk": "^5.3.0", | ||
@@ -43,7 +44,7 @@ "easy-transform-stream": "^1.0.1" | ||
"devDependencies": { | ||
"ava": "^5.3.1", | ||
"p-event": "^6.0.0", | ||
"typescript": "^5.2.2", | ||
"ava": "^6.1.2", | ||
"p-event": "^6.0.1", | ||
"typescript": "^5.4.5", | ||
"vinyl": "^3.0.0", | ||
"xo": "^0.56.0" | ||
"xo": "^0.58.0" | ||
}, | ||
@@ -50,0 +51,0 @@ "xo": { |
@@ -43,3 +43,3 @@ /* | ||
const props = [ | ||
const properties = [ | ||
'fileName', | ||
@@ -69,5 +69,5 @@ 'lineNumber', | ||
for (const prop of props) { | ||
if (prop in options_) { | ||
this[prop] = options_[prop]; | ||
for (const property of properties) { | ||
if (property in options_) { | ||
this[property] = options_[property]; | ||
} | ||
@@ -111,4 +111,4 @@ } | ||
const relevantProps = Object.keys(this).filter(key => !ignored.has(key)); | ||
return relevantProps.length > 0 ? `Details:\n${relevantProps.map(prop => ` ${prop}: ${this[prop]}`).join('\n')}` : ''; | ||
const relevantProperties = Object.keys(this).filter(key => !ignored.has(key)); | ||
return relevantProperties.length > 0 ? `Details:\n${relevantProperties.map(property => ` ${property}: ${this[property]}`).join('\n')}` : ''; | ||
} | ||
@@ -122,4 +122,4 @@ | ||
function formatMessage(message, thisArg) { | ||
return `${chalk.red(thisArg.name)} in plugin "${chalk.cyan(thisArg.plugin)}"\n${message}`; | ||
function formatMessage(message, thisArgument) { | ||
return `${chalk.red(thisArgument.name)} in plugin "${chalk.cyan(thisArgument.plugin)}"\n${message}`; | ||
} | ||
@@ -126,0 +126,0 @@ |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10067
1
Updated@types/vinyl@^2.0.12