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

ender

Package Overview
Dependencies
Maintainers
0
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.4.2 to 0.4.3

15

lib/ender.file.js

@@ -224,13 +224,12 @@ var fs = require('fs')

FILE.constructBridge(packagePath, packageJSON.ender, function (content) {
if (!j) {
if ((options.sans && !j) || (!options.sans && name == 'ender-js')) {
// this is some straight up ¬33† b®u†å¬î†¥
source = source.toString().replace(/\/\*[\s\S]+?\*\//g, '');
source = FILE.processComment(context) + source;
} else {
if (!options.noop) {
if (!packageJSON.ender) {
source = commonJSBridge.head + source + commonJSBridge.foot;
} else if (packageJSON.ender != 'noop'){
source += content;
}
}
if (name !== 'ender-js' && !options.noop) {
if (!packageJSON.ender) {
source = commonJSBridge.head + source + commonJSBridge.foot;
} else if (packageJSON.ender != 'noop'){
source += content;
}

@@ -237,0 +236,0 @@ }

@@ -155,2 +155,3 @@ var colors = require('colors')

, build: function (packages, options, callback) {
var total = !options.sans ? 2 : 1
if (!packages.length) {

@@ -172,3 +173,3 @@ return console.log('error: ender build requires packages.'.yellow);

var built = 0, isComplete = function () {
if (++built === 2) callback && callback();
if (++built === total) callback && callback();
};

@@ -175,0 +176,0 @@ ENDER.file.output(source, options.output, isComplete);

{
"name": "ender",
"description": "next level JavaScript modules",
"version": "0.4.2",
"version": "0.4.3",
"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