Socket
Socket
Sign inDemoInstall

@octokit/endpoint

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/endpoint - npm Package Compare versions

Comparing version 6.0.6 to 6.0.7

4

dist-node/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc