Comparing version 0.20.0 to 0.20.1
11
npm.js
@@ -225,13 +225,6 @@ var Promise = require('rsvp').Promise; | ||
NPMLocation.packageFormat = /^@[^\/]+\/[^\/]+|^[^@\/][^\/]+/; | ||
NPMLocation.prototype = { | ||
parse: function(name) { | ||
var pLen = name.substr(0, 1) == '@' ? 2 : 1; | ||
var parts = name.split('/'); | ||
return { | ||
package: parts.splice(0, pLen).join('/'), | ||
path: parts.join('/') | ||
}; | ||
}, | ||
lookup: function(repo) { | ||
@@ -238,0 +231,0 @@ var self = this; |
{ | ||
"name": "jspm-npm", | ||
"version": "0.20.0", | ||
"version": "0.20.1", | ||
"description": "jspm npm endpoint", | ||
@@ -5,0 +5,0 @@ "main": "npm.js", |
47682
1190