Socket
Socket
Sign inDemoInstall

@octokit/endpoint

Package Overview
Dependencies
Maintainers
3
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.1 to 6.0.2

2

dist-node/index.js

@@ -358,3 +358,3 @@ 'use strict';

const VERSION = "6.0.1";
const VERSION = "6.0.2";

@@ -361,0 +361,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.

@@ -1,1 +0,1 @@

export const VERSION = "6.0.1";
export const VERSION = "6.0.2";

@@ -1,1 +0,1 @@

export declare const VERSION = "6.0.1";
export declare const VERSION = "6.0.2";

@@ -348,3 +348,3 @@ import isPlainObject from 'is-plain-object';

const VERSION = "6.0.1";
const VERSION = "6.0.2";

@@ -351,0 +351,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;

{
"name": "@octokit/endpoint",
"description": "Turns REST API endpoints into generic request options",
"version": "6.0.1",
"version": "6.0.2",
"license": "MIT",

@@ -27,3 +27,3 @@ "files": [

"dependencies": {
"@octokit/types": "^2.11.1",
"@octokit/types": "^4.0.1",
"is-plain-object": "^3.0.0",

@@ -38,7 +38,7 @@ "universal-user-agent": "^5.0.0"

"@types/jest": "^25.1.0",
"jest": "^24.7.1",
"prettier": "2.0.3",
"jest": "^26.0.1",
"prettier": "2.0.5",
"semantic-release": "^17.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"ts-jest": "^25.1.0",
"ts-jest": "^26.0.0",
"typescript": "^3.4.5"

@@ -45,0 +45,0 @@ },

@@ -7,3 +7,2 @@ # endpoint.js

![Build Status](https://github.com/octokit/endpoint.js/workflows/Test/badge.svg)
[![Greenkeeper](https://badges.greenkeeper.io/octokit/endpoint.js.svg)](https://greenkeeper.io/)

@@ -13,2 +12,3 @@ `@octokit/endpoint` combines [GitHub REST API routes](https://developer.github.com/v3/) with your parameters and turns them into generic request options that can be used in any request library.

<!-- update table of contents by running `npx markdown-toc README.md -i` -->
<!-- toc -->

@@ -18,9 +18,9 @@

- [API](#api)
- [endpoint()](#endpointroute-options-or-endpointoptions)
- [endpoint.defaults()](#endpointdefaults)
- [endpoint.DEFAULTS](#endpointdefaults-1)
- [endpoint.merge()](#endpointmergeroute-options-or-endpointmergeoptions)
- [endpoint.parse()](#endpointparse)
- [`endpoint(route, options)` or `endpoint(options)`](#endpointroute-options-or-endpointoptions)
- [`endpoint.defaults()`](#endpointdefaults)
- [`endpoint.DEFAULTS`](#endpointdefaults)
- [`endpoint.merge(route, options)` or `endpoint.merge(options)`](#endpointmergeroute-options-or-endpointmergeoptions)
- [`endpoint.parse()`](#endpointparse)
- [Special cases](#special-cases)
- [The `data` parameter – set request body directly](#the-data-parameter--set-request-body-directly)
- [The `data` parameter – set request body directly](#the-data-parameter-%E2%80%93-set-request-body-directly)
- [Set parameters for both the URL/query and the request body](#set-parameters-for-both-the-urlquery-and-the-request-body)

@@ -27,0 +27,0 @@ - [LICENSE](#license)

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