applying transfer to react app

This commit is contained in:
Tyler Koenig
2021-09-20 16:54:47 -04:00
parent 8819f31dd0
commit c612b7d702
37373 changed files with 3775588 additions and 2871 deletions
+20
View 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
View File
@@ -0,0 +1,40 @@
# is-potential-custom-element-name [![Build status](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name.svg?branch=master)](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
| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](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
View 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;
+62
View File
@@ -0,0 +1,62 @@
{
"_from": "is-potential-custom-element-name@^1.0.1",
"_id": "is-potential-custom-element-name@1.0.1",
"_inBundle": false,
"_integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
"_location": "/is-potential-custom-element-name",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "is-potential-custom-element-name@^1.0.1",
"name": "is-potential-custom-element-name",
"escapedName": "is-potential-custom-element-name",
"rawSpec": "^1.0.1",
"saveSpec": null,
"fetchSpec": "^1.0.1"
},
"_requiredBy": [
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
"_shasum": "171ed6f19e3ac554394edf78caa05784a45bebb5",
"_spec": "is-potential-custom-element-name@^1.0.1",
"_where": "/Users/tylerkoenig/Code/personal/react-scss2/node_modules/jsdom",
"author": {
"name": "Mathias Bynens",
"url": "https://mathiasbynens.be/"
},
"bugs": {
"url": "https://github.com/mathiasbynens/is-potential-custom-element-name/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.",
"devDependencies": {
"mocha": "^2.2.1",
"regenerate": "^1.4.2"
},
"files": [
"LICENSE-MIT.txt",
"index.js"
],
"homepage": "https://github.com/mathiasbynens/is-potential-custom-element-name",
"keywords": [
"html",
"custom element",
"custom element name",
"web components"
],
"license": "MIT",
"main": "index.js",
"name": "is-potential-custom-element-name",
"repository": {
"type": "git",
"url": "git+https://github.com/mathiasbynens/is-potential-custom-element-name.git"
},
"scripts": {
"build": "node build.js",
"test": "mocha"
},
"version": "1.0.1"
}