Socket
Socket
Sign inDemoInstall

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.1.0 to 0.1.1

CHANGELOG.md

4

lib/resolve.js

@@ -8,4 +8,8 @@ var sander = require( 'sander' ),

return node.init().then( function () {
if ( node.isOriginalSource ) {
return null;
}
return node.build( options );
});
};

6

package.json
{
"name": "sorcery",
"description": "Resolve a chain of sourcemaps back to the original source",
"version": "0.1.0",
"version": "0.1.1",
"author": "Rich Harris",
"repository": "https://github.com/Rich-Harris/sorcery",
"main": "lib/index.js",
"license": "MIT",
"dependencies": {
"sander": "^0.1.5",
"sander": "^0.1.6",
"vlq": "^0.1.0"

@@ -10,0 +12,0 @@ },

# sorcery.js
Sourcemaps are great - if you have a JavaScript file, and you minify it, your minifier can generate a mapping back that lets you debug as though you were looking at the original uncompressed code.
Sourcemaps are great - if you have a JavaScript file, and you minify it, your minifier can generate a map that lets you debug as though you were looking at the original uncompressed code.

@@ -5,0 +5,0 @@ But if you have more than one transformation - say you want to transpile your JavaScript, concatenate several files into one, and minify the result - it gets a little trickier. Each intermediate step needs to be able to both *ingest* a sourcemap and *generate* one, all the time pointing back to the original source.

@@ -21,3 +21,5 @@ var sorcery = require( '../../' ),

.catch( function ( err ) {
console.log( 'err', err );
setTimeout( function () {
throw err;
});
});

@@ -24,0 +26,0 @@

@@ -6,3 +6,3 @@ (function() {

console.log('the answer is ' + answer);
console.log("the answer is " + answer);

@@ -9,0 +9,0 @@ }).call(this);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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