initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
11
github/codeql-action-v2/node_modules/es-get-iterator/node.mjs
generated
vendored
Normal file
11
github/codeql-action-v2/node_modules/es-get-iterator/node.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// this should only run in node >= 13.7, so it
|
||||
// does not need any of the intense fallbacks that old node/browsers do
|
||||
|
||||
var $iterator = Symbol.iterator;
|
||||
|
||||
export default function getIterator(iterable) {
|
||||
// alternatively, `iterable[$iterator]?.()`
|
||||
if (iterable != null && iterable[$iterator] !== undefined) {
|
||||
return iterable[$iterator]();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue