New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

github-parse-link

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-parse-link - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+3
-3
index.js

@@ -8,6 +8,6 @@ 'use strict';

return link.split(', ').reduce(function (result, part) {
var matcher = part.match('<(.*?)>; rel="(.*?)"');
var match = part.match('<(.*?)>; rel="(.*?)"');
if (matcher.length === 3) {
result[matcher[2]] = matcher[1];
if (match && match.length === 3) {
result[match[2]] = match[1];
}

@@ -14,0 +14,0 @@

{
"name": "github-parse-link",
"version": "1.1.0",
"version": "1.1.1",
"description": "Parse GitHub link header response",

@@ -5,0 +5,0 @@ "license": "MIT",