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

edp

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edp - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

lib/cli.js

@@ -10,4 +10,2 @@ /**

var fs = require( 'fs' );
var path = require( 'path' );
var edp = require( 'edp-core' );

@@ -20,3 +18,3 @@

function checkEnv() {
if ( process.platform === 'win32' ) {
if ( process.platform !== 'darwin' ) {
return;

@@ -23,0 +21,0 @@ }

@@ -234,2 +234,9 @@ /**

commandNode.fullPath = fullPath;
// read help info from .md file
var helpFile = fullPath.replace(/js$/i, 'md');
if (fs.existsSync(helpFile)) {
commandNode.help = fs.readFileSync(helpFile, 'UTF-8');
}
parentNode.addChild( commandNode );

@@ -236,0 +243,0 @@ }

@@ -41,2 +41,13 @@ /**

// 如果不同目录下存在相同的包,需要去重
var len = pkgs.length;
var visited = {};
while (len--) {
if (visited[pkgs[len]]) {
pkgs.splice(len, 1);
}
visited[pkgs[len]] = 1;
}
return pkgs.filter( filter );

@@ -43,0 +54,0 @@ }

@@ -41,3 +41,3 @@ /***************************************************************************

else {
throw e1;
throw ex;
}

@@ -44,0 +44,0 @@ }

{
"name": "edp",
"description": "Enterprise Develop Platform",
"version": "1.0.1",
"version": "1.0.2",
"contributors": [

@@ -38,2 +38,3 @@ { "name": "errorrik", "email": "errorrik@gmail.com" },

"edp-config": [ "config" ],
"edp-web": [ "web" ],
"edp-build": [ "build" ],

@@ -40,0 +41,0 @@ "edp-package": [ "import", "search", "update" ],

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