@buggyorg/component-library
Advanced tools
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+6
-0
@@ -129,2 +129,5 @@ 'use strict'; | ||
| }); | ||
| }).catch(function (error) { | ||
| error.message = '\'' + id + '\' ' + error.message; | ||
| throw error; | ||
| }).then(getSource); | ||
@@ -246,2 +249,5 @@ }, | ||
| return api.list(node).then(function (list) { | ||
| if (list.length === 0) { | ||
| return ''; | ||
| } | ||
| return _lodash2.default.last(list.sort(function (a, b) { | ||
@@ -248,0 +254,0 @@ return _semver2.default.compare(a.version, b.version); |
+1
-1
| { | ||
| "name": "@buggyorg/component-library", | ||
| "version": "0.3.5", | ||
| "version": "0.3.6", | ||
| "description": "Backend driver for buggy components.", | ||
@@ -5,0 +5,0 @@ "main": "lib/api.js", |
+7
-2
@@ -113,4 +113,6 @@ /* global __dirname */ | ||
| } | ||
| )) | ||
| .then(getSource) | ||
| )).catch((error) => { | ||
| error.message = '\'' + id + '\' ' + error.message | ||
| throw error | ||
| }).then(getSource) | ||
| }, | ||
@@ -238,2 +240,5 @@ | ||
| .then(list => { | ||
| if (list.length === 0) { | ||
| return '' | ||
| } | ||
| return _.last(list.sort((a, b) => { return semver.compare(a.version, b.version) })).version | ||
@@ -240,0 +245,0 @@ }) |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
84026366
4.08%316
0.96%2480
0.45%