Add node modules and compiled JavaScript from main
This commit is contained in:
parent
8bccaeaf7c
commit
4181bfdf50
7465 changed files with 1775003 additions and 2 deletions
20
node_modules/is-potential-custom-element-name/LICENSE-MIT.txt
generated
vendored
Normal file
20
node_modules/is-potential-custom-element-name/LICENSE-MIT.txt
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
||||
|
||||
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.
|
40
node_modules/is-potential-custom-element-name/README.md
generated
vendored
Normal file
40
node_modules/is-potential-custom-element-name/README.md
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
# is-potential-custom-element-name [](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name)
|
||||
|
||||
_is-potential-custom-element-name_ checks whether a given string matches [the `PotentialCustomElementName` production](https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomelementname) as defined in the HTML Standard.
|
||||
|
||||
## Installation
|
||||
|
||||
To use _is-potential-custom-element-name_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):
|
||||
|
||||
```bash
|
||||
$ npm install is-potential-custom-element-name
|
||||
```
|
||||
|
||||
Then, `require` it:
|
||||
|
||||
```js
|
||||
const isPotentialCustomElementName = require('is-potential-custom-element-name');
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
isPotentialCustomElementName('foo-bar');
|
||||
// → true
|
||||
isPotentialCustomElementName('Foo-bar');
|
||||
// → false
|
||||
isPotentialCustomElementName('baz-©');
|
||||
// → false
|
||||
isPotentialCustomElementName('annotation-xml');
|
||||
// → true
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|
||||
|---|
|
||||
| [Mathias Bynens](https://mathiasbynens.be/) |
|
||||
|
||||
## License
|
||||
|
||||
_is-potential-custom-element-name_ is available under the [MIT](https://mths.be/mit) license.
|
9
node_modules/is-potential-custom-element-name/index.js
generated
vendored
Executable file
9
node_modules/is-potential-custom-element-name/index.js
generated
vendored
Executable file
|
@ -0,0 +1,9 @@
|
|||
// Generated using `npm run build`. Do not edit.
|
||||
|
||||
var regex = /^[a-z](?:[\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/;
|
||||
|
||||
var isPotentialCustomElementName = function(string) {
|
||||
return regex.test(string);
|
||||
};
|
||||
|
||||
module.exports = isPotentialCustomElementName;
|
35
node_modules/is-potential-custom-element-name/package.json
generated
vendored
Normal file
35
node_modules/is-potential-custom-element-name/package.json
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"name": "is-potential-custom-element-name",
|
||||
"version": "1.0.1",
|
||||
"description": "Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.",
|
||||
"homepage": "https://github.com/mathiasbynens/is-potential-custom-element-name",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"LICENSE-MIT.txt",
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"html",
|
||||
"custom element",
|
||||
"custom element name",
|
||||
"web components"
|
||||
],
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Mathias Bynens",
|
||||
"url": "https://mathiasbynens.be/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mathiasbynens/is-potential-custom-element-name.git"
|
||||
},
|
||||
"bugs": "https://github.com/mathiasbynens/is-potential-custom-element-name/issues",
|
||||
"devDependencies": {
|
||||
"mocha": "^2.2.1",
|
||||
"regenerate": "^1.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
"test": "mocha"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue