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.9.2 to 0.10.0

5

History.md
0.10.0 / 2013-10-17
==================
* add native json support to scripts
0.9.2 / 2013-09-12

@@ -3,0 +8,0 @@ ==================

22

lib/builder.js

@@ -56,3 +56,4 @@ /**

fonts: [],
templates: []
templates: [],
json: []
};

@@ -460,2 +461,3 @@

batch.push(this.buildScripts.bind(this));
batch.push(this.buildJson.bind(this));
batch.push(this.buildTemplates.bind(this));

@@ -471,6 +473,7 @@ batch.push(this.buildAliases.bind(this));

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

@@ -824,2 +827,15 @@ fn(null, {

/**
* Build JSON and invoke `fn(err, js)`.
*
* @param {Function} fn
* @api private
*/
Builder.prototype.buildJson = function(fn){
this.buildType('json', fn, function(builder, file, str){
return register(builder, file, 'module.exports = ' + str);
});
};
/**
* Build templates and invoke `fn(err, str)`

@@ -826,0 +842,0 @@ *

2

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

@@ -5,0 +5,0 @@ "keywords": [

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