@octokit-next/core
Advanced tools
Comparing version 1.3.1 to 1.4.0
14
index.js
@@ -1,2 +0,2 @@ | ||
import { request as coreRequest } from "./request/index.js"; | ||
import { request as coreRequest } from "@octokit-next/request"; | ||
@@ -38,5 +38,13 @@ export class Octokit { | ||
request(route, parameters) { | ||
return coreRequest(this.options, route, parameters); | ||
request(route, parameters = {}) { | ||
const requestOptions = { | ||
...this.options.request, | ||
...parameters.request, | ||
}; | ||
return coreRequest(route, { | ||
...{ baseUrl: this.options.baseUrl }, | ||
...parameters, | ||
request: requestOptions, | ||
}); | ||
} | ||
} |
@@ -7,9 +7,6 @@ { | ||
"type": "module", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Core SDK module for upcoming Octokit", | ||
"exports": "./index.js", | ||
"types": "./index.d.ts", | ||
"scripts": { | ||
"test": "tsd" | ||
}, | ||
"repository": { | ||
@@ -23,4 +20,5 @@ "type": "git", | ||
"dependencies": { | ||
"@octokit-next/types": "1.3.1" | ||
"@octokit-next/types": "1.4.0", | ||
"@octokit-next/request": "1.4.0" | ||
} | ||
} |
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
0
1742
2
3
44
+ Added@octokit-next/request@1.4.0
+ Added@octokit-next/request@1.4.0(transitive)
+ Added@octokit-next/types@1.4.0(transitive)
+ Addeddata-uri-to-buffer@3.0.1(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.0.0-beta.10(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removed@octokit-next/types@1.3.1(transitive)
Updated@octokit-next/types@1.4.0