New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-match

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-match - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

6

index.js

@@ -18,2 +18,8 @@ 'use strict';

if (typeof condition === 'string' && condition.match(/^\*\.[a-z\.]+$/)) {
console.log('swapping to regex: '+condition);
var newCond = condition.substring(1).replace(/\./g,'\\.')+'$';
condition = new RegExp(newCond);
}
if (typeof condition === 'object' && typeof condition.test === 'function' && condition.hasOwnProperty('source')) {

@@ -20,0 +26,0 @@ // FRAGILE: ASSUME: it's a regex

4

package.json
{
"name": "gulp-match",
"description": "Does a vinyl file match a condition?",
"version": "0.0.3",
"version": "0.1.0",
"homepage": "https://github.com/robrich/gulp-match",

@@ -24,3 +24,3 @@ "repository": "git://github.com/robrich/gulp-match.git",

"scripts": {
"test": "mocha && jshint ./*.js && jshint ./test/*.js"
"test": "mocha && jshint ./index.js && jshint ./test/."
},

@@ -27,0 +27,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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