component-builder
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -509,8 +509,4 @@ (function( | ||
exports.rewriteUrl = function (branch) { | ||
if (branch.type === 'local') return branch.relativePath || branch.name; | ||
if (branch.type === 'dependency') return branch.name + '/' + branch.ref; | ||
// make sure there's no leading `/` | ||
return (branch.relativePath | ||
? branch.relativePath + '/' | ||
: '') + branch.name; | ||
} | ||
@@ -517,0 +513,0 @@ |
1.1.1 / 2014-04-06 | ||
================== | ||
* fix local file rewriting | ||
1.1.0 / 2014-04-05 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -49,8 +49,4 @@ var fs = require('graceful-fs') | ||
exports.rewriteUrl = function (branch) { | ||
if (branch.type === 'local') return branch.relativePath || branch.name; | ||
if (branch.type === 'dependency') return branch.name + '/' + branch.ref; | ||
// make sure there's no leading `/` | ||
return (branch.relativePath | ||
? branch.relativePath + '/' | ||
: '') + branch.name; | ||
} | ||
@@ -57,0 +53,0 @@ |
{ | ||
"name": "component-builder", | ||
"description": "builder for component", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
Sorry, the diff of this file is not supported yet
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
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
661563
7565