initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
4282
github/codeql-action-v2/node_modules/svg-element-attributes/index.json
generated
vendored
Normal file
4282
github/codeql-action-v2/node_modules/svg-element-attributes/index.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
22
github/codeql-action-v2/node_modules/svg-element-attributes/license
generated
vendored
Normal file
22
github/codeql-action-v2/node_modules/svg-element-attributes/license
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
(The MIT License)
|
||||
|
||||
Copyright (c) 2017 Titus Wormer <tituswormer@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
'Software'), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
76
github/codeql-action-v2/node_modules/svg-element-attributes/package.json
generated
vendored
Normal file
76
github/codeql-action-v2/node_modules/svg-element-attributes/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
"name": "svg-element-attributes",
|
||||
"version": "1.3.1",
|
||||
"description": "Map of SVG elements to allowed attributes",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"svg",
|
||||
"element",
|
||||
"tag",
|
||||
"name",
|
||||
"attribute",
|
||||
"property",
|
||||
"w3c"
|
||||
],
|
||||
"repository": "wooorm/svg-element-attributes",
|
||||
"bugs": "https://github.com/wooorm/svg-element-attributes/issues",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
},
|
||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||
"contributors": [
|
||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
||||
],
|
||||
"main": "index.json",
|
||||
"files": [
|
||||
"index.json"
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"alpha-sort": "^3.0.0",
|
||||
"bail": "^1.0.0",
|
||||
"browserify": "^16.0.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"hast-util-is-event-handler": "^1.0.0",
|
||||
"hast-util-select": "^3.0.0",
|
||||
"hast-util-to-string": "^1.0.0",
|
||||
"prettier": "^1.0.0",
|
||||
"rehype-parse": "^6.0.0",
|
||||
"remark-cli": "^7.0.0",
|
||||
"remark-preset-wooorm": "^6.0.0",
|
||||
"tape": "^4.0.0",
|
||||
"tinyify": "^2.0.0",
|
||||
"unified": "^8.0.0",
|
||||
"xo": "^0.25.0"
|
||||
},
|
||||
"scripts": {
|
||||
"generate": "node build",
|
||||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
|
||||
"build-bundle": "browserify index.json -s svgElementAttributes -o svg-element-attributes.js",
|
||||
"build-mangle": "browserify index.json -s svgElementAttributes -p tinyify -o svg-element-attributes.min.js",
|
||||
"build": "npm run build-bundle && npm run build-mangle",
|
||||
"test-api": "node test",
|
||||
"test": "npm run format && npm run build && npm run test-api"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"bracketSpacing": false,
|
||||
"semi": false,
|
||||
"trailingComma": "none"
|
||||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"esnext": false,
|
||||
"ignores": [
|
||||
"svg-element-attributes.js"
|
||||
]
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": [
|
||||
"preset-wooorm"
|
||||
]
|
||||
}
|
||||
}
|
||||
169
github/codeql-action-v2/node_modules/svg-element-attributes/readme.md
generated
vendored
Normal file
169
github/codeql-action-v2/node_modules/svg-element-attributes/readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
# svg-element-attributes
|
||||
|
||||
[![Build][build-badge]][build]
|
||||
[![Downloads][downloads-badge]][downloads]
|
||||
[![Size][size-badge]][size]
|
||||
|
||||
Map of SVG elements to allowed attributes.
|
||||
Also contains global attributes under `'*'`.
|
||||
|
||||
Includes attributes from [SVG 1.1][1.1], [SVG Tiny 1.2][1.2], and [SVG 2][2.0].
|
||||
|
||||
> **Note**: Does not include ARIA attributes (`role`, `aria-*`), `xml:*` or
|
||||
> `xlink:*` attributes, event attributes (`on*`), or `ev:event`.
|
||||
|
||||
## Install
|
||||
|
||||
[npm][]:
|
||||
|
||||
```sh
|
||||
npm install svg-element-attributes
|
||||
```
|
||||
|
||||
## Use
|
||||
|
||||
```js
|
||||
var svgElementAttributes = require('svg-element-attributes')
|
||||
|
||||
console.log(svgElementAttributes['*'])
|
||||
console.log(svgElementAttributes.circle)
|
||||
```
|
||||
|
||||
Yields:
|
||||
|
||||
```js
|
||||
[ 'about',
|
||||
'class',
|
||||
'content',
|
||||
'datatype',
|
||||
'id',
|
||||
'lang',
|
||||
'property',
|
||||
'rel',
|
||||
'resource',
|
||||
'rev',
|
||||
'tabindex',
|
||||
'typeof' ]
|
||||
[ 'alignment-baseline',
|
||||
'baseline-shift',
|
||||
'clip',
|
||||
'clip-path',
|
||||
'clip-rule',
|
||||
'color',
|
||||
'color-interpolation',
|
||||
'color-interpolation-filters',
|
||||
'color-profile',
|
||||
'color-rendering',
|
||||
'cursor',
|
||||
'cx',
|
||||
'cy',
|
||||
'direction',
|
||||
'display',
|
||||
'dominant-baseline',
|
||||
'enable-background',
|
||||
'externalResourcesRequired',
|
||||
'fill',
|
||||
'fill-opacity',
|
||||
'fill-rule',
|
||||
'filter',
|
||||
'flood-color',
|
||||
'flood-opacity',
|
||||
'focusHighlight',
|
||||
'focusable',
|
||||
'font-family',
|
||||
'font-size',
|
||||
'font-size-adjust',
|
||||
'font-stretch',
|
||||
'font-style',
|
||||
'font-variant',
|
||||
'font-weight',
|
||||
'glyph-orientation-horizontal',
|
||||
'glyph-orientation-vertical',
|
||||
'image-rendering',
|
||||
'kerning',
|
||||
'letter-spacing',
|
||||
'lighting-color',
|
||||
'marker-end',
|
||||
'marker-mid',
|
||||
'marker-start',
|
||||
'mask',
|
||||
'nav-down',
|
||||
'nav-down-left',
|
||||
'nav-down-right',
|
||||
'nav-left',
|
||||
'nav-next',
|
||||
'nav-prev',
|
||||
'nav-right',
|
||||
'nav-up',
|
||||
'nav-up-left',
|
||||
'nav-up-right',
|
||||
'opacity',
|
||||
'overflow',
|
||||
'pathLength',
|
||||
'pointer-events',
|
||||
'r',
|
||||
'requiredExtensions',
|
||||
'requiredFeatures',
|
||||
'requiredFonts',
|
||||
'requiredFormats',
|
||||
'shape-rendering',
|
||||
'stop-color',
|
||||
'stop-opacity',
|
||||
'stroke',
|
||||
'stroke-dasharray',
|
||||
'stroke-dashoffset',
|
||||
'stroke-linecap',
|
||||
'stroke-linejoin',
|
||||
'stroke-miterlimit',
|
||||
'stroke-opacity',
|
||||
'stroke-width',
|
||||
'style',
|
||||
'systemLanguage',
|
||||
'text-anchor',
|
||||
'text-decoration',
|
||||
'text-rendering',
|
||||
'transform',
|
||||
'unicode-bidi',
|
||||
'visibility',
|
||||
'word-spacing',
|
||||
'writing-mode' ]
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### `svgElementAttributes`
|
||||
|
||||
`Object.<Array.<string>>` — Map of tag names to an array of attribute names.
|
||||
|
||||
The object contains one special key: `'*'`, which contains global attributes
|
||||
that apply to all SVG elements.
|
||||
|
||||
## License
|
||||
|
||||
[MIT][license] © [Titus Wormer][author]
|
||||
|
||||
<!-- Definition -->
|
||||
|
||||
[build-badge]: https://img.shields.io/travis/wooorm/svg-element-attributes.svg
|
||||
|
||||
[build]: https://travis-ci.org/wooorm/svg-element-attributes
|
||||
|
||||
[downloads-badge]: https://img.shields.io/npm/dm/svg-element-attributes.svg
|
||||
|
||||
[downloads]: https://www.npmjs.com/package/svg-element-attributes
|
||||
|
||||
[size-badge]: https://img.shields.io/bundlephobia/minzip/svg-element-attributes.svg
|
||||
|
||||
[size]: https://bundlephobia.com/result?p=svg-element-attributes
|
||||
|
||||
[npm]: https://docs.npmjs.com/cli/install
|
||||
|
||||
[license]: license
|
||||
|
||||
[author]: https://wooorm.com
|
||||
|
||||
[1.1]: https://www.w3.org/TR/SVG/attindex.html
|
||||
|
||||
[1.2]: https://www.w3.org/TR/SVGTiny12/attributeTable.html
|
||||
|
||||
[2.0]: https://www.w3.org/TR/SVG2/attindex.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue