initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
2
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.d.ts
generated
vendored
Normal file
2
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export default function chunkd<T>(array: T[], index: number, total: number): T[];
|
||||
//# sourceMappingURL=chunkd.d.ts.map
|
||||
1
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.d.ts.map
generated
vendored
Normal file
1
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.d.ts.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"chunkd.d.ts","sourceRoot":"","sources":["../src/chunkd.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,CAAC,EAC/B,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACX,CAAC,EAAE,CAQL"}
|
||||
13
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.js
generated
vendored
Normal file
13
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function chunkd(array, index, total) {
|
||||
let length = array.length;
|
||||
let size = Math.floor(length / total);
|
||||
let remainder = length % total;
|
||||
let offset = Math.min(index, remainder) + index * size;
|
||||
let chunk = size + (index < remainder ? 1 : 0);
|
||||
return array.slice(offset, offset + chunk);
|
||||
}
|
||||
exports.default = chunkd;
|
||||
module.exports = chunkd;
|
||||
//# sourceMappingURL=chunkd.js.map
|
||||
1
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.js.map
generated
vendored
Normal file
1
github/codeql-action-v1/node_modules/chunkd/dist/chunkd.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"chunkd.js","sourceRoot":"","sources":["../src/chunkd.ts"],"names":[],"mappings":";;AAAA,SAAwB,MAAM,CAC7B,KAAU,EACV,KAAa,EACb,KAAa;IAEb,IAAI,MAAM,GAAG,KAAK,CAAC,MAAM,CAAA;IACzB,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAA;IACrC,IAAI,SAAS,GAAG,MAAM,GAAG,KAAK,CAAA;IAC9B,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,GAAG,KAAK,GAAG,IAAI,CAAA;IACtD,IAAI,KAAK,GAAG,IAAI,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE9C,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,CAAA;AAC3C,CAAC;AAZD,yBAYC;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAA"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue