quickstart
Advanced tools
Comparing version
{ | ||
"name": "quickstart", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "CommonJS module compiler for node.js and browsers", | ||
@@ -53,3 +53,3 @@ "main": "./main.js", | ||
"esmangle": "~1.0.1", | ||
"microseconds": "0.0.2", | ||
"microseconds": "^0.1.0", | ||
"cli-color": "~0.3.2", | ||
@@ -56,0 +56,0 @@ "require-relative": "^0.8.7", |
@@ -98,2 +98,6 @@ /* jshint strict:false */ | ||
it('should ignore empty browser fields', function() { | ||
return expect(resolve('six').then(relative)).to.eventually.equal('./node_modules/six/index.js'); | ||
}); | ||
it('should resolve a package with specified main overridden by the browser field', function() { | ||
@@ -100,0 +104,0 @@ return expect(resolve('five').then(relative)).to.eventually.equal('./node_modules/five/browser.js'); |
@@ -117,3 +117,3 @@ /* global -Promise*/ | ||
self._findRouteInBrowserField(json.browser, path, resolved).then(function(route) { | ||
if (route === null) control.save(resolved).continue(); // no route found | ||
if (route == null) control.save(resolved).continue(); // no route found | ||
else control.resolve(route); | ||
@@ -120,0 +120,0 @@ }, control.reject); |
89869
0.18%2304
0.13%+ Added
- Removed
- Removed
- Removed
- Removed
Updated