You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

match-requires

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

match-requires - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-2
index.js

@@ -14,4 +14,3 @@ /*!

if (stripComments === true) {
var strip = require('strip-comments');
str = strip(str);
str = require('strip-comments')(str);
}

@@ -18,0 +17,0 @@

{
"name": "match-requires",
"description": "Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/jonschlinkert/match-requires",

@@ -23,3 +23,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"requires-regex": "^0.3.1",
"requires-regex": "^0.3.3",
"strip-comments": "^0.4.3"

@@ -26,0 +26,0 @@ },

@@ -124,2 +124,2 @@ # match-requires [![NPM version](https://img.shields.io/npm/v/match-requires.svg)](https://www.npmjs.com/package/match-requires) [![Build Status](https://img.shields.io/travis/jonschlinkert/match-requires.svg)](https://travis-ci.org/jonschlinkert/match-requires)

_This file was generated by [verb](https://github.com/verbose/verb) on January 07, 2016._
_This file was generated by [verb](https://github.com/verbose/verb) on January 08, 2016._