@octokit/endpoint
Advanced tools
Comparing version 6.0.6 to 6.0.7
@@ -271,3 +271,3 @@ 'use strict'; | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); | ||
let headers = Object.assign({}, options.headers); | ||
@@ -357,3 +357,3 @@ let body; | ||
const VERSION = "6.0.6"; | ||
const VERSION = "6.0.7"; | ||
@@ -360,0 +360,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. |
@@ -9,3 +9,3 @@ import { addQueryParameters } from "./util/add-query-parameters"; | ||
// replace :varname with {varname} to make it RFC 6570 compatible | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); | ||
let headers = Object.assign({}, options.headers); | ||
@@ -12,0 +12,0 @@ let body; |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "6.0.6"; | ||
export const VERSION = "6.0.7"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "6.0.6"; | ||
export declare const VERSION = "6.0.7"; |
@@ -259,3 +259,3 @@ import { isPlainObject } from 'is-plain-object'; | ||
// replace :varname with {varname} to make it RFC 6570 compatible | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{+$1}"); | ||
let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); | ||
let headers = Object.assign({}, options.headers); | ||
@@ -349,3 +349,3 @@ let body; | ||
const VERSION = "6.0.6"; | ||
const VERSION = "6.0.7"; | ||
@@ -352,0 +352,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; |
{ | ||
"name": "@octokit/endpoint", | ||
"description": "Turns REST API endpoints into generic request options", | ||
"version": "6.0.6", | ||
"version": "6.0.7", | ||
"license": "MIT", | ||
@@ -38,3 +38,3 @@ "files": [ | ||
"jest": "^26.0.1", | ||
"prettier": "2.1.1", | ||
"prettier": "2.1.2", | ||
"semantic-release": "^17.0.0", | ||
@@ -41,0 +41,0 @@ "semantic-release-plugin-update-version-in-files": "^1.0.0", |
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
113454