@octokit/endpoint
Advanced tools
Comparing version 5.3.4 to 5.3.5
@@ -8,3 +8,3 @@ 'use strict'; | ||
var isPlainObject = _interopDefault(require('is-plain-object')); | ||
var getUserAgent = _interopDefault(require('universal-user-agent')); | ||
var universalUserAgent = require('universal-user-agent'); | ||
@@ -361,3 +361,3 @@ function lowercaseKeys(object) { | ||
const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; | ||
const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; | ||
const DEFAULTS = { | ||
@@ -364,0 +364,0 @@ method: "GET", |
@@ -1,2 +0,2 @@ | ||
import getUserAgent from "universal-user-agent"; | ||
import { getUserAgent } from "universal-user-agent"; | ||
import { VERSION } from "./version"; | ||
@@ -3,0 +3,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; |
import isPlainObject from 'is-plain-object'; | ||
import getUserAgent from 'universal-user-agent'; | ||
import { getUserAgent } from 'universal-user-agent'; | ||
@@ -4,0 +4,0 @@ function lowercaseKeys(object) { |
{ | ||
"name": "@octokit/endpoint", | ||
"description": "Turns REST API endpoints into generic request options", | ||
"version": "5.3.4", | ||
"version": "5.3.5", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "files": [ | ||
"is-plain-object": "^3.0.0", | ||
"universal-user-agent": "^3.0.0" | ||
"universal-user-agent": "^4.0.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
330497
+ Addeduniversal-user-agent@4.0.1(transitive)
- Removeduniversal-user-agent@3.0.0(transitive)
Updateduniversal-user-agent@^4.0.0