Auto-commit 2026-04-29 16:31
This commit is contained in:
9
node_modules/openid-client/lib/helpers/pick.js
generated
vendored
Normal file
9
node_modules/openid-client/lib/helpers/pick.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = function pick(object, ...paths) {
|
||||
const obj = {};
|
||||
for (const path of paths) {
|
||||
if (object[path] !== undefined) {
|
||||
obj[path] = object[path];
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
Reference in New Issue
Block a user