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

component-builder

Package Overview
Dependencies
Maintainers
25
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 1.1.2 to 1.1.3

components/fortawesome/font-awesome/v4.0.3/component.json

6

build/plugins/url-rewriter.js

@@ -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

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