@mendeley/api
Advanced tools
Comparing version 8.4.0 to 8.5.0
@@ -57,2 +57,6 @@ | ||
if (headers.hasOwnProperty('date')) { | ||
page.date = headers.date; | ||
} | ||
page.pageData = { | ||
@@ -59,0 +63,0 @@ link: {}, |
{ | ||
"name": "@mendeley/api", | ||
"version": "8.4.0", | ||
"version": "8.5.0", | ||
"description": "Mendeley API JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -41,3 +41,4 @@ 'use strict'; | ||
}, | ||
'mendeley-count': 199 | ||
'mendeley-count': 199, | ||
'date': new Date(1).toISOString() | ||
}, | ||
@@ -66,2 +67,3 @@ data: [ | ||
expect(paginationResponse.total).toBe(199); | ||
expect(paginationResponse.date).toBe(new Date(1).toISOString()); | ||
expect(paginationResponse.items).toEqual([ | ||
@@ -68,0 +70,0 @@ { id: 1 } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1541708
15985
0