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

requireg

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

requireg - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

yarn.lock

2

lib/requireg.js

@@ -25,3 +25,3 @@ var fs = require('fs')

function resolve(module, dirname, onlyGlobal) {
var i, resolver, modulePath
var i, l, resolver, modulePath

@@ -28,0 +28,0 @@ for (i = (onlyGlobal ? 1 : 0), l = resolvers.length; i < l; i += 1) {

{
"name": "requireg",
"version": "0.2.1",
"version": "0.2.2",
"description": "Require and resolve global modules like a boss",

@@ -27,3 +27,3 @@ "homepage": "http://github.com/h2non/requireg",

"engines": {
"node": ">= 0.8.0"
"node": ">= 4.0.0"
},

@@ -30,0 +30,0 @@ "scripts": {

@@ -91,6 +91,5 @@ # requireg [![Build Status](https://secure.travis-ci.org/h2non/requireg.png?branch=master)][2] [![NPM version](https://badge.fury.io/js/requireg.png)][3]

## Wish list
## Possible extra features
- Custom environment variable with custom path to resolve global modules
- Possible configuration object (force to use only global modules...)
- Custom environment variable with custom path to resolve global modules.

@@ -97,0 +96,0 @@ ## License

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