+4
-0
@@ -31,2 +31,6 @@ 'use strict'; | ||
| if (!versionAssets[0]) { | ||
| return reject(new Error(`Specified release version for ${library.name} does not exist`)); | ||
| } | ||
| // Return only the latest version | ||
@@ -33,0 +37,0 @@ let files = versionAssets[0].files.map(item => urlResolve( |
+1
-1
| { | ||
| "name": "latest-lib", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "Get the latest version of a CSS or JavaScript library hosted on CDNJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
5975
2.24%79
3.95%1
Infinity%