mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 21:50:17 +08:00
Update checked-in dependencies
This commit is contained in:
1
node_modules/array.prototype.flat/.eslintignore
generated
vendored
Normal file
1
node_modules/array.prototype.flat/.eslintignore
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
coverage/
|
||||
15
node_modules/array.prototype.flat/.github/workflows/rebase.yml
generated
vendored
15
node_modules/array.prototype.flat/.github/workflows/rebase.yml
generated
vendored
@@ -1,15 +0,0 @@
|
||||
name: Automatic Rebase
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
_:
|
||||
name: "Automatic Rebase"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ljharb/rebase@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
2
node_modules/array.prototype.flat/.nycrc
generated
vendored
2
node_modules/array.prototype.flat/.nycrc
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"all": true,
|
||||
"check-coverage": true,
|
||||
"check-coverage": false,
|
||||
"reporter": ["text-summary", "text", "html", "json"],
|
||||
"lines": 96,
|
||||
"statements": 96,
|
||||
|
||||
9
node_modules/array.prototype.flat/.travis.yml
generated
vendored
9
node_modules/array.prototype.flat/.travis.yml
generated
vendored
@@ -1,9 +0,0 @@
|
||||
version: ~> 1.0
|
||||
language: node_js
|
||||
os:
|
||||
- linux
|
||||
import:
|
||||
- ljharb/travis-ci:node/all.yml
|
||||
- ljharb/travis-ci:node/pretest.yml
|
||||
- ljharb/travis-ci:node/posttest.yml
|
||||
- ljharb/travis-ci:node/coverage.yml
|
||||
12
node_modules/array.prototype.flat/implementation.js
generated
vendored
12
node_modules/array.prototype.flat/implementation.js
generated
vendored
@@ -1,11 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var ArraySpeciesCreate = require('es-abstract/2019/ArraySpeciesCreate');
|
||||
var FlattenIntoArray = require('es-abstract/2019/FlattenIntoArray');
|
||||
var Get = require('es-abstract/2019/Get');
|
||||
var ToInteger = require('es-abstract/2019/ToInteger');
|
||||
var ToLength = require('es-abstract/2019/ToLength');
|
||||
var ToObject = require('es-abstract/2019/ToObject');
|
||||
var ArraySpeciesCreate = require('es-abstract/2020/ArraySpeciesCreate');
|
||||
var FlattenIntoArray = require('es-abstract/2020/FlattenIntoArray');
|
||||
var Get = require('es-abstract/2020/Get');
|
||||
var ToInteger = require('es-abstract/2020/ToInteger');
|
||||
var ToLength = require('es-abstract/2020/ToLength');
|
||||
var ToObject = require('es-abstract/2020/ToObject');
|
||||
|
||||
module.exports = function flat() {
|
||||
var O = ToObject(this);
|
||||
|
||||
2
node_modules/array.prototype.flat/index.js
generated
vendored
2
node_modules/array.prototype.flat/index.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var define = require('define-properties');
|
||||
var callBind = require('es-abstract/helpers/callBind');
|
||||
var callBind = require('call-bind');
|
||||
|
||||
var implementation = require('./implementation');
|
||||
var getPolyfill = require('./polyfill');
|
||||
|
||||
30
node_modules/array.prototype.flat/package.json
generated
vendored
30
node_modules/array.prototype.flat/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "array.prototype.flat",
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"author": {
|
||||
"name": "Jordan Harband",
|
||||
"email": "ljharb@gmail.com",
|
||||
@@ -22,14 +22,11 @@
|
||||
"scripts": {
|
||||
"prepublish": "safe-publish-latest",
|
||||
"pretest": "npm run --silent lint && evalmd README.md",
|
||||
"test": "npm run --silent tests-only",
|
||||
"posttest": "npx aud --production",
|
||||
"pretests-only": "es-shim-api --bound",
|
||||
"tests-only": "npm run --silent test:shimmed && npm run --silent test:module",
|
||||
"test:shimmed": "node test/shimmed",
|
||||
"test:module": "node test",
|
||||
"coverage": "nyc npm run tests-only",
|
||||
"lint": "eslint test/*.js *.js"
|
||||
"test": "npm run tests-only",
|
||||
"posttest": "aud --production",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"lint": "eslint .",
|
||||
"postlint": "es-shim-api --bound"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -49,20 +46,23 @@
|
||||
"es-shim API"
|
||||
],
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.0",
|
||||
"define-properties": "^1.1.3",
|
||||
"es-abstract": "^1.17.0-next.1"
|
||||
"es-abstract": "^1.18.0-next.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@es-shims/api": "^2.1.2",
|
||||
"@ljharb/eslint-config": "^15.0.2",
|
||||
"@ljharb/eslint-config": "^17.2.0",
|
||||
"aud": "^1.1.3",
|
||||
"covert": "^1.1.1",
|
||||
"eslint": "^6.7.2",
|
||||
"evalmd": "0.0.19",
|
||||
"eslint": "^7.13.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"function-bind": "^1.1.1",
|
||||
"has-strict-mode": "^1.0.0",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.7.0",
|
||||
"object-inspect": "^1.8.0",
|
||||
"safe-publish-latest": "^1.1.4",
|
||||
"tape": "^4.11.0"
|
||||
"tape": "^5.0.1"
|
||||
},
|
||||
"testling": {
|
||||
"files": [
|
||||
|
||||
20
node_modules/array.prototype.flat/test/implementation.js
generated
vendored
Normal file
20
node_modules/array.prototype.flat/test/implementation.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
var flat = require('../implementation');
|
||||
var callBind = require('call-bind');
|
||||
var test = require('tape');
|
||||
var hasStrictMode = require('has-strict-mode')();
|
||||
var runTests = require('./tests');
|
||||
|
||||
test('as a function', function (t) {
|
||||
t.test('bad array/this value', { skip: !hasStrictMode }, function (st) {
|
||||
/* eslint no-useless-call: 0 */
|
||||
st['throws'](function () { flat.call(undefined); }, TypeError, 'undefined is not an object');
|
||||
st['throws'](function () { flat.call(null); }, TypeError, 'null is not an object');
|
||||
st.end();
|
||||
});
|
||||
|
||||
runTests(callBind(flat), t);
|
||||
|
||||
t.end();
|
||||
});
|
||||
14
node_modules/array.prototype.flat/test/tests.js
generated
vendored
14
node_modules/array.prototype.flat/test/tests.js
generated
vendored
@@ -7,16 +7,16 @@ var testArray = function testArray(t, actual, expected, msg) {
|
||||
|
||||
module.exports = function (flat, t) {
|
||||
t.test('flattens', function (st) {
|
||||
testArray(t, flat([1, [2], [[3]], [[['four']]]]), [1, 2, [3], [['four']]], 'missing depth only flattens 1 deep');
|
||||
testArray(st, flat([1, [2], [[3]], [[['four']]]]), [1, 2, [3], [['four']]], 'missing depth only flattens 1 deep');
|
||||
|
||||
testArray(t, flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, [3], [['four']]], 'depth of 1 only flattens 1 deep');
|
||||
t.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, 3, ['four']], 'depth of 1 only flattens 1 deep: sanity check');
|
||||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, [3], [['four']]], 'depth of 1 only flattens 1 deep');
|
||||
st.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 1), [1, 2, 3, ['four']], 'depth of 1 only flattens 1 deep: sanity check');
|
||||
|
||||
testArray(t, flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, ['four']], 'depth of 2 only flattens 2 deep');
|
||||
t.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, 'four'], 'depth of 2 only flattens 2 deep: sanity check');
|
||||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, ['four']], 'depth of 2 only flattens 2 deep');
|
||||
st.notDeepEqual(flat([1, [2], [[3]], [[['four']]]], 2), [1, 2, 3, 'four'], 'depth of 2 only flattens 2 deep: sanity check');
|
||||
|
||||
testArray(t, flat([1, [2], [[3]], [[['four']]]], 3), [1, 2, 3, 'four'], 'depth of 3 only flattens 3 deep');
|
||||
testArray(t, flat([1, [2], [[3]], [[['four']]]], Infinity), [1, 2, 3, 'four'], 'depth of Infinity flattens all the way');
|
||||
testArray(st, flat([1, [2], [[3]], [[['four']]]], 3), [1, 2, 3, 'four'], 'depth of 3 only flattens 3 deep');
|
||||
testArray(st, flat([1, [2], [[3]], [[['four']]]], Infinity), [1, 2, 3, 'four'], 'depth of Infinity flattens all the way');
|
||||
|
||||
st.end();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user