@octokit/rest
Advanced tools
Comparing version 19.0.8 to 19.0.9
@@ -1,17 +0,48 @@ | ||
'use strict'; | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
// pkg/dist-src/index.js | ||
var dist_src_exports = {}; | ||
__export(dist_src_exports, { | ||
Octokit: () => Octokit, | ||
RestEndpointMethodTypes: () => import_plugin_rest_endpoint_methods2.RestEndpointMethodTypes | ||
}); | ||
module.exports = __toCommonJS(dist_src_exports); | ||
var import_core = require("@octokit/core"); | ||
var import_plugin_request_log = require("@octokit/plugin-request-log"); | ||
var import_plugin_paginate_rest = require("@octokit/plugin-paginate-rest"); | ||
var import_plugin_rest_endpoint_methods = require("@octokit/plugin-rest-endpoint-methods"); | ||
var import_plugin_rest_endpoint_methods2 = require("@octokit/plugin-rest-endpoint-methods"); | ||
var core = require('@octokit/core'); | ||
var pluginRequestLog = require('@octokit/plugin-request-log'); | ||
var pluginPaginateRest = require('@octokit/plugin-paginate-rest'); | ||
var pluginRestEndpointMethods = require('@octokit/plugin-rest-endpoint-methods'); | ||
// pkg/dist-src/version.js | ||
var VERSION = "19.0.9"; | ||
const VERSION = "19.0.8"; | ||
const Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({ | ||
// pkg/dist-src/index.js | ||
var Octokit = import_core.Octokit.plugin( | ||
import_plugin_request_log.requestLog, | ||
import_plugin_rest_endpoint_methods.legacyRestEndpointMethods, | ||
import_plugin_paginate_rest.paginateRest | ||
).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}` | ||
}); | ||
exports.Octokit = Octokit; | ||
//# sourceMappingURL=index.js.map | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Octokit, | ||
RestEndpointMethodTypes | ||
}); |
@@ -5,5 +5,14 @@ import { Octokit as Core } from "@octokit/core"; | ||
import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; | ||
import { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; | ||
import { VERSION } from "./version"; | ||
export const Octokit = Core.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}`, | ||
const Octokit = Core.plugin( | ||
requestLog, | ||
legacyRestEndpointMethods, | ||
paginateRest | ||
).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}` | ||
}); | ||
export { | ||
Octokit, | ||
RestEndpointMethodTypes | ||
}; |
@@ -1,1 +0,4 @@ | ||
export const VERSION = "19.0.8"; | ||
const VERSION = "19.0.9"; | ||
export { | ||
VERSION | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "19.0.8"; | ||
export declare const VERSION = "19.0.9"; |
@@ -1,13 +0,22 @@ | ||
import { Octokit as Octokit$1 } from '@octokit/core'; | ||
import { requestLog } from '@octokit/plugin-request-log'; | ||
import { paginateRest } from '@octokit/plugin-paginate-rest'; | ||
import { legacyRestEndpointMethods } from '@octokit/plugin-rest-endpoint-methods'; | ||
// pkg/dist-src/index.js | ||
import { Octokit as Core } from "@octokit/core"; | ||
import { requestLog } from "@octokit/plugin-request-log"; | ||
import { paginateRest } from "@octokit/plugin-paginate-rest"; | ||
import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; | ||
import { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; | ||
const VERSION = "19.0.8"; | ||
// pkg/dist-src/version.js | ||
var VERSION = "19.0.9"; | ||
const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}`, | ||
// pkg/dist-src/index.js | ||
var Octokit = Core.plugin( | ||
requestLog, | ||
legacyRestEndpointMethods, | ||
paginateRest | ||
).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}` | ||
}); | ||
export { Octokit }; | ||
//# sourceMappingURL=index.js.map | ||
export { | ||
Octokit, | ||
RestEndpointMethodTypes | ||
}; |
{ | ||
"name": "@octokit/rest", | ||
"version": "19.0.9", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"description": "GitHub REST API client for Node.js", | ||
"version": "19.0.8", | ||
"license": "MIT", | ||
"files": [ | ||
"dist-*/**", | ||
"bin/**" | ||
], | ||
"source": "dist-src/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js", | ||
"pika": true, | ||
"sideEffects": false, | ||
"keywords": [ | ||
@@ -22,2 +14,3 @@ "octokit", | ||
], | ||
"author": "Gregor Martynus (https://github.com/gr2m)", | ||
"contributors": [ | ||
@@ -49,12 +42,12 @@ { | ||
"devDependencies": { | ||
"@octokit/auth": "^3.0.3", | ||
"@octokit/auth-action": "^2.0.3", | ||
"@octokit/auth-app": "^4.0.9", | ||
"@octokit/fixtures-server": "^7.0.0", | ||
"@octokit/request": "^6.0.0", | ||
"@pika/pack": "^0.3.7", | ||
"@pika/plugin-build-node": "^0.9.2", | ||
"@pika/plugin-build-web": "^0.9.2", | ||
"@pika/plugin-ts-standard-pkg": "^0.9.2", | ||
"@octokit/tsconfig": "^1.0.2", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.0.0", | ||
"esbuild": "^0.17.19", | ||
"fetch-mock": "^9.0.0", | ||
"glob": "^10.2.5", | ||
"jest": "^29.0.0", | ||
@@ -67,8 +60,15 @@ "prettier": "2.8.8", | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">= 14" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
"files": [ | ||
"dist-*/**", | ||
"bin/**" | ||
], | ||
"main": "dist-node/index.js", | ||
"module": "dist-web/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"source": "dist-src/index.js", | ||
"sideEffects": false | ||
} |
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
10576
93