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

dac

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dac - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

24

index.js

@@ -32,14 +32,2 @@ var juicer = require('juicer'),

"var __throw = function(error) {",
"if(typeof(console) !== 'undefined') {",
"if(console.warn) {",
"console.warn(error);",
"return;",
"}",
"if(console.log) {",
"console.log(error);",
"return;",
"}",
"}",
"throw(error);",

@@ -57,3 +45,2 @@ "};",

switch (type) {
case "Compile":
case "Embed":

@@ -65,3 +52,3 @@ delog.process(c);

break;
case "Local":
case "Compile":
delog.response(c);

@@ -105,3 +92,2 @@ console.log('');

}
cosoleResp("Local", xcssfile);
return tree.toCSS();

@@ -117,6 +103,3 @@ }) + "\n";

var content = sass.renderSync({
data: getUTF8Str(xcssfile),
success: function () {
cosoleResp("Local", xcssfile);
}
data: getUTF8Str(xcssfile)
}) + "\n";

@@ -148,3 +131,3 @@

if (!wrapper || 'string' !== typeof wrapper || !!~['window', 'global', 'self', 'parent', 'Window', 'Global'].indexOf(wrapper)) {
templateFunction = 'window["/' + revPath + '"] = ' + compiled;
templateFunction = 'window["' + revPath + '"] = ' + compiled;
}

@@ -161,3 +144,2 @@ else {

cosoleResp('Compile', htmlName);
cosoleResp('Local', absPath);

@@ -164,0 +146,0 @@ return iconv.encode(templateFunction, charset);

4

package.json
{
"name": "dac",
"version": "0.1.8",
"version": "0.1.9",
"description": "Dynamic Assets Compiler",

@@ -23,3 +23,3 @@ "main": "index.js",

"less":"~1.7.5",
"node-sass":"~0.9.3",
"node-sass":"~1.1.4",
"debug.log": "^0.0.3"

@@ -26,0 +26,0 @@ },

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