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

one

Package Overview
Dependencies
Maintainers
1
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

12

lib/chaining.js

@@ -77,4 +77,12 @@ var modules = require('./modules'),

function save(filename, callback){
options.target = filename;
function save(/* [filename,] callback */){
var callback;
if( typeof arguments[0] == 'string' ) {
options.target = arguments[0];
callback = arguments[1];
} else {
callback = options.callback = arguments[0];
}
main(manifest, options, callback || function(error){

@@ -81,0 +89,0 @@ if(error) throw error;

@@ -47,2 +47,10 @@ var path = require('path'),

if(options.callback) {
if( Object.keys(bundle).length == 1
&& bundle['[stdout]'] ) return callback(undefined, bundle['[stdout]']);
return callback(undefined, bundle);
}
var output = bundle['[stdout]'];

@@ -49,0 +57,0 @@

2

package.json
{
"name": "one",
"version": "2.0.10",
"version": "2.0.11",
"description": "Transform NodeJS packages into single stand-alone script files.",

@@ -5,0 +5,0 @@ "author": "Azer Koculu <azer@kodfabrik.com>",

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