component-builder
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -405,3 +405,2 @@ /** | ||
var resolve = require('url').resolve; | ||
@@ -433,5 +432,4 @@ var rewriteCSSURLs = require('css-url-rewriter'); | ||
file.string = rewriteCSSURLs(string, function (uri) { | ||
var orig = 'url(' + uri + ')'; | ||
if (isData(uri)) return orig; | ||
if (isAbsolute(uri)) return orig; | ||
if (isData(uri)) return uri; | ||
if (isAbsolute(uri)) return uri; | ||
uri = resolve(file.path, uri); | ||
@@ -438,0 +436,0 @@ uri = resolve(prefix + utils.rewriteUrl(branch) + '/', uri); |
@@ -73,5 +73,5 @@ ## var scripts = build.scripts(nodes, [options]) | ||
- [html-minifier](https://github.com/component/builder-html-minifier) - minifies your HTML templates | ||
- [builder-es6-module-to-cjs](builder-es6-module-to-cjs) - es6 module to cjs compiler | ||
- [builder-es6-module-to-cjs](https://github.com/component/builder-es6-module-to-cjs) - es6 module to cjs compiler | ||
- [jade](https://github.com/component/builder-jade) | ||
- [regenerator](https://github.com/component/builder-regenerator) - compiles generators to ES5 | ||
- [coffee](https://github.com/component/builder-coffee) |
1.1.3 / 2014-04-17 | ||
================== | ||
* fix url(url(-bug @aaronz8 | ||
1.1.2 / 2014-04-06 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -1,2 +0,1 @@ | ||
var resolve = require('url').resolve; | ||
@@ -28,5 +27,4 @@ var rewriteCSSURLs = require('css-url-rewriter'); | ||
file.string = rewriteCSSURLs(string, function (uri) { | ||
var orig = 'url(' + uri + ')'; | ||
if (isData(uri)) return orig; | ||
if (isAbsolute(uri)) return orig; | ||
if (isData(uri)) return uri; | ||
if (isAbsolute(uri)) return uri; | ||
uri = resolve(file.path, uri); | ||
@@ -33,0 +31,0 @@ uri = resolve(prefix + utils.rewriteUrl(branch) + '/', uri); |
{ | ||
"name": "component-builder", | ||
"description": "builder for component", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
@@ -38,3 +38,3 @@ # component-builder2 [![Build Status](https://travis-ci.org/component/builder2.js.png)](https://travis-ci.org/component/builder2.js) | ||
// only include `.js` files from components' `.scripts` field | ||
build.scripts(nodes) | ||
build.scripts(tree) | ||
.use('scripts', build.plugins.js()) | ||
@@ -44,7 +44,6 @@ .end(function (err, string) { | ||
fs.writeFileSync('build.js', string); | ||
}) | ||
.toFile('build.js'); | ||
}); | ||
// only include `.css` files from components' `.styles` field | ||
build.styles(nodes) | ||
build.styles(tree) | ||
.use('styles', build.plugins.css()) | ||
@@ -57,3 +56,3 @@ .end(function (err, string) { | ||
// only copy `images` to the build folder | ||
build.files(nodes) | ||
build.files(tree) | ||
.use('images', build.plugins.symlink()) | ||
@@ -60,0 +59,0 @@ .end(); // callback optional |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
661689
44
7563
99
14