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

project-repl

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

project-repl - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

8

index.js

@@ -247,3 +247,3 @@ let fs = require('fs');

// Alias this to the name of the module for clarity and convenience
main = this._varNameForModule(this._pkg.name);
main = this._varNameForModule(this._getProjectName());
g[main] = g[name];

@@ -291,2 +291,6 @@

_getProjectName() {
return this._pkg.name || path.basename(path.resolve(this._dir));
}
/**

@@ -300,3 +304,3 @@ * Requires all files and logs the results in a sensible way

let projectVersion = this._pkg.version || '';
let projectName = this._pkg.name || path.basename(path.resolve(this._dir));
let projectName = this._getProjectName();
let nodeVersion = process.version;

@@ -303,0 +307,0 @@ console.log('// ' + projectName + ' v' + projectVersion + ' // node ' + nodeVersion);

{
"name": "project-repl",
"version": "1.6.0",
"version": "1.6.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": "https://github.com/expo/project-repl.git",

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