New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electron-compile-cache

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-compile-cache - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

6

lib/compile-cache.js

@@ -78,2 +78,8 @@ 'use strict';

// If the file already has a source map, that's a good indication that we
// shouldn't compile it
if (sourceCode && sourceCode.lastIndexOf('//# sourceMap') > sourceCode.lastIndexOf('\n')) {
return false;
}
// NB: require() normally does this for us, but in our protocol hook we

@@ -80,0 +86,0 @@ // need to do this ourselves

2

package.json
{
"name": "electron-compile-cache",
"version": "0.6.3",
"version": "0.6.4",
"description": "Base class for compilers in electron-compile, use this to implement your own compiler",

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

@@ -42,2 +42,8 @@ import crypto from 'crypto';

// If the file already has a source map, that's a good indication that we
// shouldn't compile it
if (sourceCode && sourceCode.lastIndexOf('//# sourceMap') > sourceCode.lastIndexOf('\n')) {
return false;
}
// NB: require() normally does this for us, but in our protocol hook we

@@ -44,0 +50,0 @@ // need to do this ourselves

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