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

component-builder

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-builder - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

7

History.md
0.8.3 / 2013-06-06
==================
* update require
* fix url to rework in readme
* fix leading "/" in url when urlPrefix is empty-string
0.8.2 / 2013-05-13

@@ -3,0 +10,0 @@ ==================

12

lib/builder.js

@@ -59,3 +59,3 @@ /**

this.config.paths = this.config.paths || [];
this.basename = this.root

@@ -951,3 +951,3 @@ ? this.config.name

var name = normalize(builder.basename);
url = [builder.urlPrefix, name, dirname(file), url].join('/');
url = [builder.urlPrefix, name, dirname(file), url].filter(empty).join('/');
return 'url("' + url + '")';

@@ -960,2 +960,10 @@ }

/**
* Empty string filter.
*/
function empty(s) {
return '' != s;
}
/**
* Merge `b` into `a`.

@@ -962,0 +970,0 @@ *

4

package.json
{
"name": "component-builder",
"version": "0.8.2",
"version": "0.8.3",
"description": "Component build tool",

@@ -11,3 +11,3 @@ "keywords": [

"dependencies": {
"component-require": "0.2.1",
"component-require": "0.2.2",
"batch": "0.2.1",

@@ -14,0 +14,0 @@ "mkdirp": "0.3.4",

@@ -70,3 +70,3 @@ # builder.js

or compile a template to javascript so that it may be loaded with `require()`, or use
CSS pre-processors such as [rework](github.com/visionmedia/rework).
CSS pre-processors such as [rework](https://github.com/visionmedia/rework).

@@ -73,0 +73,0 @@ ## Examples

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