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.2.3 to 0.2.4

2

lib/Node.js

@@ -237,3 +237,3 @@ var path = require( 'path' ),

url = options.inline ? map.toUrl() : path.basename( dest ) + '.map';
url = options.inline ? map.toUrl() : ( options.absolutePath ? dest : path.basename( dest ) ) + '.map';

@@ -240,0 +240,0 @@ index = this.content.lastIndexOf( 'sourceMappingURL=' ) + 17;

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

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

@@ -42,2 +42,6 @@ # sorcery.js

// write to a new file but use an absolute path for the
// sourceMappingURL
chain.write( 'output.js', { absolutePath: true });
// write to a new file, but append the flattened sourcemap as a data URI

@@ -44,0 +48,0 @@ chain.write( 'output.js', { inline: true });

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