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

ender

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ender - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

10

lib/ender.file.js

@@ -255,12 +255,10 @@ var fs = require('fs')

, that = this
, packagePath
, isInstallingFromRoot
packages.forEach(function (packageName) {
packageName = packageName.replace(/\@.*/, '')
packagePath = /^[\/.]/.test(packageName) ? path.join(packageName, 'package.json') : path.join(dir, packageName, 'package.json')
isInstallingFromRoot = /^\.\/?$/.test(packageName)
var packageName = packageName.replace(/\@.*/, '')
, packagePath = /^[\/.]/.test(packageName) ? path.join(packageName, 'package.json') : path.join(dir, packageName, 'package.json')
, isInstallingFromRoot = /^\.\/?$/.test(packageName)
async.waterfall([
async.apply(fs.readFile, packagePath, 'utf-8')
function (cb) { fs.readFile(packagePath, 'utf-8', function (err, data) { if (err) { return ++x } cb(err, data) }) }
, function (data, cb) { ENDER.file.findDependencies(data, tree, dir, isInstallingFromRoot, cb) }

@@ -267,0 +265,0 @@ , function () { if (++x == packages.length) { callback(null, tree) } }

2

lib/ender.js

@@ -92,3 +92,3 @@ // Ender: open module JavaScript framework

uniqueActivePackageNames = uniqueActivePackageNames.concat(newPackages)
uniqueActivePackageNames = ENDER.util.unique(uniqueActivePackageNames.concat(newPackages))
context = ENDER.cmd.getContext(type, uniqueActivePackageNames, options.context)

@@ -95,0 +95,0 @@

{
"name": "ender",
"description": "next level JavaScript modules",
"version": "0.6.4",
"version": "0.6.5",
"authors": ["Dustin Diaz <@ded>", "Jacob Thornton <@fat>"],

@@ -6,0 +6,0 @@ "keywords": ["ender", "modules", "builder", "framework", "packager"],

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