machinepack-npm
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -28,2 +28,3 @@ module.exports = { | ||
"sourceCodeUrl": "https://github.com/baz/machinepack-foo", | ||
"sourceUrl": "https://github.com/baz/machinepack-foo", | ||
"author": "Substack <substack@substack.com>", | ||
@@ -30,0 +31,0 @@ "main": "lib/index.js", |
@@ -34,2 +34,3 @@ module.exports = { | ||
"sourceCodeUrl": "https://github.com/baz/machinepack-foo", | ||
"sourceUrl": "https://github.com/baz/machinepack-foo", | ||
"author": "Substack <substack@substack.com>", | ||
@@ -104,3 +105,3 @@ "main": "lib/index.js", | ||
// Build the source code URL, if applicable. | ||
moduleMetadata.sourceCodeUrl = (function extractRepoUrl (){ | ||
moduleMetadata.sourceUrl = (function extractRepoUrl (){ | ||
var repoUrl; | ||
@@ -134,2 +135,4 @@ | ||
})(); | ||
// Alias for compatibility | ||
moduleMetadata.sourceCodeUrl = sourceUrl; | ||
@@ -136,0 +139,0 @@ // Normalize contributors list from NPM maintainers, contributors, & author properties. |
{ | ||
"name": "machinepack-npm", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Work with the public NPM repository.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
20022
16
572