initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
14
github/codeql-action-v2/node_modules/well-known-symbols/LICENSE
generated
vendored
Normal file
14
github/codeql-action-v2/node_modules/well-known-symbols/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
ISC License (ISC)
|
||||
Copyright (c) 2017 Mark Wubben <mark@novemberborn.net> (novemberborn.net)
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||
with or without fee is hereby granted, provided that the above copyright notice
|
||||
and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
||||
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
||||
THIS SOFTWARE.
|
||||
24
github/codeql-action-v2/node_modules/well-known-symbols/README.md
generated
vendored
Normal file
24
github/codeql-action-v2/node_modules/well-known-symbols/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# well-known-symbols
|
||||
|
||||
Check whether a symbol is [well-known](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Symbol#Well-known_symbols).
|
||||
|
||||
Requires Node.js 6 or above. Note that not all Node.js versions support the same
|
||||
well-known symbols.
|
||||
|
||||
## Installation
|
||||
|
||||
```console
|
||||
$ npm install --save well-known-symbols
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const wellKnownSymbols = require('well-known-symbols')
|
||||
|
||||
wellKnownSymbols.isWellKnown(Symbol.iterator) // true
|
||||
wellKnownSymbols.isWellKnown(Symbol()) // false
|
||||
|
||||
wellKnownSymbols.getLabel(Symbol.iterator) // 'Symbol.iterator'
|
||||
wellKnownSymbols.getLabel(Symbol()) // undefined
|
||||
```
|
||||
20
github/codeql-action-v2/node_modules/well-known-symbols/index.js
generated
vendored
Normal file
20
github/codeql-action-v2/node_modules/well-known-symbols/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
'use strict'
|
||||
|
||||
// https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Symbol#Well-known_symbols
|
||||
const WELL_KNOWN = new Map([
|
||||
[Symbol.iterator, 'Symbol.iterator'],
|
||||
[Symbol.asyncIterator, 'Symbol.asyncIterator'],
|
||||
[Symbol.match, 'Symbol.match'],
|
||||
[Symbol.replace, 'Symbol.replace'],
|
||||
[Symbol.search, 'Symbol.search'],
|
||||
[Symbol.split, 'Symbol.split'],
|
||||
[Symbol.hasInstance, 'Symbol.hasInstance'],
|
||||
[Symbol.isConcatSpreadable, 'Symbol.isConcatSpreadable'],
|
||||
[Symbol.unscopables, 'Symbol.unscopables'],
|
||||
[Symbol.species, 'Symbol.species'],
|
||||
[Symbol.toPrimitive, 'Symbol.toPrimitive'],
|
||||
[Symbol.toStringTag, 'Symbol.toStringTag']
|
||||
].filter(entry => entry[0]))
|
||||
|
||||
exports.isWellKnown = symbol => WELL_KNOWN.has(symbol)
|
||||
exports.getLabel = symbol => WELL_KNOWN.get(symbol)
|
||||
49
github/codeql-action-v2/node_modules/well-known-symbols/package.json
generated
vendored
Normal file
49
github/codeql-action-v2/node_modules/well-known-symbols/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"name": "well-known-symbols",
|
||||
"version": "2.0.0",
|
||||
"description": "Check whether a symbol is well-known",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "as-i-preach",
|
||||
"test": "npm -s run lint && nyc ava"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/novemberborn/well-known-symbols.git"
|
||||
},
|
||||
"keywords": [
|
||||
"symbols",
|
||||
"es6",
|
||||
"es7",
|
||||
"es8",
|
||||
"es2015",
|
||||
"es2016",
|
||||
"es2017"
|
||||
],
|
||||
"author": "Mark Wubben (https://novemberborn.net/)",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/novemberborn/well-known-symbols/issues"
|
||||
},
|
||||
"homepage": "https://github.com/novemberborn/well-known-symbols#readme",
|
||||
"devDependencies": {
|
||||
"@novemberborn/as-i-preach": "^11.0.0",
|
||||
"ava": "1.0.0-beta.8",
|
||||
"codecov": "^3.1.0",
|
||||
"nyc": "^13.0.1"
|
||||
},
|
||||
"nyc": {
|
||||
"reporter": [
|
||||
"html",
|
||||
"lcov",
|
||||
"text"
|
||||
]
|
||||
},
|
||||
"standard-engine": "@novemberborn/as-i-preach"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue