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

component-builder

Package Overview
Dependencies
Maintainers
2
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.10.0 to 0.10.1

27

History.md
0.10.0 / 2013-10-17
0.10.1 / 2014-01-16
==================
* fix for lookup casing
0.10.0 / 2013-10-17
==================
* add native json support to scripts
0.9.2 / 2013-09-12
0.9.2 / 2013-09-12
==================

@@ -12,3 +17,3 @@

0.9.1 / 2013-09-06
0.9.1 / 2013-09-06
==================

@@ -18,3 +23,3 @@

0.9.0 / 2013-07-19
0.9.0 / 2013-07-19
==================

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

0.8.3 / 2013-06-06
0.8.3 / 2013-06-06
==================

@@ -36,10 +41,10 @@

0.8.2 / 2013-05-13
0.8.2 / 2013-05-13
==================
* fix .basename for root components not in a directory of the same config `.name`
* fix .basename for root components not in a directory of the same config `.name`
* fix improper asset rewrite url join on windows. Closes #94
* fix copy/link attempts to files that ENOENT
* fix copy/link attempts to files that ENOENT
0.8.1 / 2013-04-26
0.8.1 / 2013-04-26
==================

@@ -49,3 +54,3 @@

0.8.0 / 2013-04-24
0.8.0 / 2013-04-24
==================

@@ -55,3 +60,3 @@

0.7.1 / 2013-04-24
0.7.1 / 2013-04-24
==================

@@ -58,0 +63,0 @@

@@ -21,2 +21,3 @@ /**

, basename = path.basename
, resolveURL = require('url').resolve
, strtojs = require('string-to-js');

@@ -275,2 +276,4 @@

name = name.toLowerCase();
function next() {

@@ -475,5 +478,5 @@ var path = paths[i++];

var templates = res.shift();
var require = res.shift();
var aliases = res.shift();
var custom = self._js;
var js = [scripts, json, templates, require, custom].filter(empty).join('\n');
var js = [scripts, json, templates, aliases, custom].filter(empty).join('\n');

@@ -995,3 +998,6 @@ fn(null, {

var name = normalize(builder.basename);
url = [builder.urlPrefix, name, dirname(file), url].filter(empty).join('/');
// trailing `/` needed to distinguish the URL as a folder
// for `url.resolve()`
var folder = [builder.urlPrefix, name, dirname(file)].filter(empty).join('/') + '/';
url = resolveURL(folder, url);
return 'url("' + url + '")';

@@ -998,0 +1004,0 @@ }

{
"name": "component-builder",
"version": "0.10.0",
"version": "0.10.1",
"description": "Component build tool",

@@ -15,3 +15,2 @@ "keywords": [

"debug": "*",
"better-assert": "~0.1.0",
"cp": "~0.1.0",

@@ -24,3 +23,4 @@ "string-to-js": "0.0.1"

"ejs": "~0.8.3",
"styl": "0.2.2"
"styl": "0.2.2",
"better-assert": "~0.1.0"
},

@@ -27,0 +27,0 @@ "repository": {

@@ -76,2 +76,6 @@ # builder.js

### Builder#use(fn)
Give the builder a plugin to use. The `fn` args are `fn(builder [, done])`. If The plugin has async logic it should invoke the `done` callback as needed. Sync plugins should ignore this argument.
## Examples

@@ -78,0 +82,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