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

assetstream

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assetstream - npm Package Compare versions

Comparing version 0.1.6 to 0.1.8

5

package.json
{
"name": "assetstream",
"version": "0.1.6",
"version": "0.1.8",
"description": "Stream and transform your browser assets.",

@@ -18,4 +18,5 @@ "repository": {

"common": "0.2.x",
"mkdirp": "0.3.x"
"mkdirp": "0.3.x",
"less": "1.4.x"
}
}

@@ -33,3 +33,3 @@

var css =
'body:before {\n' +
'html:before {\n' +
'\tposition: fixed;\n' +

@@ -41,6 +41,11 @@ '\tz-index: 100000;\n' +

'\tright: 0;\n' +
'\tpadding: 10px;\n' +
'\tpadding: 30px;\n' +
'\tbackground-color: #900;\n' +
'\tcolor: #fff;\n' +
'\tborder-bottom: 2px solid #600;\n' +
'\topacity: 1.0;\n' +
'}\n' +
'\n' +
'body {\n' +
'\topacity: 0.5;\n' +
'}\n';

@@ -53,2 +58,3 @@ return css;

var filenameCSS = filename.replace(/\.less$/, '') + '.css';
var lastGoodCSS;
var cachedCSS;

@@ -120,3 +126,6 @@

if (error) {
css = errorCSS(error.message);
css = errorCSS(error.message) +
(lastGoodCSS ? '\n\n' + lastGoodCSS : '');
} else {
lastGoodCSS = css;
}

@@ -123,0 +132,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