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

root-require

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

root-require - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

package.json
{
"name": "root-require",
"version": "0.2.0",
"description": "require() using a relative path from the root directory of the present module",
"version": "0.3.0",
"description": "For use in tests only! require() using a relative path from the root directory of the present module",
"main": "index.js",

@@ -6,0 +6,0 @@ "dependencies": {

root-require
============
> a more convenient require method for certain situations
a more convenient require method for running **TESTS ONLY**.
> ## WARNING:
> THIS MODULE DOES NOT WORK ALL THE TIME.
> I REPEAT. IT DOES NOT WORK ALL THE TIME.
> IT WILL CAUSE YOU HEADACHES IF YOU USE IT IN TWO MODULES WHICH DEPEND ON ONE ANOTHER, BECAUSE NPM OPTIMIZES DEPENDENCIES. AS LONG AS YOU ARE ONLY USING IT ONLY FOR TESTS, YOU SHOULD BE OK.
## How it do

@@ -7,0 +14,0 @@ This lets you `require()` using a relative path from the root directory of the present module.

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