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

sorcery

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sorcery - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

18

bin/index.js

@@ -5,3 +5,4 @@ #!/usr/bin/env node

showHelp = require( './showHelp' ),
command;
command,
sorcery = require( '../' );

@@ -31,4 +32,17 @@ command = minimist( process.argv.slice( 2 ), {

else if ( !command.input ) {
console.error( 'Error: You must supply an --input (-i) argument. Type sorcery --help for more info' );
}
else {
require( './runSorcery' )( command );
sorcery.load( command.input ).then( function ( chain ) {
return chain.write( command.output || command.input, {
inline: command.datauri,
includeContent: !command.excludeContent
});
}).catch( function ( err ) {
setTimeout( function () {
throw err;
});
});
}

2

package.json
{
"name": "sorcery",
"description": "Resolve a chain of sourcemaps back to the original source",
"version": "0.2.2",
"version": "0.2.3",
"author": "Rich Harris",

@@ -6,0 +6,0 @@ "repository": "https://github.com/Rich-Harris/sorcery",

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