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

gulp-plugin-extras

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-plugin-extras - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

13

package.json
{
"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 @@

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