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

baconize

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baconize - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

13

lib/index.js

@@ -108,9 +108,16 @@ 'use strict';

var files = existingShas.map(sha =>
var outFiles = existingShas.map(sha =>
sha && fsp.readFile(getMainFile(sha), 'utf8').then(contents => contents, noop)
);
return when.all(files).then(filesContents =>
var inFiles = existingShas.map(sha =>
sha && fsp.readFile(getInputFile(sha), 'utf8').then(contents => contents, noop)
);
return when.all([when.all(inFiles), when.all(outFiles)])
.then(fileContents =>
matchingCompilerShas.filter(
(sha, i) => filesContents[i] && (sha.outputSha === createHash(filesContents[i]))
(sha, i) => fileContents[0][i] && (sha.inputSha === createHash(fileContents[0][i]))
).filter(
(sha, i) => fileContents[1][i] && (sha.outputSha === createHash(fileContents[1][i]))
)

@@ -117,0 +124,0 @@ );

{
"name": "baconize",
"version": "2.2.0",
"version": "2.2.1",
"description": "Compile static site for production (with sourcemaps), auto-compiles files like `app.coffee -> app.js`",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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