Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/core

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/core - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

6

dist-node/index.js

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

const VERSION = "1.3.2";
const VERSION = "1.4.0";

@@ -51,2 +51,6 @@ function withAuthorizationPrefix(authorization) {

if (options.timeZone) {
requestDefaults.headers["time-zone"] = options.timeZone;
}
if (options.auth) {

@@ -53,0 +57,0 @@ if (typeof options.auth === "string") {

@@ -34,2 +34,5 @@ import { getUserAgent } from "universal-user-agent";

}
if (options.timeZone) {
requestDefaults.headers["time-zone"] = options.timeZone;
}
if (options.auth) {

@@ -36,0 +39,0 @@ if (typeof options.auth === "string") {

2

dist-src/version.js

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

export const VERSION = "1.3.2";
export const VERSION = "1.4.0";

@@ -8,2 +8,3 @@ /// <reference types="node" />

request?: OctokitRequestOptions;
timeZone?: string;
[option: string]: any;

@@ -10,0 +11,0 @@ };

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

export declare const VERSION = "1.3.2";
export declare const VERSION = "1.4.0";

@@ -6,3 +6,3 @@ import { getUserAgent } from 'universal-user-agent';

const VERSION = "1.3.2";
const VERSION = "1.4.0";

@@ -47,2 +47,5 @@ function withAuthorizationPrefix(authorization) {

}
if (options.timeZone) {
requestDefaults.headers["time-zone"] = options.timeZone;
}
if (options.auth) {

@@ -49,0 +52,0 @@ if (typeof options.auth === "string") {

{
"name": "@octokit/core",
"description": "Extendable client for GitHub's REST & GraphQL APIs",
"version": "1.3.2",
"version": "1.4.0",
"license": "MIT",

@@ -29,5 +29,5 @@ "files": [

"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.6.0",
"@pika/plugin-build-web": "^0.6.0",
"@pika/plugin-ts-standard-pkg": "^0.6.0",
"@pika/plugin-build-node": "^0.7.0",
"@pika/plugin-build-web": "^0.7.0",
"@pika/plugin-ts-standard-pkg": "^0.7.0",
"@types/fetch-mock": "^7.3.1",

@@ -41,5 +41,5 @@ "@types/jest": "^24.0.17",

"jest": "^24.8.0",
"lolex": "^4.2.0",
"lolex": "^5.0.0",
"prettier": "^1.18.2",
"proxy": "^0.2.4",
"proxy": "^1.0.1",
"semantic-release": "^15.13.21",

@@ -56,3 +56,3 @@ "semantic-release-plugin-update-version-in-files": "^1.0.0",

"main": "dist-node/index.js",
"module": "dist-web/index.js"
"deno": "dist-web/index.js"
}

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