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.8.1 to 0.8.2

7

History.md
0.8.2 / 2013-05-13
==================
* 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
0.8.1 / 2013-04-26

@@ -3,0 +10,0 @@ ==================

25

lib/builder.js

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

this.parent = parent;
this.basename = basename(dir);
this.globalLookupPaths = [];

@@ -61,2 +60,6 @@ this.lookupPaths = [];

this.config.paths = this.config.paths || [];
this.basename = this.root
? this.config.name
: basename(dir);

@@ -750,9 +753,13 @@ // root level lookup paths are

if (err) return fn(err);
if (self.copy){
debug('cp %s -> %s', file, dest);
cp(file, dest, done);
} else {
debug('link %s -> %s', file, dest);
fs.symlink(file, dest, done);
}
fs.exists(file, function(exists){
if (!exists) return fn(new Error('Path does not exist: ' + file));
if (self.copy){
debug('cp %s -> %s', file, dest);
cp(file, dest, done);
} else {
debug('link %s -> %s', file, dest);
fs.symlink(file, dest, done);
}
});
});

@@ -946,3 +953,3 @@ };

var name = normalize(builder.basename);
url = join(builder.urlPrefix, '/', name, dirname(file), url);
url = [builder.urlPrefix, name, dirname(file), url].join('/');
return 'url("' + url + '")';

@@ -949,0 +956,0 @@ }

{
"name": "component-builder",
"version": "0.8.1",
"version": "0.8.2",
"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