@octokit/endpoint
Advanced tools
Comparing version 9.0.3 to 9.0.4
@@ -31,3 +31,3 @@ "use strict"; | ||
// pkg/dist-src/version.js | ||
var VERSION = "9.0.3"; | ||
var VERSION = "9.0.4"; | ||
@@ -151,6 +151,9 @@ // pkg/dist-src/defaults.js | ||
function omit(object, keysToOmit) { | ||
return Object.keys(object).filter((option) => !keysToOmit.includes(option)).reduce((obj, key) => { | ||
obj[key] = object[key]; | ||
return obj; | ||
}, {}); | ||
const result = { __proto__: null }; | ||
for (const key of Object.keys(object)) { | ||
if (keysToOmit.indexOf(key) === -1) { | ||
result[key] = object[key]; | ||
} | ||
} | ||
return result; | ||
} | ||
@@ -157,0 +160,0 @@ |
function omit(object, keysToOmit) { | ||
return Object.keys(object).filter((option) => !keysToOmit.includes(option)).reduce((obj, key) => { | ||
obj[key] = object[key]; | ||
return obj; | ||
}, {}); | ||
const result = { __proto__: null }; | ||
for (const key of Object.keys(object)) { | ||
if (keysToOmit.indexOf(key) === -1) { | ||
result[key] = object[key]; | ||
} | ||
} | ||
return result; | ||
} | ||
@@ -7,0 +10,0 @@ export { |
@@ -1,4 +0,4 @@ | ||
const VERSION = "9.0.3"; | ||
const VERSION = "9.0.4"; | ||
export { | ||
VERSION | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "9.0.3"; | ||
export declare const VERSION = "9.0.4"; |
@@ -5,3 +5,3 @@ // pkg/dist-src/defaults.js | ||
// pkg/dist-src/version.js | ||
var VERSION = "9.0.3"; | ||
var VERSION = "9.0.4"; | ||
@@ -125,6 +125,9 @@ // pkg/dist-src/defaults.js | ||
function omit(object, keysToOmit) { | ||
return Object.keys(object).filter((option) => !keysToOmit.includes(option)).reduce((obj, key) => { | ||
obj[key] = object[key]; | ||
return obj; | ||
}, {}); | ||
const result = { __proto__: null }; | ||
for (const key of Object.keys(object)) { | ||
if (keysToOmit.indexOf(key) === -1) { | ||
result[key] = object[key]; | ||
} | ||
} | ||
return result; | ||
} | ||
@@ -131,0 +134,0 @@ |
{ | ||
"name": "@octokit/endpoint", | ||
"version": "9.0.3", | ||
"version": "9.0.4", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
91752
1110